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

Unified Diff: chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.js

Issue 10826157: Check for warnings when loading extensions in browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExtensionTerminalPrivateApiTest.TerminalTest Created 8 years, 4 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
Index: chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.js
diff --git a/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html b/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.js
similarity index 50%
copy from chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html
copy to chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.js
index b0b6c8bcd98f3137ffc8c5f921fc7f4c1cd3c37a..4636f8c407423de42054bf76f9f36a3f3f621bdc 100644
--- a/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html
+++ b/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.js
@@ -1,14 +1,7 @@
-<html>
-<head>
-<script>
-function navigate() {
+onload = function() {
if (window.sessionStorage['redirected'] != 1) {
window.sessionStorage['redirected'] = 1;
// Required so this results in a history entry being created.
- window.setTimeout('document.location = "b.html"', 0);
+ window.setTimeout(function() {document.location = 'b.html'}, 0);
}
-}
-</script>
-</head>
-<body onload="navigate()"></body>
-</html>
+};

Powered by Google App Engine
This is Rietveld 408576698