summaryrefslogtreecommitdiffstats
path: root/js/src/builtin
Commit message (Collapse)AuthorAgeLines
* 1320408 - Part 7: Remove JSContext* parameter from ↵Gaming4JC2019-07-18-1/+1
| | | | JSObject::shouldSplicePrototype.
* 1320408 - Part 6: Change JSObject::splicePrototype to static method.Gaming4JC2019-07-18-1/+1
|
* 1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method.Gaming4JC2019-07-18-1/+2
|
* 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.Gaming4JC2019-07-18-3/+3
|
* 1333143 - Self-host Object.prototype.valueOf.Gaming4JC2019-07-18-16/+7
|
* 903389 - Fix uses of ClassMethodIsNative.Gaming4JC2019-07-18-1/+1
|
* 1317375 - Implement "Template Literals Revision / Lifting Template Literal ↵Gaming4JC2019-07-18-1/+11
| | | | Restriction" ECMAScript proposal
* 1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant.Gaming4JC2019-07-18-58/+42
|
* 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.Gaming4JC2019-07-18-6/+1
|
* Merge pull request #1137 from MoonchildProductions/remove-unboxed-checkedMoonchild2019-06-19-1/+1
|\ | | | | Remove unboxed (checked branch)
| * Merge branch 'master' into remove-unboxedwolfbeast2019-06-08-6/+147
| |\
| * | Remove UnboxedArray code part 1wolfbeast2019-05-23-1/+1
| | |
* | | Update tzdata SpiderMonkey fileswolfbeast2019-06-15-1/+1
| | |
* | | Add Atomics.notify instead of Atomics.wake according to revised spec.wolfbeast2019-06-12-25/+24
| |/ |/| | | | | | | - Keep .wake as an alias until we're certain it can be removed. - Enable SAB memory
* | Implement Symbol​.prototype​.descriptionwolfbeast2019-05-20-0/+33
| | | | | | | | Resolves #1096
* | Implement array.flat and array.flatMapwolfbeast2019-05-19-0/+108
| | | | | | | | | | | | Self-hosted implementation that adds both functions and adds them to @@unscopables as specced in ES2019. Resolves #1095
* | Implement String.prototype.trimStart and trimEnd.wolfbeast2019-05-17-6/+6
|/ | | | | | This renames our internal function names because *Left and *Right might be deprecated and have to be removed later, making that trivial. Resolves #1089
* Add newline at end of file js/src/builtinwin7-72019-04-29-1/+1
|
* Improve dead compartment collection js/src/builtinwin7-72019-04-29-7/+5
|
* Merge branch 'master' into 816wolfbeast2019-04-05-4/+0
|\
| * Issue #187: Remove solaris conditional code.wolfbeast2019-03-30-4/+0
| |
* | Stage 1-3: Generate better source in Object.prototype.toSource.wolfbeast2019-02-02-87/+193
|/ | | | Tag #960.
* js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr'trav902018-08-10-1/+1
| | | | Silences a warning with GCC 8.
* Refactor structured clone JSAPI to prevent mismatched scopes.wolfbeast2018-06-07-11/+19
| | | | Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
* Change inlining of intrinsics.wolfbeast2018-06-07-16/+18
|
* Update tzdata in ICU data files to 2018e.André Bargull2018-06-07-1/+1
|
* Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.wolfbeast2018-05-04-26/+0
|
* Issue #325 Part 5: Remove non-Intl legacy code paths from js.wolfbeast2018-05-04-605/+1
|
* [regression] [follow up] Error: No such property on self-hosted object: ↵janekptacijarabaci2018-04-30-1/+125
| | | | | | "Intl_getDisplayNames" Issue #162 and #264
* Avoid calling slice in self-hosted code. DiDwolfbeast2018-04-25-3/+21
| | | | This time without unrelated/incomplete pluralforms junk.
* Revert "Add pluralrules to JS Intl"wolfbeast2018-04-25-492/+134
| | | | This reverts commit 7686bceecff17f91758c8c6547a78e71ff3a8c38.
* Bug 1449574 - Update tzdata in ICU data files to 2018d. r=Waldo, a=RyanVMAndré Bargull2018-04-19-1/+1
|
* Merge branch 'html_input_datetime_1'wolfbeast2018-04-15-0/+435
|\ | | | | | | This is almost everything needed for #162.
| * Bug 1287677 - Add mozIntl.getDisplayNames APIjanekptacijarabaci2018-03-30-0/+435
| |
* | Merge pull request #94 from trav90/js-workMoonchild2018-04-08-1/+1
|\ \ | | | | | | Fix Value::isGCThing footgun, stop returning true for NullValue
| * | Fix Value::isGCThing footgun, stop returning true for NullValuetrav902018-04-07-1/+1
| |/
* / Fix incorrect assertions in js/src/builtin/trav902018-04-06-2/+2
|/ | | | Prevents GCC 7 build warning spam.
* Merge remote-tracking branch 'janek/js_regexp_lastindex_1'wolfbeast2018-03-27-78/+104
|\
| * Bug 1317397: Only set lastIndex for global or sticky RegExps in ↵janekptacijarabaci2018-03-24-29/+75
| | | | | | | | RegExpBuiltinExec per ES2017
| * Bug 1343375: Update RegExp.prototype.replace and .match to call ↵janekptacijarabaci2018-03-24-51/+31
| | | | | | | | | | | | ToLength(lastIndex) for non-global RegExp and handle recompilations [Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
* | Bug 1147371: Convert self-hosted code that need to call IteratorClose to use ↵janekptacijarabaci2018-03-24-192/+27
| | | | | | | | | | | | for-of Issue #74
* | 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.