Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-06-19 Thread Charles McCathieNevile
On Wed, 06 Jun 2012 14:39:35 +0200, Henri Sivonen hsivo...@iki.fi wrote: On Sun, May 27, 2012 at 7:45 PM, Anant Narayanan an...@mozilla.com wrote: Well, we haven't received this request from developers explicitly yet, but one can imagine a situation in which a developer makes an app only

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-06-06 Thread Henri Sivonen
On Sun, May 27, 2012 at 7:45 PM, Anant Narayanan an...@mozilla.com wrote: Well, we haven't received this request from developers explicitly yet, but one can imagine a situation in which a developer makes an app only for mobile phones (Instagram?) and doesn't want users to use it on desktops.

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-28 Thread Anant Narayanan
On 05/27/2012 12:53 PM, Scott Wilson wrote: On 27 May 2012, at 17:49, Anant Narayanan wrote: On 05/27/2012 05:11 AM, Marcos Caceres wrote: Sure, but doesn't that lead to the original complaint that certain developers don't want their application to install at all for PR reasons? In

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-28 Thread Guilherme Vieira
On Mon, May 28, 2012 at 5:20 AM, Scott Wilson scott.bradley.wil...@gmail.com wrote: I understand the intention, which is to give web app developers some means of steering users away if they are using a device they don't think will work well for them using the app. On the other hand, this is

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Marcos Caceres
On 26 May 2012, at 18:32, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 09:25 AM, Marcos Caceres wrote: On Friday, May 25, 2012 at 4:34 PM, SULLIVAN, BRYAN L wrote: Marcos, Re I thought we had stopped the whole designing for particular screen sizes, etc. a long time ago.,

RE: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread SULLIVAN, BRYAN L
, BRYAN L; public-webapps@w3.org Subject: Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs On 26 May 2012, at 18:32, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 09:25 AM, Marcos Caceres wrote: On Friday, May 25, 2012 at 4:34 PM

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Marcos Caceres
] Sent: Sunday, May 27, 2012 1:35 AM To: Anant Narayanan Cc: SULLIVAN, BRYAN L; public-webapps@w3.org Subject: Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs On 26 May 2012, at 18:32, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 09:25 AM

RE: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread SULLIVAN, BRYAN L
27, 2012 5:12 AM To: SULLIVAN, BRYAN L Cc: Anant Narayanan; public-webapps@w3.org Subject: Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs On 27/05/2012 12:36, SULLIVAN, BRYAN L wrote: Re At install time or when I am browsing apps, how does a server

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Anant Narayanan
On 05/27/2012 01:35 AM, Marcos Caceres wrote: On 26 May 2012, at 18:32, Anant Narayananan...@mozilla.com wrote: The intent for the screen_size parameters is not to let the developer enforce a particular screen size or resolution, but rather specify the *minimum* width and height required by

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Anant Narayanan
On 05/27/2012 05:11 AM, Marcos Caceres wrote: On 27/05/2012 12:36, SULLIVAN, BRYAN L wrote: Re At install time or when I am browsing apps, how does a server know my screen resolution? Or is this restriction imposed on by the user agent?: When browsing apps, the server can easily access the

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Scott Wilson
On 27 May 2012, at 17:45, Anant Narayanan wrote: On 05/27/2012 01:35 AM, Marcos Caceres wrote: On 26 May 2012, at 18:32, Anant Narayananan...@mozilla.com wrote: The intent for the screen_size parameters is not to let the developer enforce a particular screen size or resolution, but rather

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Scott Wilson
On 27 May 2012, at 17:49, Anant Narayanan wrote: On 05/27/2012 05:11 AM, Marcos Caceres wrote: On 27/05/2012 12:36, SULLIVAN, BRYAN L wrote: Re At install time or when I am browsing apps, how does a server know my screen resolution? Or is this restriction imposed on by the user agent?: When

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-27 Thread Guilherme Vieira
On Sun, May 27, 2012 at 4:53 PM, Scott Wilson scott.bradley.wil...@gmail.com wrote: - If its easy to bypass, why bother with it? (I once wrote a greasemonkey script that let the Chrome Store work on Firefox :) What's the problem? If I understood correctly, the feature is important so that

Re: [manifest] Parsing origins, was Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Adam Barth
On Fri, May 25, 2012 at 7:39 AM, Marcos Caceres w...@marcosc.com wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: installs_allowed_from: An array of origins that are allowed to trigger installation of this application. This field allows the developer to restrict

Re: [manifest] Parsing origins, was Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Anant Narayanan
On 05/25/2012 11:11 PM, Adam Barth wrote: On Fri, May 25, 2012 at 7:39 AM, Marcos Caceresw...@marcosc.com wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: installs_allowed_from: An array of origins that are allowed to trigger installation of this application. This field

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Anant Narayanan
On 05/25/2012 09:25 AM, Marcos Caceres wrote: On Friday, May 25, 2012 at 4:34 PM, SULLIVAN, BRYAN L wrote: Marcos, Re I thought we had stopped the whole designing for particular screen sizes, etc. a long time ago., that may be the still-closely-held goal, but the reality is that designing

Re: [manifest] features Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Anant Narayanan
On 05/25/2012 07:54 AM, Marcos Caceres wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: Interested to see what could be listed here… this is the area of greatest interop concern, IMO (hopefully it won't be needed at all, as it's only really useful on extension/proprietary

Re: [manifest] asynchronous calls, Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Anant Narayanan
On 05/25/2012 08:04 AM, Marcos Caceres wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: This is also an asynchronous call, and will be used by apps to retrieve their own AppObject. This is useful when an app wants to retrieve the receipt for their app (that was set by the app

Re: [manifest] Parsing origins, was Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Adam Barth
On Sat, May 26, 2012 at 10:26 AM, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 11:11 PM, Adam Barth wrote: On Fri, May 25, 2012 at 7:39 AM, Marcos Caceresw...@marcosc.com  wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: installs_allowed_from: An array of origins

Re: [manifest] asynchronous calls, Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Marcos Caceres
On May 26, 2012, at 6:38 PM, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 08:04 AM, Marcos Caceres wrote: On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: This is also an asynchronous call, and will be used by apps to retrieve their own AppObject. This is useful when an

Re: [manifest] Parsing origins, was Re: Review of Web Application Manifest Format and Management APIs

2012-05-26 Thread Marcos Caceres
On May 26, 2012, at 7:23 PM, Adam Barth w...@adambarth.com wrote: On Sat, May 26, 2012 at 10:26 AM, Anant Narayanan an...@mozilla.com wrote: On 05/25/2012 11:11 PM, Adam Barth wrote: On Fri, May 25, 2012 at 7:39 AM, Marcos Caceresw...@marcosc.com wrote: On Sunday, May 13, 2012 at 5:47 PM,

[manifest] Parsing origins, was Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Marcos Caceres
Hi Anant, On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: installs_allowed_from: An array of origins that are allowed to trigger installation of this application. This field allows the developer to restrict installation of their application to specific sites. If the

[manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Marcos Caceres
On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: screen_size: This object may contain the min_height and min_width properties that describe the minimum height and width (in pixels) the application needs in order to render correctly. Interpretation of these values is

[manifest] features Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Marcos Caceres
On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: Interested to see what could be listed here… this is the area of greatest interop concern, IMO (hopefully it won't be needed at all, as it's only really useful on extension/proprietary platforms). Examples include

[manifest] asynchronous calls, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Marcos Caceres
On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: getInstalled Retrives application records for all applications that have been installed so far. This call is available to privileged callers only. What's a privileged caller? Also, if this is a getter, then it

RE: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread SULLIVAN, BRYAN L
Manifest Format and Management APIs On Sunday, May 13, 2012 at 5:47 PM, Anant Narayanan wrote: screen_size: This object may contain the min_height and min_width properties that describe the minimum height and width (in pixels) the application needs in order to render correctly

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Marcos Caceres
On Friday, May 25, 2012 at 4:34 PM, SULLIVAN, BRYAN L wrote: Marcos, Re I thought we had stopped the whole designing for particular screen sizes, etc. a long time ago., that may be the still-closely-held goal, but the reality is that designing for multiple screen sizes (and pixel

Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread Scott Wilson
On 25 May 2012, at 17:25, Marcos Caceres wrote: On Friday, May 25, 2012 at 4:34 PM, SULLIVAN, BRYAN L wrote: Marcos, Re I thought we had stopped the whole designing for particular screen sizes, etc. a long time ago., that may be the still-closely-held goal, but the reality is

RE: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs

2012-05-25 Thread SULLIVAN, BRYAN L
, 2012 12:59 PM To: Marcos Caceres Cc: SULLIVAN, BRYAN L; Anant Narayanan; public-webapps WG; public-webappst...@w3.org Subject: Re: [manifest] screen sizes, Re: Review of Web Application Manifest Format and Management APIs On 25 May 2012, at 17:25, Marcos Caceres wrote: On Friday, May 25

Re: Review of Web Application Manifest Format and Management APIs

2012-05-13 Thread Anant Narayanan
Hi Marcos, Thanks for the thorough review, this is extremely useful! Most things seems fixable fairly easily, for those that aren't, comments inline: On 5/12/2012 4:32 PM, Marcos Caceres wrote: default_locale: [Mandatory only if locales property is set]. The locale of the top-level name and

Review of Web Application Manifest Format and Management APIs

2012-05-12 Thread Marcos Caceres
Hi Anant, Here is a quick review of the Web Application Manifest Format and Management APIs proposal. On Saturday, 12 May 2012 at 20:37, Marcos Caceres wrote: Web Application Manifest Format and Management APIs Abstract This document specifies a JSON based format to describe