Home
last modified time | relevance | path

Searched refs:jsonObject (Results 1 – 6 of 6) sorted by relevance

/external/webkit/LayoutTests/fast/js/resources/
DJSON-parse.js4 result.push(function(jsonObject){ argument
5 return jsonObject.parse();
8 result.push(function(jsonObject){ argument
9 return jsonObject.parse('');
12 result.push(function(jsonObject){ argument
13 return jsonObject.parse('1');
15 result.push(function(jsonObject){ argument
16 return jsonObject.parse('-1');
18 result.push(function(jsonObject){ argument
19 return jsonObject.parse('Infinity');
[all …]
DJSON-stringify.js21 result.push(function(jsonObject){ argument
22 return jsonObject.stringify(1);
24 result.push(function(jsonObject){ argument
25 return jsonObject.stringify(1.5);
27 result.push(function(jsonObject){ argument
28 return jsonObject.stringify(-1);
30 result.push(function(jsonObject){ argument
31 return jsonObject.stringify(-1.5);
33 result.push(function(jsonObject){ argument
34 return jsonObject.stringify(null);
[all …]
/external/webkit/Source/WebCore/inspector/
DInspectorDatabaseResource.cpp59 RefPtr<InspectorObject> jsonObject = InspectorObject::create(); in bind() local
60 jsonObject->setNumber("id", m_id); in bind()
61 jsonObject->setString("domain", m_domain); in bind()
62 jsonObject->setString("name", m_name); in bind()
63 jsonObject->setString("version", m_version); in bind()
64 frontend->addDatabase(jsonObject); in bind()
DInspectorDOMStorageResource.cpp72 RefPtr<InspectorObject> jsonObject = InspectorObject::create(); in bind() local
73 jsonObject->setString("host", m_frame->document()->securityOrigin()->host()); in bind()
74 jsonObject->setBoolean("isLocalStorage", m_isLocalStorage); in bind()
75 jsonObject->setNumber("id", m_id); in bind()
76 m_frontend->addDOMStorage(jsonObject); in bind()
/external/webkit/Source/WebCore/inspector/front-end/
DExtensionAPI.js245 setObject: function(jsonObject, rootTitle) argument
247 ….sendRequest({ command: "setSidebarContent", id: this._id, expression: jsonObject, rootTitle: root…
/external/webkit/Source/JavaScriptCore/API/tests/
Dtestapi.c998 JSValueRef jsonObject = JSValueMakeFromJSONString(context, validJSON); in main() local
1000 if (!JSValueIsObject(context, jsonObject)) { in main()
1006 …assertEqualsAsBoolean(JSObjectGetProperty(context, JSValueToObject(context, jsonObject, 0), proper… in main()
1015 JSStringRef str = JSValueCreateJSONString(context, jsonObject, 0, 0); in main()
1023 str = JSValueCreateJSONString(context, jsonObject, 4, 0); in main()