Andrea Marchesini
7c8a14a29d
Bug 1590022 - Use union return value for FileReader.result, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D49876
--HG--
extra : moz-landing-system : lando
2019-10-22 11:53:18 +00:00
Bogdan Tara
8a63fc190b
Backed out changeset 617d82c93a06 (bug 1590022) for test_fileapi_other.html & test_fileapi_other_worker.html failures CLOSED TREE
2019-10-22 09:34:29 +03:00
Andrea Marchesini
e5b77e11f4
Bug 1590022 - Use union return value for FileReader.result, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D49876
--HG--
extra : moz-landing-system : lando
2019-10-22 05:18:03 +00:00
Jan de Mooij
6febd292ea
Bug 1586683 - Remove flat strings from JSAPI. r=jwalden,bzbarsky
...
We want to remove flat strings (JSFlatString). With this patch we only expose
linear strings (JSLinearString) to API consumers.
This is very mechanical for the most part, because code typically only cares
about linear strings and not the null-termination aspect.
CTypes's Library.cpp has some Windows-specific code where we relied on null-terminated
strings. This patch adds JS_CopyStringCharsZ for that use case.
Differential Revision: https://phabricator.services.mozilla.com/D48314
--HG--
extra : moz-landing-system : lando
2019-10-14 09:32:07 +00:00
Henri Sivonen
c193518677
Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D43957
--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Boris Zbarsky
1128b8dee8
Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D45394
--HG--
extra : moz-landing-system : lando
2019-09-12 11:01:17 +00:00
Jeff Walden
3f385ffa33
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries
65e4948ca0
Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
...
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden
ecb4e10bda
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Daniel Varga
153ba7a50e
Backed out changeset 6babd3b956aa (bug 1502403) for wpt leak at mozilla::dom::FileReader::ReadFileContent
2018-10-30 12:50:37 +02:00
Andrea Marchesini
c549894865
Bug 1502403 - FileReader should dispatch loadstart asynchronously, r=smaug
2018-10-30 07:57:31 +01:00
Nathan Froyd
9a4405226c
Bug 1499849 - make FileReader timers slightly more efficient; r=baku
...
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created. This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-17 19:57:35 -04:00
Andrea Marchesini
84d1287168
Bug 1452253 - FileReader should use js_free for js_pod_malloc allocations, r=smaug
2018-09-18 16:57:04 +02:00
Ehsan Akhgari
d19f79f590
Bug 1489812 - Part 1: Port nsIEditorUtils.slurpBlob() to C++; r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D5373
2018-09-10 08:42:26 -04:00
Henri Sivonen
5adc82bb21
Bug 1485029 - Use SIMD for PopulateBufferForBinaryString() in FileReader.cpp. r=smaug
...
MozReview-Commit-ID: Gwoj13lFJsJ
Differential Revision: https://phabricator.services.mozilla.com/D3889
--HG--
extra : moz-landing-system : lando
2018-08-22 13:59:43 +00:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Boris Zbarsky
23dc2febce
Bug 1452010 part 2. Remove nsIDOMDOMException members. r=qdot
...
MozReview-Commit-ID: Bp5ablEtcHA
2018-04-06 23:27:56 -04:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Andrea Marchesini
4500b075c6
Bug 1436784 - Use WorkerRef in FileReader, r=smaug
2018-03-13 21:17:06 +01:00
Andrea Marchesini
1126b00aed
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
67fac604a1
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Sebastian Hengst
14018b66f7
Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : d98d3d57b04e85bbee527549ecc271e5fc02e21e
2018-01-31 20:31:22 +02:00
Sebastian Hengst
e33e198739
Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
...
--HG--
extra : histedit_source : d11737083bf4383b50707e024539f45f174531f9
2018-01-31 20:30:45 +02:00
Andrea Marchesini
69f4700dfd
Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot
2018-01-31 16:45:20 +01:00
Andrea Marchesini
c16f42b917
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2018-01-31 16:45:20 +01:00
Andrea Marchesini
26352bfee1
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
a5bed23bd8
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
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
73712f7d05
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
a4830e4ab7
Bug 1409394 - Avoid extra buffer copy in FileReader, r=smaug
2017-10-17 20:38:03 +02:00
Sebastian Hengst
50123e0062
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
f15ed01e48
Bug 1409394 - Avoid extra buffer copy in FileReader, r=smaug
2017-10-17 20:38:03 +02:00
Andrea Marchesini
9d15f50373
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
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Sebastian Hengst
15b8e9a53b
Backed out changeset 097c44e15165 (bug 1371699)
2017-10-05 13:10:55 +02:00
Andrea Marchesini
1867437172
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Sebastian Hengst
e8e914baa7
Backed out changeset c033bdb24e14 (bug 1371699)
2017-10-03 16:55:02 +02:00
Andrea Marchesini
ff3b280260
Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj
2017-10-03 07:20:18 +02:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Andrea Marchesini
baa04d619a
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
86c5c52e0e
Bug 1402888 - Remove nsIStreamTransportService::createInputStream startOffset and readLimit params, r=smaug
2017-09-26 07:21:27 +02:00
Andrew McCreight
78807d8776
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
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Masatoshi Kimura
dec070e4cf
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
--HG--
extra : rebase_source : 64e1a47c9366a970f20ec459dde9b379a207e802
2017-08-07 02:28:52 +09:00
Sebastian Hengst
b3269bec34
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
58d29db70b
Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
...
MozReview-Commit-ID: E88DZK5sfwx
--HG--
extra : rebase_source : 63300d87c0496394d3f75cb76bc47c75d640d369
2017-08-07 02:28:52 +09:00
Bevis Tseng
95b18d794e
Bug 1382172
- Name nsITimerCallback instances in native implementation. r=billm
...
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00