Bug 110874

Summary: [V8] Add possibility to generate separate bindings for main world, isolated worlds and workers
Product: WebKit Reporter: Marja Hölttä <marja>
Component: New BugsAssignee: Marja Hölttä <marja>
Status: RESOLVED INVALID    
Severity: Normal CC: dcarney, haraken
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 110875, 111417, 111724, 112165, 112430    
Bug Blocks:    

Marja Hölttä
Reported 2013-02-26 05:25:29 PST
The current bindings use the same callback code in main world, isolated world and (potentially) workers. When called, the callback needs to figure out in which of these 3 types of context we are, and that's a performance hit. See DomDataStore::current() which contains the logic for figuring this out. We'd like to add a possibility to selectively generate different callback functions for these three cases, so that we know, call-time, in which of the 3 cases we are in, and we don't need to execute any code for figuring it out.
Attachments
Brian Burg
Comment 1 2014-12-16 00:48:19 PST
Closing some V8-related work items.
Note You need to log in before you can comment on or make changes to this bug.