1. 06 Nov, 2008 38 commits
  2. 05 Nov, 2008 2 commits
    • alp@webkit.org's avatar
      Attempt to fix the GTK build bot after the latest kjs -> runtime move: · d4ff35ba
      alp@webkit.org authored
      Remove the built products directory completely rather than using distclean.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4ff35ba
    • barraclough@apple.com's avatar
      JavaScriptCore: · e3aaa165
      barraclough@apple.com authored
      2008-11-05  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=22094
      
              Fix for bug where the callee incorrectly recieves the caller's lexical
              global object as this, rather than its own.  Implementation closely
              follows the spec, passing jsNull, checking in the callee and replacing
              with the global object where necessary.
      
              * VM/CTI.cpp:
              (JSC::CTI::compileOpCall):
              * VM/Machine.cpp:
              (JSC::Machine::cti_op_call_NotJSFunction):
              (JSC::Machine::cti_op_call_eval):
              * runtime/JSCell.h:
              (JSC::JSValue::toThisObject):
              * runtime/JSImmediate.cpp:
              (JSC::JSImmediate::toThisObject):
              * runtime/JSImmediate.h:
      
      LayoutTests:
      
      2008-11-05  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              Previosly the test 'cross-site-this' checked that the second level deep method called
              across frames recieved the correct this pointer, when no base object is provided.
              
              Test updated so that it check that the code in the child frame, and both the first
              and second functions called in the parent frame recieve the correct this values.
      
              * fast/frames/cross-site-this.html:
              * fast/frames/resources/cross-site-this-helper.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3aaa165