Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Ehsan Akhgari
On 2015-08-10 6:07 AM, Anne van Kesteren wrote: Andrew, could you simply pull this data directly from publicsuffix.org and cache locally? It does seem like an API in the browser could avoid a lot of work for developers (and the potential for bugs). Though perhaps if publicsuffix.org provided a

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Tim Guan-tin Chien
On Mon, Aug 10, 2015 at 3:12 PM, Jonas Sicking jo...@sicking.cc wrote: On Sun, Aug 9, 2015 at 2:51 AM, Anne van Kesteren ann...@annevk.nl wrote: On Sun, Aug 9, 2015 at 4:00 AM, Andrew Sutherland asutherl...@asutherland.org wrote: Are there any plans to surface the contents of

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Jonas Sicking
On Sun, Aug 9, 2015 at 2:51 AM, Anne van Kesteren ann...@annevk.nl wrote: On Sun, Aug 9, 2015 at 4:00 AM, Andrew Sutherland asutherl...@asutherland.org wrote: Are there any plans to surface the contents of

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Anne van Kesteren
On Mon, Aug 10, 2015 at 9:12 AM, Jonas Sicking jo...@sicking.cc wrote: Changing cookies seems unlikely to happen on any relevant timescale. Yeah, I guess the question is whether we want to have an API and argue with those that are opposed to it (from memory, at least Ryan Sleevi and Adam Barth).

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Gervase Markham
On 09/08/15 03:10, Andrew Sutherland wrote: On 08/08/2015 10:00 PM, Andrew Sutherland wrote: Are there any plans to surface the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIEffectiveTLDService from https://publicsuffix.org/ via a web-facing

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Gervase Markham
On 09/08/15 10:51, Anne van Kesteren wrote: There is https://www.w3.org/Bugs/Public/show_bug.cgi?id=25865 which is about more formally defining eTLDs and perhaps even exposing an API. However, it's unclear whether exposing an API is a good thing. eTLDs are used for cookies, storage boundaries

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-10 Thread Gervase Markham
On 10/08/15 08:22, Tim Guan-tin Chien wrote: The list ... changes a few times per month [1]. What's the consequence of using an outdated list in the app? It depends very much on what you are using the list for, and what changes your copy doesn't have. If you were using the list for setting

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-09 Thread Anne van Kesteren
On Sun, Aug 9, 2015 at 4:00 AM, Andrew Sutherland asutherl...@asutherland.org wrote: Are there any plans to surface the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIEffectiveTLDService from https://publicsuffix.org/ via a web-facing URI? There

Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-08 Thread Andrew Sutherland
Are there any plans to surface the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIEffectiveTLDService from https://publicsuffix.org/ via a web-facing URI? Or is the long term expectation that web content will just embed the list in the app,

Re: Web API equivalent of nsIEffectiveTLDService / publicsuffix.org database?

2015-08-08 Thread Andrew Sutherland
On 08/08/2015 10:00 PM, Andrew Sutherland wrote: Are there any plans to surface the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIEffectiveTLDService from https://publicsuffix.org/ via a web-facing URI? And of course I meant API here. Most