Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / platform_apps / event_page / suspend_storage_api / main.js
index aaaefdc..46a3b46 100644 (file)
@@ -3,20 +3,7 @@
 // found in the LICENSE file.
 
 chrome.app.runtime.onLaunched.addListener(function() {
-
-  var screenWidth = screen.availWidth;
-  var screenHeight = screen.availHeight;
-  var width = 500;
-  var height = 300;
-
-  chrome.app.window.create('index.html', {
-    bounds: {
-      width: width,
-      height: height,
-      left: Math.round((screenWidth-width)/2),
-      top: Math.round((screenHeight-height)/2)
-    }
-  });
+  chrome.app.window.create('index.html', {});
 });
 
 chrome.runtime.onSuspend.addListener(function() {