| Index: chrome/test/data/extensions/api_test/executescript/file_after_close/extension_page.html
|
| ===================================================================
|
| --- chrome/test/data/extensions/api_test/executescript/file_after_close/extension_page.html (revision 112170)
|
| +++ chrome/test/data/extensions/api_test/executescript/file_after_close/extension_page.html (working copy)
|
| @@ -1,14 +1,6 @@
|
| -<script>
|
| -window.onload = function() {
|
| - chrome.tabs.getAllInWindow(undefined, function(tabs) {
|
| - for (var i = 0; i < tabs.length; i++) {
|
| - var tab = tabs[i];
|
| - if (tab.url.indexOf('web_page1') > -1) {
|
| - chrome.tabs.executeScript(tab.id, { file: 'script.js' });
|
| - window.close();
|
| - break;
|
| - }
|
| - }
|
| - });
|
| -}
|
| -</script>
|
| +<!--
|
| + * 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.
|
| +-->
|
| +<script src="extension_page.js"></script>
|
|
|