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 Bugs | Assignee: | 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ä
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brian Burg
Closing some V8-related work items.