| Index: chrome/test/data/extensions/platform_apps/web_view/content_script_whitelisted/main.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/web_view/content_script_whitelisted/main.js b/chrome/test/data/extensions/platform_apps/web_view/content_script_whitelisted/main.js
|
| index 8003fbebdee7e785a6dfac52151bebed3740d3d4..f8749bc783c1c66fc349d066ae9bba62773af85f 100644
|
| --- a/chrome/test/data/extensions/platform_apps/web_view/content_script_whitelisted/main.js
|
| +++ b/chrome/test/data/extensions/platform_apps/web_view/content_script_whitelisted/main.js
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| // This test makes sure webview properly loads and content script is run.
|
| -onload = function() {
|
| +document.addEventListener("DOMContentLoaded", function() {
|
| var contentScriptRan = false;
|
| var webviewLoaded = false;
|
|
|
| @@ -42,4 +42,4 @@ onload = function() {
|
| webview.setAttribute(
|
| 'src', 'data:text/html,<html><body>tear down test</body></html>');
|
| document.body.appendChild(webview);
|
| -};
|
| +});
|
|
|