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

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: disable test on win Created 7 years, 7 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
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();

Powered by Google App Engine
This is Rietveld 408576698