Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / remoting / webapp / manifest.json.jinja2
index 1ce73d2..4d15da4 100644 (file)
     }
 {% else %}
     "background": {
-      "scripts": ["background.js"]
+      "page": "background.html"
      }
 {% endif %}
   },
+{% if webapp_type == 'v1' %}
+  "background": {
+    "page": "background.html",
+    "persistent": false
+  },
+{% endif %}
   "icons": {
     "128": "chromoting128.webp",
     "48": "chromoting48.webp",
     "pages": [ "wcs_sandbox.html" ]
   },
 {% endif %}
-
+  "externally_connectable": {
+    "matches": [
+        "https://*.talkgadget.google.com/*"
+    ]
+  },
   "permissions": [
     "{{ OAUTH2_ACCOUNTS_HOST }}/*",
     "{{ OAUTH2_API_BASE_URL }}/*",