Index: chrome/test/data/extensions/api_test/tabs/basics/relative.html |
=================================================================== |
--- chrome/test/data/extensions/api_test/tabs/basics/relative.html (revision 112170) |
+++ chrome/test/data/extensions/api_test/tabs/basics/relative.html (working copy) |
@@ -1,13 +1,10 @@ |
+<!-- |
+ * Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this |
+ * source code is governed by a BSD-style license that can be found in the |
+ * LICENSE file. |
+--> |
<html> |
<head> |
-<script> |
-window.onload = function() { |
- chrome.extension.getViews({type:"tab"}).forEach(function(view) { |
- if (view.relativePageLoaded) { |
- view.relativePageLoaded(); |
- } |
- }); |
-} |
-</script> |
+<script src="relative.js"></script> |
</head> |
</html> |