Razvan Maries
99a5f987b3
Merge mozilla-inbound to mozilla-central a=merge
2018-11-27 19:32:31 +02:00
Iain Ireland
c1e04f8525
Bug 1509482: Add EnsureBallast calls r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D12954
--HG--
extra : moz-landing-system : lando
2018-11-27 10:36:18 +00:00
Jan de Mooij
6cab196785
Bug 1479394 - Clean up exception handling in bailout code and remove a MOZ_ASSERT_IF that triggered a UAF. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D12110
--HG--
extra : moz-landing-system : lando
2018-11-27 10:34:24 +00:00
Tom Schuster
f76708e1da
Bug 1496475 - JSAPI test. r=jorendorff
...
Depends on D12948
Differential Revision: https://phabricator.services.mozilla.com/D12949
--HG--
extra : moz-landing-system : lando
2018-11-27 11:38:40 +00:00
Tom Schuster
2838fc8779
Bug 1496475 - Object.defineProperty needs to be able to return false when trying to define a non-configurable property on a WindowProxy. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D12948
--HG--
extra : moz-landing-system : lando
2018-11-27 11:38:28 +00:00
Jan de Mooij
c1f51630a7
Bug 1509542 part 3 - Increase JSString max length from |2**28 - 1| to |2**30 - 2|. r=jwalden
...
We use |2**30 - 2| to ensure the size of a null-terminated char16_t buffer
still fits in int32_t.
The patch adds some tests. I tried to add similar tests for toUpperCase() and
toLocaleUpperCase("lt") (calling into ICU) but it makes the test very slow in debug builds.
Depends on D12878
Differential Revision: https://phabricator.services.mozilla.com/D12879
--HG--
extra : moz-landing-system : lando
2018-11-26 23:28:47 +00:00
Jan de Mooij
1b3be3e61d
Bug 1509542 part 2 - Fix two static_asserts in Intl code. r=jwalden
...
Depends on D12877
Differential Revision: https://phabricator.services.mozilla.com/D12878
--HG--
extra : moz-landing-system : lando
2018-11-26 23:26:18 +00:00
Jan de Mooij
d7bb82ecc1
Bug 1509542 part 1 - Fix Escape to not rely on result.length <= JSString::MAX_LENGTH. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D12877
--HG--
extra : moz-landing-system : lando
2018-11-26 23:23:41 +00:00
Razvan Maries
0859e6b10f
Merge mozilla-inbound to mozilla-central a=merge
2018-11-27 11:43:31 +02:00
Coroiu Cristina
a2f107533b
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-11-27 01:03:16 +02:00
Ted Campbell
546a173c3f
Bug 1506623 - Group spidermonkey source in make-source-package r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D11681
--HG--
extra : moz-landing-system : lando
2018-11-22 14:52:38 +00:00
Ted Campbell
29b95f12c1
Bug 1506623 - Group config dependencies in make-source-package r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D11678
--HG--
extra : moz-landing-system : lando
2018-11-22 02:31:20 +00:00
Ted Campbell
d7dc245852
Bug 1506623 - Group additional libraries in make-source-package r=sfink
...
Depends on D11676
Differential Revision: https://phabricator.services.mozilla.com/D11677
--HG--
extra : moz-landing-system : lando
2018-11-21 00:42:32 +00:00
Ted Campbell
644f632eaa
Bug 1506623 - Group top-level files in make-source-package r=sfink
...
Depends on D11675
Differential Revision: https://phabricator.services.mozilla.com/D11676
--HG--
extra : moz-landing-system : lando
2018-11-21 00:42:10 +00:00
Ted Campbell
cd45c60e05
Bug 1506623 - Group file generation tasks in make-source-package r=sfink
...
Depends on D11674
Differential Revision: https://phabricator.services.mozilla.com/D11675
--HG--
extra : moz-landing-system : lando
2018-11-21 00:41:29 +00:00
Ted Campbell
9eeca49c00
Bug 1506623 - Group cleanup tasks in make-source-package r=sfink
...
Depends on D11673
Differential Revision: https://phabricator.services.mozilla.com/D11674
--HG--
extra : moz-landing-system : lando
2018-11-21 00:40:46 +00:00
Ted Campbell
27893fe43c
Bug 1506623 - Use trailing slashes for cp in make-source-package r=sfink
...
To avoid surprises of |cp| copying into a directory vs copying to a new name,
be consistent about using a trailing slash on target directory.
Depends on D11672
Differential Revision: https://phabricator.services.mozilla.com/D11673
--HG--
extra : moz-landing-system : lando
2018-11-21 00:40:32 +00:00
Ted Campbell
ff9d188135
Bug 1506623 - Remove duplicate gyp copy from make-source-package r=sfink
...
The gyp directory is already copied by the third-party/python line earlier.
Depends on D11671
Differential Revision: https://phabricator.services.mozilla.com/D11672
--HG--
extra : moz-landing-system : lando
2018-11-21 00:39:10 +00:00
Ted Campbell
c62482cd48
Bug 1506623 - Maintain zlib dir structure in spidermonkey tarball r=sfink
...
Depends on D11669
Differential Revision: https://phabricator.services.mozilla.com/D11671
--HG--
extra : moz-landing-system : lando
2018-11-26 19:44:04 +00:00
Ted Campbell
20bb9919c4
Bug 1506623 - Use TOPSRCDIR consistently in make-source-package r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D11669
--HG--
extra : moz-landing-system : lando
2018-11-21 00:34:41 +00:00
Csoregi Natalia
234c6b75f2
Merge inbound to mozilla-central. a=merge
2018-11-26 18:17:37 +02:00
Jon Coppeard
f411fef495
Bug 1509824 - Remove Arena::markOverflow flag r=sfink
2018-11-26 13:34:01 +00:00
Jon Coppeard
5b8d42648b
Bug 1509824 - Add RAII class AutoSetMarkColor to handle changing the mark color r=sfink
2018-11-26 13:34:01 +00:00
Jon Coppeard
bc59d4ae3f
Bug 1509824 - Refactor ShouldTraceCrossCompartment to improve readability r=sfink
2018-11-26 13:34:01 +00:00
Jon Coppeard
d499d26219
Bug 1509824 - Check success of gray root buffering earlier r=sfink
2018-11-26 13:34:01 +00:00
Ms2ger
5cf4559400
Bug 1509774 - Add the requests library to the path in jstests; r=jandem
2018-11-26 12:59:19 +01:00
Jan de Mooij
fb6793b22d
Bug 1506968 - Fix an invalid assert in IonBuilder::improveThisTypesForCall. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D12638
--HG--
extra : moz-landing-system : lando
2018-11-26 11:03:41 +00:00
Jan de Mooij
216c8ec18f
Bug 1509537 - Simplify JSOP_INITHOMEOBJECT, emit JSOP_DUPAT to put the home object on top of the stack. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D12777
--HG--
extra : moz-landing-system : lando
2018-11-26 04:44:31 +00:00
Steve Fink
305e8cf30d
Bug 1426574 - Use fallible bitmap ops for AtomizeAndCopyChars, r=jonco
...
--HG--
extra : rebase_source : f42afb2795592121ad51f28fb2420ea9960aeb87
2018-11-21 12:07:12 -08:00
Yoshi Huang
5935dbee03
Bug 1485547
- Assert object in SlotsEdge::trace won't be in nursery. r=jonco
2018-11-23 17:42:08 +01:00
Benjamin Bouvier
48e5dcc6ad
Bug 1509848: Run clippy on Baldrdash; r=sunfish
...
--HG--
extra : rebase_source : 3b357452d5b37bfc3c2b228910ff8a1225d83eeb
extra : histedit_source : 92435106059b0ef3eb7fe2db0ed55fd2f92de2bd
2018-11-19 17:23:41 +01:00
Jon Coppeard
8df46c5d1c
Bug 1509322 - Relax some ChunkPool assertions which could make debug build GCs very slow r=pbone
2018-11-23 11:11:22 +00:00
Jason Orendorff
de94cffe43
Bug 1508346 - Add class ListObject. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D12326
--HG--
extra : moz-landing-system : lando
2018-11-23 03:00:37 +00:00
Jason Orendorff
f5eda35a8d
Bug 1507945 - ReadableStreamDefaultController.length and ReadableByteStreamController.length should be 0. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D12323
--HG--
extra : moz-landing-system : lando
2018-11-22 17:36:12 +00:00
Jason Orendorff
bec3a10400
Bug 1503399 - Weaken assertion to allow for stream.[[reader]] being a dead object. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D11930
--HG--
extra : moz-landing-system : lando
2018-11-22 17:35:12 +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
bb322c9d95
Bug 1483545 - Intl.RelativeTimeFormat: Treat -0 as indicating a past time. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D11127
--HG--
extra : moz-landing-system : lando
2018-11-22 17:34:12 +00:00
Jason Orendorff
dff1fdde62
Bug 1508813 - ReadableStream subclassing. r=arai
...
This modifies the four user-visible stream-related constructors that we
implement, that do not unconditionally throw, to support subclassing by
creating the new object with a prototype chain based on NewTarget.
The Strategy constructors are also updated to follow the spec in other minor
details.
Differential Revision: https://phabricator.services.mozilla.com/D12474
--HG--
extra : moz-landing-system : lando
2018-11-22 13:43:53 +00:00
Jason Orendorff
9550d17865
Bug 1507952 - Part 6: Implement Streams spec 3.3.3. CreateReadableStream. r=arai
...
This was previously approximated by ReadableStream::createDefaultStream.
Differential Revision: https://phabricator.services.mozilla.com/D12460
--HG--
extra : moz-landing-system : lando
2018-11-22 13:43:27 +00:00
Jason Orendorff
20768c8825
Bug 1507952 - Part 5: stream.tee() should not try to call a .start() method. r=arai
...
This fix is not particularly clean, but at least it's possible to see why the
if statement is there, now that the comments explain how we (imperfectly)
implement the {start,pull,cancel}Algorithm arguments.
Differential Revision: https://phabricator.services.mozilla.com/D12459
--HG--
extra : moz-landing-system : lando
2018-11-22 13:43:03 +00:00
Jason Orendorff
2f1b367c05
Bug 1507952 - Part 4: Update SetUpReadableStreamDefaultController to match the standard. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D12458
--HG--
extra : moz-landing-system : lando
2018-11-22 13:42:31 +00:00
Jason Orendorff
6c50785b0c
Bug 1507952 - Part 3: Move and rename CreateReadableStreamDefaultController. r=arai
...
The body of the function is unchanged.
Differential Revision: https://phabricator.services.mozilla.com/D12457
--HG--
extra : moz-landing-system : lando
2018-11-22 13:42:01 +00:00
Jason Orendorff
eed287d20a
Bug 1507952 - Part 2: Rewrite ReadableStream constructor to match the standard. r=arai
...
We were very close to compliance, but all the step numbers have changed and
some user-visible behavior around default arguments was a bit off.
Also, update step numbers in ValidateAndNormalizeHighWaterMark, implement
MakeSizeAlgorithmFromSizeFunction, and generally validate size/highWaterMark
arguments earlier.
Differential Revision: https://phabricator.services.mozilla.com/D12456
--HG--
extra : moz-landing-system : lando
2018-11-22 13:41:37 +00:00
Jason Orendorff
6c4c37739b
Bug 1507952 - Part 1: Rename ReadableStream::createStream() to create() and make it our implementation of 3.3.5. r=arai
...
The general approach of this stack is to update our code to the current
standard and let the bug fixes fall out of that, as a side effect.
Differential Revision: https://phabricator.services.mozilla.com/D12454
--HG--
extra : moz-landing-system : lando
2018-11-22 13:41:33 +00:00
Coroiu Cristina
71a5f7b873
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-11-21 23:48:40 +02:00
Coroiu Cristina
b27585482c
Merge inbound to mozilla-central a=merge
2018-11-21 23:43:13 +02:00
Jan de Mooij
e39a94637e
Bug 1509010 - Fix some clang-format comment issues in js/public. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D12535
--HG--
extra : moz-landing-system : lando
2018-11-21 18:12:57 +00:00
Jan de Mooij
dfefd7badd
Bug 1508176 - Some clang-format fixes for generated unicode files. r=tcampbell,sylvestre
...
* Add generated files to .clang-format-ignore.
* Remove the "clang-format off/on" annotations from generated files.
* Rename FOR_EACH_NON_BMP_CASE_FOLDING argument from macro to MACRO. See bug 1508180.
Differential Revision: https://phabricator.services.mozilla.com/D12536
--HG--
extra : moz-landing-system : lando
2018-11-21 18:30:44 +00:00
Jan de Mooij
2e550aef57
Bug 1508106
- Add {} to non-empty CASE/END_CASE blocks in Interpreter.cpp that don't have them yet to make clang-format work better. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D12533
--HG--
extra : moz-landing-system : lando
2018-11-21 16:30:20 +00:00
Benjamin Bouvier
ff7815bda2
Bug 1509848: Cleanups in Baldrdash code; r=lth
...
--HG--
extra : rebase_source : f7c874e54a8030926ab6a4d1ff7399c89f7116e3
extra : histedit_source : 69b1277d812b2203cecbfe1599068272b9cfcee2
2018-11-16 18:57:42 +01:00