summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.h
Commit message (Collapse)AuthorAgeLines
* Issue #1624 - Make ion inlining optimizations a pref.Moonchild2020-12-03-0/+1
| | | | This also adds it to JS_SetGlobalJitCompilerOption()
* Revert "Issue #1691 - Part 1: Provide a way of associating a private value ↵Moonchild2020-11-28-19/+6
| | | | | | with a script" This reverts commit 15914ec5780e7867ab508a48a83311c56950f8a9.
* Issue #1691 - Part 1: Provide a way of associating a private value with a scriptMoonchild2020-11-27-6/+19
| | | | | | or module. This is a prerequisite for dynamic import
* Issue #1656 - Part 7: Nuke vim config lines in JSMoonchild2020-09-24-1/+0
|
* Issue #618 - Simplify module resolve hook to be a function pointerMoonchild2020-08-06-5/+7
| | | | | This is an ahead-of time port to try and address #1624. This is based on BZ 1461751 and Jon Coppeard's work in it.
* [js] Add some utility functions to get the current JS runtime.Moonchild2020-08-06-0/+3
|
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-07-08-6/+0
| | | | | | | | This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420
* Issue #618 - Remove context and heap-idle checkMoonchild2020-07-04-2/+2
| | | | | | | | | For checking if a module is in an error state and what the error is, it shouldn't matter if we are currently GC-ing or not. So we don't need to check for it, which removes the requirement to pass in the JS context (needed for AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd have to figure out what the context is at the module level just to satisfy this check.
* Issue #618 - Fix JSAPI additions to pass the JS context.Moonchild2020-07-03-2/+2
|
* Issue #618 - Match JSAPI names with the changes in ↵Moonchild2020-07-03-7/+6
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue #618 - Add APIs to query module record errorsMoonchild2020-07-03-0/+6
| | | | Ref: BZ 1388728
* Revert #1091 Remove unboxed object code phase 1 + extras.wolfbeast2020-02-23-12/+13
| | | | | | This should be the last code backout for this. merging this branch should get us back to the way we were (+ additional code changes for later changes) as fasr as the unused unboxed code is concerned.
* Revert #1137 - Remove unboxed arrayswolfbeast2020-02-23-0/+8
| | | | | - accounting for removal of watch()/unwatch() - updated for intermediate code changes.
* Bug 1331092 - Part 1: Add Symbol.asyncIterator.Gaming4JC2019-12-17-0/+1
| | | | Tag #1287
* Issue #1302 - Add self-hosted implementation for string regex .matchAllwolfbeast2019-11-26-1/+2
| | | | This resolves #1302.
* Issue #1284 - Implement /s (dotAll) for regular expressions, v2.wolfbeast2019-11-18-0/+1
| | | | Resolves #1284.
* Fix a crash in IndexedDB.wolfbeast2019-09-04-0/+3
|
* 1283712 - Part 2: Add JSEXN_NOTE.Gaming4JC2019-07-18-0/+1
|
* Make JSErrorNotes Single ThreadedGaming4JC2019-07-18-3/+3
|
* 1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and ↵Gaming4JC2019-07-18-34/+140
| | | | JSErrorReport.{notes,freeNotes}.
* Remove unboxed array context option and shell flag.wolfbeast2019-06-12-8/+0
|
* Unhook Unboxed Objects optionwolfbeast2019-05-13-13/+12
|
* Pref the use of unboxed plain objects in JS and disable by default.wolfbeast2019-03-21-12/+13
| | | | | This should be all that's needed for #1017, but verification of impact is definitely desired.
* Align `instanceof` with the final ES6 spec.wolfbeast2019-02-07-0/+7
|
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-29-1/+1
| | | | | | | | | | | | | | | This patch fixes two related issues. 1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to communicate with its callback during each compartment switch. This vector was designed to allow its contents to be stack-allocated but they turned out to be accidentally heap-allocated. 2. During each tick, the stopwatch fills a vector `recentGroups_`. This vector always started with minimal capacity and had to grow repeatedly as groups were added, causing repeated reallocations. This patch preallocates `recentGroups_` to have the same capacity as the previous tick. We expect that this should eventually reach a stable size that closely matches the actual needs of the process.
* Revert "Reduce number of allocations in AutoStopwatch"wolfbeast2019-01-29-1/+1
| | | | This reverts commit 3476c1d60ec29c5497123194acd7a9310b1023d2.
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-28-1/+1
| | | | | | | | | | | | | | | This patch fixes two related issues. 1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to communicate with its callback during each compartment switch. This vector was designed to allow its contents to be stack-allocated but they turned out to be accidentally heap-allocated. 2. During each tick, the stopwatch fills a vector `recentGroups_`. This vector always started with minimal capacity and had to grow repeatedly as groups were added, causing repeated reallocations. This patch preallocates `recentGroups_` to have the same capacity as the previous tick. We expect that this should eventually reach a stable size that closely matches the actual needs of the process.
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-4/+0
|
* Fix a longstanding IndexedDB correctness issue.wolfbeast2018-11-02-1/+5
| | | | Standards Compliance fix, port of Bug 1492737
* Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.wolfbeast2018-05-04-1/+1
|
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵janekptacijarabaci2018-03-27-6/+18
|\ | | | | | | js_array_values_1
| * Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)janekptacijarabaci2018-03-25-0/+9
| | | | | | | | | | | | | | | | | | | | Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop Issue #74
| * Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScriptjanekptacijarabaci2018-03-19-5/+1
| | | | | | | | | | | | Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
| * Use ordinary objects for Error prototypesjanekptacijarabaci2018-03-17-1/+2
| |
| * Close iterator after error in Promise.{all,race}janekptacijarabaci2018-03-15-0/+6
| | | | | | | | Issue #17
* | JS - support for Array.prototype.values()janekptacijarabaci2018-02-20-1/+9
|/
* Merge branch 'ported-upstream'wolfbeast2018-02-09-1/+1
|\
| * Make XDR decoding more robust.wolfbeast2018-02-08-1/+1
| |
* | Re-enable asm.js cachingwolfbeast2018-02-09-1/+0
|/
* Remove GCZeal: Base cleanupwolfbeast2018-02-03-13/+0
| | | | UXP repo issue #8
* Implement configuration pref for Generational Garbage Collection.wolfbeast2018-02-02-0/+3
| | | | | Pref: javascript.options.mem.gc_generational This resolves #20
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+6634