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

Unified Diff: content/test/data/browser_plugin_embedder.html

Issue 17165004: <webview>: Partially migrate loadcommit event from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT 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 | « content/renderer/browser_plugin/browser_plugin_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/browser_plugin_embedder.html
diff --git a/content/test/data/browser_plugin_embedder.html b/content/test/data/browser_plugin_embedder.html
index 9501d19df3e7586f5d13c6558bc771110a87739e..914c12a67769603b35389228ff972c081e003d12 100644
--- a/content/test/data/browser_plugin_embedder.html
+++ b/content/test/data/browser_plugin_embedder.html
@@ -14,13 +14,6 @@ function loadStop(evt) {
document.title = "loadStop";
}
-var commitIsTopLevel;
-function loadCommit(evt) {
- var detail = JSON.parse(evt.detail);
- document.title = "loadCommit:" + detail.url;
- commitIsTopLevel = detail.isTopLevel;
-}
-
var redirectOldUrl;
var redirectNewUrl;
function loadRedirect(event) {
@@ -107,6 +100,5 @@ function receiveMessage(event) {
plugin.addEventListener('-internal-loadredirect', loadRedirect);
window.addEventListener('message', receiveMessage, false);
plugin.addEventListener('-internal-loadstop', loadStop);
- plugin.addEventListener('-internal-loadcommit', loadCommit);
plugin.addEventListener('-internal-sizechanged', sizeChanged);
</script>
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698