Bug 112253 - Web Inspector: CodeGeneratorInspector.py doesn't support anonymous types in command returns
Summary: Web Inspector: CodeGeneratorInspector.py doesn't support anonymous types in c...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 06:14 PDT by Peter Rybin
Modified: 2014-12-12 13:29 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Rybin 2013-03-13 06:14:55 PDT
In Inspector.json in any command add to return types anonymous type, for example:

{ "name": "ret1", "type": "array", "items": { "type": "string", "enum": ["Cat", "Dog"] }}

InspectorBackendDispatcher doesn't compile:
error: ‘Ret1’ was not declared in this scope

Should compile.
Comment 1 Brian Burg 2014-12-12 13:29:06 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.