Changeset 121924 in webkit


Ignore:
Timestamp:
Jul 5, 2012 1:36:37 PM (12 years ago)
Author:
oliver@apple.com
Message:

JSObjectCallAsFunction should thisConvert the provided thisObject
https://bugs.webkit.org/show_bug.cgi?id=90628

Reviewed by Gavin Barraclough.

Perform this conversion on the provided this object.

  • API/JSObjectRef.cpp:

(JSObjectCallAsFunction):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/JSObjectRef.cpp

    r116828 r121924  
    429429        jsThisObject = exec->globalThisValue();
    430430
     431    jsThisObject = jsThisObject->methodTable()->toThisObject(jsThisObject, exec);
     432   
    431433    MarkedArgumentBuffer argList;
    432434    for (size_t i = 0; i < argumentCount; i++)
  • trunk/Source/JavaScriptCore/ChangeLog

    r121887 r121924  
     12012-07-05  Oliver Hunt  <oliver@apple.com>
     2
     3        JSObjectCallAsFunction should thisConvert the provided thisObject
     4        https://bugs.webkit.org/show_bug.cgi?id=90628
     5
     6        Reviewed by Gavin Barraclough.
     7
     8        Perform this conversion on the provided this object.
     9
     10        * API/JSObjectRef.cpp:
     11        (JSObjectCallAsFunction):
     12
    1132012-07-05  Zoltan Herczeg  <zherczeg@webkit.org>
    214
Note: See TracChangeset for help on using the changeset viewer.