HomeSort by relevance Sort by last modified time
    Searched refs:JSON (Results 51 - 75 of 351) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/
example.js 46 value = JSON.parse(valueString);
84 'Function ' + cmd + ' returned ' + JSON.stringify(result));
88 dictEl.textContent = JSON.stringify(newDict, null, ' ');
  /external/chromium_org/v8/test/mjsunit/
json-stringify-recursive.js 36 JSON.stringify(a);
47 assertThrows(function() { JSON.stringify(deepArray); }, RangeError);
52 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
mirror-boolean.js 32 // Create mirror and JSON representation.
35 var json = JSON.stringify(serializer.serializeValue(mirror));
50 // Parse JSON representation and check.
51 var fromJSON = eval('(' + json + ')');
52 assertEquals('boolean', fromJSON.type, json);
53 assertEquals(b, fromJSON.value, json);
mirror-null.js 31 // Create mirror and JSON representation.
34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable
48 // Parse JSON representation and check.
49 var fromJSON = eval('(' + json + ')');
mirror-undefined.js 31 // Create mirror and JSON representation.
34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable
48 // Parse JSON representation and check.
49 var fromJSON = eval('(' + json + ')');
mirror-error.js 44 // Create mirror and JSON representation.
47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
63 // Parse JSON representation and check.
64 var fromJSON = eval('(' + json + ')');
mirror-function.js 44 // Create mirror and JSON representation.
47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
72 // Parse JSON representation and check.
73 var fromJSON = eval('(' + json + ')');
mirror-object.js 44 // Create mirror and JSON representation.
47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
98 // Parse JSON representation and check.
99 var fromJSON = eval('(' + json + ')');
100 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
101 assertEquals(cls_name, fromJSON.className, 'Unexpected mirror class name in JSON');
102 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
103 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
    [all...]
  /external/chromium_org/v8/test/mjsunit/regress/
regress-753.js 28 // Test that JSON.stringify correctly truncates floating point numbers.
35 assertEquals(JSON.stringify(obj, null, 5.99999), JSON.stringify(obj, null, 5));
regress-convert-transition.js 30 var a = JSON.parse(input);
34 var b = JSON.parse(input);
38 var c = JSON.parse(input);
regress-crbug-229923.js 30 var slice = "slow path of JSON.stringify for sliced string".substring(1);
31 assertEquals('"' + slice + '"', JSON.stringify(slice, null, 0));
41 JSON.stringify(slice_of_external, null, 0));
  /external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/
background.js 6 console.log("onChanged" + JSON.stringify(info));
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/buildbot/
utils.js 12 if (responseType == "json")
13 // WebKit doesn't handle xhr.responseType = "json" as of Chrome 25.
22 responseType == "json" ? JSON.parse(xhr.response) : xhr.response;
  /external/chromium_org/remoting/webapp/js_proto/
dom_proto.js 57 var JSON = {};
62 * @return {*} The JSON object.
64 JSON.parse = function(jsonStr, opt_reviver) {};
70 * @return {string} json string which represents jsonObj.
72 JSON.stringify = function(jsonObj, opt_replacer, opt_space) {};
  /external/chromium_org/v8/test/mjsunit/es6/
mirror-promises.js 21 // Create mirror and JSON representation.
24 var json = JSON.stringify(serializer.serializeValue(mirror));
26 JSON.stringify(serializer.serializeReferencedObjects()));
45 // Parse JSON representation and check.
46 var fromJSON = eval('(' + json + ')');
  /external/chromium_org/v8/test/webkit/
Object-create.js 30 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
31 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
32 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
33 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
  /external/chromium_org/v8/test/webkit/fast/js/
Object-defineProperty.js 26 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1}), 'foo'))",
27 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
28 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {}), 'foo'))",
29 "JSON.stringify({writable: false, enumerable: false, configurable: false})");
30 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {get:undefined}), 'foo'))",
31 "JSON.stringify({enumerable: false, configurable: false})");
32 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: false}), 'foo'))",
33 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
34 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: true}), 'foo'))",
35 "JSON.stringify({value: 1, writable: true, enumerable: false, configurable: false})")
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/
bg.js 35 rules = JSON.parse(rules);
37 localStorage.rules = JSON.stringify([]);
  /external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/app/
main.js 35 appendMessage("Sent message: <b>" + JSON.stringify(message) + "</b>");
39 appendMessage("Received message: <b>" + JSON.stringify(message) + "</b>");
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
options.js 18 isMultiCalendar = JSON.parse(localStorage.multiCalendar || false);
55 * The argument should be any JSON-ifiable object, or undefined if there
  /external/chromium_org/chrome/common/extensions/docs/examples/howto/contentscript_xhr/
contentscript.js 11 * HTTP status of 200, this function is called with a JSON decoded
19 var data = JSON.parse(xhr.responseText);
27 // the manifest.json file!
28 var url = 'https://api.twitter.com/1/trends/daily.json?exclude=hashtags';
37 * @param data Object JSON decoded response. Null if the request failed.
  /external/chromium_org/content/child/
site_isolation_policy.h 35 // 0:HTML, 1:XML, 2:JSON, 3:Plain, 4:Others
62 JSON = 2,
  /external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/
checkout.js 85 net.post('/rebaselineall', JSON.stringify(tests)).then(progressCallback, progressCallback);
  /external/chromium_org/third_party/skia/expectations/gm/
loader.js 3 * Reads an expected-results.json file, and imports its data into $scope.
12 return JSON.parse(data.replace(/\s(\d+)\s/g, " \"$1\" "));
19 /* When the changePlatformPath function is called, download expected-results.json
22 * When the JSON is received, predigest it and return it to the frontend as
26 $http.get($scope.platformPath + "/expected-results.json").success(
  /external/chromium_org/third_party/skia/experimental/webtry/res/js/
webtry.js 92 // The response is JSON of the form:
98 body = JSON.parse(e.target.response);
131 req.overrideMimeType('application/json');
182 req.overrideMimeType('application/json');
192 // The response is JSON of the form:
198 body = JSON.parse(e.target.response);
215 clone.querySelector('.tries').setAttribute('data-try', '/json/' + hash);
226 // The response is JSON of the form:
236 body = JSON.parse(e.target.response);
272 req.overrideMimeType('application/json');
    [all...]

Completed in 1070 milliseconds

1 23 4 5 6 7 8 91011>>