summaryrefslogtreecommitdiffstats
path: root/js/src/builtin
Commit message (Collapse)AuthorAgeLines
* Bug 1147371: Implement IteratorClose for for-ofjanekptacijarabaci2018-03-24-2/+2
| | | | Issue #74
* Add support for the function `name` property.wolfbeast2018-03-20-4/+4
|\ | | | | | | | | | | This resolves #78. Merged remote-tracking branch 'janek/js_function_name_1'
| * Part 1: Implement ES6 function name property semanticsjanekptacijarabaci2018-03-19-2/+2
| | | | | | | | Issue #78
| * Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScriptjanekptacijarabaci2018-03-19-2/+2
| | | | | | | | | | | | Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
* | Use ordinary object for RegExp prototypejanekptacijarabaci2018-03-19-56/+84
|/ | | | Issue #77
* Support ES6's "new function" constructwolfbeast2018-03-18-36/+66
|\ | | | | | | | | | | This resolves #75. Merged remote-tracking branch 'janek/js_function_new_1'
| * Bug 1318017: Call GetPrototypeFromConstructor for generator/async function ↵janekptacijarabaci2018-03-16-36/+66
| | | | | | | | | | | | | | and Intl constructors [Depends on] Bug 755821: Function() should use the parser's argument parsing code
* | Merge branch 'ported-upstream'wolfbeast2018-03-18-40/+35
|\ \ | |/ |/|
| * Handle same-compartment wrappers in TypedArray methods.wolfbeast2018-03-17-40/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CallTypedArrayMethodIfWrapped (and the CallNonGeneric machinery throughout the engine) unwraps the `this` argument, but the other arguments are only rewrapped for the target compartment. The pattern being used before this patch to get the length of a TypedArray or possible TypedArray wrapper is: `callFunction(CallTypedArrayMethodIfWrapped, O, O, "TypedArrayLength")` The first `O` is the `this` value and the second is an argument. If `O` is a cross-compartment wrapper, this works fine. The first `O` is unwrapped, revealing the actual TypedArray object; the second `O` is rewrapped for that TypedArray's compartment, producing the same TypedArray. However, if `O` is a same-compartment wrapper, this doesn't work. The first `O` is unwrapped, revealing the actual TypedArray object in the same compartment; rewrapping the other `O` does nothing to it, since it is already an object in the target compartment. Thus TypedArrayLength receives a `this` value that's an unwrapped TypedArray, but an argument that is still a wrapper. The fix is to have CallTypedArrayMethodIfWrapped targets only expect `this` to be an unwrapped TypedArray.
* | Close iterator after error in Promise.{all,race}janekptacijarabaci2018-03-15-17/+36
| | | | | | | | Issue #17
* | Close iterator after error in Array.fromjanekptacijarabaci2018-03-15-14/+32
| | | | | | | | Issue #17
* | Close iterator after error in {Map,Set,WeakMap,WeakSet} constructorsjanekptacijarabaci2018-03-15-6/+53
|/ | | | Issue #17
* Bug 1430761 - Update tzdata in ICU data files to 2018c. r=Waldo, a=lizzardAndré Bargull2018-03-14-1/+1
| | | | | --HG-- extra : rebase_source : cb9ac8a678b6f565091f6d7733b6cd86afde0da7
* Add pluralrules to JS Intlwolfbeast2018-02-07-134/+492
|
* Remove SetGCZeal() stub and its callers.wolfbeast2018-02-03-2/+0
|
* Remove "has-gczeal" property.wolfbeast2018-02-03-4/+0
|
* Remove GCZeal: Base cleanupwolfbeast2018-02-03-202/+0
| | | | UXP repo issue #8
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+46597