Bug 107999 - [Mac] Defer loading the Web Inspector bundle until it's necessary.
Summary: [Mac] Defer loading the Web Inspector bundle until it's necessary.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-01-25 21:05 PST by Andreas Kling
Modified: 2013-01-25 21:43 PST (History)
5 users (show)

See Also:


Attachments
Proposed patch (3.87 KB, patch)
2013-01-25 21:07 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-01-25 21:05:30 PST
We currently instantiate an NSBundle below WebPage construction to look for the localized strings file.
This leaves the bundle metadata resident in memory, even if the Web Inspector is never used.
Comment 1 Radar WebKit Bug Importer 2013-01-25 21:05:41 PST
<rdar://problem/13091861>
Comment 2 Andreas Kling 2013-01-25 21:07:41 PST
Created attachment 184852 [details]
Proposed patch
Comment 3 Anders Carlsson 2013-01-25 21:19:59 PST
Comment on attachment 184852 [details]
Proposed patch

r=bogs
Comment 4 WebKit Review Bot 2013-01-25 21:43:36 PST
Comment on attachment 184852 [details]
Proposed patch

Clearing flags on attachment: 184852

Committed r140903: <http://trac.webkit.org/changeset/140903>
Comment 5 WebKit Review Bot 2013-01-25 21:43:40 PST
All reviewed patches have been landed.  Closing bug.