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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js

Issue 910073003: <webview>: Make contentWindow available prior to attachment (on display:none). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 5 years, 9 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 | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js b/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
index c5cc2d5ee03f915c8069d180eeab4982cd24ac0f..4affbdee1e00491ba1a63a94fb0ab58c337d6145 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
@@ -5,6 +5,7 @@
var embedder = null;
function reportConnected() {
+ window.console.log('Reporting connection to embedder.');
var msg = ['connected'];
embedder.postMessage(JSON.stringify(msg), '*');
}
@@ -20,3 +21,5 @@ window.addEventListener('message', function(e) {
}
});
+
+window.console.log('Script has been successfully injected.');
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698