summaryrefslogtreecommitdiffstats
path: root/js/src/builtin
Commit message (Collapse)AuthorAgeLines
* Bug 1317376 - Part 2: Detect Promise self-resolution when resolving through ↵Gaming4JC2019-12-17-18/+14
| | | | | | the Promise resolving fast path. Tag #1287
* Bug 1317376 - Part 1: Remove unreachable code and remnants from the ↵Gaming4JC2019-12-17-52/+41
| | | | | | self-hosted implementation. Tag #1287
* Issue #1302 followup - Add spec-compliance checks/errorswolfbeast2019-11-30-2/+5
| | | | | | - Check for undefined/null regex flags (because...) - Make it throw a typeerror instead of syntax error on non-global - Generalize JS error messages for these checks.
* Issue #1302 - Add self-hosted implementation for string regex .matchAllwolfbeast2019-11-26-0/+165
| | | | This resolves #1302.
* Issue #1284 - Update js/src/builtin/TestingFunctions.cpp for /s (dotAll) ↵Gaming4JC2019-11-18-0/+1
| | | | | | regular expression changes This fixes debug builds
* Issue #1284 - Implement /s (dotAll) for regular expressions, v2.wolfbeast2019-11-18-1/+40
| | | | Resolves #1284.
* Revert "Issue #1284 - Implement /s (dotAll) for regular expressions."wolfbeast2019-11-18-32/+0
| | | | This reverts commit f31b04a303607cd82757e7c4f60bb536658c8a30.
* Issue #1284 - Implement /s (dotAll) for regular expressions.wolfbeast2019-11-18-0/+32
| | | | Resolves #1284.
* Issue #1279 - Update js/src/builtin/TestingFunctions.cpp for regex ↵Gaming4JC2019-11-14-3/+3
| | | | | | lookbehind changes This fixes debug builds
* Issue #1283 - Implement Promise.prototype.finally()André Bargull2019-11-12-0/+85
| | | | This resolves #1283.
* Merge branch 'master' into js-moduleswolfbeast2019-11-10-396/+634
|\ | | | | | | | | # Conflicts: # modules/libpref/init/all.js
| * Merge pull request #1262 from athenian200/solaris-workMoonchild2019-11-02-1/+4
| |\ | | | | | | Support Modern Solaris
| | * MoonchildProductions#1251 - Part 27: Fix ifdef style.athenian2002019-10-21-1/+1
| | | | | | | | | | | | This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
| | * MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.athenian2002019-10-21-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before. 1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there. 2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did. 3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code. 4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris. 5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
| * | Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class.wolfbeast2019-10-27-95/+0
| | |
| * | Issue #1257 - Part1: Remove watch class-hook and proxy trap.wolfbeast2019-10-26-1/+0
| |/
| * No issue - Update TZ data to 2019cwolfbeast2019-10-02-1/+1
| |
| * Fix order of OwnProperty check for rest parameters.Moonchild2019-07-19-1/+1
| | | | | | This was a small mistake when converting from the `hasOwn()` function format (swapped parameters). Fixing this properly makes rest parameters exclude the parameters that are defined (which is the whole point of `...rest`
| * 1339395 - Part 3: Add BytecodeEmitter support for object rest and spread ↵Gaming4JC2019-07-18-0/+63
| | | | | | | | properties.
| * 1339395 - Part 2: Add parser support for rest and spread object properties.Gaming4JC2019-07-18-0/+12
| |
| * 1283712 - Part 9: Add getErrorNotes testing function to extract error notes ↵Gaming4JC2019-07-18-0/+30
| | | | | | | | from exception.
| * 1320408 - Part 23: Change ↵Gaming4JC2019-07-18-5/+5
| | | | | | | | RegExpObject::{getShared,createShared,dumpBytecode} to static method.
| * 1320408 - Part 21: Change PromiseObject::onSettled to static method.Gaming4JC2019-07-18-5/+4
| |
| * 1320408 - Part 20: Change PromiseObject::resolve and PromiseObject::reject ↵Gaming4JC2019-07-18-12/+14
| | | | | | | | to static method.
| * 1320408 - Part 19: Remove JSContext* parameter from ↵Gaming4JC2019-07-18-2/+2
| | | | | | | | ModuleObject::fixEnvironmentsAfterCompartmentMerge.
| * 1320408 - Part 14: Change some GlobalObject methods to static method.Gaming4JC2019-07-18-58/+62
| |
| * 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.
* | Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵janekptacijarabaci2018-07-06-915/+514
|\| | | | | | | _testBranch_test_1