Bug 33047

Summary: [V8] Use ScriptState instead of accessing v8::Context directly
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: abarth, dglazkov
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 33016    
Bug Blocks:    

Yury Semikhatsky
Reported 2009-12-30 03:33:37 PST
ScriptState is an abstraction of JavaScript VM execution state that works for both V8 and JSC. When possible WebCore code should manipulate this abstraction instead of using v8::Context directly. The ScriptState instance can be retrieved from ScriptController(for main isolated world) or from V8IsolatedWorld.
Attachments
Adam Barth
Comment 1 2009-12-30 14:04:38 PST
Note that V8IsolatedWorld is going to lose its ScriptState soon to more closely match how JSC does things.
Brian Burg
Comment 2 2014-12-16 00:48:27 PST
Closing some V8-related work items.
Note You need to log in before you can comment on or make changes to this bug.