Jon Coppeard
1c2e7c6cbb
Bug 1463462 - Make gray marking incremental r=sfink
2018-12-06 16:27:22 -05:00
Jon Coppeard
6702997785
Bug 1463462 - Make weak map marking take account of the fact that black and gray marking can now be interleaved r=sfink
2018-12-06 16:27:22 -05:00
Jon Coppeard
7b638e857e
Bug 1463462 - Add a non-incremental gray marking phase before weakmap marking that marks from gray roots in the current sweep group r=sfink
2018-12-06 16:27:22 -05:00
Jon Coppeard
10a8c3775e
Bug 1463462 - Parition the mark stack into black and gray entries r=sfink
2018-12-06 16:27:22 -05:00
Jon Coppeard
5967a9aebd
Bug 1463462 - Change Zone marking states to MarkBlackOnly and MarkBlackAndGray r=sfink
2018-12-06 16:27:21 -05:00
Jon Coppeard
cf59672989
Bug 1514189 - Fix build bustage in opt builds with --enable-gczeal r=jandem
2018-12-14 13:47:09 +00:00
Cameron Kaiser
93af8a88e6
Bug 1512162: Followup: narrow non-stack-protected window for XPConnect on ppc64le. r=bhollley
2018-12-13 09:14:53 -08:00
André Bargull
dcf701b66b
Bug 1435829 - Part 6: Enable test262 tests for String.matchAll. r=jorendorff
2018-12-13 08:18:54 -08:00
André Bargull
03b1b37a9f
Bug 1435829 - Part 5: Update xray tests for RegExp.prototype. r=peterv
2018-12-13 08:18:45 -08:00
André Bargull
d2c7438664
Bug 1435829 - Part 4: Tests for String.prototype.matchAll. r=jorendorff
2018-12-13 08:18:36 -08:00
André Bargull
1d05ecdf51
Bug 1435829 - Part 3: Add fast path to share input RegExp object. r=jorendorff
2018-12-13 08:18:27 -08:00
André Bargull
5a2bb3bb25
Bug 1435829 - Part 2: Add inline support for RegExp-String-Iterator. r=jorendorff
2018-12-13 08:18:09 -08:00
André Bargull
564dc6c495
Bug 1435829 - Part 1: Implement String.prototype.matchAll proposal. r=jorendorff
2018-12-13 08:04:00 -08:00
Jon Coppeard
5ecc7e89e4
Bug 1513842 - Fix spelling mistake in GCRuntime::markUntilBudgetExhaused r=sfink
2018-12-14 10:57:30 +00:00
Sean Stangl
54ecbf0fbe
Bug 1511447 - Fix truncated division on ARM64. r=nbp
2018-11-30 11:10:00 +02:00
Boris Zbarsky
f259a2c4c7
Bug 1513213. Include the header we need for SprintfLiteral. r=nbp
2018-12-13 16:58:14 -05:00
André Bargull
97775e2d17
Bug 1513661 - Part 3: Update test262 exclusions. r=jorendorff
2018-12-12 11:34:56 -08:00
André Bargull
d0c5b77fff
Bug 1513661 - Part 2: Update test262 - Dec 12 2018 edition. r=jorendorff
2018-12-12 11:36:00 -08:00
André Bargull
d16ddd04ec
Bug 1513661 - Part 1: Update test262 importer to handle new feature flags. r=jorendorff
2018-12-12 11:36:41 -08:00
André Bargull
6c89dc30b2
Bug 1512989 - Part 2: Fix browser jstests failures. r=jorendorff
...
--HG--
rename : js/src/tests/ecma_6/Date/parse-from-tostring-methods.js => js/src/tests/non262/Date/parse-from-tostring-methods.js
2018-12-13 04:10:06 -08:00
Jon Coppeard
04b5512ebb
Bug 1513465 - Fix bug in weak map checking where values are atoms and we aren't collecting the atoms zone r=sfink
2018-12-13 10:38:59 +00:00
Cameron Kaiser
fd32b3a6fa
Bug 1512162: Disable stack protection for a portion of XPConnect on ppc64le due to a compiler bug. r=bholley
2018-12-12 18:52:08 -08:00
Cosmin Sabou
9835fdf72c
Merge mozilla-inbound to mozilla-central. a=merge
2018-12-13 05:56:48 +02:00
Jim Blandy
fe0bd15edb
Bug 1509420: Handle CCWs of functions properly in bindToAsyncStack shell function. r=jorendorff
...
In js.cpp, BindToAsyncStack used JSObject::isCallable to check the type of its
argument, and then BoundToAsyncStack (the native for the function returned)
assumed that it could call JSObject::as<JSFunction> on that value.
However, there are many things that are isCallable but not is<JSFunction>, two
examples being CCWs and function proxies.
Differential Revision: https://phabricator.services.mozilla.com/D14343
--HG--
extra : moz-landing-system : lando
2018-12-12 23:58:03 +00:00
Noemi Erli
e4cf4cb51a
Backed out 2 changesets (bug 1512989) for jsreftests failures
...
Backed out changeset 4c79e8192f9f (bug 1512989)
Backed out changeset 59a6d8169f80 (bug 1512989)
--HG--
rename : js/src/tests/non262/Date/parse-from-tostring-methods.js => js/src/tests/ecma_6/Date/parse-from-tostring-methods.js
2018-12-12 23:54:45 +02:00
André Bargull
c5507cac27
Bug 1512989 - Part 2: Fix browser jstests failures. r=jorendorff
...
--HG--
rename : js/src/tests/ecma_6/Date/parse-from-tostring-methods.js => js/src/tests/non262/Date/parse-from-tostring-methods.js
2018-12-12 08:45:47 -08:00
Jan de Mooij
eee34e39b3
Bug 1513277 part 2 - Use the scripted caller's global in mozJSComponentLoader::FindTargetObject. r=kmag
...
We have a few places where C++ calls ChromeUtils::Import directly.
I fixed these to pass the target object directly instead of an empty Optional<>.
Differential Revision: https://phabricator.services.mozilla.com/D14180
--HG--
extra : moz-landing-system : lando
2018-12-12 21:30:04 +00:00
Jan de Mooij
0326f72625
Bug 1513277 part 1 - Use the scripted caller's global in Cu.importGlobalProperties. r=kmag
...
With same-compartment-realms enabled we can call a cross-realm Cu.importGlobalProperties
and we ended up defining properties on the wrong global.
Differential Revision: https://phabricator.services.mozilla.com/D14179
--HG--
extra : moz-landing-system : lando
2018-12-12 21:03:18 +00:00
Cosmin Sabou
2c6cd998ef
Merge mozilla-central to autoland.
2018-12-13 00:01:46 +02:00
Jan de Mooij
ad8a2a6f1e
Bug 1512396 - Stop using exclusive expandos for xrays in system-principal sandboxes. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D14250
--HG--
extra : moz-landing-system : lando
2018-12-12 20:16:56 +00:00
Razvan Maries
ab8798913b
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-12-12 18:37:45 +02:00
Razvan Maries
cef33be47c
Merge mozilla-inbound to mozilla-central a=merge
2018-12-12 18:32:14 +02:00
Margareta Eliza Balazs
502c1c64cb
Backout 2c48655b33ca (Bug 1510607
) for causing regression in Bug 1513471, requested by allstars.chh
2018-12-12 18:24:47 +02:00
Jan de Mooij
b8a316aca4
Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
...
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.
The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.
Differential Revision: https://phabricator.services.mozilla.com/D14149
--HG--
extra : moz-landing-system : lando
2018-12-12 08:02:30 +00:00
Ciure Andrei
12adcc1edd
Backed out changeset a8dd01db9f92 (bug 1512260) requsted by owner (missing test) CLOSED TREE
2018-12-12 09:14:53 +02:00
Jan de Mooij
89da963b10
Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
...
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.
The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.
Differential Revision: https://phabricator.services.mozilla.com/D14149
--HG--
extra : moz-landing-system : lando
2018-12-12 06:39:38 +00:00
Coroiu Cristina
3160ddc1f0
Merge inbound to mozilla-central a=merge
2018-12-12 07:12:07 +02:00
Ted Campbell
8076a065aa
Bug 1513433 - Fix gc/Verifier.cpp in opt gczeal configuration. r=sfink
2018-12-11 21:26:11 -05:00
Coroiu Cristina
add0a6f476
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-12-11 23:59:59 +02:00
André Bargull
90e657e176
Bug 1506524: Handle LambdaArrow in MFunctionEnvironment::foldsTo. r=nbp
2018-12-05 03:15:51 -08:00
Jeff Walden
da31bae9c2
Bug 1492937 - Make mozIJSSubScriptLoader.loadSubScriptWithOptions interpret script data only as UTF-8, without any way to use another charset. r=kmag
...
--HG--
extra : rebase_source : ffcc1599cf68c007f875c99f20660961a447e966
2018-12-08 18:14:27 -05:00
Jeff Walden
e5132ffa4b
Bug 1492932 - Load JS components and modules as UTF-8, not as Latin-1. r=kmag
...
--HG--
extra : rebase_source : d09627655e9c72e674356e996f936ec65a80b6f0
2018-12-04 17:01:06 -05:00
Jeff Walden
4ad73b310e
Bug 1512036 - Turn off clang formatting when defining JIT_COMPILER_OPTIONS, because the Google-approved autoformatting is outright barbarous. r=jandem
...
--HG--
extra : rebase_source : 8080149fdf464d259428464990245e471b50de3f
2018-12-04 14:35:46 -05:00
Jon Coppeard
bab2b35542
Bug 1510145 - Refactor GC resets and ensure the store buffer is always empty when we start sweeping r=pbone a=dveditz
2018-12-03 17:17:34 -05:00
James Graham
8b93408a2f
Bug 1511399 - Fixup readable-stream jit tests for upstream changes, r=Ms2ger
...
Differential Revision: https://phabricator.services.mozilla.com/D14144
2018-12-11 15:50:09 +00:00
Mike Hommey
ab48d17e1a
Bug 1513134
- Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
...
Depends on D14125
Differential Revision: https://phabricator.services.mozilla.com/D14126
--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Narcis Beleuzu
208387527a
Merge mozilla-central to inbound. a=merge
2018-12-11 07:26:37 +02:00
Jason Orendorff
4499193a01
Backed out 2 changesets (bug 1488417, bug 1259822) for web compat issues.
...
Backed out changeset b58b7cd29a0b (bug 1488417)
Backed out changeset f0c6e521429c (bug 1259822)
--HG--
extra : rebase_source : 8c06ed65ee33eddad7131694beb9740abeca82cb
2018-12-10 10:47:47 -06:00
Boris Zbarsky
c734e83c48
Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot
2018-12-10 14:13:06 -05:00
Boris Zbarsky
d28b50be98
Bug 1511401 part 3. Inline the fast (no error) path of requireAtLeast. r=nbp
...
We don't want to pay the cost of a function call here in DOM bindings.
2018-12-10 14:13:05 -05:00