Bug 80798

Summary: Web Inspector: WebKit1: update how the Web Inspector resources are loaded
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, joepeck, timothy, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed Change none

Description Timothy Hatcher 2012-03-11 17:47:35 PDT
We need to update how WebKit1 loads the Web Inspector resources.

<rdar://problem/10359959>
Comment 1 Timothy Hatcher 2012-03-11 17:53:20 PDT
Created attachment 131263 [details]
Proposed Change
Comment 2 Brian Weinstein 2012-03-11 17:58:28 PDT
Comment on attachment 131263 [details]
Proposed Change

View in context: https://bugs.webkit.org/attachment.cgi?id=131263&action=review

> Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm:166
> +        ![[NSBundle bundleWithIdentifier:@"com.apple.WebInspector"] pathForResource:@"Main" ofType:@"html"];

Should we save this result into a static so we don't have to compute this each time?
Comment 3 Timothy Hatcher 2012-03-11 18:01:29 PDT
Nah, it isn't hot code.
Comment 4 WebKit Review Bot 2012-03-11 18:14:24 PDT
Comment on attachment 131263 [details]
Proposed Change

Clearing flags on attachment: 131263

Committed r110403: <http://trac.webkit.org/changeset/110403>
Comment 5 WebKit Review Bot 2012-03-11 18:14:28 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Timothy Hatcher 2012-03-11 18:29:45 PDT
Build fix landed in r110404.