Commit Graph

45 Commits

Author SHA1 Message Date
wolfbeast f71108680b Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-22 23:48:40 +01:00
wolfbeast fb96b43b5f Issue #1322 - Part 1: Remove the DOM Promise guts.
This removes all the parts guarded by SPIDERMONKEY_PROMISE
2019-12-19 01:35:24 +01:00
André Bargull 899be7cedb Issue #1283 - Implement Promise.prototype.finally()
This resolves #1283.
2019-11-12 17:02:16 +01:00
Moonchild 21b3f62474 Merge pull request #1262 from athenian200/solaris-work
Support Modern Solaris
2019-11-02 14:37:22 +01:00
wolfbeast 24027f0df9 Issue #1257 - Part 3: Remove/update tests.
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.
2019-10-27 02:14:16 +01:00
wolfbeast c59c9682d3 Issue #1257 - Part1: Remove watch class-hook and proxy trap. 2019-10-26 16:19:04 +02:00
athenian200 afc187cc3f MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.
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.
2019-10-21 04:53:39 -05:00
Matt A. Tobin b51ff1f692 Don't treat format warnings as errors in xpconnect
GCC 9 compiler does not like the way we have it in XPCWrappedNative.cpp
2019-10-16 12:43:20 -04:00
Gaming4JC 332c1c28ac 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. 2019-07-18 22:38:33 -04:00
Gaming4JC 4a82fdad87 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. 2019-07-18 22:38:33 -04:00
Gaming4JC d7fbf2a9df 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and xpc::ErrorReport.mNotes. 2019-07-18 22:38:32 -04:00
Gaming4JC 2b0c366344 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. 2019-07-18 22:38:28 -04:00
Gaming4JC 0bc4652690 1333045 - Update Location object properties to current spec.
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
2019-07-18 22:38:20 -04:00
Moonchild be8d03cf14 Merge pull request #1091 from MoonchildProductions/remove-unboxed
Remove unboxed objects phase 1
2019-05-22 14:14:18 +00:00
wolfbeast 162e22a7de Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-19 23:11:17 +02:00
wolfbeast 3ded48cbe3 Unhook Unboxed Objects option 2019-05-13 15:45:32 +00:00
wolfbeast b9a8bca64d Remove some HPUX leftovers.
Resolves #185
2019-04-01 00:09:12 +02:00
wolfbeast 25779d371c Issue #187: Remove solaris conditional code. 2019-03-30 19:10:17 +01:00
wolfbeast 890bb438b0 Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of
impact is definitely desired.
2019-03-21 09:53:24 +01:00
wolfbeast 88db0108b1 Align instanceof with the final ES6 spec. 2019-02-07 10:39:40 +01:00
wolfbeast 1f9ab3a6e6 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-01-18 22:43:29 +01:00
adeshkp 5335681cd2 Telemetry: Remove stubs and related code 2019-01-12 06:20:31 -05:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
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.
2018-09-03 10:11:38 +02:00
wolfbeast ac25827a87 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast 755e3a48bf Remove unused XREShellData 2018-05-03 06:28:20 +02:00
wolfbeast 4613b91eca Remove sandbox ductwork conditional code. 2018-05-03 01:24:31 +02:00
wolfbeast 66aa6b595c Bug 1411415. 2018-04-29 13:39:11 +02:00
wolfbeast 077c630844 Remove support for making jemalloc4 the default memory allocator. 2018-04-27 13:56:47 +02:00
janekptacijarabaci 287ca21a65 moebius#242: XPCOM: exportFunction() - fix wrong .length attribute
https://github.com/MoonchildProductions/moebius/pull/243
2018-04-14 22:20:43 +02:00
wolfbeast 597fb9fbe3 Rebase on master 2018-04-11 17:45:54 +02:00
trav90 bbd4001cb2 Fix Value::isGCThing footgun, stop returning true for NullValue 2018-04-07 13:11:38 -05:00
wolfbeast 4e368f8199 Remove base conditional code for crash reporter and injector. 2018-03-30 08:50:58 +02:00
janekptacijarabaci d990d8ab2c Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_array_values_1 2018-03-27 15:57:18 +02:00
janekptacijarabaci a413cf7288 Update RegExp Xray code
Issue #77
2018-03-19 12:47:01 +01:00
wolfbeast faa5f0df26 Prototypes should be regular objects.
This resolves #76

Merged remote-tracking branch 'janek/js_error_ordinary-object_1'
2018-03-19 09:23:23 +01:00
janekptacijarabaci 4a4b951bfc Simplify Error Xray code 2018-03-17 16:59:17 +01:00
janekptacijarabaci af300f36f1 Bug 755821: Function() should use the parser's argument parsing code 2018-03-16 11:35:57 +01:00
Matt A. Tobin ba2c2e5301 Remove MOZ_MULET 2018-03-01 14:35:14 -05:00
janekptacijarabaci 0c36b27511 JS - support for Array.prototype.values() 2018-02-20 21:21:56 +01:00
wolfbeast b55f0e7f0d Update executable manifests. 2018-02-18 13:27:04 +01:00
wolfbeast ef794bb39b Don't allow proxies in the proto chain. 2018-02-08 19:22:33 +01:00
wolfbeast c247ba5ab8 Stop bypassing the Xray layer when walking the prototype chain. 2018-02-08 13:10:17 +01:00
wolfbeast 648b569a22 Remove SetGCZeal() stub and its callers. 2018-02-03 17:54:08 +01:00
wolfbeast 1cac08b9a2 Remove remaining conditional GCZeal code.
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)
2018-02-03 17:35:44 +01:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00