Bug 136606

Summary: Web Inspector: disambiguate integral and real number primitive types in the protocol
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Brian Burg <burg>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, mkwst, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch timothy: review+

Description Brian Burg 2014-09-06 17:32:18 PDT
Misc cleanup post-code generator rewrite.
Comment 1 Radar WebKit Bug Importer 2014-09-06 17:32:28 PDT
<rdar://problem/18258060>
Comment 2 Brian Burg 2014-09-09 22:55:20 PDT
Created attachment 237880 [details]
Patch
Comment 3 Timothy Hatcher 2014-09-10 08:11:44 PDT
Comment on attachment 237880 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237880&action=review

Looks good, but I think the new names aren't great.

> Source/JavaScriptCore/inspector/InspectorValues.h:62
> +        Real,
> +        Integral,

I think Double and Integer would be better here and throughout this patch. Even if that would be less accurate, it does tend to be the names we use in WebKit and JavaScript.
Comment 4 Brian Burg 2014-09-10 15:22:30 PDT
Created attachment 237908 [details]
Patch
Comment 5 Timothy Hatcher 2014-09-11 00:12:12 PDT
Comment on attachment 237908 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237908&action=review

> Source/JavaScriptCore/inspector/InspectorValues.h:278
> +    void pushIntegral(int);
> +    void pushReal(double);

Missed these (and callers)?
Comment 6 Brian Burg 2014-09-11 11:32:42 PDT
Comment on attachment 237908 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237908&action=review

>> Source/JavaScriptCore/inspector/InspectorValues.h:278
>> +    void pushReal(double);
> 
> Missed these (and callers)?

Oops, grep fail.
Comment 7 Brian Burg 2014-09-11 19:16:31 PDT
Created attachment 238007 [details]
Patch
Comment 8 Brian Burg 2014-09-11 21:53:42 PDT
Committed r173554: <http://trac.webkit.org/changeset/173554>