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

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

Issue 8387010: Close all panels originated by the extension when extension unloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback. Created 9 years, 2 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/window_open/close_panels_on_uninstall/background.html
diff --git a/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html b/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html
new file mode 100644
index 0000000000000000000000000000000000000000..453277213c2a3a2bc5e853c2509dc62f2e86db7d
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/window_open/close_panels_on_uninstall/background.html
@@ -0,0 +1,14 @@
+<script>
+
+// 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"});
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698