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

Unified Diff: chrome/test/data/extensions/uitest/window_open/newtab.html

Issue 172120: Revert "Revert "Allow DOMUI pages to call window.open(), giving DOMUI privileges to the new"" (Closed)
Patch Set: Created 11 years, 4 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/uitest/window_open/newtab.html
diff --git a/chrome/test/data/extensions/uitest/window_open/newtab.html b/chrome/test/data/extensions/uitest/window_open/newtab.html
new file mode 100644
index 0000000000000000000000000000000000000000..8fb5b960f76868324209db89a1c99bf70c142b6b
--- /dev/null
+++ b/chrome/test/data/extensions/uitest/window_open/newtab.html
@@ -0,0 +1,12 @@
+<script>
+function testExtensionApi() {
+ try {
+ chrome.tabs.getAllInWindow(null, function() {
+ window.domAutomationController.send(
+ !chrome.extension.lastError);
+ });
+ } catch (e) {
+ window.domAutomationController.send(false);
+ }
+}
+</script>
« no previous file with comments | « chrome/test/data/extensions/uitest/window_open/manifest.json ('k') | chrome/test/data/extensions/uitest/window_open/test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698