Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: chrome/test/data/devtools/extensions/devtools_messaging/devtools.js

Issue 16226004: Replace JSON (de)serialization of extension messages with direct Value pickling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/resources/extensions/miscellaneous_bindings.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
diff --git a/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js b/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
index 56c2f14caeffd5192fe9f139eb280f3e0973ebd3..915273bcf73f9cd348d2a8a6159be9c8470153c7 100644
--- a/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
+++ b/chrome/test/data/devtools/extensions/devtools_messaging/devtools.js
@@ -30,7 +30,7 @@ function step1() {
}
function step2() {
- var object = { "string": "foo", "number": 42 };
+ var object = [{"string": "foo"}, {"number": 42}];
chrome.extension.sendRequest(object, function(response) {
assertEquals('onRequest callback: ' + JSON.stringify(object), response);
step3();
« no previous file with comments | « chrome/renderer/resources/extensions/miscellaneous_bindings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698