Re: [whatwg] [Workers] CSP and SharedWorkers

2013-09-26 Thread Anne van Kesteren
On Wed, Sep 25, 2013 at 11:00 PM, Kyle Huey m...@kylehuey.com wrote: Thoughts? What happens today for iframe? The load itself seems to be governed by the parent. Does the policy inherit into it? I feel like workers should work like iframe as they're essentially their own global objects. --

Re: [whatwg] [Workers] CSP and SharedWorkers

2013-09-26 Thread Jake Archibald
The registration of a Service Worker is currently only possible via DOM call from an HTML document, so it makes sense for registration to be governed by CSP. There was some discussion here https://github.com/slightlyoff/ServiceWorker/issues/46 So script-src would cover registration, but there

Re: [whatwg] [Workers] CSP and SharedWorkers

2013-09-26 Thread Jake Archibald
On 26 September 2013 14:57, Jake Archibald jaffathec...@gmail.com wrote: Note, this only covers registration. If http://example.com allows controllers from http://example.co.uk, and successfully calls registerServiceWorker(/*, http://example.co.uk/service.js;), that controller will be used

[whatwg] Supporting scanners on the web

2013-09-26 Thread Benjamin Smedberg
One of the use cases that has come up for why people are still using plugins is supporting scanning to the web, in particular multi-page scanning. It seems to me that we could hook this up to input type=file multiple, but that we should try to provide UAs with a hint that a page expects a

Re: [whatwg] Supporting scanners on the web

2013-09-26 Thread Anne van Kesteren
On Thu, Sep 26, 2013 at 11:19 AM, Benjamin Smedberg benja...@smedbergs.us wrote: One of the use cases that has come up for why people are still using plugins is supporting scanning to the web, in particular multi-page scanning. It seems to me that we could hook this up to input type=file

Re: [whatwg] OUTPUT tag: clarify purpose in spec?

2013-09-26 Thread Ian Hickson
On Sun, 25 Aug 2013, Richard Kennard wrote: Thanks for all the great work you do on the HTML 5 specification! Can I ask for a little clarification in the spec? Specifically it says: The output element represents the result of a calculation or user action.

Re: [whatwg] OUTPUT tag: clarify purpose in spec?

2013-09-26 Thread Jukka K. Korpela
2013-09-26 21:41, Ian Hickson wrote: There's a lot of output examples in the spec; do they help at all? There are indeed several examples, but they are scattered around; the section that specifically deals with the output element, 4.10.15, has only one example. It is a simple calculator

Re: [whatwg] Comments on dialog

2013-09-26 Thread Ian Hickson
On Mon, 26 Aug 2013, Matt Falkenhagen wrote: On Thu, Aug 22, 2013 at 7:58 AM, Ian Hickson i...@hixie.ch wrote: On Mon, 22 Apr 2013, Tab Atkins Jr. wrote: On Mon, Apr 22, 2013 at 12:38 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 22 Apr 2013, Matt Falkenhagen wrote: 3. For centering

Re: [whatwg] Elements should be removed from the past names map once it's no longer associated with the form element

2013-09-26 Thread Ian Hickson
On Mon, 26 Aug 2013, Ryosuke Niwa wrote: I propose to change the specification to remove any elements that are no longer associated with the form from the past names map: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#past-names-map It's strange for elements to

Re: [whatwg] Canonical Image and Color

2013-09-26 Thread Ian Hickson
On Wed, 28 Aug 2013, Brian Blakely wrote: On Fri, Jul 12, 2013 at 1:32 PM, Ian Hickson i...@hixie.ch wrote: You are welcome to register these on the wiki and convince people to use them, sure. Would you kindly link me to the wiki? http://wiki.whatwg.org/wiki/MetaExtensions -- Ian

[whatwg] Notifications: usage feedback

2013-09-26 Thread James Burke
This Notifications feedback comes from using them in FirefoxOS for the email web app. It uses an alarm API to periodically wake up, do an email sync, and if new messages, creates some Notifications. The web app may also shut itself down if it was not already opened in a visible state. The OS may

Re: [whatwg] Supporting scanners on the web

2013-09-26 Thread Robert O'Callahan
On Fri, Sep 27, 2013 at 3:19 AM, Benjamin Smedberg benja...@smedbergs.uswrote: A couple questions I've thought about but don't have answers to: * Do/can PNG images contain information about their resolution, so that the site can reconstruct the actual page size? Yes:

Re: [whatwg] [Workers] CSP and SharedWorkers

2013-09-26 Thread Jonas Sicking
On Wed, Sep 25, 2013 at 8:00 PM, Kyle Huey m...@kylehuey.com wrote: It's unclear how SharedWorkers should interact with Content Security Policies. This came up during code review of the SharedWorker implementation in Gecko[0]. There was a public-webappsec thread[1] on this back in May that

Re: [whatwg] Supporting scanners on the web

2013-09-26 Thread Jonas Sicking
On Thu, Sep 26, 2013 at 8:19 AM, Benjamin Smedberg benja...@smedbergs.us wrote: One of the use cases that has come up for why people are still using plugins is supporting scanning to the web, in particular multi-page scanning. It seems to me that we could hook this up to input type=file

Re: [whatwg] Supporting scanners on the web

2013-09-26 Thread Robert O'Callahan
On Fri, Sep 27, 2013 at 5:29 PM, Jonas Sicking jo...@sicking.cc wrote: The most requested ability is to resize images to a particular resolution. This is something that can be done using canvas, but not for videos or animated images. And currently you can't do it off the main thread, which is