Ignore:
Timestamp:
Jul 5, 2012, 1:36:37 PM (13 years ago)
Author:
[email protected]
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):

File:
1 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++)
Note: See TracChangeset for help on using the changeset viewer.