Re: Proposal for sending multiple files via XMLHttpRequest.send()

2009-09-11 Thread Ryan Seddon
Mozilla has something similar already called sendAsBinary though it takes a string not an array https://developer.mozilla.org/en/XMLHttpRequest#sendAsBinary%28%29 On Thu, Sep 10, 2009 at 7:28 PM, Anne van Kesteren ann...@opera.com wrote: On Thu, 10 Sep 2009 03:12:52 +0200, Jian Li

Re: [Notifications] feedback requested on new Editor's Draft

2010-03-23 Thread Ryan Seddon
On Tue, Mar 23, 2010 at 1:06 PM, John Gregg john...@google.com wrote: After the extensive discussion several weeks ago, I've been working on a new draft for Web Notifications which is now available at http://dev.w3.org/2006/webapi/WebNotifications/publish/ Not sure if this has been asked

Re: DOM event detection

2010-12-21 Thread Ryan Seddon
It's actually a bug in Firefox[1] which unfortunately been around for a very long time, since 2003, and isn't isolated just on the input event it also affects the invalid event. For detecting events kangax has created a handy method called isEventSupported[2] which will detect 99% of events

Re: drop directories/folders

2011-03-15 Thread Ryan Seddon
WebKit or more specifically Chromium has the webkitdirectory attribute that can be placed on a file input. When you choose a directory it populates the FileList object with all the files within the selected directory, however there is a bug[1] at the moment. When you drag and drop a directory the

Re: Offline Web Applications status

2011-03-23 Thread Ryan Seddon
Hi, comments inline 2011/3/24 louis-rémi BABE lrb...@gmail.com ## Maybe Web devs don't use App Cache because they don't understand what it is... ## I think most webdevs are expecting more than what is offered. It seems like a half baked solution to a potentially useful requirement. ## Can

Re: Filtering clipboard MIME types (was: Re: clipboard events)

2011-05-17 Thread Ryan Seddon
using blobs with the BlobBuilder API? -Ryan Seddon

Re: innerHTML in DocumentFragment

2011-11-05 Thread Ryan Seddon
This would be a great addition, another thought would be the ability to sandbox the documentFragment. Much the same way you can sanitise responseText from an XHR using and iframe with the sandbox attribute being able to do this with fragments would be might handy.

Re: innerHTML in DocumentFragment

2011-11-07 Thread Ryan Seddon
On Tue, Nov 8, 2011 at 4:30 AM, Ojan Vafai o...@chromium.org wrote: I don't really follow. Script won't execute until you append the fragment to the DOM, at which point the fragment itself doesn't go in the DOM, just it's children. So, I'm not really sure what sandboxing on fragments would

Sanatising HTML content through sandboxing

2011-11-08 Thread Ryan Seddon
Right now there is no simple way to sanitise HTML content by stripping it of any potentially malicious HTML such as scripts etc. In the innerHTML in DocumentFragment thread I suggested following the sandbox attribute approach that can be applied to iframes. I've moved this out into its own

Re: Sanitising HTML content through sandboxing

2011-11-10 Thread Ryan Seddon
DOMParser.parseFromString already takes a content type as the second argument. The plan is to support HTML parsing when the second argument is text/html. I quite like this as it keeps it agnostic towards what it is parsing so other formats like MathML and SVG won't look out of place with

Re: [webcomponents]: Naming the Baby

2013-03-26 Thread Ryan Seddon
I like the idea of package seems all encompassing which captures the requirements nicely. That or perhaps resource, but then resource seems singular. Or perhaps component-package so it is obvious that it's tied to web components? -Ryan On Tue, Mar 26, 2013 at 6:03 AM, Dimitri Glazkov

Re: [clipboard] Feature detect Clipboard API support?

2015-04-21 Thread Ryan Seddon
If we did that, authors could not use synthetic clipboard events for anything - right? I'm assuming that authors are going to find use cases for it - for example a cloud clipboard implementation may want to fire actual paste events so that data from the cloud is processed like data from the

Re: Directory Upload Proposal

2015-04-28 Thread Ryan Seddon
To enable developers to build future interoperable solutions, we've drafted a proposal [4], with the helpful feedback of Mozilla and Google, that focuses strictly on providing the mechanisms necessary to enable directory uploads. The use of the dir attribute seems odd since I can already