We haven't looked at that yet. I am cc'ing Anssi. It would be good if you could share some use-cases
Kenneth On Thu, May 15, 2014 at 4:08 AM, Cao, Jenny Q <[email protected]> wrote: > Kenneth and Mikhail > > Do we still need the manifest access API (getManitest) in the new > manifest solution ? > > Thanks > > Jenny > > > > *From:* Long, Xiang > *Sent:* Monday, May 12, 2014 3:35 PM > *To:* Cao, Jenny Q; Li, Cici X; You, Yongkang; Kenneth Rohde > Christiansen; Pozdnyakov, Mikhail; Zhang, Belem; He, Xinchao > > *Cc:* [email protected] > *Subject:* RE: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Jenny, > > I don’t know whether we still need the manifest access API or not, it is > not related to main document/ event subsystem. > > > > Kenneth, > > How do you think? > > > > Thanks, > > Xiang > > > > *From:* Cao, Jenny Q > *Sent:* Monday, May 12, 2014 3:07 PM > *To:* Li, Cici X; Long, Xiang; You, Yongkang; Kenneth Rohde Christiansen; > Pozdnyakov, Mikhail; Zhang, Belem; He, Xinchao > *Cc:* [email protected] > *Subject:* RE: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Long Xiang > > Besides the features list on Cici’s sheet, > > we would remove following feature related cases which related to the > eventsystem and getMaindocument. > > Ø For Eventsystem, mapping to feature *XWALK-516 > <https://crosswalk-project.org/jira/browse/XWALK-516> Basic application > event API support* > > Case for addListener,hasListener,hasListeners,removeListener would be > removed. > > Ø For item 2 , app.runtime.getMainDocument API will be removed. > > Correspoinding feature are > XWALK-597<https://crosswalk-project.org/jira/browse/XWALK-597> *Application > runtime APIs (getMainDocument, getManifest)* > > Case for getMainDocuemnt would be removed. > > *Q: Need Also remove the case for getManifest ?* > > > > Thanks > > Jenny > > > > *From:* Li, Cici X > *Sent:* Monday, May 12, 2014 2:54 PM > *To:* Long, Xiang; You, Yongkang; Kenneth Rohde Christiansen; Pozdnyakov, > Mikhail; Cao, Jenny Q; Zhang, Belem; He, Xinchao > *Cc:* [email protected] > *Subject:* RE: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Hi, longxiang > > > > Thanks for your confirmation, and summary as below: > > > > 1. All main document /event system tests will be removed. > > XWALK-2 > > Implement non-persistent main document > > XWALK-519 <https://crosswalk-project.org/jira/browse/XWALK-519> > > Register system events information into database during installation. > > XWALK-518 <https://crosswalk-project.org/jira/browse/XWALK-518> > > Basic application runtime events > > XWALK-596 <https://crosswalk-project.org/jira/browse/XWALK-596> > > Initial application runtime onLaunch event support > > XWALK-650 > > Implement application runtime onSuspend event API. > > XWALK-723 <https://crosswalk-project.org/jira/browse/XWALK-723> > > Implement application runtime onInstalled event API. > > > > 2. app.runtime.getMainDocument API will be removed. > > > > 3. Cases for “main/scripts(source)” properties in Manifest.json > will be removed > > { > > "name": "app name", > > "version": "1.0.0", > > "app": { > > "main":{ > > "scripts": ["main.js"], > > "source": "main.html" > > }, > > "launch":{ > > "local_path": "index.html" > > } > > }, > > "description": "a sample description", > > "icons": { > > "128": "icon128.png" > > } > > } > > > > Thanks > > cici > > *From:* Long, Xiang > *Sent:* Monday, May 12, 2014 2:16 PM > *To:* Li, Cici X; You, Yongkang; Kenneth Rohde Christiansen; Pozdnyakov, > Mikhail; Li, Cici X; Cao, Jenny Q; Zhang, Belem > *Cc:* [email protected] > *Subject:* RE: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Hi Cici, > > For the main document /event system tests part, I think you can remove all > of them in the list. > > And test for app.runtime.getMainDocument API can also be removed. > > > > Thanks, > > Xiang > > > > *From:* Crosswalk-dev [ > mailto:[email protected]<[email protected]>] > *On Behalf Of *Li, Cici X > *Sent:* Monday, May 12, 2014 1:16 PM > *To:* You, Yongkang; Kenneth Rohde Christiansen; Pozdnyakov, Mikhail; Li, > Cici X; Cao, Jenny Q; Zhang, Belem > *Cc:* [email protected] > *Subject:* Re: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Hi, Yongkang > > > > Let’s clarify the test cases influence for this change. > > > > 1. Remove XPK main document/event system tests. > > Relate feature as below, *all the tests of them need to removed, right?* > > XWALK-2 > > Implement non-persistent main document > > XWALK-519 <https://crosswalk-project.org/jira/browse/XWALK-519> > > Register system events information into database during installation. > > XWALK-518 <https://crosswalk-project.org/jira/browse/XWALK-518> > > Basic application runtime events > > XWALK-596 <https://crosswalk-project.org/jira/browse/XWALK-596> > > Initial application runtime onLaunch event support > > XWALK-650 > > Implement application runtime onSuspend event API. > > XWALK-723 <https://crosswalk-project.org/jira/browse/XWALK-723> > > Implement application runtime onInstalled event API. > > > > 2. Manifest relate tests change > > Current our manifest tests were following the manifest definition in > https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-manifest > > Per mikhail’s comments: > > “Would like to add that the test cases for Tizen (and desktop) should be > modified accordingly to > http://w3c.github.io/manifest/#processing-the-manifest (most of it is > implemented atm).” > > We need to clarify this spec change influence for tests. > > > > Let’s book a meeting to sync this detail, what’s your opinion? > > > > > > Thanks > > cici > > *From:* Crosswalk-dev [ > mailto:[email protected]<[email protected]>] > *On Behalf Of *You, Yongkang > *Sent:* Thursday, May 8, 2014 9:20 AM > *To:* Kenneth Rohde Christiansen; Pozdnyakov, Mikhail > *Cc:* [email protected] > *Subject:* Re: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > Okay. If so, something needs to be gradually changed: > > > > 1. XPK Main Document solution should be removed from code. (next > milestone) The method should be disabled. (from now on) > > 2. Some documentation needs to be updated. (next milestone) > > 3. QA stopped testing XPK Main Document related features, include > event system. (from now on) > > > > - Yongkang > > > > *From:* Crosswalk-dev [ > mailto:[email protected]<[email protected]>] > *On Behalf Of *Kenneth Rohde Christiansen > *Sent:* Wednesday, May 07, 2014 8:38 PM > *To:* Pozdnyakov, Mikhail > *Cc:* [email protected] > *Subject:* Re: [Crosswalk-dev] [Intent to remove] Remove main document > support > > > > As this is aligned with the industry which is pursuing Service Worker as a > future solution to this, I agree and think we should just get rid of this > complexity. > > > > Sacrifice for progress, I guess. > > > > Kenneth > > > > On Wed, May 7, 2014 at 1:46 PM, Pozdnyakov, Mikhail < > [email protected]> wrote: > > Hi there, > > Let's drop support of "main document" concept as this is not aligned > with the accepted http://w3c.github.io/manifest and keeping it brings a > lot of complexity (and potential bugs) to our code. > > Spec: > http://www.w3.org/2012/sysapps/app-lifecycle/#a-single-entry-point-to-the-application > Target platforms: Tizen/desktop > > BR, > Mikhail > --------------------------------------------------------------------- > Intel Finland Oy > Registered Address: PL 281, 00181 Helsinki > Business Identity Code: 0357606 - 4 > Domiciled in Helsinki > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > _______________________________________________ > Crosswalk-dev mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev > > > > > > -- > Kenneth Rohde Christiansen > Web Platform Architect, Intel Corporation. > Phone +45 4294 9458 ﹆﹆﹆ > -- Kenneth Rohde Christiansen Web Platform Architect, Intel Corporation. Phone +45 4294 9458 ﹆﹆﹆
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
