summaryrefslogtreecommitdiff
path: root/js/xpconnect/src
Commit message (Collapse)AuthorAge
* Issue #2197 - Follow-up: Remove GC debug assertion on sandboxFranklinDM2023-04-08
| | | | There's no way to access GC from here.
* Issue #2197 - Part 4: Expose structuredClone in SandboxFranklinDM2023-04-07
| | | | Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1734320
* Issue #80 - Fix deprot in js/xpconnect.Job Bautista2023-03-12
| | | | | I think we never deunified js/xpconnect before. But if we're going to ever build this tree deunified in the future, there's nothing stopping us now!
* Issue #2089 - Implement AggregateErrorMartok2023-02-01
| | | | Based-on: m-c 1568903/4,1641355(partial),1652148,1643397
* Issue #2083 - Part 1: Make RegExpShared a GC thing.Job Bautista2023-01-26
| | | | | | | | | | Based on Mozilla bug 1345177. Changes from the original bug's patch: - We don't have JS::CurrentThreadIsHeapCollecting, so let's use trc->runtime()->isHeapCollecting() instead. - Mozilla bug 1337117 renamed runtimeFromMainThread to runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
* Issue #2089 - Use JS engine stack if necessary when reporting errorsMartok2023-01-22
| | | | Based-on: m-c 996060
* Issue #1805 - Follow-up: Include the same headers for Solaris as well to1805-stacksizeMoonchild2022-07-15
| | | | future-proof gcc versions.
* Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.Moonchild2022-07-15
|
* Issue #1805 - Improve stack size limits for all targets.Moonchild2022-07-15
| | | | | | | | | | | | | This allows us to use a greater rendering depth for exceedingly-deep DOM trees in layout, better matching what mainstream browsers are capable of. Note that for 32-bit Windows the stack size MUST be set to larger than the default or Bad Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value. This needs to be capped specifically for JS use because some JavaScript obfuscators deliberately trigger stack overflows and would lock up the browser otherwise as long as there's still stack space to abuse. For web compatibility we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing a greater depth for the layout engine.
* Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped ↵Jeremy Andrews2022-05-27
| | | | | | | | | pointers types This is actually an undocumented dependency of Bug 1325406 for Linux and SunOS. Ref: BZ 1308236
* Issue #1829 - Revert “Issue #1751 -- Remove XP_MACOSX conditionals from ↵Brian Smith2022-04-26
| | | | | | | | | the rest of the tree.” This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals. This reverts commit 6f707bde95dab6998ac204f9ee6c925ee230c740.
* Issue #953 - Neuter the user-facing controls for e10sMoonchild2022-04-08
| | | | | This should prevent people using a massive footgun that would blow off their entire legs. Requires appropriate FE changes.
* Issue #21 - Remove remaining telemetry structs, callers and flags.Moonchild2022-04-02
|
* Issue #1053 - First pass Android defines and remove Android AnnotationMoonchild2022-04-01
| | | | processors, some Andoid packaging stuff, Eclipse IDE support et al.
* Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.Moonchild2021-05-06
| | | | | This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
* Nuke erroneously added vim line.Moonchild2020-12-03
|
* Issue #1624 - Make ion inlining optimizations a pref.Moonchild2020-12-03
| | | | This also adds it to JS_SetGlobalJitCompilerOption()
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23
|
* Issue #1656 - Part 3: Nuke more vim config lines in the tree.Moonchild2020-09-23
| | | | Another S&R run with some smarter matching.
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-06-30
| | | | | | - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers
* Revert #1091 Remove unboxed object code phase 1 + extras.wolfbeast2020-02-23
| | | | | | This should be the last code backout for this. merging this branch should get us back to the way we were (+ additional code changes for later changes) as fasr as the unused unboxed code is concerned.
* Issue #1322 - Part 1: Remove the DOM Promise guts.wolfbeast2019-12-19
| | | | This removes all the parts guarded by SPIDERMONKEY_PROMISE
* Merge pull request #1262 from athenian200/solaris-workMoonchild2019-11-02
|\ | | | | Support Modern Solaris
| * MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.athenian2002019-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 - Part1: Remove watch class-hook and proxy trap.wolfbeast2019-10-26
|/
* Don't treat format warnings as errors in xpconnectMatt A. Tobin2019-10-16
| | | | 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
|
* 1332245 - Move nsScriptError from js/xpconnect to dom/bindings.Gaming4JC2019-07-18
|
* 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and ↵Gaming4JC2019-07-18
| | | | xpc::ErrorReport.mNotes.
* Unhook Unboxed Objects optionwolfbeast2019-05-13
|
* Remove some HPUX leftovers.wolfbeast2019-04-01
| | | | Resolves #185
* Issue #187: Remove solaris conditional code.wolfbeast2019-03-30
|
* Pref the use of unboxed plain objects in JS and disable by default.wolfbeast2019-03-21
| | | | | This should be all that's needed for #1017, but verification of impact is definitely desired.
* Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03
| | | | | 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
| | | | | - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
* Remove unused XREShellDatawolfbeast2018-05-03
|
* Remove sandbox ductwork conditional code.wolfbeast2018-05-03
|
* Bug 1411415.wolfbeast2018-04-29
|
* Remove support for making jemalloc4 the default memory allocator.wolfbeast2018-04-27
|
* moebius#242: XPCOM: exportFunction() - fix wrong .length attributejanekptacijarabaci2018-04-14
| | | | https://github.com/MoonchildProductions/moebius/pull/243
* Rebase on masterwolfbeast2018-04-11
|\
| * Fix Value::isGCThing footgun, stop returning true for NullValuetrav902018-04-07
| |
* | Remove base conditional code for crash reporter and injector.wolfbeast2018-03-30
|/
* JS - support for Array.prototype.values()janekptacijarabaci2018-02-20
|
* Stop bypassing the Xray layer when walking the prototype chain.wolfbeast2018-02-08
|
* Remove SetGCZeal() stub and its callers.wolfbeast2018-02-03
|
* Remove remaining conditional GCZeal code.wolfbeast2018-02-03
| | | | | | | | | | | | | | | 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)