summaryrefslogtreecommitdiff
path: root/js
Commit message (Collapse)AuthorAge
* Issue mcp-graveyard/UXP%1656 - Part 3: Nuke more vim config lines in the tree.Moonchild2020-09-23
| | | | Another S&R run with some smarter matching.
* Issue mcp-graveyard/UXP%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.
* Merge branch 'es-modules-work'Moonchild2020-09-08
|\
| * Issue mcp-graveyard/UXP%618 - Clear the module map when changing a ↵Moonchild2020-09-08
| | | | | | | | | | | | Document's global and add release build assertions for mismatching compartments.
| * Revert "Issue mcp-graveyard/UXP%618 - Add JS API to associate scripts with ↵Moonchild2020-08-27
| | | | | | | | | | | | DOM elements after compilation" This reverts commit 22f300f7c431bbf4de20437d2ebd7bff38284efb.
| * Issue mcp-graveyard/UXP%618 - Add JS API to associate scripts with DOM ↵Jon Coppeard2020-08-27
| | | | | | | | | | | | elements after compilation Ref BZ 1342416
* | Issue mcp-graveyard/UXP%1639 - Implement object.fromEntries()Moonchild2020-09-06
|/ | | | | Adds a self-hosted implementation of this map->object conversion. This resolves %1639.
* Merge branch 'master' into es-modules-workMoonchild2020-08-22
|\
| * [js] Reinstate precise floating point model for all js sources.Moonchild2020-08-19
| |
* | Merge branch 'master' into es-modules-workMoonchild2020-08-13
|\|
| * [js] Try to catch bad pointers for GC and bail if not valid.Moonchild2020-08-03
| |
| * [js] Don't improve TypeSets containing the magic-args type.Moonchild2020-07-29
| | | | | | | | | | | | JIT optimizations involving the Javascript 'arguments' object could potentially confuse later optimizations, so we simply disable these optimizations as a DiD measure.
| * [js] Fix Sink to check for non-recoverable operands.Jan de Mooij2020-07-29
| |
| * [js] Get the class pointer from the ObjectGroup in NativeObject::slotSpanMoonchild2020-07-10
| | | | | | | | | | | | This changes NativeObject::slotSpan() to get the class from the object group rather than getting it from the base shape to avoid a race between Shape::ensureOwnBaseShape and background sweeping.
| * [js] Improve readability and control flow of js date string parser.Moonchild2020-07-09
| |
* | [js] Try to catch bad pointers for GC and bail if not valid.Moonchild2020-08-06
| |
* | Issue mcp-graveyard/UXP%618 - Simplify module resolve hook to be a function ↵Moonchild2020-08-06
| | | | | | | | | | | | | | pointer This is an ahead-of time port to try and address %1624. This is based on BZ 1461751 and Jon Coppeard's work in it.
* | [js] Add some utility functions to get the current JS runtime.Moonchild2020-08-06
| |
* | Issue mcp-graveyard/UXP%618 - Align error handling for module scripts with ↵Gaming4JC2020-08-03
| | | | | | | | | | | | | | | | the spec - Debug follow up MODULE_STATUS_ERRORED is no more. Replacing with newer API. Ref: BZ 1420420
* | Issue mcp-graveyard/UXP%618 - Lazily initialise module binding maps - Debug ↵Gaming4JC2020-08-03
| | | | | | | | | | | | | | | | follow up The added debug assertion does not work due to missing API. They were added in BZ 1337491, 1395366, and others, but were primarily used for multi-threading. This uses our existing non-multithreaded syntax instead, resolving a `no member named` build error.
* | Issue mcp-graveyard/UXP%618 - Lazily initialise module binding mapsMoonchild2020-07-08
| | | | | | | | | | | | | | Make it so they are not allocated on a background thread in a different zone to the final module. Ref: BZ 1372258
* | Issue mcp-graveyard/UXP%618 - Use a single slot for the module's environment ↵Moonchild2020-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object. According to the spec this isn't created until the module is instantiated, but we create it when we compile the module. We stored this previously in InitialEnvironmentSlot and copied it to EnvironmentSlot when it was supposed to be created, but we can just store it in the latter slot straight away and check the module's status and return null if it shouldn't exist yet. This reduces the number of slots needed on a moduleObject to 17. Re: BZ 1420412 Part 1 We can't implement the second part to further reduce our number of slots, because it relies on SetProxyReservedSlot which in turn relies on rearchitecturing JS proxies to make reserved slots dynamic. That's a rabbit hole we really don't want to fall into. So, we'll end up being a bit slower because it can't be in-line allocated with having more than 16 slots, but so be it. I sincerely doubt it will make any practical difference.
* | Issue mcp-graveyard/UXP%618 - Align error handling for module scripts with ↵Moonchild2020-07-08
|/ | | | | | | | | | the spec (again) This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420
* Issue mcp-graveyard/UXP%618 - Fix typo and remove old function declarations.Moonchild2020-07-07
|
* Issue mcp-graveyard/UXP%618 - Report source position information (line/column)Moonchild2020-07-04
| | | | | | Report source position information for module export resolution failures. Ref: BZ 1362098
* Issue mcp-graveyard/UXP%618 - Remove context and heap-idle checkMoonchild2020-07-04
| | | | | | | | | For checking if a module is in an error state and what the error is, it shouldn't matter if we are currently GC-ing or not. So we don't need to check for it, which removes the requirement to pass in the JS context (needed for AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd have to figure out what the context is at the module level just to satisfy this check.
* Issue mcp-graveyard/UXP%618 - Fix JSAPI additions to pass the JS context.Moonchild2020-07-03
|
* Issue mcp-graveyard/UXP%618 - Match JSAPI names with the changes in ↵Moonchild2020-07-03
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue mcp-graveyard/UXP%618 - Add APIs to query module record errorsMoonchild2020-07-03
| | | | Ref: BZ 1388728
* Issue mcp-graveyard/UXP%618 - Update code comments for ModuleInstantiateMoonchild2020-07-03
|
* Issue mcp-graveyard/UXP%618 - Align module instantiation/errors with the ↵Moonchild2020-07-03
| | | | | | | updated spec. Store and re-throw module instantiation and evaluation errors. Ref: BZ 1374239, 1394492
* Issue mcp-graveyard/UXP%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
* Issue mcp-graveyard/UXP%1542 - Fix a typo in wasm which was causing build ↵adeshkp2020-06-08
| | | | failure on ARM
* Issue mcp-graveyard/UXP%1570 - Implement globalThiswolfbeast2020-05-30
| | | | This resolves %1570
* Bug 1412030 - [MIPS] Emit wasm memory access informationJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layerJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1441521 : [MIPS] Optimize comparation with small constantsJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1430693 - IonMonkey: MIPS: Fix generic NaN for legacy mips (IEEE 754-1985)Jiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1424978 - IonMonkey: MIPS64: Fix unboxNonDouble for Int32Jiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1424978 - IonMonkey: MIPS64: Fix tagValue functionJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1424978 - IonMonkey: MIPS64: Fix boxValue functionJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1390802 - IonMonkey: MIPS64: Fix storeValue functionJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1424978 - IonMonkey: MIPS: Fix ma_store_unalignedJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1424978 - IonMonkey: MIPS: Fix ma_addTestCarryJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1390459 - mulby3 function implement error on mips platformJiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.Jiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1271968 - wasm: MIPS: Port mixed jump for wasm.Jiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1271968 - IonMonkey: MIPS: Refactor PatchWrite_NearCall.Jiaxun Yang2020-05-14
| | | | Tag: %1542
* Bug 1271968 - IonMonkey: MIPS: Handle conditional branch in out of line code ↵Jiaxun Yang2020-05-14
| | | | | | of mixed jump. Tag: %1542
* Bug 1271968 - IonMonkey: MIPS: Merge MacroAssembler::branchWithCode.Jiaxun Yang2020-05-14
| | | | Tag: %1542