[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

aestes at apple.com aestes at apple.com
Wed Dec 22 12:40:33 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit b1297d385947e4f81c608428510b320bff817ea2
Author: aestes at apple.com <aestes at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 27 00:32:15 2010 +0000

    WebCore: If an <embed> is part of an <object> element's fallback content, WebKit
    should only render the <embed> if the <object> fails to load.
    https://bugs.webkit.org/show_bug.cgi?id=44567
    <rdar://problem/7699852>
    
    Reviewed by Darin Adler.
    
    Tests: fast/replaced/invalid-object-with-fallback.html
           fast/replaced/object-with-embed-url-param.html
    
    * html/HTMLEmbedElement.cpp:
    (WebCore::HTMLEmbedElement::rendererIsNeeded): An <embed> now needs a
    renderer if its parent is an <object> but the <object> is using fallback
    content.
    * html/HTMLObjectElement.h:
    (WebCore::HTMLObjectElement::useFallbackContent): Add a public getter
    for m_useFallbackContent for use in HTMLEmbedElement::rendererIsNeeded.
    * rendering/RenderEmbeddedObject.cpp:
    (WebCore::RenderEmbeddedObject::updateWidget): Change the logic that
    determines the plug-in parameters to pass to the loader. Do not override
    parameters from <object> with those from a child <embed>.
    
    LayoutTests: If an <embed> is part of an <object> element's fallback content, WebKit
    should only render it if the <object> fails to load.
    https://bugs.webkit.org/show_bug.cgi?id=44567
    <rdar://problem/7699852>
    
    Reviewed by Darin Adler.
    
    Add tests for the updated <object>/<embed> behavior.
    
    * fast/dom/object-embed-plugin-scripting-expected.txt: Updated expected
    results.
    * fast/dom/object-embed-plugin-scripting.html: Added additional test
    coverage.
    * fast/replaced/invalid-object-with-fallback-expected.txt: Added.
    * fast/replaced/invalid-object-with-fallback.html: Added.
    * fast/replaced/object-with-embed-url-param-expected.txt: Added.
    * fast/replaced/object-with-embed-url-param.html: Added.
    
    The following tests needed to be rebaselined due to WebKit's change in
    behavior. There is now an extra space in the output due to WebKit
    rendering the fallback content of the <object>'s that fail to load.
    
    * java/lc3/ArrayMethods/byte-001-expected.txt:
    * java/lc3/ArrayMethods/byte-001.html:
    * java/lc3/ArrayMethods/byte-002-expected.txt:
    * java/lc3/CallStatic/boolean-001-expected.txt:
    * java/lc3/CallStatic/number-001-expected.txt:
    * java/lc3/CallStatic/object-001-expected.txt:
    * java/lc3/Constructors/construct-001-expected.txt:
    * java/lc3/ConvertBoolean/boolean-001-expected.txt:
    * java/lc3/ConvertBoolean/boolean-002-expected.txt:
    * java/lc3/ConvertBoolean/boolean-003-expected.txt:
    * java/lc3/ConvertBoolean/boolean-004-expected.txt:
    * java/lc3/ConvertBoolean/boolean-005-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-006-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-007-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-008-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-009-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-010-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-011-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-012-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-013-n-expected.txt:
    * java/lc3/ConvertBoolean/boolean-014-expected.txt:
    * java/lc3/ConvertJSObject/ToBoolean-001-expected.txt:
    * java/lc3/ConvertJSObject/ToByte-001-expected.txt:
    * java/lc3/ConvertJSObject/ToByte-002-expected.txt:
    * java/lc3/ConvertJSObject/ToChar-001-expected.txt:
    * java/lc3/ConvertJSObject/ToChar-002-expected.txt:
    * java/lc3/ConvertJSObject/ToDouble-001-expected.txt:
    * java/lc3/ConvertJSObject/ToFloat-001-expected.txt:
    * java/lc3/ConvertJSObject/ToInt-001-expected.txt:
    * java/lc3/ConvertJSObject/ToInt-002-expected.txt:
    * java/lc3/ConvertJSObject/ToJSObject-001-expected.txt:
    * java/lc3/ConvertJSObject/ToLong-001-expected.txt:
    * java/lc3/ConvertJSObject/ToLong-002-expected.txt:
    * java/lc3/ConvertJSObject/ToObject-001-expected.txt:
    * java/lc3/ConvertJSObject/ToShort-001-expected.txt:
    * java/lc3/ConvertJSObject/ToShort-002-expected.txt:
    * java/lc3/ConvertJSObject/ToString-001-expected.txt:
    * java/lc3/ConvertNull/null-001-expected.txt:
    * java/lc3/ConvertNull/null-002-expected.txt:
    * java/lc3/ConvertNull/null-003-n-expected.txt:
    * java/lc3/ConvertNull/null-004-n-expected.txt:
    * java/lc3/ConvertNull/null-005-expected.txt:
    * java/lc3/ConvertNull/null-006-n-expected.txt:
    * java/lc3/ConvertNumber/number-001-expected.txt:
    * java/lc3/ConvertNumber/number-002-expected.txt:
    * java/lc3/ConvertNumber/number-003-expected.txt:
    * java/lc3/ConvertNumber/number-004-expected.txt:
    * java/lc3/ConvertNumber/number-005-expected.txt:
    * java/lc3/ConvertNumber/number-006-expected.txt:
    * java/lc3/ConvertNumber/number-007-expected.txt:
    * java/lc3/ConvertNumber/number-008-expected.txt:
    * java/lc3/ConvertNumber/number-009-expected.txt:
    * java/lc3/ConvertNumber/number-010-expected.txt:
    * java/lc3/ConvertNumber/number-011-expected.txt:
    * java/lc3/ConvertString/string-001-expected.txt:
    * java/lc3/ConvertString/string-002-expected.txt:
    * java/lc3/ConvertString/string-003-expected.txt:
    * java/lc3/ConvertString/string-004-n-expected.txt:
    * java/lc3/ConvertString/string-005-n-expected.txt:
    * java/lc3/ConvertString/string-006-expected.txt:
    * java/lc3/ConvertString/string-007-n-expected.txt:
    * java/lc3/ConvertUndefined/undefined-001-n-expected.txt:
    * java/lc3/ConvertUndefined/undefined-002-expected.txt:
    * java/lc3/ConvertUndefined/undefined-003-expected.txt:
    * java/lc3/Exceptions/throw_js_types-expected.txt:
    * java/lc3/JSBoolean/boolean-001-expected.txt:
    * java/lc3/JSBoolean/boolean-002-n-expected.txt:
    * java/lc3/JSBoolean/boolean-003-n-expected.txt:
    * java/lc3/JSBoolean/boolean-004-n-expected.txt:
    * java/lc3/JSBoolean/boolean-005-n-expected.txt:
    * java/lc3/JSBoolean/boolean-006-n-expected.txt:
    * java/lc3/JSBoolean/boolean-007-n-expected.txt:
    * java/lc3/JSBoolean/boolean-008-n-expected.txt:
    * java/lc3/JSNull/ToBoolean-001-n-expected.txt:
    * java/lc3/JSNull/ToFloat-001-n-expected.txt:
    * java/lc3/JSNull/ToLong-001-n-expected.txt:
    * java/lc3/JSNull/ToNumber-001-n-expected.txt:
    * java/lc3/JSNull/ToObject-001-expected.txt:
    * java/lc3/JSNumber/ToByte-001-expected.txt:
    * java/lc3/JSNumber/ToByte-002-n-expected.txt:
    * java/lc3/JSNumber/ToByte-003-n-expected.txt:
    * java/lc3/JSNumber/ToByte-004-expected.txt:
    * java/lc3/JSNumber/ToByte-005-n-expected.txt:
    * java/lc3/JSNumber/ToChar-001-expected.txt:
    * java/lc3/JSNumber/ToChar-002-n-expected.txt:
    * java/lc3/JSNumber/ToChar-003-n-expected.txt:
    * java/lc3/JSNumber/ToChar-004-expected.txt:
    * java/lc3/JSNumber/ToChar-005-n-expected.txt:
    * java/lc3/JSNumber/ToChar-006-n-expected.txt:
    * java/lc3/JSNumber/ToDouble-001-expected.txt:
    * java/lc3/JSNumber/ToDouble-002-expected.txt:
    * java/lc3/JSNumber/ToDouble-003-expected.txt:
    * java/lc3/JSNumber/ToInt-001-expected.txt:
    * java/lc3/JSNumber/ToInt-002-n-expected.txt:
    * java/lc3/JSNumber/ToInt-003-n-expected.txt:
    * java/lc3/JSNumber/ToInt-004-expected.txt:
    * java/lc3/JSNumber/ToInt-005-n-expected.txt:
    * java/lc3/JSNumber/ToLong-001-expected.txt:
    * java/lc3/JSNumber/ToLong-002-n-expected.txt:
    * java/lc3/JSNumber/ToLong-003-n-expected.txt:
    * java/lc3/JSNumber/ToLong-004-n-expected.txt:
    * java/lc3/JSNumber/ToLong-005-n-expected.txt:
    * java/lc3/JSNumber/ToLong-006-n-expected.txt:
    * java/lc3/JSNumber/ToLong-007-n-expected.txt:
    * java/lc3/JSNumber/ToLong-008-n-expected.txt:
    * java/lc3/JSNumber/ToLong-009-n-expected.txt:
    * java/lc3/JSNumber/ToLong-010-n-expected.txt:
    * java/lc3/JSNumber/ToLong-011-n-expected.txt:
    * java/lc3/JSNumber/ToShort-001-expected.txt:
    * java/lc3/JSNumber/ToShort-002-n-expected.txt:
    * java/lc3/JSNumber/ToShort-003-n-expected.txt:
    * java/lc3/JSNumber/ToShort-004-expected.txt:
    * java/lc3/JSNumber/ToShort-005-n-expected.txt:
    * java/lc3/JSObject/ToByte-001-expected.txt:
    * java/lc3/JSObject/ToChar-001-expected.txt:
    * java/lc3/JSObject/ToDouble-001-expected.txt:
    * java/lc3/JSObject/ToDouble-002-n-expected.txt:
    * java/lc3/JSObject/ToDouble-003-n-expected.txt:
    * java/lc3/JSObject/ToFloat-001-expected.txt:
    * java/lc3/JSObject/ToFloat-002-n-expected.txt:
    * java/lc3/JSObject/ToFloat-003-n-expected.txt:
    * java/lc3/JSObject/ToInt-001-expected.txt:
    * java/lc3/JSObject/ToInt-002-expected.txt:
    * java/lc3/JSObject/ToJSObject-001-expected.txt:
    * java/lc3/JSObject/ToLong-001-expected.txt:
    * java/lc3/JSObject/ToObject-001-expected.txt:
    * java/lc3/JSObject/ToShort-001-expected.txt:
    * java/lc3/JSObject/ToString-001-expected.txt:
    * java/lc3/JSUndefined/undefined-001-expected.txt:
    * java/lc3/JSUndefined/undefined-002-n-expected.txt:
    * java/lc3/JSUndefined/undefined-003-n-expected.txt:
    * java/lc3/JSUndefined/undefined-004-n-expected.txt:
    * java/lc3/JSUndefined/undefined-005-n-expected.txt:
    * java/lc3/JSUndefined/undefined-006-n-expected.txt:
    * java/lc3/JSUndefined/undefined-007-n-expected.txt:
    * java/lc3/JSUndefined/undefined-008-n-expected.txt:
    * java/lc3/JSUndefined/undefined-009-n-expected.txt:
    * java/lc3/JSUndefined/undefined-010-n-expected.txt:
    * java/lc3/JavaArray/ToArray-001-expected.txt:
    * java/lc3/JavaArray/ToArray-002-n-expected.txt:
    * java/lc3/JavaArray/ToBoolean-001-n-expected.txt:
    * java/lc3/JavaArray/ToString-001-expected.txt:
    * java/lc3/JavaClass/ToClass-001-expected.txt:
    * java/lc3/JavaClass/ToJSObject-001-expected.txt:
    * java/lc3/JavaClass/ToObject-001-expected.txt:
    * java/lc3/JavaClass/ToString-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-005-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-006-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-002-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-004-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToInt-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-005-expected.txt:
    * java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-001-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-005-expected.txt:
    * java/lc3/JavaObject/JavaObjectToShort-006-expected.txt:
    * java/lc3/JavaObject/JavaObjectToString-001-expected.txt:
    * java/lc3/StringMethods/string-001-expected.txt:
    * java/lc3/forin/object-001-expected.txt:
    * java/lc3/instanceof/instanceof-001-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 7a5821c..acb5d5f 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,214 @@
+2010-08-26  Andy Estes  <aestes at apple.com>
+
+        Reviewed by Darin Adler.
+
+        If an <embed> is part of an <object> element's fallback content, WebKit
+        should only render it if the <object> fails to load.
+        https://bugs.webkit.org/show_bug.cgi?id=44567
+        <rdar://problem/7699852>
+        
+        Add tests for the updated <object>/<embed> behavior.  
+
+        * fast/dom/object-embed-plugin-scripting-expected.txt: Updated expected
+        results.
+        * fast/dom/object-embed-plugin-scripting.html: Added additional test
+        coverage.
+        * fast/replaced/invalid-object-with-fallback-expected.txt: Added.
+        * fast/replaced/invalid-object-with-fallback.html: Added.
+        * fast/replaced/object-with-embed-url-param-expected.txt: Added.
+        * fast/replaced/object-with-embed-url-param.html: Added.
+        
+        The following tests needed to be rebaselined due to WebKit's change in
+        behavior. There is now an extra space in the output due to WebKit
+        rendering the fallback content of the <object>'s that fail to load.
+        
+        * java/lc3/ArrayMethods/byte-001-expected.txt:
+        * java/lc3/ArrayMethods/byte-001.html:
+        * java/lc3/ArrayMethods/byte-002-expected.txt:
+        * java/lc3/CallStatic/boolean-001-expected.txt:
+        * java/lc3/CallStatic/number-001-expected.txt:
+        * java/lc3/CallStatic/object-001-expected.txt:
+        * java/lc3/Constructors/construct-001-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-001-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-002-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-003-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-004-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-005-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-006-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-007-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-008-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-009-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-010-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-011-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-012-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-013-n-expected.txt:
+        * java/lc3/ConvertBoolean/boolean-014-expected.txt:
+        * java/lc3/ConvertJSObject/ToBoolean-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToByte-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToByte-002-expected.txt:
+        * java/lc3/ConvertJSObject/ToChar-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToChar-002-expected.txt:
+        * java/lc3/ConvertJSObject/ToDouble-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToFloat-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToInt-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToInt-002-expected.txt:
+        * java/lc3/ConvertJSObject/ToJSObject-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToLong-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToLong-002-expected.txt:
+        * java/lc3/ConvertJSObject/ToObject-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToShort-001-expected.txt:
+        * java/lc3/ConvertJSObject/ToShort-002-expected.txt:
+        * java/lc3/ConvertJSObject/ToString-001-expected.txt:
+        * java/lc3/ConvertNull/null-001-expected.txt:
+        * java/lc3/ConvertNull/null-002-expected.txt:
+        * java/lc3/ConvertNull/null-003-n-expected.txt:
+        * java/lc3/ConvertNull/null-004-n-expected.txt:
+        * java/lc3/ConvertNull/null-005-expected.txt:
+        * java/lc3/ConvertNull/null-006-n-expected.txt:
+        * java/lc3/ConvertNumber/number-001-expected.txt:
+        * java/lc3/ConvertNumber/number-002-expected.txt:
+        * java/lc3/ConvertNumber/number-003-expected.txt:
+        * java/lc3/ConvertNumber/number-004-expected.txt:
+        * java/lc3/ConvertNumber/number-005-expected.txt:
+        * java/lc3/ConvertNumber/number-006-expected.txt:
+        * java/lc3/ConvertNumber/number-007-expected.txt:
+        * java/lc3/ConvertNumber/number-008-expected.txt:
+        * java/lc3/ConvertNumber/number-009-expected.txt:
+        * java/lc3/ConvertNumber/number-010-expected.txt:
+        * java/lc3/ConvertNumber/number-011-expected.txt:
+        * java/lc3/ConvertString/string-001-expected.txt:
+        * java/lc3/ConvertString/string-002-expected.txt:
+        * java/lc3/ConvertString/string-003-expected.txt:
+        * java/lc3/ConvertString/string-004-n-expected.txt:
+        * java/lc3/ConvertString/string-005-n-expected.txt:
+        * java/lc3/ConvertString/string-006-expected.txt:
+        * java/lc3/ConvertString/string-007-n-expected.txt:
+        * java/lc3/ConvertUndefined/undefined-001-n-expected.txt:
+        * java/lc3/ConvertUndefined/undefined-002-expected.txt:
+        * java/lc3/ConvertUndefined/undefined-003-expected.txt:
+        * java/lc3/Exceptions/throw_js_types-expected.txt:
+        * java/lc3/JSBoolean/boolean-001-expected.txt:
+        * java/lc3/JSBoolean/boolean-002-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-003-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-004-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-005-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-006-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-007-n-expected.txt:
+        * java/lc3/JSBoolean/boolean-008-n-expected.txt:
+        * java/lc3/JSNull/ToBoolean-001-n-expected.txt:
+        * java/lc3/JSNull/ToFloat-001-n-expected.txt:
+        * java/lc3/JSNull/ToLong-001-n-expected.txt:
+        * java/lc3/JSNull/ToNumber-001-n-expected.txt:
+        * java/lc3/JSNull/ToObject-001-expected.txt:
+        * java/lc3/JSNumber/ToByte-001-expected.txt:
+        * java/lc3/JSNumber/ToByte-002-n-expected.txt:
+        * java/lc3/JSNumber/ToByte-003-n-expected.txt:
+        * java/lc3/JSNumber/ToByte-004-expected.txt:
+        * java/lc3/JSNumber/ToByte-005-n-expected.txt:
+        * java/lc3/JSNumber/ToChar-001-expected.txt:
+        * java/lc3/JSNumber/ToChar-002-n-expected.txt:
+        * java/lc3/JSNumber/ToChar-003-n-expected.txt:
+        * java/lc3/JSNumber/ToChar-004-expected.txt:
+        * java/lc3/JSNumber/ToChar-005-n-expected.txt:
+        * java/lc3/JSNumber/ToChar-006-n-expected.txt:
+        * java/lc3/JSNumber/ToDouble-001-expected.txt:
+        * java/lc3/JSNumber/ToDouble-002-expected.txt:
+        * java/lc3/JSNumber/ToDouble-003-expected.txt:
+        * java/lc3/JSNumber/ToInt-001-expected.txt:
+        * java/lc3/JSNumber/ToInt-002-n-expected.txt:
+        * java/lc3/JSNumber/ToInt-003-n-expected.txt:
+        * java/lc3/JSNumber/ToInt-004-expected.txt:
+        * java/lc3/JSNumber/ToInt-005-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-001-expected.txt:
+        * java/lc3/JSNumber/ToLong-002-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-003-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-004-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-005-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-006-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-007-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-008-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-009-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-010-n-expected.txt:
+        * java/lc3/JSNumber/ToLong-011-n-expected.txt:
+        * java/lc3/JSNumber/ToShort-001-expected.txt:
+        * java/lc3/JSNumber/ToShort-002-n-expected.txt:
+        * java/lc3/JSNumber/ToShort-003-n-expected.txt:
+        * java/lc3/JSNumber/ToShort-004-expected.txt:
+        * java/lc3/JSNumber/ToShort-005-n-expected.txt:
+        * java/lc3/JSObject/ToByte-001-expected.txt:
+        * java/lc3/JSObject/ToChar-001-expected.txt:
+        * java/lc3/JSObject/ToDouble-001-expected.txt:
+        * java/lc3/JSObject/ToDouble-002-n-expected.txt:
+        * java/lc3/JSObject/ToDouble-003-n-expected.txt:
+        * java/lc3/JSObject/ToFloat-001-expected.txt:
+        * java/lc3/JSObject/ToFloat-002-n-expected.txt:
+        * java/lc3/JSObject/ToFloat-003-n-expected.txt:
+        * java/lc3/JSObject/ToInt-001-expected.txt:
+        * java/lc3/JSObject/ToInt-002-expected.txt:
+        * java/lc3/JSObject/ToJSObject-001-expected.txt:
+        * java/lc3/JSObject/ToLong-001-expected.txt:
+        * java/lc3/JSObject/ToObject-001-expected.txt:
+        * java/lc3/JSObject/ToShort-001-expected.txt:
+        * java/lc3/JSObject/ToString-001-expected.txt:
+        * java/lc3/JSUndefined/undefined-001-expected.txt:
+        * java/lc3/JSUndefined/undefined-002-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-003-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-004-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-005-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-006-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-007-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-008-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-009-n-expected.txt:
+        * java/lc3/JSUndefined/undefined-010-n-expected.txt:
+        * java/lc3/JavaArray/ToArray-001-expected.txt:
+        * java/lc3/JavaArray/ToArray-002-n-expected.txt:
+        * java/lc3/JavaArray/ToBoolean-001-n-expected.txt:
+        * java/lc3/JavaArray/ToString-001-expected.txt:
+        * java/lc3/JavaClass/ToClass-001-expected.txt:
+        * java/lc3/JavaClass/ToJSObject-001-expected.txt:
+        * java/lc3/JavaClass/ToObject-001-expected.txt:
+        * java/lc3/JavaClass/ToString-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-005-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-006-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-002-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-004-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToInt-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-005-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-001-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-005-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToShort-006-expected.txt:
+        * java/lc3/JavaObject/JavaObjectToString-001-expected.txt:
+        * java/lc3/StringMethods/string-001-expected.txt:
+        * java/lc3/forin/object-001-expected.txt:
+        * java/lc3/instanceof/instanceof-001-expected.txt:
+
 2010-08-26  Ryosuke Niwa  <rniwa at webkit.org>
 
         Reviewed by Dan Bernstein.
diff --git a/LayoutTests/fast/dom/object-embed-plugin-scripting-expected.txt b/LayoutTests/fast/dom/object-embed-plugin-scripting-expected.txt
index d600515..1334301 100644
--- a/LayoutTests/fast/dom/object-embed-plugin-scripting-expected.txt
+++ b/LayoutTests/fast/dom/object-embed-plugin-scripting-expected.txt
@@ -6,6 +6,8 @@ plugin <object> with nested plugin <embed>: should have a plugin and does
 
 plugin <embed> netsted in plugin <object>: should have a plugin and does
 
+empty <object> with nested plugin <embed>: should not have a plugin and does not
+
 plugin <embed> nested in empty <object>: should have a plugin and does
 
 plugin <embed> nested in image <object>: should not have a plugin and does not
@@ -14,4 +16,8 @@ plugin <embed> nested in empty <object> nested in plugin <object>: should not ha
 
 standalone plugin <embed>: should have a plugin and does
 
-        
+plugin <object> with nested plugin <embed> of the same name should have a plugin and does
+
+empty <object> with nested plugin <embed> of the same name should have a plugin and does
+
+            
diff --git a/LayoutTests/fast/dom/object-embed-plugin-scripting.html b/LayoutTests/fast/dom/object-embed-plugin-scripting.html
index 95cbb0c..ebaf2e2 100644
--- a/LayoutTests/fast/dom/object-embed-plugin-scripting.html
+++ b/LayoutTests/fast/dom/object-embed-plugin-scripting.html
@@ -16,10 +16,13 @@ function test()
 
     print("plugin <object> with nested plugin <embed>: should have a plugin and does " + (document.getElementById('myO').Play ? "" : "not"));
     print("plugin <embed> netsted in plugin <object>: should have a plugin and does " + (document.getElementById('myE').Play ? "" : "not"));
+    print("empty <object> with nested plugin <embed>: should not have a plugin and does " + (document.getElementById('myO2').Play ? "" : "not"));
     print("plugin <embed> nested in empty <object>: should have a plugin and does " + (document.getElementById('myE2').Play ? "" : "not"));
     print("plugin <embed> nested in image <object>: should not have a plugin and does " + (document.getElementById('myE3').Play ? "" : "not"));
     print("plugin <embed> nested in empty <object> nested in plugin <object>: should not have a plugin and does " + (document.getElementById('myE4').Play ? "" : "not"));
     print("standalone plugin <embed>: should have a plugin and does " + (document.getElementById('myE5').Play ? "" : "not"));
+    print("plugin <object> with nested plugin <embed> of the same name should have a plugin and does " + (document.Plugin.Play ? "" : "not"));
+    print("empty <object> with nested plugin <embed> of the same name should have a plugin and does " + (document.Plugin2.Play ? "" : "not"));
 }
 </script>
 </head>
@@ -47,7 +50,7 @@ function test()
     </EMBED>
 </OBJECT>
 
-<object>
+<object id="myO2">
     <embed 
         id="myE2"
         src="resources/articles.m4a"
@@ -95,5 +98,35 @@ function test()
     width = 0 height = 0
 >
 
+<object
+    name="Plugin"
+    classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
+    width = 0 height = 0
+    >
+    <param name="src" value="resources/articles.m4a">
+    <param name="autostart" value="false">
+    <param name="enablejavascript" value="true">
+    
+    <embed
+        name="Plugin"
+        src="resources/articles.m4a"
+        autostart="false"
+        enablejavascript="true"
+        width = 0 height = 0
+    >
+    </embed>
+</object>
+
+<object name="Plugin2">
+    <embed
+        name="Plugin2"
+        src="resources/articles.m4a"
+        autostart="false"
+        enablejavascript="true"
+        width = 0 height = 0
+    >
+    </embed>
+</object>
+
 </body>
 </html>
diff --git a/LayoutTests/fast/replaced/invalid-object-with-fallback-expected.txt b/LayoutTests/fast/replaced/invalid-object-with-fallback-expected.txt
new file mode 100644
index 0000000..d61135e
--- /dev/null
+++ b/LayoutTests/fast/replaced/invalid-object-with-fallback-expected.txt
@@ -0,0 +1,5 @@
+This test verifies that an <embed> tag is rendered along with other fallback content when an <object> fails to load. On success, you should see this text, followed by 'PASS'.
+
+
+PASS
+
diff --git a/LayoutTests/fast/replaced/invalid-object-with-fallback.html b/LayoutTests/fast/replaced/invalid-object-with-fallback.html
new file mode 100644
index 0000000..e3de1e1
--- /dev/null
+++ b/LayoutTests/fast/replaced/invalid-object-with-fallback.html
@@ -0,0 +1,26 @@
+<html>
+    <head>
+        <script>
+            if (window.layoutTestController)
+                layoutTestController.dumpAsText();
+
+            function debug(str) {
+                document.getElementById('console').innerHTML += str + "<br>";
+            }
+        </script>
+    </head>
+    <body>
+        <object>
+            <p>This test verifies that an &lt;embed&gt; tag is rendered along with other fallback content when an &lt;object&gt; fails to load.  On success, you should see this text, followed by 'PASS'.</p>
+            <embed name="plugin" type="application/x-webkit-test-netscape">
+        </object>
+        <div id="console"></div>
+        <script>
+            var plugin = document.plugin;
+            if (plugin && plugin.getURL)
+                debug("PASS");
+            else
+                debug("FAIL");
+        </script>
+    </body>
+</html>
diff --git a/LayoutTests/fast/replaced/object-with-embed-url-param-expected.txt b/LayoutTests/fast/replaced/object-with-embed-url-param-expected.txt
new file mode 100644
index 0000000..d280a75
--- /dev/null
+++ b/LayoutTests/fast/replaced/object-with-embed-url-param-expected.txt
@@ -0,0 +1,7 @@
+   
+This test verifies that the right URL is loaded when there is an <object> with a 'src' <param> and a fallback <embed>.
+
+An <object> with a 'data' @attr and a 'src' <param> should load the URL from the 'data' @attr and does.
+An <object> with a 'src' <param> should load the URL from the 'src' <param> and does.
+An <object> with no URL specified and a nested <embed> should load the URL from the 'src' @attr of the <embed> and does.
+
diff --git a/LayoutTests/fast/replaced/object-with-embed-url-param.html b/LayoutTests/fast/replaced/object-with-embed-url-param.html
new file mode 100644
index 0000000..ac44182
--- /dev/null
+++ b/LayoutTests/fast/replaced/object-with-embed-url-param.html
@@ -0,0 +1,50 @@
+<html>
+    <head>
+        <script>
+            if (window.layoutTestController) {
+                layoutTestController.dumpAsText();
+                layoutTestController.waitUntilDone();
+            }
+
+            var handledObject1 = false;
+            var handledObject2 = false;
+            var handledEmbed3 = false;
+
+            document.addEventListener("beforeload", function(event) {
+                if (event.target.id == "object1") {
+                    debug("An &lt;object&gt; with a 'data' @attr and a 'src' &lt;param&gt; should load the URL from the 'data' @attr and does" + (event.url == "object-attr" ? "." : " not."));
+                    handledObject1 = true;
+                } else if (event.target.id == "object2") {
+                    debug("An &lt;object&gt; with a 'src' &lt;param&gt; should load the URL from the 'src' &lt;param&gt; and does" + (event.url == "object-param" ? "." : " not."));
+                    handledObject2 = true;
+                } else if (event.target.id == "embed3") {
+                    debug("An &lt;object&gt; with no URL specified and a nested &lt;embed&gt; should load the URL from the 'src' @attr of the &lt;embed&gt; and does" + (event.url == "embed-attr" ? "." : " not."));
+                    handledEmbed3 = true;
+                }
+
+                if (window.layoutTestController && handledObject1 && handledObject2 && handledEmbed3)
+                    layoutTestController.notifyDone();
+
+            }, true);
+
+            function debug(str) {
+                document.getElementById('console').innerHTML += str + "<br>";
+            }
+        </script>
+    </head>
+    <body>
+        <object id="object1" type="application/x-webkit-test-netscape" data="object-attr">
+            <param id="param1" name="src" value="object-param"></param>
+            <embed id="embed1" type="application/x-webkit-test-netscape" src="embed-attr">
+        </object>
+        <object id="object2" type="application/x-webkit-test-netscape">
+            <param id="param2" name="movie" value="object-param"></param>
+            <embed id="embed2" type="application/x-webkit-test-netscape" src="embed-attr">
+        </object>
+        <object id="object3">
+            <embed id="embed3" type="application/x-webkit-test-netscape" src="embed-attr">
+        </object>
+        <p>This test verifies that the right URL is loaded when there is an &lt;object&gt; with a 'src' &lt;param&gt; and a fallback &lt;embed&gt;.</p>
+        <div id="console"></div>
+    </body>
+</html>
diff --git a/LayoutTests/java/lc3/ArrayMethods/byte-001-expected.txt b/LayoutTests/java/lc3/ArrayMethods/byte-001-expected.txt
index 0e658ef..859f979 100644
--- a/LayoutTests/java/lc3/ArrayMethods/byte-001-expected.txt
+++ b/LayoutTests/java/lc3/ArrayMethods/byte-001-expected.txt
@@ -15,4 +15,4 @@ FAIL b3.getClass().getName() +'' should be [B. Threw exception TypeError: Result
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ArrayMethods/byte-002-expected.txt b/LayoutTests/java/lc3/ArrayMethods/byte-002-expected.txt
index 5799a86..b7613b6 100644
--- a/LayoutTests/java/lc3/ArrayMethods/byte-002-expected.txt
+++ b/LayoutTests/java/lc3/ArrayMethods/byte-002-expected.txt
@@ -4,4 +4,4 @@ PASS b.valueOf() is b
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/CallStatic/boolean-001-expected.txt b/LayoutTests/java/lc3/CallStatic/boolean-001-expected.txt
index 530a1fa..a6b8c05 100644
--- a/LayoutTests/java/lc3/CallStatic/boolean-001-expected.txt
+++ b/LayoutTests/java/lc3/CallStatic/boolean-001-expected.txt
@@ -9,4 +9,4 @@ PASS typeof dt.staticGetBoolean() is "boolean"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/CallStatic/number-001-expected.txt b/LayoutTests/java/lc3/CallStatic/number-001-expected.txt
index 7690736..3daeb63 100644
--- a/LayoutTests/java/lc3/CallStatic/number-001-expected.txt
+++ b/LayoutTests/java/lc3/CallStatic/number-001-expected.txt
@@ -24,4 +24,4 @@ PASS typeof dt.staticGetFloat() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/CallStatic/object-001-expected.txt b/LayoutTests/java/lc3/CallStatic/object-001-expected.txt
index d2f28f6..0858dd1 100644
--- a/LayoutTests/java/lc3/CallStatic/object-001-expected.txt
+++ b/LayoutTests/java/lc3/CallStatic/object-001-expected.txt
@@ -24,4 +24,4 @@ PASS dt.staticGetCharacter().getClass().getName()+'' is "java.lang.Character"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/Constructors/construct-001-expected.txt b/LayoutTests/java/lc3/Constructors/construct-001-expected.txt
index 11b67bd..ffdbaeb 100644
--- a/LayoutTests/java/lc3/Constructors/construct-001-expected.txt
+++ b/LayoutTests/java/lc3/Constructors/construct-001-expected.txt
@@ -4,4 +4,4 @@ LiveConnect 3.0 JavaScript to Java Data Conversion
 FAIL successfullyParsed should be true. Threw exception ReferenceError: Can't find variable: successfullyParsed
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-001-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-001-expected.txt
index f4f492b..1188059 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-001-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS.ambiguous( false ) should be BOOLEAN. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-002-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-002-expected.txt
index 537fdb8..18c245b 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-002-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS.ambiguous( false ) should be 1. Was 128.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-003-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-003-expected.txt
index 6709feb..3fe9d94 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-003-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-003-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS.ambiguous( false ) should be 2. Was 128.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-004-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-004-expected.txt
index d5415b0..2416f72 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-004-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-004-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS.ambiguous( false ) should be 4. Was 128.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-005-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-005-n-expected.txt
index 4557c54..a7ebfc2 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-005-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-005-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous( true ) should throw an exception. Was 128.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-006-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-006-n-expected.txt
index 3d6ccf2..027362a 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-006-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-006-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous( false ) should throw an exception. Was 128.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-007-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-007-n-expected.txt
index a15c75b..12eb07e 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-007-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-007-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(long)"](true) threw exception TypeError: Result of ex
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-008-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-008-n-expected.txt
index 53e6e7c..e6937cd 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-008-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-008-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(short)"](true) threw exception TypeError: Result of e
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-009-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-009-n-expected.txt
index fe58f09..6fb02d9 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-009-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-009-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(char)"](true) threw exception TypeError: Result of ex
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-010-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-010-n-expected.txt
index 0b69e85..ffa7ca2 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-010-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-010-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(int)"](true) threw exception TypeError: Result of exp
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-011-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-011-n-expected.txt
index 049f018..fafd80b 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-011-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-011-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(byte)"](true) threw exception TypeError: Result of ex
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-012-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-012-n-expected.txt
index 2cc149d..ebfa0b2 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-012-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-012-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(double)"](true) threw exception TypeError: Result of
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-013-n-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-013-n-expected.txt
index 2c5866c..b610fbd 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-013-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-013-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(float)"](true) threw exception TypeError: Result of e
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertBoolean/boolean-014-expected.txt b/LayoutTests/java/lc3/ConvertBoolean/boolean-014-expected.txt
index 637cae3..fe31fac 100644
--- a/LayoutTests/java/lc3/ConvertBoolean/boolean-014-expected.txt
+++ b/LayoutTests/java/lc3/ConvertBoolean/boolean-014-expected.txt
@@ -9,4 +9,4 @@ FAIL TEST_CLASS["ambiguous(java.lang.String)"](false) should be STRING. Threw ex
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToBoolean-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToBoolean-001-expected.txt
index b0dbd7c..b4a0cfd 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToBoolean-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToBoolean-001-expected.txt
@@ -12,4 +12,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be DOUBLE. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToByte-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToByte-001-expected.txt
index 25ff0f2..943c106 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToByte-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToByte-001-expected.txt
@@ -9,4 +9,4 @@ PASS TEST_CLASS.ambiguous( MyFunction ) +'' is 'BYTE'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToByte-002-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToByte-002-expected.txt
index a51f016..32b64ae 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToByte-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToByte-002-expected.txt
@@ -8,4 +8,4 @@ PASS TEST_CLASS.ambiguous( new AnotherObject("123") ) +'' is 'BYTE'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToChar-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToChar-001-expected.txt
index 38fe4de..be1f156 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToChar-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToChar-001-expected.txt
@@ -7,4 +7,4 @@ FAIL TEST_CLASS.ambiguous( new Date(999) ) +'' should be CHAR. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToChar-002-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToChar-002-expected.txt
index c38fe2f..6861dd4 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToChar-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToChar-002-expected.txt
@@ -8,4 +8,4 @@ FAIL TEST_CLASS.ambiguous( new AnotherObject("12345") ) +'' should be CHAR. Was
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToDouble-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToDouble-001-expected.txt
index 75b7bcc..5dabf1c 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToDouble-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToDouble-001-expected.txt
@@ -12,4 +12,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be DOUBLE. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToFloat-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToFloat-001-expected.txt
index 900cb29..a1d69cc 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToFloat-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToFloat-001-expected.txt
@@ -12,4 +12,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be FLOAT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToInt-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToInt-001-expected.txt
index 8e875c1..2375451 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToInt-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToInt-001-expected.txt
@@ -7,4 +7,4 @@ FAIL TEST_CLASS.ambiguous( new Date(0) ) +'' should be INT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToInt-002-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToInt-002-expected.txt
index ebe9b38..2cdbc5b 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToInt-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToInt-002-expected.txt
@@ -8,4 +8,4 @@ FAIL TEST_CLASS.ambiguous( new AnotherObject("12345") ) +'' should be INT. Was B
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToJSObject-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToJSObject-001-expected.txt
index 7972242..0273ef9 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToJSObject-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToJSObject-001-expected.txt
@@ -13,4 +13,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be JSOBJECT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToLong-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToLong-001-expected.txt
index fe55725..8dbb90a 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToLong-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToLong-001-expected.txt
@@ -9,4 +9,4 @@ FAIL TEST_CLASS.ambiguous( MyFunction ) +'' should be LONG. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToLong-002-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToLong-002-expected.txt
index 77ea167..7871e08 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToLong-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToLong-002-expected.txt
@@ -8,4 +8,4 @@ FAIL TEST_CLASS.ambiguous( new AnotherObject("12345") ) +'' should be LONG. Was
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToObject-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToObject-001-expected.txt
index ee15736..b10628f 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToObject-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToObject-001-expected.txt
@@ -13,4 +13,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be OBJECT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToShort-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToShort-001-expected.txt
index bd90bd5..58178f6 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToShort-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToShort-001-expected.txt
@@ -7,4 +7,4 @@ FAIL TEST_CLASS.ambiguous( new Date(999) ) +'' should be SHORT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToShort-002-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToShort-002-expected.txt
index bf41af7..6676433 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToShort-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToShort-002-expected.txt
@@ -8,4 +8,4 @@ FAIL TEST_CLASS.ambiguous( new AnotherObject("12345") ) +'' should be SHORT. Was
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertJSObject/ToString-001-expected.txt b/LayoutTests/java/lc3/ConvertJSObject/ToString-001-expected.txt
index f147265..167d7ba 100644
--- a/LayoutTests/java/lc3/ConvertJSObject/ToString-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertJSObject/ToString-001-expected.txt
@@ -13,4 +13,4 @@ FAIL TEST_CLASS.ambiguous( new Object() ) +'' should be STRING. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-001-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-001-expected.txt
index d26f47d..08da13d 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-001-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS["ambiguous(java.lang.String)"](null) +'' should be STRING. Threw
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-002-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-002-expected.txt
index 141d79c..36a6f15 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-002-expected.txt
@@ -6,4 +6,4 @@ FAIL java.lang.Boolean["valueOf(java.lang.String)"](null) should be false. Threw
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-003-n-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-003-n-expected.txt
index 81a8111..496eb82 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-003-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-003-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(null) should throw an exception. Was CHAR.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-004-n-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-004-n-expected.txt
index 4889014..eaa43e6 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-004-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-004-n-expected.txt
@@ -4,4 +4,4 @@ PASS Packages.com.netscape.javascript.qa.lc3.jsnull.Null_001.staticAmbiguous(nul
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-005-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-005-expected.txt
index a5cca6f..c761422 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-005-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-005-expected.txt
@@ -6,4 +6,4 @@ FAIL Packages.com.netscape.javascript.qa.lc3.jsnull.Null_001["staticAmbiguous(ja
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNull/null-006-n-expected.txt b/LayoutTests/java/lc3/ConvertNull/null-006-n-expected.txt
index d367ef4..db99786 100644
--- a/LayoutTests/java/lc3/ConvertNull/null-006-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNull/null-006-n-expected.txt
@@ -4,4 +4,4 @@ PASS Packages.com.netscape.javascript.qa.lc3.jsnull.Null_001["staticAmbiguous(ja
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-001-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-001-expected.txt
index 0ad8864..5a08adc 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-001-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be DOUBLE. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-002-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-002-expected.txt
index 8e4e74a..1f30172 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-002-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be DOUBLE_OBJECT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-003-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-003-expected.txt
index 506c6a3..aa4ad7c 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-003-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-003-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be FLOAT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-004-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-004-expected.txt
index 2862cc6..36e78cc 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-004-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-004-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be LONG. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-005-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-005-expected.txt
index 7fa7249..9045939 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-005-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-005-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be INT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-006-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-006-expected.txt
index e516a17..e24ee79 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-006-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-006-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be SHORT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-007-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-007-expected.txt
index b5d68ec..0e145a2 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-007-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-007-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be CHAR. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-008-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-008-expected.txt
index a824786..20cd53e 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-008-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-008-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be BYTE. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-009-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-009-expected.txt
index 9671713..ca2a8af 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-009-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-009-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be STRING. Was BOOLEAN_OBJECT.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-010-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-010-expected.txt
index bf7d4e1..985f292 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-010-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-010-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(1) should be OBJECT. Was BOOLEAN_OBJECT.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertNumber/number-011-expected.txt b/LayoutTests/java/lc3/ConvertNumber/number-011-expected.txt
index ba58404..441ec99 100644
--- a/LayoutTests/java/lc3/ConvertNumber/number-011-expected.txt
+++ b/LayoutTests/java/lc3/ConvertNumber/number-011-expected.txt
@@ -13,4 +13,4 @@ FAIL TEST_CLASS["ambiguous(double)"](1) should be DOUBLE. Threw exception TypeEr
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-001-expected.txt b/LayoutTests/java/lc3/ConvertString/string-001-expected.txt
index f2adb66..2b20f3e 100644
--- a/LayoutTests/java/lc3/ConvertString/string-001-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-001-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(string) should be STRING. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-002-expected.txt b/LayoutTests/java/lc3/ConvertString/string-002-expected.txt
index c9a936f..a6e1838 100644
--- a/LayoutTests/java/lc3/ConvertString/string-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-002-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(string) should be OBJECT. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-003-expected.txt b/LayoutTests/java/lc3/ConvertString/string-003-expected.txt
index 33c23f4..69cb924 100644
--- a/LayoutTests/java/lc3/ConvertString/string-003-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-003-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(string) should be CHAR. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-004-n-expected.txt b/LayoutTests/java/lc3/ConvertString/string-004-n-expected.txt
index 33c23f4..69cb924 100644
--- a/LayoutTests/java/lc3/ConvertString/string-004-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-004-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(string) should be CHAR. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-005-n-expected.txt b/LayoutTests/java/lc3/ConvertString/string-005-n-expected.txt
index 690df87..595f275 100644
--- a/LayoutTests/java/lc3/ConvertString/string-005-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-005-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous(string) should throw an exception. Was BYTE.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-006-expected.txt b/LayoutTests/java/lc3/ConvertString/string-006-expected.txt
index 4bbe63e..8fad656 100644
--- a/LayoutTests/java/lc3/ConvertString/string-006-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-006-expected.txt
@@ -12,4 +12,4 @@ FAIL TEST_CLASS["ambiguous(byte)"]("127") + '' should be BYTE. Threw exception T
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertString/string-007-n-expected.txt b/LayoutTests/java/lc3/ConvertString/string-007-n-expected.txt
index f32e3a6..5329bc3 100644
--- a/LayoutTests/java/lc3/ConvertString/string-007-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertString/string-007-n-expected.txt
@@ -4,4 +4,4 @@ PASS TEST_CLASS["ambiguous(boolean)"](string) + '' threw exception TypeError: Re
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertUndefined/undefined-001-n-expected.txt b/LayoutTests/java/lc3/ConvertUndefined/undefined-001-n-expected.txt
index e01322a..e0080f5 100644
--- a/LayoutTests/java/lc3/ConvertUndefined/undefined-001-n-expected.txt
+++ b/LayoutTests/java/lc3/ConvertUndefined/undefined-001-n-expected.txt
@@ -4,4 +4,4 @@ FAIL TEST_CLASS.ambiguous( void 0 ) should throw an exception. Was OBJECT.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertUndefined/undefined-002-expected.txt b/LayoutTests/java/lc3/ConvertUndefined/undefined-002-expected.txt
index d1b6758..b47dc98 100644
--- a/LayoutTests/java/lc3/ConvertUndefined/undefined-002-expected.txt
+++ b/LayoutTests/java/lc3/ConvertUndefined/undefined-002-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS["ambiguous(java.lang.String)"](void 0) +'' should be STRING. Thr
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/ConvertUndefined/undefined-003-expected.txt b/LayoutTests/java/lc3/ConvertUndefined/undefined-003-expected.txt
index d1b6758..b47dc98 100644
--- a/LayoutTests/java/lc3/ConvertUndefined/undefined-003-expected.txt
+++ b/LayoutTests/java/lc3/ConvertUndefined/undefined-003-expected.txt
@@ -5,4 +5,4 @@ FAIL TEST_CLASS["ambiguous(java.lang.String)"](void 0) +'' should be STRING. Thr
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/Exceptions/throw_js_types-expected.txt b/LayoutTests/java/lc3/Exceptions/throw_js_types-expected.txt
index 82f7a1b..8508619 100644
--- a/LayoutTests/java/lc3/Exceptions/throw_js_types-expected.txt
+++ b/LayoutTests/java/lc3/Exceptions/throw_js_types-expected.txt
@@ -12,4 +12,4 @@ FAIL evalObject.eval(this, "throw null") should throw null. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-001-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-001-expected.txt
index 802667d..055bdcb 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-001-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-001-expected.txt
@@ -27,4 +27,4 @@ FAIL java.lang.Class.forName( "java.lang.String"): ReferenceError: Can't find va
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-002-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-002-n-expected.txt
index e2768b3..319a878 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-002-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getDouble() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-003-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-003-n-expected.txt
index 81a92f9..361b75c 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-003-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getFloat() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-004-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-004-n-expected.txt
index 7590fd8..0747e2d 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-004-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getLong() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-005-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-005-n-expected.txt
index dc8278b..a88f131 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-005-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInt() threw exception TypeError: Result of expression 'dt.getI
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-006-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-006-n-expected.txt
index b86123d..70983ea 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-006-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getShort() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-007-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-007-n-expected.txt
index 93a4dc6..2e7dcec 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-007-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-007-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getChar() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSBoolean/boolean-008-n-expected.txt b/LayoutTests/java/lc3/JSBoolean/boolean-008-n-expected.txt
index 4962889..202c0fa 100644
--- a/LayoutTests/java/lc3/JSBoolean/boolean-008-n-expected.txt
+++ b/LayoutTests/java/lc3/JSBoolean/boolean-008-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getByte() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNull/ToBoolean-001-n-expected.txt b/LayoutTests/java/lc3/JSNull/ToBoolean-001-n-expected.txt
index 8e92e41..54f43e2 100644
--- a/LayoutTests/java/lc3/JSNull/ToBoolean-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNull/ToBoolean-001-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getBoolean() should throw an exception. Was boolean.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNull/ToFloat-001-n-expected.txt b/LayoutTests/java/lc3/JSNull/ToFloat-001-n-expected.txt
index 26882fd..63b1a12 100644
--- a/LayoutTests/java/lc3/JSNull/ToFloat-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNull/ToFloat-001-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getFloat() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNull/ToLong-001-n-expected.txt b/LayoutTests/java/lc3/JSNull/ToLong-001-n-expected.txt
index fa05981..3993abd 100644
--- a/LayoutTests/java/lc3/JSNull/ToLong-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNull/ToLong-001-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getLong() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNull/ToNumber-001-n-expected.txt b/LayoutTests/java/lc3/JSNull/ToNumber-001-n-expected.txt
index 8a9a800..958addc 100644
--- a/LayoutTests/java/lc3/JSNull/ToNumber-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNull/ToNumber-001-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getDouble() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNull/ToObject-001-expected.txt b/LayoutTests/java/lc3/JSNull/ToObject-001-expected.txt
index b3439d1..6ba7838 100644
--- a/LayoutTests/java/lc3/JSNull/ToObject-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNull/ToObject-001-expected.txt
@@ -9,4 +9,4 @@ FAIL typeof dt.getStringObject() should be object. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToByte-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToByte-001-expected.txt
index ff87d05..db5f44b 100644
--- a/LayoutTests/java/lc3/JSNumber/ToByte-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToByte-001-expected.txt
@@ -18,4 +18,4 @@ PASS typeof dt.getByte() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToByte-002-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToByte-002-n-expected.txt
index aa6f77b..23ceb10 100644
--- a/LayoutTests/java/lc3/JSNumber/ToByte-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToByte-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToByte-003-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToByte-003-n-expected.txt
index 93807c4..c72a1ca 100644
--- a/LayoutTests/java/lc3/JSNumber/ToByte-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToByte-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToByte-004-expected.txt b/LayoutTests/java/lc3/JSNumber/ToByte-004-expected.txt
index 36de5e9..6b2f7b5 100644
--- a/LayoutTests/java/lc3/JSNumber/ToByte-004-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToByte-004-expected.txt
@@ -9,4 +9,4 @@ FAIL java.lang.Byte.MIN_VALUE: ReferenceError: Can't find variable: java
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToByte-005-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToByte-005-n-expected.txt
index 762da15..a022de5 100644
--- a/LayoutTests/java/lc3/JSNumber/ToByte-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToByte-005-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getByte() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-001-expected.txt
index e79be21..0e57664 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-001-expected.txt
@@ -20,4 +20,4 @@ PASS typeof dt.getChar() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-002-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-002-n-expected.txt
index 3eff477..8433721 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-003-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-003-n-expected.txt
index 2ac6ac9..7f37ba7 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-004-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-004-expected.txt
index 4840e35..f5f5d32 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-004-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-004-expected.txt
@@ -21,4 +21,4 @@ PASS typeof dt.getChar() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-005-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-005-n-expected.txt
index 92fb0ae..7dd737b 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-005-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getChar() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToChar-006-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToChar-006-n-expected.txt
index 67e75d8..ecf46ee 100644
--- a/LayoutTests/java/lc3/JSNumber/ToChar-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToChar-006-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getChar() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToDouble-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToDouble-001-expected.txt
index b84329e..d48bab7 100644
--- a/LayoutTests/java/lc3/JSNumber/ToDouble-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToDouble-001-expected.txt
@@ -87,4 +87,4 @@ PASS typeof dt.getDouble() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToDouble-002-expected.txt b/LayoutTests/java/lc3/JSNumber/ToDouble-002-expected.txt
index f0c9bd5..f9ec198 100644
--- a/LayoutTests/java/lc3/JSNumber/ToDouble-002-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToDouble-002-expected.txt
@@ -87,4 +87,4 @@ FAIL java.lang.Class.forName("java.lang.Double"): ReferenceError: Can't find var
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToDouble-003-expected.txt b/LayoutTests/java/lc3/JSNumber/ToDouble-003-expected.txt
index 0d5caa3..8ff9ffe 100644
--- a/LayoutTests/java/lc3/JSNumber/ToDouble-003-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToDouble-003-expected.txt
@@ -57,4 +57,4 @@ PASS typeof dt.getFloat() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToInt-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToInt-001-expected.txt
index 60802c2..22d3d4e 100644
--- a/LayoutTests/java/lc3/JSNumber/ToInt-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToInt-001-expected.txt
@@ -24,4 +24,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToInt-002-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToInt-002-n-expected.txt
index 6d196f4..514df1f 100644
--- a/LayoutTests/java/lc3/JSNumber/ToInt-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToInt-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToInt-003-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToInt-003-n-expected.txt
index 47c7a03..10b518d 100644
--- a/LayoutTests/java/lc3/JSNumber/ToInt-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToInt-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToInt-004-expected.txt b/LayoutTests/java/lc3/JSNumber/ToInt-004-expected.txt
index 0f113d0..9bbeec4 100644
--- a/LayoutTests/java/lc3/JSNumber/ToInt-004-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToInt-004-expected.txt
@@ -21,4 +21,4 @@ PASS typeof dt.getInteger() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToInt-005-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToInt-005-n-expected.txt
index 055b6ad..8e89cb9 100644
--- a/LayoutTests/java/lc3/JSNumber/ToInt-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToInt-005-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getInteger() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-001-expected.txt
index dc222ca..c437f74 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-001-expected.txt
@@ -30,4 +30,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-002-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-002-n-expected.txt
index aa64afe..b88d61e 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-003-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-003-n-expected.txt
index c4b58bb..037b3ef 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-004-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-004-n-expected.txt
index 0c8b16a..2f840d5 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-004-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-005-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-005-n-expected.txt
index 5b2b77d..46d3c1b 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-005-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-006-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-006-n-expected.txt
index 9e710b1..ff09e2a 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-006-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-007-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-007-n-expected.txt
index da3038d..4b89ab9 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-007-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-007-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-008-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-008-n-expected.txt
index c690a14..4688d56 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-008-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-008-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-009-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-009-n-expected.txt
index 0490407..56a6b5a 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-009-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-009-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-010-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-010-n-expected.txt
index 77f1b4e..e160efc 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-010-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-010-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToLong-011-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToLong-011-n-expected.txt
index e01d5b3..872ef5d 100644
--- a/LayoutTests/java/lc3/JSNumber/ToLong-011-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToLong-011-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToShort-001-expected.txt b/LayoutTests/java/lc3/JSNumber/ToShort-001-expected.txt
index 18ff9a2..0bb1904 100644
--- a/LayoutTests/java/lc3/JSNumber/ToShort-001-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToShort-001-expected.txt
@@ -24,4 +24,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToShort-002-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToShort-002-n-expected.txt
index 3827729..f63b553 100644
--- a/LayoutTests/java/lc3/JSNumber/ToShort-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToShort-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToShort-003-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToShort-003-n-expected.txt
index 25ceef5..32b3704 100644
--- a/LayoutTests/java/lc3/JSNumber/ToShort-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToShort-003-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getShort() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToShort-004-expected.txt b/LayoutTests/java/lc3/JSNumber/ToShort-004-expected.txt
index ce66958..fe7184b 100644
--- a/LayoutTests/java/lc3/JSNumber/ToShort-004-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToShort-004-expected.txt
@@ -12,4 +12,4 @@ PASS typeof dt.getShort() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSNumber/ToShort-005-n-expected.txt b/LayoutTests/java/lc3/JSNumber/ToShort-005-n-expected.txt
index 2a33084..2a6c62b 100644
--- a/LayoutTests/java/lc3/JSNumber/ToShort-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSNumber/ToShort-005-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getShort() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToByte-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToByte-001-expected.txt
index 0089566..9b3c66e 100644
--- a/LayoutTests/java/lc3/JSObject/ToByte-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToByte-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getByte() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToChar-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToChar-001-expected.txt
index 3776f0e..03fc259 100644
--- a/LayoutTests/java/lc3/JSObject/ToChar-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToChar-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getChar() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToDouble-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToDouble-001-expected.txt
index 31d99c8..9b96864 100644
--- a/LayoutTests/java/lc3/JSObject/ToDouble-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToDouble-001-expected.txt
@@ -54,4 +54,4 @@ PASS typeof dt.getDouble() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToDouble-002-n-expected.txt b/LayoutTests/java/lc3/JSObject/ToDouble-002-n-expected.txt
index 370dc9e..7c4b82c 100644
--- a/LayoutTests/java/lc3/JSObject/ToDouble-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToDouble-002-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getDouble() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToDouble-003-n-expected.txt b/LayoutTests/java/lc3/JSObject/ToDouble-003-n-expected.txt
index ee261d4..128170e 100644
--- a/LayoutTests/java/lc3/JSObject/ToDouble-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToDouble-003-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getDouble() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToFloat-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToFloat-001-expected.txt
index 9a20c90..389fda5 100644
--- a/LayoutTests/java/lc3/JSObject/ToFloat-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToFloat-001-expected.txt
@@ -54,4 +54,4 @@ PASS typeof dt.getFloat() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToFloat-002-n-expected.txt b/LayoutTests/java/lc3/JSObject/ToFloat-002-n-expected.txt
index 7f0cea2..5f7eace 100644
--- a/LayoutTests/java/lc3/JSObject/ToFloat-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToFloat-002-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getFloat() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToFloat-003-n-expected.txt b/LayoutTests/java/lc3/JSObject/ToFloat-003-n-expected.txt
index ec76164..c156f96 100644
--- a/LayoutTests/java/lc3/JSObject/ToFloat-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToFloat-003-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getFloat() should throw an exception. Was number.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToInt-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToInt-001-expected.txt
index e1f39c7..8b37ba0 100644
--- a/LayoutTests/java/lc3/JSObject/ToInt-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToInt-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getInteger() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToInt-002-expected.txt b/LayoutTests/java/lc3/JSObject/ToInt-002-expected.txt
index baac4dd..0cd0e57 100644
--- a/LayoutTests/java/lc3/JSObject/ToInt-002-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToInt-002-expected.txt
@@ -9,4 +9,4 @@ PASS typeof dt.getInteger() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToJSObject-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToJSObject-001-expected.txt
index 0d977b3..308d791 100644
--- a/LayoutTests/java/lc3/JSObject/ToJSObject-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToJSObject-001-expected.txt
@@ -30,4 +30,4 @@ PASS jsoc.getJSObject().constructor is Function
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToLong-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToLong-001-expected.txt
index e32a93f..241d044 100644
--- a/LayoutTests/java/lc3/JSObject/ToLong-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToLong-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToObject-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToObject-001-expected.txt
index aff9fca..659a2a4 100644
--- a/LayoutTests/java/lc3/JSObject/ToObject-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToObject-001-expected.txt
@@ -57,4 +57,4 @@ PASS dt.getObject().constructor is Function
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToShort-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToShort-001-expected.txt
index 733a385..0867571 100644
--- a/LayoutTests/java/lc3/JSObject/ToShort-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToShort-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getShort() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSObject/ToString-001-expected.txt b/LayoutTests/java/lc3/JSObject/ToString-001-expected.txt
index 5427cdc..43288d6 100644
--- a/LayoutTests/java/lc3/JSObject/ToString-001-expected.txt
+++ b/LayoutTests/java/lc3/JSObject/ToString-001-expected.txt
@@ -45,4 +45,4 @@ FAIL java.lang.Class.forName("java.lang.String"): ReferenceError: Can't find var
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-001-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-001-expected.txt
index f03c71d..99739bd 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-001-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-001-expected.txt
@@ -9,4 +9,4 @@ FAIL java.lang.Class.forName( "java.lang.String" ): ReferenceError: Can't find v
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-002-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-002-n-expected.txt
index 1d173d9..0cf325a 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-002-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setLong(undefined) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-003-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-003-n-expected.txt
index f23f847..6a3c2b2 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-003-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setInteger( undefined ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-004-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-004-n-expected.txt
index dab7189..960c38f 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-004-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setShort( undefined ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-005-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-005-n-expected.txt
index e6025df..f9395be 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-005-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setChar( undefined ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-006-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-006-n-expected.txt
index 98fe5d5..e4b205e 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-006-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setByte( undefined ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-007-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-007-n-expected.txt
index d99cc34..1105bac 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-007-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-007-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setByte( void 0 ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-008-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-008-n-expected.txt
index 0dce624..a5ec7c3 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-008-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-008-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setDouble( void 0 ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-009-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-009-n-expected.txt
index 64471dd..4fb2a82 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-009-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-009-n-expected.txt
@@ -4,4 +4,4 @@ FAIL dt.setFloat( void 0 ) should throw an exception. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JSUndefined/undefined-010-n-expected.txt b/LayoutTests/java/lc3/JSUndefined/undefined-010-n-expected.txt
index fbcf8d5..99b4ffe 100644
--- a/LayoutTests/java/lc3/JSUndefined/undefined-010-n-expected.txt
+++ b/LayoutTests/java/lc3/JSUndefined/undefined-010-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getBoolean() should throw an exception. Was boolean.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaArray/ToArray-001-expected.txt b/LayoutTests/java/lc3/JavaArray/ToArray-001-expected.txt
index e1097da..2098c25 100644
--- a/LayoutTests/java/lc3/JavaArray/ToArray-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaArray/ToArray-001-expected.txt
@@ -126,4 +126,4 @@ FAIL typeof dt.getCharArray()[17] should be number. Was undefined.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaArray/ToArray-002-n-expected.txt b/LayoutTests/java/lc3/JavaArray/ToArray-002-n-expected.txt
index 5f0d3ec..3d62163 100644
--- a/LayoutTests/java/lc3/JavaArray/ToArray-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaArray/ToArray-002-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof DT.staticGetObjectArray()[0] should throw an exception. Was object.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaArray/ToBoolean-001-n-expected.txt b/LayoutTests/java/lc3/JavaArray/ToBoolean-001-n-expected.txt
index 8f9f742..aa4aa82 100644
--- a/LayoutTests/java/lc3/JavaArray/ToBoolean-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaArray/ToBoolean-001-n-expected.txt
@@ -30,4 +30,4 @@ PASS typeof dt.getBoolean()  is "boolean"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaArray/ToString-001-expected.txt b/LayoutTests/java/lc3/JavaArray/ToString-001-expected.txt
index 59b68de..af72703 100644
--- a/LayoutTests/java/lc3/JavaArray/ToString-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaArray/ToString-001-expected.txt
@@ -27,4 +27,4 @@ FAIL typeof dt.getStringObject() +'' should be string. Was object.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaClass/ToClass-001-expected.txt b/LayoutTests/java/lc3/JavaClass/ToClass-001-expected.txt
index 4078b65..abbdf5e 100644
--- a/LayoutTests/java/lc3/JavaClass/ToClass-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaClass/ToClass-001-expected.txt
@@ -5,4 +5,4 @@ FAIL java.lang.Class.forName("java.lang.Byte"): ReferenceError: Can't find varia
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaClass/ToJSObject-001-expected.txt b/LayoutTests/java/lc3/JavaClass/ToJSObject-001-expected.txt
index 85c4666..635bd22 100644
--- a/LayoutTests/java/lc3/JavaClass/ToJSObject-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaClass/ToJSObject-001-expected.txt
@@ -4,4 +4,4 @@ FAIL java.lang.Integer: ReferenceError: Can't find variable: java
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaClass/ToObject-001-expected.txt b/LayoutTests/java/lc3/JavaClass/ToObject-001-expected.txt
index c766de4..9c82c11 100644
--- a/LayoutTests/java/lc3/JavaClass/ToObject-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaClass/ToObject-001-expected.txt
@@ -4,4 +4,4 @@ FAIL java.lang.Class.forName("java.lang.Integer"): ReferenceError: Can't find va
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaClass/ToString-001-expected.txt b/LayoutTests/java/lc3/JavaClass/ToString-001-expected.txt
index b494e3e..6e4fb18 100644
--- a/LayoutTests/java/lc3/JavaClass/ToString-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaClass/ToString-001-expected.txt
@@ -9,4 +9,4 @@ FAIL dt.getStringObject().getClass() should be string (of type string). Was clas
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt
index 684dd01..04c753a 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt
@@ -17,4 +17,4 @@ FAIL dt["getChar"]() should be 97. Was 65535.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt
index cad1eb4..dc9c8ec 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt
@@ -5,4 +5,4 @@ FAIL dt.amIAFieldOrAMethod() should be METHOD!. Threw exception TypeError: Resul
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt
index 2c754d4..8069678 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getBoolean) threw exception SyntaxError: Parse error.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt
index 3bfd391..d4a9f95 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt
@@ -6,4 +6,4 @@ FAIL typeof dt.getBoolean should throw an exception. Was function.
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-001-expected.txt
index a147f82..1930a60 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-001-expected.txt
@@ -39,4 +39,4 @@ PASS typeof dt.getByte() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt
index 022da5e..9eeb844 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt
index cd73b30..81d84be 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt
index 99b20ce..d4ae26a 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-005-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-005-expected.txt
index 8eba0f2..d1aac64 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-005-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-005-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-006-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-006-expected.txt
index 790d1fd..65a1b69 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-006-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-006-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt
index 785a56f..3fd9c72 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt
index a2f8be5..b8a9bf0 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getByte() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-001-expected.txt
index 053f71a..f520ce6 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-001-expected.txt
@@ -30,4 +30,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-002-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-002-expected.txt
index 7e913ae..f10a1b0 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-002-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-002-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt
index 6ed53e9..ee9e853 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-004-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-004-expected.txt
index 104f617..203785e 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-004-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-004-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt
index 69b2fe5..da06d03 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt
index f81b5db..4ed6061 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getChar() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt
index 80cd0d3..a90e2af 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt
@@ -12,4 +12,4 @@ PASS typeof dt.getDouble() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt
index f2aa6db..8b39149 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt
@@ -12,4 +12,4 @@ PASS typeof dt.getFloat() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-001-expected.txt
index ffc29e8..0ffcad3 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-001-expected.txt
@@ -39,4 +39,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt
index 64a1c9f..a811267 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt
index 93743b7..16e8455 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt
index f528f12..29875d2 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getInteger() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-001-expected.txt
index 21ab590..a65b6ef 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-001-expected.txt
@@ -27,4 +27,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt
index 701ecd8..8852353 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt
index 88cbbd1..c16814e 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt
index 6317260..9daf020 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-005-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-005-expected.txt
index 2fc62a1..8ef8e6c 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-005-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-005-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt
index 38731a0..353d414 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getLong() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-001-expected.txt
index 191a4a7..330f8ad 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-001-expected.txt
@@ -39,4 +39,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt
index 244da45..10a3f18 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt
index ad9689d..2096066 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt
index 091e861..35de729 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is 'number'
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-005-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-005-expected.txt
index 1c40298..26a8ad9 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-005-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-005-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-006-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-006-expected.txt
index 57876d4..881c97e 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-006-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToShort-006-expected.txt
@@ -6,4 +6,4 @@ PASS typeof dt.getShort() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/JavaObject/JavaObjectToString-001-expected.txt b/LayoutTests/java/lc3/JavaObject/JavaObjectToString-001-expected.txt
index 7e1489c..d8ff9a2 100644
--- a/LayoutTests/java/lc3/JavaObject/JavaObjectToString-001-expected.txt
+++ b/LayoutTests/java/lc3/JavaObject/JavaObjectToString-001-expected.txt
@@ -9,4 +9,4 @@ PASS typeof dt.getDouble() is "number"
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/StringMethods/string-001-expected.txt b/LayoutTests/java/lc3/StringMethods/string-001-expected.txt
index 44c9272..a84d6a4 100644
--- a/LayoutTests/java/lc3/StringMethods/string-001-expected.txt
+++ b/LayoutTests/java/lc3/StringMethods/string-001-expected.txt
@@ -28,4 +28,4 @@ FAIL s10.constructor == String.prototype.constructor should be true. Threw excep
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/forin/object-001-expected.txt b/LayoutTests/java/lc3/forin/object-001-expected.txt
index 3772817..87a3e87 100644
--- a/LayoutTests/java/lc3/forin/object-001-expected.txt
+++ b/LayoutTests/java/lc3/forin/object-001-expected.txt
@@ -8,4 +8,4 @@ FAIL getMethods( a[1].javaClass ): ReferenceError: Can't find variable: java
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/java/lc3/instanceof/instanceof-001-expected.txt b/LayoutTests/java/lc3/instanceof/instanceof-001-expected.txt
index bc97e3b..fa34b6d 100644
--- a/LayoutTests/java/lc3/instanceof/instanceof-001-expected.txt
+++ b/LayoutTests/java/lc3/instanceof/instanceof-001-expected.txt
@@ -11,4 +11,4 @@ FAIL new java.lang.Double(5.0) instanceof java.lang.Double should be true. Threw
 PASS successfullyParsed is true
 
 TEST COMPLETE
-
+ 
diff --git a/LayoutTests/platform/mac/accessibility/plugin-expected.txt b/LayoutTests/platform/mac/accessibility/plugin-expected.txt
index a4a9c71..a021163 100644
--- a/LayoutTests/platform/mac/accessibility/plugin-expected.txt
+++ b/LayoutTests/platform/mac/accessibility/plugin-expected.txt
@@ -1,11 +1,11 @@
-
+ 
 AXRole: AXGroup
 AXSubrole: (null)
 AXRoleDescription: group
 AXChildren: <array of size 0>
 AXHelp: 
 AXParent: <AXGroup>
-AXSize: NSSize: {784, 100}
+AXSize: NSSize: {784, 150}
 AXTitle: 
 AXDescription: 
 AXValue: 
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 94ff778..b80e9f4 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,27 @@
+2010-08-26  Andy Estes  <aestes at apple.com>
+
+        Reviewed by Darin Adler.
+
+        If an <embed> is part of an <object> element's fallback content, WebKit
+        should only render the <embed> if the <object> fails to load.
+        https://bugs.webkit.org/show_bug.cgi?id=44567
+        <rdar://problem/7699852>
+        
+        Tests: fast/replaced/invalid-object-with-fallback.html
+               fast/replaced/object-with-embed-url-param.html
+
+        * html/HTMLEmbedElement.cpp:
+        (WebCore::HTMLEmbedElement::rendererIsNeeded): An <embed> now needs a
+        renderer if its parent is an <object> but the <object> is using fallback
+        content.
+        * html/HTMLObjectElement.h:
+        (WebCore::HTMLObjectElement::useFallbackContent): Add a public getter
+        for m_useFallbackContent for use in HTMLEmbedElement::rendererIsNeeded.
+        * rendering/RenderEmbeddedObject.cpp:
+        (WebCore::RenderEmbeddedObject::updateWidget): Change the logic that
+        determines the plug-in parameters to pass to the loader. Do not override
+        parameters from <object> with those from a child <embed>.
+
 2010-08-26  James Robinson  <jamesr at chromium.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebCore/html/HTMLEmbedElement.cpp b/WebCore/html/HTMLEmbedElement.cpp
index 0a15321..bb40f25 100644
--- a/WebCore/html/HTMLEmbedElement.cpp
+++ b/WebCore/html/HTMLEmbedElement.cpp
@@ -130,10 +130,15 @@ bool HTMLEmbedElement::rendererIsNeeded(RenderStyle* style)
     if (!frame)
         return false;
 
+    // If my parent is an <object> and is not set to use fallback content, I
+    // should be ignored and not get a renderer.
     Node* p = parentNode();
     if (p && p->hasTagName(objectTag)) {
         ASSERT(p->renderer());
-        return false;
+        if (!static_cast<HTMLObjectElement*>(p)->useFallbackContent()) {
+            ASSERT(!p->renderer()->isEmbeddedObject());
+            return false;
+        }
     }
 
 #if ENABLE(DASHBOARD_SUPPORT)
diff --git a/WebCore/html/HTMLObjectElement.h b/WebCore/html/HTMLObjectElement.h
index 8dc59be..e874664 100644
--- a/WebCore/html/HTMLObjectElement.h
+++ b/WebCore/html/HTMLObjectElement.h
@@ -41,6 +41,8 @@ public:
 
     bool containsJavaApplet() const;
 
+    bool useFallbackContent() const { return m_useFallbackContent; }
+
 private:
     HTMLObjectElement(const QualifiedName&, Document*, bool createdByParser);
 
diff --git a/WebCore/rendering/RenderEmbeddedObject.cpp b/WebCore/rendering/RenderEmbeddedObject.cpp
index 027903d..ccba791 100644
--- a/WebCore/rendering/RenderEmbeddedObject.cpp
+++ b/WebCore/rendering/RenderEmbeddedObject.cpp
@@ -186,44 +186,17 @@ void RenderEmbeddedObject::updateWidget(bool onlyCreateNonNetscapePlugins)
 
         objectElement->setNeedWidgetUpdate(false);
         if (!objectElement->isFinishedParsingChildren())
-          return;
-
-        // Check for a child EMBED tag.
-        HTMLEmbedElement* embed = 0;
-        for (Node* child = objectElement->firstChild(); child; ) {
-            if (child->hasTagName(embedTag)) {
-                embed = static_cast<HTMLEmbedElement*>(child);
-                break;
-            }
+            return;
             
-            if (child->hasTagName(objectTag))
-                child = child->nextSibling(); // Don't descend into nested OBJECT tags
-            else
-                child = child->traverseNextNode(objectElement); // Otherwise descend (EMBEDs may be inside COMMENT tags)
-        }
-
-        // Use the attributes from the EMBED tag instead of the OBJECT tag including WIDTH and HEIGHT.
-        HTMLElement* embedOrObject;
-        if (embed) {
-            embedOrObject = embed;
-            url = embed->url();
-            serviceType = embed->serviceType();
-        } else
-            embedOrObject = objectElement;
-
-        // If there was no URL or type defined in EMBED, try the OBJECT tag.
-        if (url.isEmpty())
-            url = objectElement->url();
-        if (serviceType.isEmpty())
-            serviceType = objectElement->serviceType();
+        url = objectElement->url();
+        serviceType = objectElement->serviceType();
 
         HashSet<StringImpl*, CaseFoldingHash> uniqueParamNames;
 
-        // Scan the PARAM children.
+        // Scan the PARAM children and store their name/value pairs.
         // Get the URL and type from the params if we don't already have them.
-        // Get the attributes from the params if there is no EMBED tag.
         Node* child = objectElement->firstChild();
-        while (child && (url.isEmpty() || serviceType.isEmpty() || !embed)) {
+        while (child) {
             if (child->hasTagName(paramTag)) {
                 HTMLParamElement* p = static_cast<HTMLParamElement*>(child);
                 String name = p->name();
@@ -235,7 +208,7 @@ void RenderEmbeddedObject::updateWidget(bool onlyCreateNonNetscapePlugins)
                     if (pos != notFound)
                         serviceType = serviceType.left(pos);
                 }
-                if (!embed && !name.isEmpty()) {
+                if (!name.isEmpty()) {
                     uniqueParamNames.add(name.impl());
                     paramNames.append(p->name());
                     paramValues.append(p->value());
@@ -250,18 +223,18 @@ void RenderEmbeddedObject::updateWidget(bool onlyCreateNonNetscapePlugins)
         // we have to explicitly suppress the tag's CODEBASE attribute if there is none in a PARAM,
         // else our Java plugin will misinterpret it. [4004531]
         String codebase;
-        if (!embed && MIMETypeRegistry::isJavaAppletMIMEType(serviceType)) {
+        if (MIMETypeRegistry::isJavaAppletMIMEType(serviceType)) {
             codebase = "codebase";
             uniqueParamNames.add(codebase.impl()); // pretend we found it in a PARAM already
         }
         
-        // Turn the attributes of either the EMBED tag or OBJECT tag into arrays, but don't override PARAM values.
-        NamedNodeMap* attributes = embedOrObject->attributes();
+        // Turn the attributes of the <object> element into arrays, but don't override <param> values.
+        NamedNodeMap* attributes = objectElement->attributes();
         if (attributes) {
             for (unsigned i = 0; i < attributes->length(); ++i) {
                 Attribute* it = attributes->attributeItem(i);
                 const AtomicString& name = it->name().localName();
-                if (embed || !uniqueParamNames.contains(name.impl())) {
+                if (!uniqueParamNames.contains(name.impl())) {
                     paramNames.append(name.string());
                     paramValues.append(it->value().string());
                 }
@@ -280,7 +253,7 @@ void RenderEmbeddedObject::updateWidget(bool onlyCreateNonNetscapePlugins)
         // Find out if we support fallback content.
         m_hasFallbackContent = false;
         for (Node* child = objectElement->firstChild(); child && !m_hasFallbackContent; child = child->nextSibling()) {
-            if ((!child->isTextNode() && !child->hasTagName(embedTag) && !child->hasTagName(paramTag))  // Discount <embed> and <param>
+            if ((!child->isTextNode() && !child->hasTagName(paramTag)) // Discount <param>
                 || (child->isTextNode() && !static_cast<Text*>(child)->containsOnlyWhitespace()))
                 m_hasFallbackContent = true;
         }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list