| Index: chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js b/chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js
|
| index 6aaf9170904e9c0bdbc7e7bb5d450ccc67b3215f..051956660d32a89e44a7279becf5f6fdb47a552d 100644
|
| --- a/chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js
|
| +++ b/chrome/test/data/extensions/platform_apps/windows_api_ime/has_permissions_whitelisted/background.js
|
| @@ -2,14 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -var error = "IME extensions must create window with \"ime: true\" and " +
|
| -"\"frame: 'none'\".";
|
| +var error = "IME extensions must create ime window ( with \"ime: true\" and " +
|
| + "\"frame: 'none'\") or panel window (with \"type: panel\").";
|
|
|
| function testImeEnabled(createOptions) {
|
| if (createOptions.frame == 'none' && createOptions.ime) {
|
| chrome.app.window.create('index.html',
|
| createOptions,
|
| chrome.test.callbackPass(function(win) {}));
|
| + } else if (createOptions.type == 'type'){
|
| + chrome.app.window.create('index.html',
|
| + createOptions,
|
| + chrome.test.callbackPass(function(win) {}));
|
| } else {
|
| chrome.app.window.create('index.html',
|
| createOptions,
|
|
|