Ignore:
Timestamp:
Aug 28, 2008, 6:13:01 PM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2008-08-28 Sam Weinig <[email protected]>

Reviewed by Oliver Hunt.

Change to throw a ReferenceError at runtime instead of a ParseError
at parse time, when the left hand side expression of a for-in statement
is not an lvalue.

  • kjs/grammar.y:
  • kjs/nodes.cpp: (KJS::ForInNode::emitCode):

LayoutTests:

2008-08-28 Sam Weinig <[email protected]>

Reviewed by Oliver Hunt.

Update test results now that test actually works.

  • fast/js/kde/exception_propagation-expected.txt:
  • fast/js/kde/resources/exception_propagation.js:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r35918 r35984  
    16391639                        projectDirPath = "";
    16401640                        projectRoot = "";
    1641                         projectRoots = (
    1642                                 "",
    1643                         );
    16441641                        targets = (
    16451642                                932F5BE30822A1C700736975 /* All */,
Note: See TracChangeset for help on using the changeset viewer.