Andrea Marchesini
bf6c1e6cb8
Bug 1436784 - Use WorkerRef in FileReader, r=smaug
2018-03-13 21:17:06 +01:00
Andrea Marchesini
61d97913ad
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
15f7c38968
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Sebastian Hengst
bc632b5fb9
Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
2018-01-31 20:31:22 +02:00
Sebastian Hengst
bf67a3d1d6
Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
2018-01-31 20:30:45 +02:00
Andrea Marchesini
cefbc1fd20
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
74224ec836
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
98ac9eb616
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
de5ddecee3
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
1f8fe8502d
Bug 1409394 - Avoid extra buffer copy in FileReader, r=smaug
2017-10-17 20:38:03 +02:00
Sebastian Hengst
7eab7f3b81
Backed out changeset ef64f4c98cc6 (bug 1409394) for failing browser-chrome's browser_save_link-perwindowpb.js and browser_libraryDrop.js on OS X and leaks detected by chrome test on Linux x64 asan. r=backout on a CLOSED TREE
2017-10-17 22:23:30 +02:00
Andrea Marchesini
6f3f2d1ea7
Bug 1409394 - Avoid extra buffer copy in FileReader, r=smaug
2017-10-17 20:38:03 +02:00
Andrea Marchesini
7fcfae22f1
Bug 1408397 - FileReader should not use a bufferStream together with an async inputStream, r=smaug
2017-10-17 13:17:51 +02:00
Kris Maglione
7cdbf75d48
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
2017-10-15 23:15:40 -07:00
Sebastian Hengst
72fe9c02a3
Backed out changeset 097c44e15165 (bug 1371699)
2017-10-05 13:10:55 +02:00
Andrea Marchesini
452ce73f77
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Sebastian Hengst
b5db322841
Backed out changeset c033bdb24e14 (bug 1371699)
2017-10-03 16:55:02 +02:00
Andrea Marchesini
c65fe02da3
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Andrea Marchesini
74bc0e9cfd
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Andrea Marchesini
792189dd57
Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
2017-08-06 20:47:00 +03:00
Andrea Marchesini
2daba7f880
Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug
2017-09-26 07:21:27 +02:00
Andrew McCreight
84ee98de3c
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
2017-08-29 16:02:48 -07:00
Masatoshi Kimura
26299618f5
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
2017-08-07 02:28:52 +09:00
Sebastian Hengst
80162c79f9
Backed out changeset 685802013f43 (bug 1389460) for OS X bustage at widget/cocoa/nsMenuX.mm:364: no member named 'DispatchDOMEvent' in 'nsIContent'. r=backout
2017-08-11 17:46:42 +02:00
Masatoshi Kimura
a0bcec8f88
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
2017-08-07 02:28:52 +09:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Andrea Marchesini
bf12d01926
Bug 1377589 - FileReader should create a pipe if the stream is blocking, r=smaug
2017-07-14 15:31:23 +02:00
Nicholas Nethercote
fcd4f4fa21
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
2017-06-30 19:05:41 -07:00
Masatoshi Kimura
bbe33d305d
Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
...
MozReview-Commit-ID: E0w8BsP1Rof
2017-06-16 21:11:03 +09:00
Bill McCloskey
284c3f3132
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Eric Rahm
36a6b51f90
Bug 1370070 - Avoid unnecessary string creation. r=smaug
...
MozReview-Commit-ID: LLQQrCpK630
2017-06-09 15:56:35 -07:00
Andrea Marchesini
af44f51ea3
Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-09 11:04:49 +02:00
Bevis Tseng
4a7bba2f86
Bug 1362941 - Set DocGroup-EventTarget from nsIGlobalObject to have dispatched runnables labeled. r=baku
...
FileReader::mEventTarget has been used for runnable dispatching internally.
Set mEventTarget to the DocGroup-versioned EventTarget to support runnable labeling when dispatching.
2017-05-08 17:16:20 +08:00
Phil Ringnalda
fb249f6ccf
Backed out 4 changesets (bug 1360807) for a 30% failure rate in test_ipcBlob_fileReaderSync.html on ASan e10s
...
Backed out changeset b7790c232791 (bug 1360807)
Backed out changeset 50d6d6733209 (bug 1360807)
Backed out changeset 6e84dfab90bf (bug 1360807)
Backed out changeset f25d7a76008e (bug 1360807)
MozReview-Commit-ID: DTkQJz5ZYMD
2017-05-05 12:34:57 -07:00
Andrea Marchesini
8a47d949c8
Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug
2017-05-05 14:45:14 +02:00
Andrea Marchesini
4765f60f29
Bug 1361443 - FileReader should support ReadSegments() not returning the whole size, r=smaug
2017-05-04 14:45:34 +02:00
Carsten "Tomcat" Book
bc14e341d4
Backed out changeset 4370dbfde05c (bug 1361443)
2017-05-04 16:39:22 +02:00
Andrea Marchesini
91b93c209a
Bug 1361443 - FileReader should support ReadSegments() not returning the whole size, r=smaug
2017-05-04 14:45:34 +02:00
Andrea Marchesini
b46eb0b57b
Bug 1353629 - PBlob refactoring - part 8 - FileReader should use nsIAsyncInputStream if available, r=smaug
...
Currently FileReader API uses a nsITransport. This is not needed if the
inputStream is a nsIAsyncInputStream already, and IPCBlobInputStream is always
a nsIAsyncInputStream.
Note that, we must create a bufferedStream in order to use ReadSegments in case
the remote inputStream, received by IPCBlobInputStream, is a FileInputStream.
This was not needed with nsITransport.
2017-04-24 12:09:40 +02:00
Andrea Marchesini
94107c0c25
Bug 1344466 - Fix error propagation in FileReader when reading from the inputStream, r=qdot
2017-03-07 08:44:54 +01:00
Andrea Marchesini
9bb3d5ba8d
Bug 1332602 - Propagate JS errors in FileReader, r=smaug
2017-01-24 12:12:15 +01:00
Andrea Marchesini
049e0eb7e8
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
f20633554c
Bug 1332592 - FileReader should dispatch onerror+onloadend when OOM occurs, r=smaug
2017-01-20 13:45:35 +01:00
Andrea Marchesini
c510de7377
Bug 1332587 - FileReader cannot allocate more than INT32_MAX for an ArrayBuffer, r=smaug
2017-01-20 12:33:18 +01:00
Andrea Marchesini
34627b8ffc
Bug 1331340 - FileReader should not continue when allocation fails, r=bkelly
2017-01-16 17:35:40 +01:00
Andrea Marchesini
0a5ade1332
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