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

Unified Diff: chrome/test/data/webui/inject_comm_channel_2.js

Issue 1056533002: Implement <webview>.addContentScript/removeContentScript API [2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webview_addremove_contentscripts_2
Patch Set: Created 5 years, 8 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/webui/inject_comm_channel_2.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel_2.js b/chrome/test/data/webui/inject_comm_channel_2.js
similarity index 81%
copy from chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel_2.js
copy to chrome/test/data/webui/inject_comm_channel_2.js
index c5580d3ff7923869e6e1c42f280dc76f0d74c314..b90cd94c8b5ca55d7e1dd94290aeff0ce3a46ee2 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel_2.js
+++ b/chrome/test/data/webui/inject_comm_channel_2.js
@@ -5,7 +5,6 @@
var embedder = null;
function reportConnected_request() {
- window.console.log('Reporting connection to embedder.');
var msg = ['connected_response'];
embedder.postMessage(JSON.stringify(msg), '*');
}
@@ -20,6 +19,3 @@ window.addEventListener('message', function(e) {
}
}
});
-
-
-window.console.log('Script has been successfully injected.');

Powered by Google App Engine
This is Rietveld 408576698