WebKit Bugzilla
Attachment 359224 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]
SVN-style patch
sputnik-svn.diff (text/plain), 23.93 MB, created by
Ross Kirsling
on 2019-01-15 16:46:42 PST
(
hide
)
Description:
SVN-style patch
Filename:
MIME Type:
Creator:
Ross Kirsling
Created:
2019-01-15 16:46:42 PST
Size:
23.93 MB
patch
obsolete
>Index: LayoutTests/ChangeLog >=================================================================== >--- LayoutTests/ChangeLog (revision 240001) >+++ LayoutTests/ChangeLog (working copy) >@@ -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 >Index: LayoutTests/TestExpectations >=================================================================== >--- LayoutTests/TestExpectations (revision 240001) >+++ LayoutTests/TestExpectations (working copy) >@@ -1223,20 +1223,9 @@ > 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/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 @@ > # 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 ] > >Index: LayoutTests/platform/gtk/TestExpectations >=================================================================== >--- LayoutTests/platform/gtk/TestExpectations (revision 240001) >+++ LayoutTests/platform/gtk/TestExpectations (working copy) >@@ -2192,17 +2192,6 @@ > 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 > #//////////////////////////////////////////////////////////////////////////////////////// >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-LF >\ No newline at end of property >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-LF >\ No newline at end of property >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A3.1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A3.2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >=================================================================== >--- LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/gtk/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/ios/TestExpectations >=================================================================== >--- LayoutTests/platform/ios/TestExpectations (revision 240001) >+++ LayoutTests/platform/ios/TestExpectations (working copy) >@@ -2001,17 +2001,6 @@ > 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 ] > >Index: LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >=================================================================== >--- LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (revision 240001) >+++ LayoutTests/platform/ios/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/ios-wk2/TestExpectations >=================================================================== >--- LayoutTests/platform/ios-wk2/TestExpectations (revision 240001) >+++ LayoutTests/platform/ios-wk2/TestExpectations (working copy) >@@ -849,10 +849,6 @@ > 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: >Index: LayoutTests/platform/mac/TestExpectations >=================================================================== >--- LayoutTests/platform/mac/TestExpectations (revision 240001) >+++ LayoutTests/platform/mac/TestExpectations (working copy) >@@ -563,17 +563,6 @@ > # 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/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/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 ] >Index: LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >=================================================================== >--- LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (revision 240001) >+++ LayoutTests/platform/mac/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/win/TestExpectations >=================================================================== >--- LayoutTests/platform/win/TestExpectations (revision 240001) >+++ LayoutTests/platform/win/TestExpectations (working copy) >@@ -681,30 +681,6 @@ > > > ################################################################################ >-############## 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> ############## > ################################################################################ > plugins/ [ Skip ] >@@ -2703,8 +2679,6 @@ > [ 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/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 ] >Index: LayoutTests/platform/wincairo/TestExpectations >=================================================================== >--- LayoutTests/platform/wincairo/TestExpectations (revision 240001) >+++ LayoutTests/platform/wincairo/TestExpectations (working copy) >@@ -1848,7 +1848,6 @@ > scrollbars [ Skip ] > scrollingcoordinator [ Skip ] > security [ Skip ] >-sputnik [ Skip ] > svg [ Skip ] > tables [ Skip ] > transitions [ Skip ] >Index: LayoutTests/platform/wpe/TestExpectations >=================================================================== >--- LayoutTests/platform/wpe/TestExpectations (revision 240001) >+++ LayoutTests/platform/wpe/TestExpectations (working copy) >@@ -749,17 +749,6 @@ > # 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 ] >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_320/S7.6_A5.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.2_T8 >- >-PASS >- >-TEST COMPLETE >- >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A3.1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A3.2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T1 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt >=================================================================== >--- LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt (revision 240001) >+++ LayoutTests/platform/wpe/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A5.3_T2 >- >-FAIL SputnikError: #037F >- >-TEST COMPLETE >- >Index: LayoutTests/sputnik/AUTHORS >=================================================================== >--- LayoutTests/sputnik/AUTHORS (revision 240001) >+++ LayoutTests/sputnik/AUTHORS (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/AUTHORS >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A2.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A3.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.2_A4.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A2.1_T1 >- >-PASS SyntaxError: Unexpected EOF >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.3_A2.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A2.2_T1 >- >-PASS SyntaxError: Unexpected EOF >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.3_A2.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.1_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.1_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected identifier 'comment' >-S7.3_A3.1_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.2_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.2_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected identifier 'comment' >-S7.3_A3.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.3_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.3_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.4_T1 >- >-PASS ReferenceError: Can't find variable: comment >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A3.4_T2 >- >-PASS SyntaxError: Unexpected identifier 'line' >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html (nonexistent) >@@ -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.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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A5.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.3_A7_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token '=' >-S7.4_A3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unterminated regular expression literal '/' >-S7.4_A4_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unterminated regular expression literal '/' >-S7.4_A4_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.4_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.4_Comments >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.1_A1.1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.1_A1.2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.1_A1.3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'in' >-S7.5.2_A1.13 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'instanceof' >-S7.5.2_A1.14 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.15 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.2_A1.18 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.18.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.19 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.21 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.23 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'catch' >-S7.5.2_A1.3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.2_A1.7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'else' >-S7.5.2_A1.8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'finally' >-S7.5.2_A1.9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'export' >-S7.5.3_A1.10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'extends' >-S7.5.3_A1.11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.12 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.13 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.14 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.15 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.17 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.18 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.19 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.20 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.21 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.22 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.23 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.24 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.24.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.25 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.25.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.26 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.26.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.28 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.28.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.29 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.29.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.3 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.30 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.30.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.31 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.31.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.4 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected token '=' >-S7.5.3_A1.5 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.5.3_A1.8 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A1.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A2.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.6_A4.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.6_Identifiers >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.7_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals/S7.8.1_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.1_Null_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals/S7.8.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.2_Boolean_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A1.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A1.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A2.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A2.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.3_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.3_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A3.4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A3.4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T1 >- >-PASS ReferenceError: Can't find variable: e1 >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T2 >- >-PASS ReferenceError: Can't find variable: E1 >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T3 >- >-PASS ReferenceError: Can't find variable: e >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T4 >- >-PASS ReferenceError: Can't find variable: E >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T5 >- >-PASS ReferenceError: Can't find variable: e >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T6 >- >-PASS ReferenceError: Can't find variable: E >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T7 >- >-PASS ReferenceError: Can't find variable: e0 >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.1_T8 >- >-PASS ReferenceError: Can't find variable: E0 >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A4.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A4.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.3_A5.1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A5.1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A1.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.1_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected EOF >-S7.8.4_A3.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T3 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T4 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T5 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A4.3_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A5.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A5.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.4_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A6.4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.4_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.4_A7.4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '.' >-S7.8.5_A1.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '.' >-S7.8.5_A1.2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.3_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A1.5_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '.' >-S7.8.5_A2.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.3_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html (nonexistent) >@@ -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_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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A2.5_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A3.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.8.5_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' >-S7.9.2_A1_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9.2_A1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T12 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token '*' >-S7.9_A10_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '*' >-S7.9_A10_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected number '2'. Parse error. >-S7.9_A10_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A10_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'else' >-S7.9_A11_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected keyword 'else' >-S7.9_A11_T8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A11_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Cannot have a newline after 'throw'. >-S7.9_A4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';' >-S7.9_A5.1_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ';' >-S7.9_A5.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.7_T1 >- >-PASS ReferenceError: Prefix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A5.9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T12 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T13 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T13.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A6.1_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.1_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T10 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.2_T7 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 81: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 82: SyntaxError: Unexpected token ')' >-S7.9_A6.3_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected token ';' >-S7.9_A6.4_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T7 >- >-PASS ReferenceError: Can't find variable: y >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A7_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A7_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A8_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A8_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A8_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A8_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A8_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S7.9_A9_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/07_Lexical_Conventions >=================================================================== >--- LayoutTests/sputnik/Conformance/07_Lexical_Conventions (revision 240001) >+++ LayoutTests/sputnik/Conformance/07_Lexical_Conventions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/07_Lexical_Conventions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.1_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type/S8.1_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.1_The_Undefined_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.2_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.2_The_Null_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.3_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.3_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.3_A2.1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.3_A2.2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.3_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type/S8.3_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.3_The_Boolean_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A12 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A13_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A13_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A14_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected EOF >-S8.4_A14_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A6.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A6.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A6.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A7.1 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A7.2 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A7.3 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A7.4 >- >-PASS ReferenceError: Can't find variable: asdf >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.4_A9_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.4_The_String_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A11_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A11_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A11_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A12.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A12.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A12.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A13_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A13_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A13_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A14_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A14_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A14_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.5_A9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type/S8.5_A9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.5_The_Number_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.1_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes/S8.6.1_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.1_Property_Attributes >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.1_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.1_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.2_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.4_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.4_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.4_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.5_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.5_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.5_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.5_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.5_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.6_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.6_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.6_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2.6_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2.6_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6.2_A7 >- >-PASS TypeError: Math is not a constructor (evaluating 'new Math') >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods/S8.6.2_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/8.6.2_Internal_Properties_and_Methods >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.6_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type/S8.6_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.6_The_Object_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.2_A1_T1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.2_A1_T2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.2_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7.2_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7.2_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.7_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type/S8.7_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.7_The_Reference_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.8_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.8_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S8.8_A2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type/S8.8_A2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types/8.8_The_List_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/08_Types >=================================================================== >--- LayoutTests/sputnik/Conformance/08_Types (revision 240001) >+++ LayoutTests/sputnik/Conformance/08_Types (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/08_Types >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.1_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.1_A1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive/S9.1_A1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.1_ToPrimitive >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.2_A6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean/S9.2_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.2_ToBoolean >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A12 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A13 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A13.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A14 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A14.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A15 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A16 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A16.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A17 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A17.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A18 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A18.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A19 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A19.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A20 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A20.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A21 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A21.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A22 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A22.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A23 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A23.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A24 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A24.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A25 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A25.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A26 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A26.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A27 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A27.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A28 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A28.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A29 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A29.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A30 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A30.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A31 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A31.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A32 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A32.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3.1_A9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String/S9.3.1_A9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/9.3.1_ToNumber_from_String >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A4.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A4.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A4.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.3_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber/S9.3_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.3_ToNumber >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.4_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.4_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.4_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger/S9.4_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.4_ToInteger >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A2.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.5_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32/S9.5_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32 >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32 (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32 (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.5_ToInt32 >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.6_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32/S9.6_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32 >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32 (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32 (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.6_ToUint32 >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.7_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16/S9.7_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16 >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16 (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16 (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.7_ToUint16 >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8.1_A9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type/S9.8.1_A9_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/9.8.1_ToString_Applied_to_the_Number_Type >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.8_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString/S9.8_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.8_ToString >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.9_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.9_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.9_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S9.9_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion/9.9_ToObject >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/09_Type_Conversion >=================================================================== >--- LayoutTests/sputnik/Conformance/09_Type_Conversion (revision 240001) >+++ LayoutTests/sputnik/Conformance/09_Type_Conversion (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/09_Type_Conversion >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A5.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation/S10.1.3_A5.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.3_Variable_Instantiation >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.4_A1_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution/S10.1.4_A1_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.4_Scope_Chain_and_Identifier_Resolution >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A1.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.5_A2.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object/S10.1.5_A2.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.5_Global_Object >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.8_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.1_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.1_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.1_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.6_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.6_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.1.7_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/S10.1.7_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.1_Definitions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.1_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.1_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code/S10.2.1_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.1_Global_Code >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.1_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2.2_A1.2_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S10.2_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/S10.2_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/10_Execution_Contexts >=================================================================== >--- LayoutTests/sputnik/Conformance/10_Execution_Contexts (revision 240001) >+++ LayoutTests/sputnik/Conformance/10_Execution_Contexts (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/10_Execution_Contexts >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator/S11.10.1_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.1_AND_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator/S11.10.2_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.2_XOR_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.10.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator/S11.10.3_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators/11.10.3_OR_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.10_Binary_Bitwise_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator/S11.11.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.1_Logical_AND_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.11.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.11_Binary_Logical_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A2.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A2.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.12_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator/S11.12_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.12_Conditional_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A2.1_T3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment/S11.13.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.1_Simple_Assignment >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A1_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A1_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T1.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T1.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.1_T3.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.1_T3.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T10 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T11 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T2 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T3 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T4 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T5 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T6 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T7 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T8 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A2.2_T9 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A2.2_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.1_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.1_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A3.2_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A3.2_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.10_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.11_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.1_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.2_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.2_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.4_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.4_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.5_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.5_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.6_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.6_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.7_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.7_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.8_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.8_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.13.2_A4.9_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.9_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.14_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.14_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.14_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator/S11.14_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.14_Comma_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A1 >- >-PASS ReferenceError: Left side of assignment is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A2 >- >-FAIL SputnikError: #1: this.toString() === toString(). Actual: [object Window] >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.2_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.2_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference/S11.1.2_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.2_Identifier_Reference >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A1.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A1.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.4_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser/S11.1.4_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.4_Array_Initialiser >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A4.1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A4.2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.5_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer/S11.1.5_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.5_Object_Initializer >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.1.6_A3_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator/S11.1.6_A3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.6_The_Grouping_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.1_Primary_Expressions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.1_A4_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors/S11.2.1_A4_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.1_Property_Accessors >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator/S11.2.2_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.2_The_new_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.3_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ',' >-S11.2.4_A1.3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.2.4_A1.4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T1 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T2 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T3 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A1.1_T4 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A2.1_T3 >- >-PASS ReferenceError: Postfix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T1 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T2 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T3 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A1.1_T4 >- >-PASS SyntaxError: Unexpected end of script >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A2.1_T3 >- >-PASS ReferenceError: Postfix -- operator applied to value that is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.3.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.3_PostfixExpressions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A3.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A3.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.1_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator/S11.4.1_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.1_The_delete_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A2_T2 >- >-PASS ReferenceError: Can't find variable: x >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator/S11.4.2_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.2_The_void_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.3_A3.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A2.1_T3 >- >-PASS ReferenceError: Prefix ++ operator applied to value that is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.4_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator/S11.4.4_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.4_Prefix_Increment_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A2.1_T3 >- >-PASS ReferenceError: Prefix -- operator applied to value that is not a reference. >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.5_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator/S11.4.5_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.5_Prefix_Decrement_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.6_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator/S11.4.6_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.6_Unary_plus_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.7_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator/S11.4.7_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.7_Unary_minus_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.8_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator/S11.4.8_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.8_Bitwise_NOT_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.4.9_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator/S11.4.9_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.9_Logical_NOT_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.4_Unary_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk/S11.5.1_A4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.1_Asterisk >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.2_A4_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash/S11.5.2_A4_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.2_Slash >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.5.3_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.1_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A3.2_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A3.2_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.1_A4_T9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator/S11.6.1_A4_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.1_The_Addition_operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T1.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A3_T2.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.6.2_A4_T8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator/S11.6.2_A4_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators/11.6.2_The_Subtraction_operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.6_Additive_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T2.9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.1_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.1_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A5.2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator/S11.7.2_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.2_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.2_The_Sign_Left_shift_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T1.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A3_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A5.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.7.3_A5.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T1.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.1_T2.9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A3.2_T1.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.1_A4.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator/S11.8.1_A4.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.1_The_Less_than_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T1.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.1_T2.9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A3.2_T1.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.2_A4.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator/S11.8.2_A4.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.2_The_Greater_than_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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 >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.10.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.11.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.3_A4.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A4.9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T1.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.1_T2.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.2_T1.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A3.2_T1.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.10.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.11.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.6.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.7.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.8.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.4_A4.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator/S11.8.4_A4.9.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.4_The_Grater_than_or_equal_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A6_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A6_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.6_A7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator/S11.8.6_A7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.6_The_instanceof_operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.8.7_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator/S11.8.7_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators/11.8.7_The_in_operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.8_Relational_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A3.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A3.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A5.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A5.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A5.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A5.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A6.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A6.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A6.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A6.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.1_A7.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator/S11.9.1_A7.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.1_The_Equals_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A3.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A3.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A3.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A3.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A5.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A5.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A5.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A5.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A6.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A6.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A6.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A6.2_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.2_A7.9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator/S11.9.2_A7.9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.2_The_Does_not_equals_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A2.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A4.3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A6.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A6.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A6.2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.4_A8_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator/S11.9.4_A8_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.4_The_Strict_Equals_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A2.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A4.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A4.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A4.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A4.3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A4.3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A6.1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A6.2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A6.2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T1.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T2.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T3.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T4.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: 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 >=================================================================== >--- 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 (revision 240001) >+++ 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 (nonexistent) >@@ -1,6 +0,0 @@ >-S11.9.5_A8_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator/S11.9.5_A8_T5.html (nonexistent) >@@ -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> > >Property changes on: 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: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators/11.9.5_The_Strict_Does_not_equals_Operator >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions/11.9_Equality_Operators >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/11_Expressions >=================================================================== >--- LayoutTests/sputnik/Conformance/11_Expressions (revision 240001) >+++ LayoutTests/sputnik/Conformance/11_Expressions (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/11_Expressions >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.10_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.10_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.11_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.11_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.12_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.12_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.6_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.6_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.7_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.7_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.8_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.8_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A1.9_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A1.9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.10_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.10_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.11_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.11_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.12_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.12_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.6_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.6_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.7_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.8_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.8_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A3.9_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A3.9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A4_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A4_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.10_A5_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement/S12.10_A5_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.10_The_with_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.11_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.11_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.11_A1_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.11_A1_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A1_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 79: SyntaxError: Unexpected token ')' >-S12.11_A3_T1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected token ':' >-S12.11_A3_T4 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.11_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.11_The_switch_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.12_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements/S12.12_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.12_Labelled_Statements >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A1 >- >-PASS error >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A2_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A2_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.13_A3_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement/S12.13_A3_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.13_The_throw_statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A10_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A10_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A10_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A10_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A10_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A10_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A11_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A11_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A11_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A11_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A11_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A12_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A12_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A12_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A13_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A13_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A13_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A13_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A14 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A14.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A15 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 80: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T2 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'finally' >-S12.14_A16_T3 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A16_T4 >- >-PASS No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T6 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 77: SyntaxError: Unexpected keyword 'catch' >-S12.14_A16_T9 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A17 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A17.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A18_T7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A18_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A19_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A19_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A19_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A6 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A7_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A7_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A7_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A7_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A8 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A9_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A9_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A9_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A9_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.14_A9_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A9_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.14_The_try_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.1_A1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-S12.1_A2 >- >-Can't find variable: x >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.1_A4_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.1_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block/S12.1_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.1_Block (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.1_Block (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.1_Block >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-S12.2_A1 >- >-Can't find variable: __something__undefined >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A12 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-S12.2_A5 >- >-Can't find variable: x >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A6_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A6_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.2_A9 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A9.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.2_Variable_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.3_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement/S12.3_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.3_Empty_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Function statements must have a name. >-S12.4_A1 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.4_A2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.4_A2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.4_Expression_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1.1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1.1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1.2_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1.2_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1.2_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A10_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A10_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A10_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token '}'. Expected ':' after property name. >-S12.5_A11 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A12_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A12_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A12_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A12_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A12_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A1_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A1_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A2 >- >-PASS SputnikError: #1: In the "if" Statement eval as Expression is admitted >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A7 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A7.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt (nonexistent) >@@ -1,7 +0,0 @@ >-CONSOLE MESSAGE: line 78: SyntaxError: Unexpected token ')' >-S12.5_A8 >- >-PASS Expected parsing failure >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A9_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.5_A9_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement (nonexistent) > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.5_The_if_Statement >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A10 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A10.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A11 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A11.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A13_T1 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A13_T2 >- >-FAIL No error detected >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A14_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A14_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A14_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T1 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T2 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T3 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T4 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T4.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A4_T5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A4_T5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt (nonexistent) >@@ -1,6 +0,0 @@ >-S12.6.1_A5 >- >-PASS >- >-TEST COMPLETE >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A5.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html (nonexistent) >@@ -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> > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3.html >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt (nonexistent) >@@ -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 >- > >Property changes on: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt >___________________________________________________________________ >Deleted: allow-tabs >## -1 +0,0 ## >-* >\ No newline at end of property >Index: LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html >=================================================================== >--- LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html (revision 240001) >+++ LayoutTests/sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4.html (nonexistent) >@@ -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; >-*/ >- >-//////////////////////////////////////////////////////////////////////////////