Changeset 30158 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Feb 11, 2008, 5:24:02 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Anders Carlsson.

Fixes for:
<rdar://problem/5735497> Match Firefox's cross-domain model more accurately by return the built-in version of functions even if they have been overridden
<rdar://problem/5735443> Crash when setting the Window objects prototype to a custom Object and then calling a method on it

  • Expose the native Object.prototype.toString implementation so that it can be used for cross-domain toString calling.
Location:
trunk/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r30140 r30158  
     12008-02-11  Sam Weinig  <[email protected]>
     2
     3        Reviewed by Anders Carlsson.
     4
     5        Fixes for:
     6        <rdar://problem/5735497> Match Firefox's cross-domain model more accurately by return the built-in version of functions even if they have been overridden
     7        <rdar://problem/5735443> Crash when setting the Window objects prototype to a custom Object and then calling a method on it
     8
     9        - Expose the native Object.prototype.toString implementation so that it can be used for cross-domain
     10          toString calling.
     11
     12        * JavaScriptCore.exp:
     13        * kjs/object_object.cpp:
     14        * kjs/object_object.h:
     15
    1162008-02-10  Darin Adler  <[email protected]>
    217
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r30034 r30158  
    165165__ZN3KJS19InternalFunctionImp4infoE
    166166__ZN3KJS19InternalFunctionImpC2EPNS_17FunctionPrototypeERKNS_10IdentifierE
     167__ZN3KJS23objectProtoFuncToStringEPNS_9ExecStateEPNS_8JSObjectERKNS_4ListE
    167168__ZN3KJS4List15expandAndAppendEPNS_7JSValueE
    168169__ZN3KJS4List7markSetEv
  • trunk/JavaScriptCore/kjs/object_object.cpp

    r29817 r30158  
    4040static JSValue* objectProtoFuncPropertyIsEnumerable(ExecState*, JSObject*, const List&);
    4141static JSValue* objectProtoFuncToLocaleString(ExecState*, JSObject*, const List&);
    42 static JSValue* objectProtoFuncToString(ExecState*, JSObject*, const List&);
    4342
    4443ObjectPrototype::ObjectPrototype(ExecState* exec, FunctionPrototype* functionPrototype)
  • trunk/JavaScriptCore/kjs/object_object.h

    r29588 r30158  
    3737    };
    3838
     39    JSValue* objectProtoFuncToString(ExecState*, JSObject*, const List&);
     40
    3941    /**
    4042     * @internal
Note: See TracChangeset for help on using the changeset viewer.