Hi, Mikhail

I found the new manifest 
spec(XWALK-890<https://crosswalk-project.org/jira/browse/XWALK-890>) have been 
resolved, and tried multiple manifest.json values, e.g. typical example in new 
Manifest Spec, cut some fields of them, old manifest format, and details as 
below, please check.
Crosswalk version used: 
https://download.01.org/crosswalk/releases/crosswalk/tizen-ivi/canary/8.36.156.0/

My questions is:
The code have merged, right? but have the new manifest spec have tack action 
and replaced the old one?


1.       Manifest.json set to the typical example in 
http://w3c.github.io/manifest/,

Result: fail to install after pack to xpk: “ Installing application failed: 
GDBus.Error:org.crosswalkproject.Installed.Manager.Error: Error 
installing/updating application with path: /tmp/sample-manifest1.xpk”
 {
  "name": "Super Racer 2000",
  "icons": [{
        "src": "icon/lowres",
        "sizes": "64x64",
        "type": "image/webp"
      }, {
        "src": "icon/hd_small",
        "sizes": "64x64"
      }, {
        "src": "icon/hd_hi",
        "sizes": "128x128",
        "density": "2"
      }],
  "start_url": "/start.html",
  "display": "fullscreen",
  "orientation": "landscape"
}


2.       Cut some fields in the typical example of Manifest.json in “1.” as 
below, and try

Result: still fail to install
{
“name” : ”string”
 “start_url” :  “/index.html”
}


3.       And  “version” in manifest based “2.”, try again.

Result: Could install and launch successfully, could find start_url in DB.
manifest:
{
“name” : ”string”
“version” : ”1.2”
“start_url” :  “/index.html”
}


4.       And  “version” in typical example of Manifest.json in 
http://w3c.github.io/manifest/, and try again

Result: still fail to install
{
  "name": "Super Racer 2000",
  "version": "1.2",
  "icons": [{
        "src": "icon/lowres",
        "sizes": "64x64",
        "type": "image/webp"
      }, {
        "src": "icon/hd_small",
        "sizes": "64x64"
      }, {
        "src": "icon/hd_hi",
        "sizes": "128x128",
        "density": "2"
      }],
  "start_url": "/start.html",
  "display": "fullscreen",
  "orientation": "landscape"
}


5.       Manifest set as old spec

Result: Could be install/launch package successfully, and applications.db could 
find webapp data: 
“hjdkmpgphgcidchodhgblfaaacbkkdac|{"app":{"launch":{"local_path":"index.html"}},"icon":{"117":"icon.bmp"},"name":"string","version":"1.1"}”
{
"name" : "string",
"version" : "1.1",
"app" : {"launch":{"local_path":"index.html"}},
"icon" : { "117": "icon.bmp" }
}

Thanks
Cici
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to