Chromium Code Reviews| 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 e192865d642cff04036c1a84c1e3e849e04cb307..8da64a0a073f2619d6034e500c6459464adec211 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; |
|
Charlie Reis
2012/10/15 22:59:56
nit: Put spaces around the +.
irobert
2012/10/16 01:26:39
Done.
|
| + commitIsTopLevel = evt.isTopLevel; |
| +} |
| + |
| var redirectOldUrl; |
| var redirectNewUrl; |
| function loadRedirect(event) { |
| @@ -61,4 +71,6 @@ document.title = 'embedder'; |
| plugin.addEventListener('loadStart', loadStart); |
| plugin.addEventListener('loadAbort', loadAbort); |
| plugin.addEventListener('loadRedirect', loadRedirect); |
| + plugin.addEventListener('loadStop', loadStop); |
| + plugin.addEventListener('loadCommit', loadCommit); |
| </script> |