Re: [whatwg] Notifications improvements

2014-07-10 Thread Andrew Wilson
On Thu, Jul 10, 2014 at 5:44 AM, Jonas Sicking jo...@sicking.cc wrote: Hi All, We've on and off discussed various features added to notifications. It'd be great to move forward with some of these improvements. I think the most low hanging fruit would be to add the following as data that

Re: [whatwg] Questions about the Fetch API

2014-07-10 Thread Juan Ignacio Dopazo
On Wednesday, July 9, 2014 3:02 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Jul 8, 2014 at 11:35 AM, Juan Ignacio Dopazo jdop...@yahoo-inc.com wrote: - And more importantly, why does fetch() return a PromiseResponse instead of a Response? Because you aren't allowed to do

Re: [whatwg] Questions about the Fetch API

2014-07-10 Thread Domenic Denicola
From: whatwg whatwg-boun...@lists.whatwg.org on behalf of Juan Ignacio Dopazo jdop...@yahoo-inc.com Would it be to crazy to get fetch(url).asJSON() to work? Either by not having fetch() return a promise (and return something that has a function that returns a promise for the headers) or by

[whatwg] Better DOM hooks for polyfilling CSS properties?

2014-07-10 Thread Brian Blakely
Problem === It's difficult to know when an unsupported property was set for any arbitrary element, and manually sifting through stylesheets isn't very easy. This makes polyfilling CSS harder than it needs to be. Strawman === The endgoal is to easily get a NodeList containing elements that have

Re: [whatwg] Stricter data URL policy

2014-07-10 Thread Ian Hickson
On Wed, 9 Jul 2014, Jonas Sicking wrote: But javascript: is sort of screwed no matter what. A javascript URL inheritely will run javascript, and it always does so in the origin of whoever set the url. So pages will have to look for javascript: anytime they are handling URLs. But it's

Re: [whatwg] Notifications improvements

2014-07-10 Thread Jonas Sicking
On Thu, Jul 10, 2014 at 1:04 AM, Andrew Wilson atwil...@google.com wrote: On Thu, Jul 10, 2014 at 5:44 AM, Jonas Sicking jo...@sicking.cc wrote: Hi All, We've on and off discussed various features added to notifications. It'd be great to move forward with some of these improvements. I

Re: [whatwg] Notifications improvements

2014-07-10 Thread Jonas Sicking
On Thu, Jul 10, 2014 at 8:01 AM, Peter Beverloo bever...@google.com wrote: On Thu, Jul 10, 2014 at 4:44 AM, Jonas Sicking jo...@sicking.cc wrote: We need to change the GC behavior. Right now it seems like if a Notification object is created, but no event listeners are attached, because the

Re: [whatwg] Better DOM hooks for polyfilling CSS properties?

2014-07-10 Thread Tab Atkins Jr.
[This discussion belongs on the www-st...@w3.org list, not whatwg. I'll give a perfunctory answer here, but will not follow up. Please start a thread on www-style if you wish to discuss this further.] On Jul 10, 2014 2:39 PM, Brian Blakely anewpage.me...@gmail.com wrote: Problem === It's

Re: [whatwg] Form Controls Wish List

2014-07-10 Thread Domenic Denicola
Hi Garret, I'd really encourage you to read the WHATWG FAQ. In particular, the part urging you to focus on presenting compelling use cases, instead of specific APIs or solutions. Many of your suggestions are not motivated by use cases, from what I can see, and in fact would actively harm