- Feb 27, 2023
-
-
Jan de Mooij authored
Differential Revision: https://phabricator.services.mozilla.com/D170909
-
- Feb 13, 2023
-
-
Iain Ireland authored
Differential Revision: https://phabricator.services.mozilla.com/D169274
-
- Feb 14, 2023
-
-
Steve Fink authored
Bug 1804493 - Remove the PDIR mechanism formerly used for Windows compatibility. r=jmaher, a=release
-
- Jan 27, 2023
-
-
Jon Coppeard authored
Bug 1811939 - Check whether module load request was already cancelled when a load fails r=smaug a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D167927
-
- Jan 24, 2023
-
-
Iain Ireland authored
Differential Revision: https://phabricator.services.mozilla.com/D167105
-
- Oct 18, 2022
-
-
Andrew Halberstadt authored
Differential Revision: https://phabricator.services.mozilla.com/D159517
-
- Dec 01, 2022
-
-
André Bargull authored
Differential Revision: https://phabricator.services.mozilla.com/D163570
-
- Nov 18, 2022
-
-
Jon Coppeard authored
Bug 1774111 - Check for already-completed request in ModuleLoaderBase::FinishDynamicImport r=yulia, a=RyanVM I've looked at this for a while and still don't know how this can happen but it does seem reasonable to add a check here that we haven't already completed the request. Depends on D162386 Differential Revision: https://phabricator.services.mozilla.com/D162387
-
Jon Coppeard authored
We're getting a bunch of crashes related to initializing AutoJSAPI from a JSObject pointer that turns out to be null. That overload of Init() gets the native global from the JSObject and since we already have a native global in the module loader we can use the overload that takes that instead. This overload does a null check so we will catch the case where the global is null (although that should also not happen). This might just move crashes elsewhere but it's a reasonable tidyup. Differential Revision: https://phabricator.services.mozilla.com/D162386
-
- Nov 19, 2022
-
-
Ryan Hunt authored
Differential Revision: https://phabricator.services.mozilla.com/D161087
-
- Nov 04, 2022
-
-
André Bargull authored
Bug 1798623: Update time zone data to tzdata2022f (ESR102 backport). r=#platform-i18n-reviewers, a=dmeehan Backport for ESR102. Differential Revision: https://phabricator.services.mozilla.com/D161009
-
- Nov 03, 2022
-
-
donal meehan authored
-
- Nov 02, 2022
-
-
André Bargull authored
Bug 1798623: Update time zone data to tzdata2022f (ESR102 backport). r=#platform-i18n-reviewers, a=dmeehan Backport for ESR102. Differential Revision: https://phabricator.services.mozilla.com/D161009
-
- Oct 26, 2022
-
-
Jon Coppeard authored
Bug 1796901 - Clear realm incremental marking state at the start of GC rather than at the end r=jandem, a=dmeehan GC can be aborted in several states and zones GCRuntime::finishCollection doesn't always get called. It's easier to clear this state in a signle place at the start. Differential Revision: https://phabricator.services.mozilla.com/D160056
-
- Oct 17, 2022
-
-
Jon Coppeard authored
When marking a BaseShape we mark its global, and we read the pointer to that global from the realm. If a realm doesn't have a live global we can sweep the realm but there may still be pointers to it in base shapes and these are left dangling. This happens when we hit OOM while creating a global during an incremental GC. The BaseShape survives because it was allocated after the start of the GC. The global itself is never successfully created and so the realm doesn't have a live global and is swept. In this case, we trigger UAF when we try to compact the heap and trace the base shape. The patch adds an extra case for keeping a realm alive if it was created during an incremental GC. This matches the way that GC things are not collected if they are allocated after the start of a GC. Differential Revision: https://phabricator.services.mozilla.com/D158022
-
- Oct 06, 2022
-
-
André Bargull authored
Differential Revision: https://phabricator.services.mozilla.com/D157735
-
- Sep 21, 2022
-
-
Jon Coppeard authored
It's pretty confusing that this name is sometimes used for local variables and sometimes refers to the current mark color. Depends on D157733 Differential Revision: https://phabricator.services.mozilla.com/D157734
-
Jon Coppeard authored
Delayed marking may push more (normal, non-delayed) marking work. We need to do this before switch mark color from black to gray since we cannot add gray marking work while there is black marking work on the stack. Differential Revision: https://phabricator.services.mozilla.com/D157733
-
- Sep 19, 2022
-
-
Mike Hommey authored
Differential Revision: https://phabricator.services.mozilla.com/D157612
-
- Sep 06, 2022
-
-
Olli Pettay authored
Differential Revision: https://phabricator.services.mozilla.com/D156605
-
- Jul 28, 2022
-
-
Ryan Hunt authored
Differential Revision: https://phabricator.services.mozilla.com/D152305
-
Ryan Hunt authored
Differential Revision: https://phabricator.services.mozilla.com/D152304
-
- Aug 19, 2022
-
-
André Bargull authored
Differential Revision: https://phabricator.services.mozilla.com/D155068
-
- Aug 03, 2022
-
-
Kris Maglione authored
Differential Revision: https://phabricator.services.mozilla.com/D152822
-
- Jul 28, 2022
-
-
Emilio Cobos Álvarez authored
We can't exit early if src.IsEmpty() if the stack is non-empty. Differential Revision: https://phabricator.services.mozilla.com/D152899
-
- Jul 25, 2022
-
-
Philip Chimento authored
The paradigm for DEBUG is that it is defined or not defined, not 1 or 0, so we have to use ifdef here. Otherwise we get a build error in embedded SpiderMonkey when DEBUG is not defined. Differential Revision: https://phabricator.services.mozilla.com/D152556
-
- Jul 23, 2022
-
-
Philip Chimento authored
When installing embedded SpiderMonkey, we need to install the generated header ProfilingCategoryList.h into /usr/include/mozjs-___/js/ because that's where the rest of the SpiderMonkey code expects to find it. It's not automatically installed already, because it's generated. Thanks to Arai for the suggestion of where to look. Differential Revision: https://phabricator.services.mozilla.com/D152549
-
- Jun 16, 2022
-
-
Jon Coppeard authored
Bug 1774249 - Fallibly generate unique ID for new prototypes in JSObject::setProtoUnchecked r=jandem a=pascalc Generate unique IDs for objects that are used as prototypes ahead of time, so we can do it fallibly. Differential Revision: https://phabricator.services.mozilla.com/D149356
-
- Jun 24, 2022
-
-
Jan de Mooij authored
Differential Revision: https://phabricator.services.mozilla.com/D150097
-
- Jun 07, 2022
-
-
Nika Layzell authored
Differential Revision: https://phabricator.services.mozilla.com/D147305
-
Jan de Mooij authored
Differential Revision: https://phabricator.services.mozilla.com/D147281
-
- Jun 08, 2022
-
-
Yury Delendik authored
The implementation was incomplete. It is possible to have the same control data field in the SimdShuffle. The ValueNumberer algorithm wrongfully merging non-congruent values. Compare all SimdShuffle fields, including opd, permuteOp, and shuffleOp. Differential Revision: https://phabricator.services.mozilla.com/D148569
-
- Jun 01, 2022
-
-
Nicolas B. Pierron authored
Bug 1770167 - Self-test switch from CLI to evaluate options, to follow the test suite. r=arai, a=test-only The CLI options seems good while testing manually, or while fuzzing, but seems to cause issues in CI which are hard to reproduce. None of our test cases are using the CLI options as of today, and instead they all rely on the evaluate function provided with a delazification mode. This patch changes the usage to fit what our test suite is actually using for testing instead of testing CLI options. Differential Revision: https://phabricator.services.mozilla.com/D147869
-
- May 27, 2022
-
-
Matthew Gaudet authored
Bug 1770609 - Update private name token position when starting processing a new scope to ensure good diagnostics r=arai Differential Revision: https://phabricator.services.mozilla.com/D147463
-
Jon Coppeard authored
This moves the parameter names and other data to a header file and adds a command line option --gc-param. Differential Revision: https://phabricator.services.mozilla.com/D147428
-
Lars T Hansen authored
Remove the gating in moz.configure that prevents the arm64 simulator from being compiled on an arm64 system. Avoid using the fjcvt instruction when running on arm64 hardware, since the simulator does not appear to support it while cpu detection does support it. (The alternative would be to implement the instruction on the simulator.) Differential Revision: https://phabricator.services.mozilla.com/D147199
-
- May 26, 2022
-
-
ThanHenderson authored
Differential Revision: https://phabricator.services.mozilla.com/D147453
-
Jon Coppeard authored
Differential Revision: https://phabricator.services.mozilla.com/D147427
-
Steve Fink authored
Bug 1769518 - Support Rooted<Result<V,E>> as long as V and E have GCPolicy<> defined for them. (Use IgnoreGCPolicy for whichever of them does not need tracing.) r=emilio,nbp,jonco Differential Revision: https://phabricator.services.mozilla.com/D146468
-
- May 25, 2022
-
-
Ryan Hunt authored
The JS-API for global constructor [1] has a step for throwing a TypeError when type is v128. We previously would just throw a TypeError if a default value was provided and type was v128. Two unused error messages are removed, and a comment for clarity on the error handling of ToValType is added. [1] https://webassembly.github.io/spec/js-api/index.html#globals Differential Revision: https://phabricator.services.mozilla.com/D147179
-