summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Clear the module map when changing a Document's global and addMoonchild2020-09-08-3/+3
| | | | release build assertions for mismatching compartments.
* Issue #618 - Simplify module resolve hook to be a function pointerMoonchild2020-08-30-10/+5
| | | | | 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-30-0/+5
|
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-08-30-12/+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-10-6/+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-10-4/+6
|
* Issue #618 - Match JSAPI names with the changes in ↵Moonchild2020-07-10-2/+2
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue #618 - Add APIs to query module record errorsMoonchild2020-07-10-0/+14
| | | | Ref: BZ 1388728
* Issue #618 - Align module instantiation/errors with the updated spec.Moonchild2020-07-10-2/+2
| | | | | Store and re-throw module instantiation and evaluation errors. Ref: BZ 1374239, 1394492
* Issue #1570 - Implement globalThiswolfbeast2020-06-01-2/+7
| | | | This resolves #1570
* Revert #1091 Remove unboxed object code phase 1 + extras.wolfbeast2020-04-14-0/+3
| | | | | | 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.
* Bug 1331092 - Part 2: Implement Async Generator except yield*.Gaming4JC2019-12-17-0/+6
| | | | Tag #1287
* Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class.wolfbeast2019-10-27-1/+0
|
* Fix a crash in IndexedDB.wolfbeast2019-09-04-0/+22
|
* Issue #1195 - Fix errant use of JSContext in ErrorNotesGaming4JC2019-07-21-4/+4
| | | | We want to ensure that ErrorNotes stays on the main thread to prevent a race condition that was introduced in 1283712 - Part 1. This fixes #1195.
* Make JSErrorNotes Single ThreadedGaming4JC2019-07-18-6/+6
|
* 1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and ↵Gaming4JC2019-07-18-3/+128
| | | | JSErrorReport.{notes,freeNotes}.
* 1320408 - Part 23: Change ↵Gaming4JC2019-07-18-2/+2
| | | | RegExpObject::{getShared,createShared,dumpBytecode} to static method.
* 1320408 - Part 20: Change PromiseObject::resolve and PromiseObject::reject ↵Gaming4JC2019-07-18-2/+2
| | | | to static method.
* 1320408 - Part 14: Change some GlobalObject methods to static method.Gaming4JC2019-07-18-12/+13
|
* 1320408 - Part 12: Change JSScript::sourceData to static method.Gaming4JC2019-07-18-2/+3
|
* 1320408 - Part 9: Change JSObject::setFlags and depending methods to static ↵Gaming4JC2019-07-18-1/+1
| | | | method.
* 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.Gaming4JC2019-07-18-3/+3
|
* 1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant.Gaming4JC2019-07-18-2/+2
|
* Unhook Unboxed Objects optionwolfbeast2019-05-13-3/+0
|
* Merge branch 'master' into 816wolfbeast2019-04-05-0/+3
|\
| * Pref the use of unboxed plain objects in JS and disable by default.wolfbeast2019-03-21-0/+3
| | | | | | | | | | This should be all that's needed for #1017, but verification of impact is definitely desired.
* | Stage 1-1: Implement Function.prototype.toString revision proposal.wolfbeast2019-02-02-11/+35
|/ | | | Tag #960
* Fix a longstanding IndexedDB correctness issue.wolfbeast2018-11-02-3/+15
| | | | Standards Compliance fix, port of Bug 1492737
* Part 1: Implement ES6 function name property semanticsjanekptacijarabaci2018-03-19-3/+3
| | | | Issue #78
* Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScriptjanekptacijarabaci2018-03-19-4/+1
| | | | | | Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
* Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16-14/+56
|
* Remove remaining conditional GCZeal code.wolfbeast2018-02-03-20/+0
| | | | | | | | | | | | | | | Creates stubs: jsgc.h/cpp VerifyBarriers() stub MaybeVerifyBarriers() stub GCRuntime::computeNonIncrementalMarkingForValidation() stub GCRuntime::validateIncrementalMarking() stub GCRuntime::finishMarkingValidation() stub GCRuntime::pushZealSelectedObjects() stub bool useZeal? GCRuntime::runDebugGC() stub XPConnect: nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK)
* Implement configuration pref for Generational Garbage Collection.wolfbeast2018-02-02-0/+11
| | | | | Pref: javascript.options.mem.gc_generational This resolves #20
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+6867