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

Unified Diff: chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.js

Issue 8775046: Convert another batch of extension tests 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/api_test/window_open/close_panels_on_uninstall/background.js
===================================================================
--- chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.js (revision 0)
+++ chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.js (revision 0)
@@ -0,0 +1,10 @@
+// Open a panel, popup and tab to non-extension content.
+chrome.windows.create({url: "about:blank", type: "panel"});
+window.open("about:blank",
+ "content_popup_non_extension", "height=200,width=200");
+window.open("about:blank", "", "");
+
+// Open a panel, popup and tab to extension content.
+chrome.windows.create({url: "content_panel.html", type: "panel"});
+chrome.windows.create({url: "content_popup.html", type: "popup"});
+chrome.tabs.create({url: "content_tab.html"});

Powered by Google App Engine
This is Rietveld 408576698