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

23 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 6f38376be4 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D65493

--HG--
extra : moz-landing-system : lando
2020-03-16 13:47:02 +00:00
Bogdan Tara c60fd3fdd2 Backed out 4 changesets (bug 1613985) for causing build bustages CLOSED TREE
Backed out changeset fba0caac746c (bug 1613985)
Backed out changeset 8605d7a19107 (bug 1613985)
Backed out changeset 41e858fbf235 (bug 1613985)
Backed out changeset 847433cf1e0a (bug 1613985)
2020-03-16 12:41:41 +02:00
Simon Giesecke d77407a756 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D65493

--HG--
extra : moz-landing-system : lando
2020-03-16 09:38:17 +00:00
Jeff Walden bc8075d8e4 Bug 1582348 - Fill out the body of |SetUpWritableStreamDefaultController|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46403

--HG--
extra : moz-landing-system : lando
2019-09-28 03:16:16 +00:00
Dorel Luca 0027809f96 Backed out 6 changesets (bug 1582348) for build bustage in streams/WritableStreamOperations.cpp
Backed out changeset bb2e05de0638 (bug 1582348)
Backed out changeset c5b476005983 (bug 1582348)
Backed out changeset 0d8e86bb06d0 (bug 1582348)
Backed out changeset 7628d3f14514 (bug 1582348)
Backed out changeset 728075c80f4d (bug 1582348)
Backed out changeset 4ceb625e5eb0 (bug 1582348)
2019-09-28 04:22:58 +03:00
Jeff Walden 96ad82e40d Bug 1582348 - Fill out the body of |SetUpWritableStreamDefaultController|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46403

--HG--
extra : moz-landing-system : lando
2019-09-28 01:01:15 +00:00
Andrea Marchesini fc60290383 Bug 1557781 - Better life-time management for BodyStream/FetchStream - part 3 - JS::ReadableStreamReleaseCCObject, r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D36466

--HG--
extra : moz-landing-system : lando
2019-07-01 20:01:17 +00:00
Andrea Marchesini 69ac3c7729 Bug 1557781 - Better life-time management for BodyStream/FetchStream - part 1 - JSCLASS_PRIVATE_IS_NSISUPPORTS, r=jonco,jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D35528

--HG--
extra : moz-landing-system : lando
2019-07-01 19:59:33 +00:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01: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
Jason Orendorff 172aa066bc Bug 1507248 - Use virtual methods for external readable stream callbacks. r=baku,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11926

--HG--
extra : moz-landing-system : lando
2018-11-29 22:33:43 +00:00
Jason Orendorff a942af532c Bug 1506200 - Remove ReadableStream EmbeddingFlags. r=baku,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11903

--HG--
extra : moz-landing-system : lando
2018-11-28 22:20:55 +00:00
Jason Orendorff dfbf2f8e7b Bug 1507247 - jsapi.h should not #include "js/Stream.h". r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11929

--HG--
extra : moz-landing-system : lando
2018-11-22 17:34:39 +00:00
Jason Orendorff daac4d31de Bug 1503324 - Implement ReadableStreamCreateReadResult. r=arai
This prevents author code from using Object.prototype.then to observe or tamper
with a stream that is locked by another consumer.

Differential Revision: https://phabricator.services.mozilla.com/D12081

--HG--
extra : moz-landing-system : lando
2018-11-20 00:18:07 +00:00
Jan de Mooij bccfe7c569 Bug 1508065 - Change JS_PUBLIC_{API,DATA} and JS_FRIEND_{API,DATA} to be more like similar macros to avoid confusing clang-format. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12256

--HG--
extra : moz-landing-system : lando
2018-11-19 17:02:47 +00:00
Jason Orendorff c7526e1fa0 Bug 1506152 - Revisions to the comment at the top of Stream.h. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11484

--HG--
extra : moz-landing-system : lando
2018-11-09 22:22:42 +00:00
Jason Orendorff 31f4a64309 Bug 1504492 - Ensure arguments to readableStreamWriteIntoReadRequestCallback are same-compartment. r=tcampbell,baku
Differential Revision: https://phabricator.services.mozilla.com/D11403

--HG--
extra : moz-landing-system : lando
2018-11-09 22:18:41 +00:00
Jason Orendorff a787b6a30c Bug 1501387 - Handlify Streams.h and avoid using `const JSObject*`. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D9566

--HG--
extra : moz-landing-system : lando
2018-10-23 19:02:04 +00:00
Till Schneidereit ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E) 2cfba34b8d Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff
Streams have multiple parts that can be JS objects from different compartments.
For example, the [[reader]] internal slot of a stream can point to a reader
object in another compartment.

This patch makes the ReadableStream implementation robust against mixing and
matching stream-related objects and methods from different globals.

This also removes ReadableStreamBYOBReader and ReadableStreamBYOBRequest for
now, with a view toward enabling basic ReadableStream features by default in
bug 1389628.

Differential Revision: https://phabricator.services.mozilla.com/D8450

--HG--
extra : rebase_source : 71d73bed5bc82557efcb6b1ecb231275fd3e1189
extra : amend_source : de29f663b9929eb2858b23cc6f4e7ba97b23a28c
extra : source : f91eb962df6a06d5f51ad13caa2a4a9c2947f293
2018-10-11 14:18:43 -05:00
Till Schneidereit d2099cf317 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-29 16:47:30 +02:00
Sebastian Hengst 08625237bc Backed out changeset 2693a863dabd (bug 1272697) 2017-07-28 20:18:21 +02:00
Till Schneidereit acef1159b4 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-28 17:48:14 +02:00