WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
156275
Web Inspector: protocol generator should emit an error when 'type' is used instead of '$ref'
https://bugs.webkit.org/show_bug.cgi?id=156275
Summary
Web Inspector: protocol generator should emit an error when 'type' is used in...
Blaze Burg
Reported
2016-04-05 20:00:43 PDT
Found by Joe here:
https://bugs.webkit.org/attachment.cgi?id=275721&action=review
Attachments
Proposed Fix
(5.66 KB, patch)
2016-04-07 21:26 PDT
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-04-05 20:01:37 PDT
<
rdar://problem/25569331
>
Blaze Burg
Comment 2
2016-04-06 08:39:28 PDT
It looks like in TypeReference.__init__, we never check whether the type_kind is valid. Then we return it as the fallback if the type_reference (i.e., $ref) is not set.
Blaze Burg
Comment 3
2016-04-07 21:26:44 PDT
Created
attachment 275979
[details]
Proposed Fix
WebKit Commit Bot
Comment 4
2016-04-07 21:28:44 PDT
This patch modifies the inspector protocol generator. Please ensure that you have rebaselined any generator test results (i.e., by running `Tools/Scripts/run-inspector-generator-tests --reset-results`)
WebKit Commit Bot
Comment 5
2016-04-08 00:13:29 PDT
Comment on
attachment 275979
[details]
Proposed Fix Clearing flags on attachment: 275979 Committed
r199219
: <
http://trac.webkit.org/changeset/199219
>
WebKit Commit Bot
Comment 6
2016-04-08 00:13:33 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug