Bug 21791

Summary: WebCore JS bindings should be able to use non-static hash tables for properties
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore JavaScriptAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
proposed patch sam: review+

Alexey Proskuryakov
Reported 2008-10-22 07:04:24 PDT
Since JSC::HashTable contains Identifiers, any class that should work with multiple JSGlobalData objects should not use static tables. Pure JavaScript classes each have an entry in JSGlobalData, but there is no way to do this in WebCore currently. Patch forthcoming.
Attachments
proposed patch (12.09 KB, patch)
2008-10-22 07:16 PDT, Alexey Proskuryakov
sam: review+
Alexey Proskuryakov
Comment 1 2008-10-22 07:16:06 PDT
Created attachment 24558 [details] proposed patch
Alexey Proskuryakov
Comment 2 2008-10-22 10:43:54 PDT
Committed revision 37784.
Note You need to log in before you can comment on or make changes to this bug.