Index: chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js |
diff --git a/chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js b/chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js |
index b996cf0d2725005d26b85f8125e9e70d423f527f..7420400433ce2953869099747681a56acc567525 100644 |
--- a/chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js |
+++ b/chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js |
@@ -4,8 +4,6 @@ |
// All these tests are run in Stable channel. |
-var error = "The visibleOnAllWorkspaces option requires dev channel or newer."; |
- |
chrome.app.runtime.onLaunched.addListener(function() { |
chrome.test.runTests([ |
@@ -14,13 +12,13 @@ chrome.app.runtime.onLaunched.addListener(function() { |
chrome.app.window.create( |
'index.html', { |
visibleOnAllWorkspaces: true, |
- }, chrome.test.callbackFail(error)); |
+ }, chrome.test.callbackPass(function () {})); |
}, |
// Check chrome.app.window.canSetVisibleOnAllWorkspaces(). |
function testCanSetVisibleOnAllWorkspaces() { |
chrome.test.assertTrue( |
- chrome.app.window.canSetVisibleOnAllWorkspaces === undefined); |
+ typeof chrome.app.window.canSetVisibleOnAllWorkspaces == 'function'); |
chrome.test.callbackPass(function () {})(); |
}, |