Граф коммитов

276 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini ce13019950 Bug 1344957 - Enabling File.createFromNsIFile and File.createFromFileName only for testing and file-content-process, r=ehsan, r=bobowen 2017-03-21 11:11:06 +01:00
Andrea Marchesini 2e9d67bae0 Bug 1347557 - Move 2 static methods about the IPC serialization of streams into an helper class, r=qdot 2017-03-21 07:47:25 +01:00
Ehsan Akhgari e414903d6e Bug 1346987 - Part 2: Stop using the PContent::Msg_OpenAnonymousTemporaryFile sync IPC message for blob storage; r=baku 2017-03-19 01:42:01 -04:00
Phil Ringnalda dd44ef2360 Backed out 3 changesets (bug 1346987) for media, blob, and temporaryfile failures
CLOSED TREE

Backed out changeset d24fa1b4553b (bug 1346987)
Backed out changeset 34701b9ed4ba (bug 1346987)
Backed out changeset f24f4fdc5cc8 (bug 1346987)
2017-03-14 20:03:31 -07:00
Ehsan Akhgari 75b956ac5f Bug 1346987 - Part 2: Stop using the PContent::Msg_OpenAnonymousTemporaryFile sync IPC message for blob storage; r=baku 2017-03-14 20:20:57 -04:00
Andrea Marchesini f9cbf66dfd Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini 6ced9f8a25 Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Andrea Marchesini ea587b3c8c Bug 1344466 - Fix error propagation in FileReader when reading from the inputStream, r=qdot 2017-03-07 08:44:54 +01:00
Andrea Marchesini 4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Joel Maher f297f17181 Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Andrea Marchesini 43fa40bb63 Bug 1341536 - Get rid of duplicate functions in fileutils.js, r=qdot 2017-02-23 03:24:54 +01:00
Andrea Marchesini 68feb209f4 Bug 1341327 - Add assertions to be sure that FileBlobImpls are created on the parent process only, r=smaug 2017-02-23 03:23:51 +01:00
Andrea Marchesini e87ad16573 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 09:41:51 +01:00
Iris Hsiao f9bdfe10bb Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
Backed out changeset 7c0ec55b44dc (bug 1339710)
Backed out changeset cbb4e1c2aada (bug 1339710)
Backed out changeset c685dca493f5 (bug 1339710)
Backed out changeset 4761a15d45fd (bug 1339710)
Backed out changeset 7561692c1bc7 (bug 1339710)
2017-02-22 16:19:50 +08:00
Andrea Marchesini 190bf147a2 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 07:56:29 +01:00
Sebastian Hengst 346d08ea1b Backed out changeset c32c74847eb6 (bug 1335539) 2017-02-21 17:53:45 +01:00
Andrea Marchesini 0963d18874 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 15:04:47 +01:00
Carsten "Tomcat" Book 2ccec565b5 Backed out changeset 952f0a7824ad (bug 1335539) 2017-02-21 10:30:06 +01:00
Andrea Marchesini d9d218c052 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-02-21 07:51:35 +01:00
Wes Kocher 8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Andrea Marchesini 05e9d7e494 Bug 1331854 - Create the PBlob actor on current thread if doesn't exist yet, r=bkelly 2017-02-17 15:40:57 +01:00
Andrea Marchesini 3043646e52 Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Andrea Marchesini b9332b43d8 Bug 1337722 - Use BufferSource in webIDL - part 2, r=me CLOSED TREE 2017-02-09 10:57:15 +01:00
Andrea Marchesini 3fdb9b2063 Bug 1337765 - Fix a compilation issue in FileCreatorHelper, r=qdot, f=jbeich 2017-02-09 10:40:46 +01:00
Andrea Marchesini 788b5eca61 Bug 1337016 - XHR should create a Blob in the parent process when run from a file:// URL, r=smaug 2017-02-08 14:34:42 +01:00
Andrea Marchesini 615347eb79 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug 2017-02-08 10:19:01 +01:00
Andrea Marchesini 8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Andrea Marchesini fc26940d57 Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug 2017-02-06 11:07:54 +01:00
Boris Zbarsky e641fa9f96 Bug 1335368 part 13. Remove the use of IsCallerChrome in dom/file. r=baku 2017-02-01 15:43:37 -05:00
Sebastian Hengst ccd3fc9950 Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout 2017-02-01 19:08:22 +01:00
Sebastian Hengst 2e0afbcbee Backed out changeset 2ad6a2821772 (bug 1335536) 2017-02-01 19:07:36 +01:00
Andrea Marchesini ff2e202053 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug 2017-02-01 17:13:56 +01:00
Andrea Marchesini 3b9eaa7785 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-01 17:13:08 +01:00
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Andrea Marchesini 102c3cb18f Bug 1332602 - Propagate JS errors in FileReader, r=smaug 2017-01-24 12:12:15 +01:00
Andrea Marchesini 6cda1f7a20 Bug 1333077 - Remove 'temporary' attribute in File, r=qdot 2017-01-24 12:11:07 +01:00
Andrea Marchesini c2381922c7 Bug 1333058 - Get rid of MultipartBlobImpl::InitializeChromeFile, r=qdot 2017-01-24 12:10:45 +01:00
Andrea Marchesini 0cfe171374 Bug 1332602 - ArrayBufferObject::create should throw RangeError if the input is bigger than INT32_MAX, r=evilpie 2017-01-20 18:23:33 +01:00
Andrea Marchesini bbc1165e2a Bug 1332592 - FileReader should dispatch onerror+onloadend when OOM occurs, r=smaug 2017-01-20 13:45:35 +01:00
Andrea Marchesini eabdc0eafb Bug 1332587 - FileReader cannot allocate more than INT32_MAX for an ArrayBuffer, r=smaug 2017-01-20 12:33:18 +01:00
Carsten "Tomcat" Book 09947a5e8c Backed out changeset 25c65ac95fc5 (bug 1331854) for test_blob_worker_xhr_read.html | Test timed outs
--HG--
extra : rebase_source : 483615c23da5c9a4a1fb5ac57f843a811b60c896
2017-01-20 09:27:39 +01:00
Andrea Marchesini e9c76776ac Bug 1331854 - Spin the event loop instead blocking in RemoteInputStream::ReallyBlockAndWaitForStream, r=bkelly 2017-01-20 08:26:14 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrea Marchesini a9cfad0afe Bug 1331340 - FileReader should not continue when allocation fails, r=bkelly 2017-01-16 17:35:40 +01:00
Andrea Marchesini 01a84f3fd1 Bug 1330928 - Get rid of nsMediaSourceProtocolHandler, r=qdot 2017-01-16 10:36:29 +01:00
Andrea Marchesini d717bea267 Bug 1330273 - Add some security checks about the use of the string buffer in FileReader, r=bkelly 2017-01-12 17:45:52 +01:00
Andrea Marchesini cb3a2917b1 Bug 1294533 - FileReader should start reading data only after allocating the buffer, r=bkelly 2017-01-05 17:07:54 +01:00
Andrea Marchesini 94547f20bb Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly 2017-01-05 10:05:32 +01:00