Bug 53291

Summary: implement unregisterWorld for isolated worlds for Webkit2
Product: WebKit Reporter: Stephanie Lewis <slewis>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: slewis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.6   
Attachments:
Description Flags
patch ggaren: review+

Stephanie Lewis
Reported 2011-01-28 01:48:24 PST
Rename unregisterWorld to clearWrappers. Clearing the wrappers reduces the memory use of isolated worlds.
Attachments
patch (3.19 KB, patch)
2011-01-28 01:49 PST, Stephanie Lewis
ggaren: review+
Stephanie Lewis
Comment 1 2011-01-28 01:49:43 PST
Geoffrey Garen
Comment 2 2011-01-28 10:12:02 PST
Comment on attachment 80428 [details] patch r=me
Sam Weinig
Comment 3 2011-01-28 10:12:17 PST
Comment on attachment 80428 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=80428&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.h:39 > +WK_EXPORT void WKBundleScriptWorldClearWrappers(WKBundleScriptWorldRef); This should be written as WK_EXPORT void WKBundleScriptWorldClearWrappers(WKBundleScriptWorldRef scriptWorld); Adding the parameter name.
Stephanie Lewis
Comment 4 2011-01-28 14:27:04 PST
Note You need to log in before you can comment on or make changes to this bug.