Bug 101157 - Web Inspector: "$ref" in Inspector.json is an odd naming idiosyncrasy
Summary: Web Inspector: "$ref" in Inspector.json is an odd naming idiosyncrasy
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: 2012-11-03 17:04 PDT by Timothy Hatcher
Modified: 2014-12-12 13:42 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2012-11-03 17:04:42 PDT
No other properties in the JSON have $ in them. Why is $ref? Why is it abbreviated?
Comment 1 Nikita Vasilyev 2012-11-03 18:17:46 PDT
Looks like JSON Reference http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
Comment 2 Timothy Hatcher 2012-11-03 18:50:10 PDT
Fair enough.
Comment 3 Timothy Hatcher 2012-11-03 18:57:42 PDT
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?
Comment 4 Brian Burg 2014-12-12 13:40:37 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.