Bug 127712 - Web Inspector: Feature Check all Protocol Generated Interfaces to get JSContext Inspection working
Summary: Web Inspector: Feature Check all Protocol Generated Interfaces to get JSConte...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-01-27 14:37 PST by Joseph Pecoraro
Modified: 2014-01-27 15:20 PST (History)
5 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (13.69 KB, patch)
2014-01-27 14:48 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2014-01-27 14:37:25 PST
Attempting to open an inspector for a JSContext results in runtime exceptions for protocol generated interfaces (e.g. NetworkAgent, CSSAgent, DOMAgent, etc) that were expected to exist when debugging a WebCore::Page but do not exist when debugging a JSContext. Feature check all of these points before they are used, and JSContext inspection works!
Comment 1 Radar WebKit Bug Importer 2014-01-27 14:37:46 PST
<rdar://problem/15919014>
Comment 2 Joseph Pecoraro 2014-01-27 14:48:53 PST
Created attachment 222366 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2014-01-27 15:20:42 PST
Comment on attachment 222366 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 222366

Committed r162874: <http://trac.webkit.org/changeset/162874>
Comment 4 WebKit Commit Bot 2014-01-27 15:20:44 PST
All reviewed patches have been landed.  Closing bug.