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

Unified Diff: chrome/test/data/extensions/api_test/window_update/show_state/test.html

Issue 8621002: Reduce minimum size of Panels to allow 1-text-line tight autosize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix extension test Created 9 years, 1 month 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/browser/ui/panels/panel_manager.cc ('k') | chrome/test/data/panels/update-preferred-size.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/window_update/show_state/test.html
diff --git a/chrome/test/data/extensions/api_test/window_update/show_state/test.html b/chrome/test/data/extensions/api_test/window_update/show_state/test.html
index d46353192e4ef60d7db192f56cf6d2f4700088c7..93c033f70b9aa79c1e64988d93c61b90826251e1 100644
--- a/chrome/test/data/extensions/api_test/window_update/show_state/test.html
+++ b/chrome/test/data/extensions/api_test/window_update/show_state/test.html
@@ -58,7 +58,8 @@ function minimizeWindow(theWindow) {
}
function testWindowState(windowType) {
- chrome.windows.create({'url': 'hello.html', 'type': windowType},
+ // 'height' parameter prevents 'panel' windows form attempt to compute size asynchronously.
jennb 2011/11/24 01:04:56 s/form/from
+ chrome.windows.create({'url': 'hello.html', 'type': windowType, 'height':100 },
jennb 2011/11/24 01:04:56 might as well provide width too. it's pretty unusu
pass(minimizeWindow));
}
« no previous file with comments | « chrome/browser/ui/panels/panel_manager.cc ('k') | chrome/test/data/panels/update-preferred-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698