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

Unified Diff: chrome/test/data/extensions/platform_apps/window_api/test.js

Issue 1024373002: Remove app_crash_browsertest.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test to platform_apps/window_api Created 5 years, 9 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
« no previous file with comments | « chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/window_api/test.js
diff --git a/chrome/test/data/extensions/platform_apps/window_api/test.js b/chrome/test/data/extensions/platform_apps/window_api/test.js
index 2d2f96c0ef21f20a46e960ebfa88067323ba4cc5..990ec926ff7eb255e7c34aa3840bf91cbddeda9d 100644
--- a/chrome/test/data/extensions/platform_apps/window_api/test.js
+++ b/chrome/test/data/extensions/platform_apps/window_api/test.js
@@ -254,6 +254,19 @@ function testCreate() {
win2.contentWindow.close();
}));
}));
+ },
+
+ function hiddenAndNormal() {
+ chrome.app.window.create('test.html',
+ {hidden: true},
+ callbackPass(function(win1) {
+ chrome.app.window.create('test.html',
+ {hidden: false},
+ callbackPass(function(win2) {
+ win1.contentWindow.close();
+ win2.contentWindow.close();
+ }));
+ }));
}
]);
}
« no previous file with comments | « chrome/test/data/extensions/platform_apps/crashtest_hidden_windows/test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698