Ehsan Akhgari
45d655ec96
Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
...
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Jonathan Watt
c7c158df48
Bug 894840, part 5 - Add a 'path' property to the File objects in the input.files FileList, and set it when a directory is picked. r=khuey
2013-08-23 08:41:17 +01:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Scott Johnson
6b94c8c1a9
Bug 838668: Rev IID of nsIDOMFile and revert incorrectly revved IID for nsIDOMBlob. [r=bsmedberg]
2013-02-06 14:27:20 -06:00
Doug Turner
6363e34789
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Ms2ger
05d200bad7
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Masatoshi Kimura
2157e5afdd
Bug 789691 - Migrate BlobPropertyBag to WebIDL binding dictionary, r=bzbarsky
2012-09-10 09:57:15 -04:00
Kyle Huey
574f66348d
Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking
2012-05-25 11:44:38 -07:00
Doug Turner
8ca2962c15
Bug 673586 - Implement lastModifiedDate property for the File interface. r=mounir
2012-05-21 15:11:56 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Masatoshi Kimura
f8cc2b9fe1
Bug 736804 - Bump iid of MozBlobBuilder. r=smaug
2012-03-18 15:49:45 +01:00
Masatoshi Kimura
e441461b51
Bug 721569 - Implement Blob constructor. r=sicking
2012-03-12 21:44:56 -07:00
Matthew Schranz
87bb64c61e
Bug 725289 - Removed moz prefix in Blob.mozSlice. r=sicking
...
--HG--
rename : dom/workers/test/fileReadMozSlice_worker.js => dom/workers/test/fileReadSlice_worker.js
rename : dom/workers/test/fileMozSlice_worker.js => dom/workers/test/fileSlice_worker.js
rename : dom/workers/test/test_fileReadMozSlice.xul => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileMozSlice.xul => dom/workers/test/test_fileSlice.xul
2012-02-16 11:22:25 +01:00
Masatoshi Kimura
65cb5fcc01
Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking
...
--HG--
rename : content/base/src/nsFileDataProtocolHandler.cpp => content/base/src/nsBlobProtocolHandler.cpp
rename : content/base/src/nsFileDataProtocolHandler.h => content/base/src/nsBlobProtocolHandler.h
2012-01-12 11:36:03 +01:00
Jan Varga
8702627c09
Bug 661877 - Enable storing files in IndexedDB. r=bent
2011-12-16 08:34:24 +01:00
Jonas Sicking
742a5593a3
Bug 669437: Implement BlobBuilder.getFile. r=khuey
2011-07-11 19:42:02 -07:00
Jonas Sicking
0103221c13
Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey
2011-07-11 19:41:55 -07:00
Jonas Sicking
eb9ce9a027
Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey
2011-07-11 19:41:29 -07:00
Kyle Huey
7d5b6f2285
Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking
2011-06-05 11:54:50 -07:00
Kyle Huey
e55769423b
Bug 648997: Prefix BlobBuilder harder. rs=sicking
2011-05-24 14:01:50 -07:00
Kyle Huey
601d68ae79
Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking.
...
Note that there is one key difference between this implementation and the spec. In this patch MozBlobBuilder.getBlob("content/type"); returns a Blob and clears the MozBlobBuilder. In the spec the BlobBuilder is not cleared. Thus,
let bb = new MozBlobBuilder();
MozBlobBuilder.append("foo");
let blob1 = MozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
MozBlobBuilder.append("bar");
let blob2 = MozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".
IMO, the spec behavior optimizes for the wrong case. BlobBuilder will probably be used mostly as a one-shot API. Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.
These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Kyle Huey
0018d52058
Backed out changeset b8404a1d3153
2011-05-20 17:00:13 -07:00
Kyle Huey
7da7ee7e4b
Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
...
Note that there is one key difference between this implementation and the spec. In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder. In the spec the BlobBuilder is not cleared. Thus,
let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".
IMO, the spec behavior optimizes for the wrong case. BlobBuilder will probably be used mostly as a one-shot API. Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.
These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Jonas Sicking
913afe451c
Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey
2011-04-13 14:34:36 -07:00
Jonas Sicking
e7e13b2084
Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner
2010-10-13 16:25:33 -07:00
Kyle Huey
40924b6ff2
Bug 594964: Fix moz-filedata principal handling so that files can be dragged and dropped. r=sicking a=blocker
2010-09-17 21:22:44 -04:00
Jonas Sicking
9f51f3abca
Bug 596385: Remove File.url since the spec now uses a different syntax. r=jst a=blocker
2010-09-17 16:08:03 -07:00
Kyle Huey
a846b63dba
Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
...
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f
Backed out changeset af1365b24066
2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c
Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec
2010-09-05 09:09:04 -04:00
Jonas Sicking
aeb9ba77c3
Bug 543870: Implement File.url. r=bz sr=jst
2010-03-02 23:51:09 -08:00
Jan Gerber
7af2bd90de
Bug 526996: Expose the full file path for nsIDOMFiles to extensions. r/sr=sicking
2010-02-02 16:53:32 -08:00
Jonas Sicking
5ec37643ae
Bug 527370: More File API renames. Also adds tests for the FileReader.readyState property. r=jst
2009-11-16 18:01:40 -08:00
Matin Movassate
4bb47ecb1e
Bug 507805: Support FileRequest API for reading Files. r/sr=sicking
2009-10-07 01:30:26 -07:00
dcamp@mozilla.com
67423b50ef
Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas
2007-07-24 21:29:47 -07:00