| Index: chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
|
| index ab02b4d5928e202fdd076bd94c83f66ae6231bc0..4ddf9408779fe3e16fd3cd8642a042e61675ac2a 100644
|
| --- a/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/window_api_interactive/test.js
|
| @@ -232,6 +232,21 @@ function testDrawAttention() {
|
| ]);
|
| }
|
|
|
| +function testFullscreen() {
|
| + chrome.test.runTests([
|
| + function createFullscreen() {
|
| + chrome.app.window.create('test.html', {
|
| + state: 'fullscreen',
|
| + }, callbackPass(function (win) {
|
| + chrome.test.assertEq(win.contentWindow.screen.width,
|
| + win.contentWindow.innerWidth);
|
| + chrome.test.assertEq(win.contentWindow.screen.height,
|
| + win.contentWindow.innerHeight);
|
| + }));
|
| + }
|
| + ]);
|
| +}
|
| +
|
| chrome.app.runtime.onLaunched.addListener(function() {
|
| chrome.test.sendMessage('Launched', function(reply) {
|
| window[reply]();
|
|
|