- From: Domenic Denicola <domenic@domenicdenicola.com>
- Date: Thu, 18 Apr 2013 02:20:32 +0000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] > On 4/17/13 9:58 PM, Domenic Denicola wrote: > > That sounds like a bizarre API to me. Access or properties should, as much as possible, behave just like normal data properties. > > OK. What would you like to see for the specific API under discussion here? Assuming I'm understanding the background reading correctly, myFileInput.files = new FileList([aFile]); myFileInput.files = new FileList([bFile, cFile]); seems like the way to go. As long as, generally, var x = someThingOfTheCorrectType; y.z = x; assert(y.z === x); passes, then we're in good shape.
Received on Thursday, 18 April 2013 02:21:03 UTC