Chromium Code Reviews| 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..14396a3dfbfbd83855a38b401e53390c9da3c709 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,21 @@ function testFrameColors() { |
| ]); |
| } |
| +function testVisibleOnAllWorkspaces() { |
| + chrome.test.runTests([ |
| + function setAndUnsetVisibleOnAllWorkspaces() { |
| + chrome.app.window.create('test.html', { |
| + visibleOnAllWorkspaces: true |
| + }, callbackPass(function(win) { |
| + win.setVisibleOnAllWorkspaces(false); |
| + win.setVisibleOnAllWorkspaces(true); |
| + chrome.test.sendMessage( |
| + 'WaitForRoundTrip', callbackPass(function(reply) {})); |
|
benwells
2014/08/20 05:02:08
Does this actually test anything?
jackhou1
2014/08/27 05:10:45
Nup, it's just a smoke test, like testBadging().
|
| + })); |
| + }, |
| + ]); |
| +} |
| + |
| chrome.app.runtime.onLaunched.addListener(function() { |
| chrome.test.sendMessage('Launched', function(reply) { |
| window[reply](); |