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

Unified Diff: chrome/test/data/extensions/api_test/stubs/background.html

Issue 8540012: Enable extension APIs for content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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/extensions/api_test/stubs/background.html
diff --git a/chrome/test/data/extensions/api_test/stubs/background.html b/chrome/test/data/extensions/api_test/stubs/background.html
index e9a4faebac47784d6ec70665003a1fb038f635a5..0e32c0e9adc1853a30eff79c5da8c1300d7550be 100644
--- a/chrome/test/data/extensions/api_test/stubs/background.html
+++ b/chrome/test/data/extensions/api_test/stubs/background.html
@@ -2,7 +2,7 @@
chrome.extension.onRequest.addListener(function(msg, sender, responseFunc) {
if (msg == "getApi") {
- responseFunc(JSON.parse(chrome.test.getApiDefinitions()));
+ responseFunc(chrome.test.getApiDefinitions());
} else if (msg == "pass") {
chrome.test.notifyPass();
} else if (msg.substr(0, 3) == "log") {

Powered by Google App Engine
This is Rietveld 408576698