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 5702027a050d16e10edb82d9bd5023fea8541146..0f3d6a0539416568b978ed22dbb3855daa802181 100644 |
--- a/content/test/data/browser_plugin_embedder.html |
+++ b/content/test/data/browser_plugin_embedder.html |
@@ -5,6 +5,16 @@ function loadAbort(evt) { |
function loadStart(evt) { |
document.title = evt.url; |
} |
+function loadStop(evt) { |
+ document.title = "loadStop"; |
+} |
+ |
+var commitIsTopLevel; |
+function loadCommit(evt) { |
+ document.title = "loadCommit:" + evt.url; |
+ commitIsTopLevel = evt.isTopLevel; |
+} |
+ |
var redirectOldUrl; |
var redirectNewUrl; |
function loadRedirect(event) { |
@@ -89,4 +99,6 @@ function receiveMessage(event) { |
plugin.addEventListener('loadAbort', loadAbort); |
plugin.addEventListener('loadRedirect', loadRedirect); |
window.addEventListener('message', receiveMessage, false); |
+ plugin.addEventListener('loadStop', loadStop); |
+ plugin.addEventListener('loadCommit', loadCommit); |
</script> |