summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.h
Commit message (Collapse)AuthorAgeLines
* 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