| 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) {}));
|
| + }));
|
| + },
|
| + ]);
|
| +}
|
| +
|
| chrome.app.runtime.onLaunched.addListener(function() {
|
| chrome.test.sendMessage('Launched', function(reply) {
|
| window[reply]();
|
|
|