[Webkit-unassigned] [Bug 25205] XMLHttpRequest instance is not an instanceof XMLHttpRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 03:12:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25205


Yuzo Fujishima <yuzo at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuzo at google.com




--- Comment #6 from Yuzo Fujishima <yuzo at google.com>  2009-07-07 03:12:29 PDT ---
If the proposed patch is the right fix, the same should be applicable to:

WebCore/bindings/js/JSAudioConstructor.cpp 
WebCore/bindings/js/JSImageConstructor.cpp 
WebCore/bindings/js/JSMessageChannelConstructor.cpp 
WebCore/bindings/js/JSOptionConstructor.cpp 
WebCore/bindings/js/JSWebKitCSSMatrixConstructor.cpp 
WebCore/bindings/js/JSWebKitPointConstructor.cpp 
WebCore/bindings/js/JSWorkerConstructor.cpp 
# WebCore/bindings/js/JSXMLHttpRequestConstructor.cpp 
WebCore/bindings/js/JSXSLTProcessorConstructor.cpp 

In that case, we should perhaps add:

static PassRefPtr<Structure> createStructureForConstructor(JSValue prototype);

to JavaScriptCore/runtime/JSObject.h
and call the method from the above classes.

Yuzo

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list