Bug 112253
Summary: | Web Inspector: CodeGeneratorInspector.py doesn't support anonymous types in command returns | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peter Rybin <prybin> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Peter Rybin
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brian Burg
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.