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

Unified Diff: chrome/test/data/extensions/browsertest/crash_25562/background.html

Issue 8784009: Update more extension manifests to manifest_version 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/browsertest/crash_25562/background.html
===================================================================
--- chrome/test/data/extensions/browsertest/crash_25562/background.html (revision 112827)
+++ chrome/test/data/extensions/browsertest/crash_25562/background.html (working copy)
@@ -1,28 +1,8 @@
+<!--
+ * 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>
-<script>
- // The Page Action ID.
- var pageActionId = "TestId";
-
- // The window this Page Action is associated with.
- var windowId = -1;
-
- // The TabId this Page Action is associated with.
- var tabId = -1;
-
- // The URL of the page on build.chromium.org.
- var pageUrl = "";
-
- chrome.self.onConnect.addListener(function(port) {
- windowId = port.tab.windowId;
- tabId = port.tab.id;
- pageUrl = port.tab.url;
-
- port.onMessage.addListener(function(mybool) {
- // Let Chrome know that the PageAction needs to be enabled for this tabId
- // and for the url of this page.
- chrome.pageActions.enableForTab(pageActionId,
- {tabId: tabId, url: pageUrl});
- });
- });
-</script>
+<script src="background.js"></script>
</html>

Powered by Google App Engine
This is Rietveld 408576698