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 ebcc4447339240d001de0cdd34ad7bbbda55528d..1f2661309cf6ff31d859c126e1e8088df700615b 100644 |
--- a/chrome/test/data/extensions/platform_apps/window_api/test.js |
+++ b/chrome/test/data/extensions/platform_apps/window_api/test.js |
@@ -1352,6 +1352,19 @@ function testFrameColors() { |
]); |
} |
+function testVisibleOnAllWorkspaces() { |
+ chrome.test.runTests([ |
+ function setAndUnsetVisibleOnAllWorkspaces() { |
+ chrome.app.window.create('test.html', callbackPass(function(win) { |
+ win.setVisibleOnAllWorkspaces(true); |
+ win.setVisibleOnAllWorkspaces(false); |
+ chrome.test.sendMessage( |
+ 'WaitForRoundTrip', callbackPass(function(reply) {})); |
+ })); |
+ }, |
+ ]); |
+} |
+ |
chrome.app.runtime.onLaunched.addListener(function() { |
chrome.test.sendMessage('Launched', function(reply) { |
window[reply](); |