Bug 101157
Summary: | Web Inspector: "$ref" in Inspector.json is an odd naming idiosyncrasy | ||
---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | apavlov, keishi, loislo, me, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Timothy Hatcher
No other properties in the JSON have $ in them. Why is $ref? Why is it abbreviated?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Nikita Vasilyev
Looks like JSON Reference http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
Timothy Hatcher
Fair enough.
Timothy Hatcher
Seems like it is not being used correctly though:
A JSON Reference is a JSON object containing a single member "$ref", whose value identifies another JSON value via a URI [RFC3986].
Maybe we should just rename our use and not confuse things?
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.