summaryrefslogtreecommitdiffstats
path: root/js/xpconnect
Commit message (Collapse)AuthorAgeLines
* Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-3/+3
| | | | | | | | elements reactions; The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235. Tag UXP Issue #1344
* Issue #1118 - Part 6: Fix various tests that are no longer correct.wolfbeast2019-12-22-1/+1
| | | | | The behavior change of document.open() requires these tests to be changed to account for the new spec behavior.
* Issue #1322 - Part 1: Remove the DOM Promise guts.wolfbeast2019-12-19-11/+0
| | | | This removes all the parts guarded by SPIDERMONKEY_PROMISE
* Issue #1283 - Implement Promise.prototype.finally()André Bargull2019-11-12-1/+1
| | | | This resolves #1283.
* Merge pull request #1262 from athenian200/solaris-workMoonchild2019-11-02-0/+2
|\ | | | | Support Modern Solaris
| * MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.athenian2002019-10-21-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 3: Remove/update tests.wolfbeast2019-10-27-78/+2
| | | | | | | | | | | | | | This removes a ton of tests that are no longer relevant with (un)watch removed (e.g. testing stability/bugs in the watchpoint system itself which has never been the most stable), and updates others that would previously rely on watch/unwatch, so that they don't unexpectedly fail.
* | Issue #1257 - Part1: Remove watch class-hook and proxy trap.wolfbeast2019-10-26-2/+0
|/
* Don't treat format warnings as errors in xpconnectMatt A. Tobin2019-10-16-1/+1
| | | | GCC 9 compiler does not like the way we have it in XPCWrappedNative.cpp
* 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes.Gaming4JC2019-07-18-2/+12
|
* 1332245 - Move nsScriptError from js/xpconnect to dom/bindings.Gaming4JC2019-07-18-664/+9
|
* 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and ↵Gaming4JC2019-07-18-42/+142
| | | | xpc::ErrorReport.mNotes.
* 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and ↵Gaming4JC2019-07-18-1/+1
| | | | Wrapper::Renew.
* 1333045 - Update Location object properties to current spec.Gaming4JC2019-07-18-3/+0
| | | | | | | Specifically, three changes: 1) valueOf should be non-enumerable. 2) valueOf should be === to Object.prototype.valueOf. 3) There should be no toJSON.
* Merge pull request #1091 from MoonchildProductions/remove-unboxedMoonchild2019-05-22-4/+0
|\ | | | | Remove unboxed objects phase 1
| * Unhook Unboxed Objects optionwolfbeast2019-05-13-4/+0
| |
* | Implement array.flat and array.flatMapwolfbeast2019-05-19-1/+1
|/ | | | | | Self-hosted implementation that adds both functions and adds them to @@unscopables as specced in ES2019. Resolves #1095
* Remove some HPUX leftovers.wolfbeast2019-04-01-10/+1
| | | | Resolves #185
* Issue #187: Remove solaris conditional code.wolfbeast2019-03-30-2/+0
|
* Pref the use of unboxed plain objects in JS and disable by default.wolfbeast2019-03-21-0/+4
| | | | | This should be all that's needed for #1017, but verification of impact is definitely desired.
* Align `instanceof` with the final ES6 spec.wolfbeast2019-02-07-0/+49
|
* Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18-3/+0
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-24/+0
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-98/+1
| | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* Remove SPS profiler.wolfbeast2018-05-24-10/+0
| | | | | - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
* Remove unused XREShellDatawolfbeast2018-05-03-7/+2
|
* Remove sandbox ductwork conditional code.wolfbeast2018-05-03-36/+0
|
* Bug 1411415.wolfbeast2018-04-29-2/+5
|
* Remove support for making jemalloc4 the default memory allocator.wolfbeast2018-04-27-16/+0
|
* moebius#242: XPCOM: exportFunction() - fix wrong .length attributejanekptacijarabaci2018-04-14-1/+13
| | | | https://github.com/MoonchildProductions/moebius/pull/243
* Rebase on masterwolfbeast2018-04-11-4/+4
|\
| * Fix Value::isGCThing footgun, stop returning true for NullValuetrav902018-04-07-4/+4
| |
* | Remove base conditional code for crash reporter and injector.wolfbeast2018-03-30-32/+0
|/
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵janekptacijarabaci2018-03-27-39/+17
|\ | | | | | | js_array_values_1
| * Update RegExp Xray codejanekptacijarabaci2018-03-19-10/+11
| | | | | | | | Issue #77
| * Prototypes should be regular objects.wolfbeast2018-03-19-20/+3
| |\ | | | | | | | | | | | | | | | This resolves #76 Merged remote-tracking branch 'janek/js_error_ordinary-object_1'
| | * Simplify Error Xray codejanekptacijarabaci2018-03-17-20/+3
| | |
| * | Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16-1/+3
| |/
| * Remove MOZ_MULETMatt A. Tobin2018-03-01-8/+0
| |
* | JS - support for Array.prototype.values()janekptacijarabaci2018-02-20-3/+6
|/
* Update executable manifests.wolfbeast2018-02-18-1/+0
|
* Don't allow proxies in the proto chain.wolfbeast2018-02-08-0/+14
|
* Stop bypassing the Xray layer when walking the prototype chain.wolfbeast2018-02-08-15/+14
|
* Remove SetGCZeal() stub and its callers.wolfbeast2018-02-03-10/+1
|
* Remove remaining conditional GCZeal code.wolfbeast2018-02-03-31/+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)
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+86697