Bug 126016 - Web Inspector: Add InspectorFrontendHost.debuggableType to let the frontend know it's backend is JavaScript or Web
Summary: Web Inspector: Add InspectorFrontendHost.debuggableType to let the frontend k...
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: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-19 14:00 PST by Joseph Pecoraro
Modified: 2013-12-19 17:56 PST (History)
5 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (7.07 KB, patch)
2013-12-19 14:57 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff
[PATCH] Proposed Fix (6.91 KB, patch)
2013-12-19 17:00 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 2013-12-19 14:00:48 PST
Expose the debuggable type to the frontend.

The frontend should really only use this in one place, to load the appropriate backendCommands files. From then on it should likely just use feature detection.
Comment 1 Radar WebKit Bug Importer 2013-12-19 14:02:19 PST
<rdar://problem/15702682>
Comment 2 Joseph Pecoraro 2013-12-19 14:57:43 PST
Created attachment 219687 [details]
[PATCH] Proposed Fix
Comment 3 Joseph Pecoraro 2013-12-19 17:00:24 PST
Created attachment 219703 [details]
[PATCH] Proposed Fix

Removed a console.log I had in for debugging.
Comment 4 WebKit Commit Bot 2013-12-19 17:56:00 PST
Comment on attachment 219703 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 219703

Committed r160887: <http://trac.webkit.org/changeset/160887>
Comment 5 WebKit Commit Bot 2013-12-19 17:56:02 PST
All reviewed patches have been landed.  Closing bug.