searching for reviewer(arai)
a42619299cf2955dbd38d16cc7ac0f64ee92eb78: Bug 1811231 part 2 - Fix source location for bytecode emitted in FunctionScriptEmitter::emitEndBody. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Mon, 23 Jan 2023 10:27:17 +0000 - rev 650186
Push 40572 by ncsoregi@mozilla.com at Mon, 23 Jan 2023 18:05:32 +0000
Bug 1811231 part 2 - Fix source location for bytecode emitted in FunctionScriptEmitter::emitEndBody. r=arai This now matches what we do for the `RetRval` at the end of the function: the location is the closing '}'. Differential Revision: https://phabricator.services.mozilla.com/D167257
8c72a62b29d5d0301a9bb84647d59b72e9b62e1a: Bug 1811231 part 1 - Add tests for onPop and CheckReturn source locations. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Mon, 23 Jan 2023 10:27:16 +0000 - rev 650185
Push 40572 by ncsoregi@mozilla.com at Mon, 23 Jan 2023 18:05:32 +0000
Bug 1811231 part 1 - Add tests for onPop and CheckReturn source locations. r=arai This tests the line/column we report for (1) the final yield/return in a function or generator, and (2) for the CheckReturn exception in a derived class constructor. The expected values in the tests are wrong, but it shows what we currently get. This will be fixed in the next patch. Differential Revision: https://phabricator.services.mozilla.com/D167256
88acd0f49283ad371e3192617ce03375dcb8e945: Bug 1687166 - [devtools] Fetch whole source text for "new Function()" sources. r=arai,bomsy
Alexandre Poirot <poirot.alex@gmail.com> - Fri, 20 Jan 2023 09:45:02 +0000 - rev 649714
Push 40565 by ctuns@mozilla.com at Fri, 20 Jan 2023 21:21:03 +0000
Bug 1687166 - [devtools] Fetch whole source text for "new Function()" sources. r=arai,bomsy But keep unwrapping sources for DOM event handlers like: <div onclick="foo()" /> Whose source should be: foo() and not: function onclick() { foo() } Differential Revision: https://phabricator.services.mozilla.com/D165721
6b9c280f186bdf9338b45df9047465b80008c33d: Bug 1800629: Remove custom builders from Reflect.parse r=arai
Iain Ireland <iireland@mozilla.com> - Thu, 19 Jan 2023 18:41:23 +0000 - rev 649626
Push 40563 by mlaza@mozilla.com at Fri, 20 Jan 2023 03:46:23 +0000
Bug 1800629: Remove custom builders from Reflect.parse r=arai Differential Revision: https://phabricator.services.mozilla.com/D167215
1a21617997804fd416cf9790418918e9f6647c82: Bug 1809628 - Feature check Array.fromAsync to avoid beta issues r=arai
Matthew Gaudet <mgaudet@mozilla.com> - Wed, 11 Jan 2023 20:34:06 +0000 - rev 648713
Push 40544 by smolnar@mozilla.com at Thu, 12 Jan 2023 04:10:59 +0000
Bug 1809628 - Feature check Array.fromAsync to avoid beta issues r=arai Differential Revision: https://phabricator.services.mozilla.com/D166563
274b82009138df48707f565b282fc7a99a563c14: Bug 1808795 - Enable fromAsync tests r=arai
Matthew Gaudet <mgaudet@mozilla.com> - Tue, 10 Jan 2023 18:26:30 +0000 - rev 648611
Push 40541 by ctuns@mozilla.com at Wed, 11 Jan 2023 04:39:19 +0000
Bug 1808795 - Enable fromAsync tests r=arai Differential Revision: https://phabricator.services.mozilla.com/D166189
123149ff06449baf9c697c9ed97a2d82ea91170e: Bug 1808801 - Update Test262 January 5, 2023 r=arai
Matthew Gaudet <mgaudet@mozilla.com> - Tue, 10 Jan 2023 18:26:26 +0000 - rev 648610
Push 40541 by ctuns@mozilla.com at Wed, 11 Jan 2023 04:39:19 +0000
Bug 1808801 - Update Test262 January 5, 2023 r=arai Differential Revision: https://phabricator.services.mozilla.com/D166363
1eee10f66919136d3e6ed15119cf9765eae49a62: Bug 1808927 - Use a single vector for module export entries r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Tue, 10 Jan 2023 09:44:07 +0000 - rev 648531
Push 40540 by ctuns@mozilla.com at Tue, 10 Jan 2023 21:45:26 +0000
Bug 1808927 - Use a single vector for module export entries r=arai This uses a single vector for all export entries and stores the start positions for indirect and star export entries separately. The export entries are returned as spans, and other vectors changed to be returned as spans too to ease the shell integration. Differential Revision: https://phabricator.services.mozilla.com/D166187
2211f048d6893ab1bee92ee53aeed6b18d7a3ef1: Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 20:12:33 +0000 - rev 648275
Push 40532 by mlaza@mozilla.com at Sat, 07 Jan 2023 09:34:42 +0000
Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai This updates our previously in-tree files to account for the new files we added. Differential Revision: https://phabricator.services.mozilla.com/D164818
aca1820b62a261b5f22bda093cd39448af8a9b97: Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 20:12:33 +0000 - rev 648274
Push 40532 by mlaza@mozilla.com at Sat, 07 Jan 2023 09:34:42 +0000
Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai This applies the patches to the new files, but not the existing in-tree files (fdlibm.h and math_private.h) Differential Revision: https://phabricator.services.mozilla.com/D164817
ea0c39428939e9f3339e077277cef0f36b137dd2: Bug 1760633: Update fdlibm patches to apply to new files r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 20:12:32 +0000 - rev 648273
Push 40532 by mlaza@mozilla.com at Sat, 07 Jan 2023 09:34:42 +0000
Bug 1760633: Update fdlibm patches to apply to new files r=arai Differential Revision: https://phabricator.services.mozilla.com/D164816
527f857a91f8d1100431b44ee0ed1d346408608e: Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 14:49:14 +0000 - rev 648224
Push 40531 by smolnar@mozilla.com at Fri, 06 Jan 2023 21:47:42 +0000
Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai This updates our previously in-tree files to account for the new files we added. Differential Revision: https://phabricator.services.mozilla.com/D164818
ee8ecdac4be5a4e1ba4e1cbab2cf0bf3d861cc71: Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 14:49:13 +0000 - rev 648223
Push 40531 by smolnar@mozilla.com at Fri, 06 Jan 2023 21:47:42 +0000
Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai This applies the patches to the new files, but not the existing in-tree files (fdlibm.h and math_private.h) Differential Revision: https://phabricator.services.mozilla.com/D164817
addec3dc0f8008a258bb5c650f893e23289e169e: Bug 1760633: Update fdlibm patches to apply to new files r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 14:49:13 +0000 - rev 648222
Push 40531 by smolnar@mozilla.com at Fri, 06 Jan 2023 21:47:42 +0000
Bug 1760633: Update fdlibm patches to apply to new files r=arai Differential Revision: https://phabricator.services.mozilla.com/D164816
a5b0ccc770840a627ebf1592592ef3595ea3b9d6: Bug 1760633: Add new files to fdlibm's moz.yaml r=arai
Tom Ritter <tom@mozilla.com> - Fri, 06 Jan 2023 03:10:46 +0000 - rev 648200
Push 40529 by imoraru@mozilla.com at Fri, 06 Jan 2023 09:51:23 +0000
Bug 1760633: Add new files to fdlibm's moz.yaml r=arai Differential Revision: https://phabricator.services.mozilla.com/D164815
97d3a9e5a86734a4388b81269fad793c0ef6e447: Bug 1808216 part 3 - Remove JSContext* argument from FoldConstants. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Thu, 05 Jan 2023 12:31:37 +0000 - rev 648126
Push 40527 by nerli@mozilla.com at Thu, 05 Jan 2023 21:31:09 +0000
Bug 1808216 part 3 - Remove JSContext* argument from FoldConstants. r=arai Differential Revision: https://phabricator.services.mozilla.com/D165829
0e45a51c5b25d934136df0391b3926956a62e9a2: Bug 1808216 part 2 - Simplify JSStringBuilder API. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Thu, 05 Jan 2023 12:31:37 +0000 - rev 648125
Push 40527 by nerli@mozilla.com at Thu, 05 Jan 2023 21:31:09 +0000
Bug 1808216 part 2 - Simplify JSStringBuilder API. r=arai Depends on D165827 Differential Revision: https://phabricator.services.mozilla.com/D165828
fc7c37faf9b7c1067b7732f84e06f36ee927a511: Bug 1808216 part 1 - Change StringBuffer constructor to take either JSContext* or FrontendContext* but not both. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Thu, 05 Jan 2023 12:31:36 +0000 - rev 648124
Push 40527 by nerli@mozilla.com at Thu, 05 Jan 2023 21:31:09 +0000
Bug 1808216 part 1 - Change StringBuffer constructor to take either JSContext* or FrontendContext* but not both. r=arai In `StringBuffer::inflateChars` we now copy the alloc policy from the Latin1 buffer. This lets us remove the `fc_` and `arenaId_` fields from `StringBuffer`. Differential Revision: https://phabricator.services.mozilla.com/D165827
dbcf8814576daa7d1d882887fdf150be38ba9aee: Bug 1808572 - Part 2: Remove some module code that's now dead r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Thu, 05 Jan 2023 10:24:52 +0000 - rev 648117
Push 40527 by nerli@mozilla.com at Thu, 05 Jan 2023 21:31:09 +0000
Bug 1808572 - Part 2: Remove some module code that's now dead r=arai Depends on D165985 Differential Revision: https://phabricator.services.mozilla.com/D165986
297dccdb9c7a72f0c711999dbdcfc93bedd9d989: Bug 1808572 - Part 1: Replace use of array object with a native vector for export names r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Thu, 05 Jan 2023 10:24:51 +0000 - rev 648116
Push 40527 by nerli@mozilla.com at Thu, 05 Jan 2023 21:31:09 +0000
Bug 1808572 - Part 1: Replace use of array object with a native vector for export names r=arai Rather than create an array object we can use a vector for these names. One wrinkle is that since we never mutate the name list after it's attached to the namespace object we don't need barriers on it. This is more convenient because it allows us to use the same vector type on the stack in a rooted and in the object itself. I've added comments that hopefully explain things. Differential Revision: https://phabricator.services.mozilla.com/D165985
4077f0f8d13139d6971c1826863e75d703df397e: Bug 1790615 - Abort stencil creation on encoding failure r=arai
Bryan Thrall <bthrall@mozilla.com> - Tue, 03 Jan 2023 20:45:11 +0000 - rev 647814
Push 40521 by imoraru@mozilla.com at Wed, 04 Jan 2023 04:29:41 +0000
Bug 1790615 - Abort stencil creation on encoding failure r=arai I considered removing the `succeededOut` parameter, since none of the callers handle failure differently, but then `serializeStencil()` and `deserializeStencil()` would not be as symmetric. It would also remove the ability in the future for the caller failure handling to be different. The jit-test bug1790615.js is skipped if asm.js compilation is not available because asm.js falls back to JS (which can be encoded by XDR) if there is no optimizer; such as when compiled with no JIT, or `--wasm-compiler=baseline` is passed to the JS Shell. Differential Revision: https://phabricator.services.mozilla.com/D165348
bbdb6fab7a69b264df600b69e7fd89d780570682: Bug 1790615 - Abort stencil creation on encoding failure r=arai
Bryan Thrall <bthrall@mozilla.com> - Thu, 22 Dec 2022 16:56:12 +0000 - rev 647253
Push 40500 by smolnar@mozilla.com at Thu, 22 Dec 2022 21:34:53 +0000
Bug 1790615 - Abort stencil creation on encoding failure r=arai I considered removing the `succeededOut` parameter, since none of the callers handle failure differently, but then `serializeStencil()` and `deserializeStencil()` would not be as symmetric. It would also remove the ability in the future for the caller failure handling to be different. Differential Revision: https://phabricator.services.mozilla.com/D165348
41ed0d56f497c837d068899d4f208cbcfdd232c6: Bug 1806595 - Call onNativeCall hook from DebuggerObject::call. r=arai.
Nicolas Chevobbe <nchevobbe@mozilla.com> - Tue, 20 Dec 2022 13:44:45 +0000 - rev 646862
Push 40496 by mlaza@mozilla.com at Tue, 20 Dec 2022 21:46:32 +0000
Bug 1806595 - Call onNativeCall hook from DebuggerObject::call. r=arai. Differential Revision: https://phabricator.services.mozilla.com/D165140
6be3e866b031d5a04335503f2e32233c0d3c6f85: Bug 1806136 - Part 3: Create one ModuleRequestObject per StencilModuleRequest r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Mon, 19 Dec 2022 11:56:36 +0000 - rev 646703
Push 40493 by ctuns@mozilla.com at Mon, 19 Dec 2022 16:25:26 +0000
Bug 1806136 - Part 3: Create one ModuleRequestObject per StencilModuleRequest r=arai Finally, this creates a vector of ModuleRequestObjects at the start of StencilModuleMetadata::initModule so we can use the index from the stencil data to get the right one. Differential Revision: https://phabricator.services.mozilla.com/D164917
1db0decb511e202095efa222112353584a9bea81: Bug 1806136 - Part 2: Factor out StencilModuleRequest from StencilModuleEntry r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Mon, 19 Dec 2022 11:56:35 +0000 - rev 646702
Push 40493 by ctuns@mozilla.com at Mon, 19 Dec 2022 16:25:26 +0000
Bug 1806136 - Part 2: Factor out StencilModuleRequest from StencilModuleEntry r=arai This moves the module specifier and assertion information out of StencilModuleEntry into a new StencilModuleRequest structure. These are referred to by (optional) index into a vector of all requests for that mode. We only create one request per statement. Differential Revision: https://phabricator.services.mozilla.com/D164916
2edb6fac4d4ecb95e731a0295d1b5b148bf88f72: Bug 1806136 - Part 1: Don't create ModuleObjectRequests when there's no specifier r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Mon, 19 Dec 2022 11:56:35 +0000 - rev 646701
Push 40493 by ctuns@mozilla.com at Mon, 19 Dec 2022 16:25:26 +0000
Bug 1806136 - Part 1: Don't create ModuleObjectRequests when there's no specifier r=arai For local exports there is no module specifier (and no assertions) present so there's no need to create an object for them. The module request is never accessed for local exports, except in test code. Differential Revision: https://phabricator.services.mozilla.com/D164915
aa187ddcaa8a723124d652067771c0a261695ab2: Bug 1806136 - Part 0: Change the API so that the supported assertions are set once on initialization r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Mon, 19 Dec 2022 11:56:34 +0000 - rev 646700
Push 40493 by ctuns@mozilla.com at Mon, 19 Dec 2022 16:25:26 +0000
Bug 1806136 - Part 0: Change the API so that the supported assertions are set once on initialization r=arai Not related to the rest of the bug. This is a simplification so that we set the supported import assertions once rather than querying the host every time they are needed. Differential Revision: https://phabricator.services.mozilla.com/D164914
5987cc200ad317ecb1ecf5d70b77f2280770c099: Bug 1803438 - Bump wasiRecursionDepthLimit to 350. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Fri, 09 Dec 2022 15:05:51 +0000 - rev 645184
Push 40468 by ncsoregi@mozilla.com at Fri, 09 Dec 2022 21:45:26 +0000
Bug 1803438 - Bump wasiRecursionDepthLimit to 350. r=arai Based on some local testing, this should still be small enough to avoid hitting the WASI runtime's stack limit. Differential Revision: https://phabricator.services.mozilla.com/D164323
f9b2f4359d23f4d7391f7b80c7039a69e4730dc6: Bug 1803495 - Use AutoStableStringChars overload for SourceText::init. r=arai
Ted Campbell <tcampbell@mozilla.com> - Wed, 07 Dec 2022 21:52:37 +0000 - rev 645049
Push 40462 by smolnar@mozilla.com at Thu, 08 Dec 2022 03:58:54 +0000
Bug 1803495 - Use AutoStableStringChars overload for SourceText::init. r=arai Remove duplicate code and transfer string buffer ownership in more cases. Depends on D163552 Differential Revision: https://phabricator.services.mozilla.com/D163553
2ed79697e312a4602d59a9986ad211a038c73fb9: Bug 1803495 - Support initializing SourceText from AutoStableStringChars. r=arai
Ted Campbell <tcampbell@mozilla.com> - Wed, 07 Dec 2022 21:52:37 +0000 - rev 645048
Push 40462 by smolnar@mozilla.com at Thu, 08 Dec 2022 03:58:54 +0000
Bug 1803495 - Support initializing SourceText from AutoStableStringChars. r=arai These two are commonly used together in eval and testing functions so add an overload and simplify the callers. This also allows transfering buffers in more cases to avoid additional string copies. Currently only support the char16_t overload, but in future should also support Utf8Unit overloads. Differential Revision: https://phabricator.services.mozilla.com/D163552
ceae3867e1619db751419e4b83e2e9ea50c4fc9b: Bug 1797183 - Use ErrorContext variant of ReportOutOfMemory() r=arai
Bryan Thrall <bthrall@mozilla.com> - Wed, 07 Dec 2022 20:06:21 +0000 - rev 645032
Push 40462 by smolnar@mozilla.com at Thu, 08 Dec 2022 03:58:54 +0000
Bug 1797183 - Use ErrorContext variant of ReportOutOfMemory() r=arai Differential Revision: https://phabricator.services.mozilla.com/D160124
abf7ce069748b9bdbac7508f09fa78ea35bb47a1: Bug 1804298: Update the fdlibm patches to be vendored by mach vendor r=arai
Tom Ritter <tom@mozilla.com> - Wed, 07 Dec 2022 18:08:14 +0000 - rev 645011
Push 40462 by smolnar@mozilla.com at Thu, 08 Dec 2022 03:58:54 +0000
Bug 1804298: Update the fdlibm patches to be vendored by mach vendor r=arai For mach vendor, patches are relative to the directory the third party code is vendored into. Differential Revision: https://phabricator.services.mozilla.com/D163971
1750fca4189b32d77801de10c94affc5e6af5140: Bug 1804298: Add a moz.yaml for fdlibm and make it vendor-able r=arai
Tom Ritter <tom@mozilla.com> - Wed, 07 Dec 2022 18:08:13 +0000 - rev 645010
Push 40462 by smolnar@mozilla.com at Thu, 08 Dec 2022 03:58:54 +0000
Bug 1804298: Add a moz.yaml for fdlibm and make it vendor-able r=arai Remove the old update scripts so we can use ./mach vendor to vendor it. Differential Revision: https://phabricator.services.mozilla.com/D163970
02823568f12c15621a387d5b874f5839cd4c813b: Bug 1804254 - Part 3: Replace RequestedModuleObject with native RequestedModule r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Wed, 07 Dec 2022 11:28:28 +0000 - rev 644934
Push 40461 by imoraru@mozilla.com at Wed, 07 Dec 2022 16:54:36 +0000
Bug 1804254 - Part 3: Replace RequestedModuleObject with native RequestedModule r=arai This is more complicated because it needed a change to the public API now we're not longer returning an array object. The new API is less error prone since it's no longer possible for the caller to mutate the object returned. Depends on D163948 Differential Revision: https://phabricator.services.mozilla.com/D163949
8cb06ae1d62fb355f6ee6615548bf89ce66f51e2: Bug 1804254 - Part 2: Replace ExportEntryObject with native ExportEntry r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Wed, 07 Dec 2022 11:28:28 +0000 - rev 644933
Push 40461 by imoraru@mozilla.com at Wed, 07 Dec 2022 16:54:36 +0000
Bug 1804254 - Part 2: Replace ExportEntryObject with native ExportEntry r=arai The same as the previous patch, but for export entries. Depends on D163947 Differential Revision: https://phabricator.services.mozilla.com/D163948
be9fc5ccfb7286b527f03227ab623a9a8fb15bf7: Bug 1804254 - Part 1: Replace ImportEntryObject with native ImportEntry r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Wed, 07 Dec 2022 11:28:27 +0000 - rev 644932
Push 40461 by imoraru@mozilla.com at Wed, 07 Dec 2022 16:54:36 +0000
Bug 1804254 - Part 1: Replace ImportEntryObject with native ImportEntry r=arai This removes the JSObject per import entry and the ArrayObject holding them, replacing them with a vector of ImportEntry native objects. This was straightforward apart from the changes to the shell wrappers where I had to add a new set of defines for dealing with native classes. Differential Revision: https://phabricator.services.mozilla.com/D163947
dabe9a3dd556302ca57c1791fe4b327df3deb8b1: Bug 1803527 - Finish call site object when instantiating the Stencil. r=arai
Jan de Mooij <jdemooij@mozilla.com> - Fri, 02 Dec 2022 12:03:34 +0000 - rev 644496
Push 40449 by csabou@mozilla.com at Fri, 02 Dec 2022 21:26:33 +0000
Bug 1803527 - Finish call site object when instantiating the Stencil. r=arai We were storing two arrays in the script's gc-thing list. The first time the `JSOp::CallSiteObj` op executed, we defined the `.raw` property and froze both arrays, in `ProcessCallSiteObjOperation`. After all the Stencil work, we can now do this step when we instantiate the Stencil. `JSOp::CallSiteObj` then becomes just like `JSOp::Object`, it pushes the call site object (we can't reuse `JSOp::Object` because it has extra run-once assertions). Differential Revision: https://phabricator.services.mozilla.com/D163571
07141cbdca69e402793e40857b3ce2ee7b27d6eb: Bug 1803166 - update esmify message to be a bit clearer, r=arai
Gijs Kruitbosch <gijskruitbosch@gmail.com> - Tue, 29 Nov 2022 17:35:12 +0000 - rev 644029
Push 40442 by imoraru@mozilla.com at Wed, 30 Nov 2022 04:53:12 +0000
Bug 1803166 - update esmify message to be a bit clearer, r=arai Differential Revision: https://phabricator.services.mozilla.com/D163341
e54e77856ace9acb1b39d0d38942faeeff690201: Bug 1802172 - Refactor CyclicModuleFields to provide getters and setters for some fields r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Thu, 24 Nov 2022 15:47:55 +0000 - rev 643513
Push 40430 by imoraru@mozilla.com at Fri, 25 Nov 2022 04:51:46 +0000
Bug 1802172 - Refactor CyclicModuleFields to provide getters and setters for some fields r=arai As suggsted in code review for the previous patch, it's clearer and less error-prone to provide getters and setters for module fields which are represented using more than one field in the structure. This patch changes the operation of ModuleObject::maybeAsyncEvaluatingPostOrder to return Nothing() after the post order is cleared, rather than the magic value ASYNC_EVALUATING_POST_ORDER_CLEARED. This doesn't make any difference to the modules system itself but required some changes to test code expectations. Depends on D162869 Differential Revision: https://phabricator.services.mozilla.com/D162985
e81e696cc5a04e28ecc0a50494025c0dacc15c02: Bug 1802172 - Pack the CyclicModuleFields structure r=arai
Jon Coppeard <jcoppeard@mozilla.com> - Thu, 24 Nov 2022 15:47:55 +0000 - rev 643512
Push 40430 by imoraru@mozilla.com at Fri, 25 Nov 2022 04:51:46 +0000
Bug 1802172 - Pack the CyclicModuleFields structure r=arai This reduces the size from 184 to 160 bytes on 64 bit. and from 128 to 104 bytes on 32 bit builds. Differential Revision: https://phabricator.services.mozilla.com/D162869
240da2ef1c8fee6eb58f0def9f234070377f31ca: Bug 1801851 - Part 3: Use IgnoreValue for void expressions. r=arai
André Bargull <andre.bargull@gmail.com> - Thu, 24 Nov 2022 07:08:31 +0000 - rev 643459
Push 40429 by ncsoregi@mozilla.com at Thu, 24 Nov 2022 21:26:38 +0000
Bug 1801851 - Part 3: Use IgnoreValue for void expressions. r=arai `void` expressions don't use their value, so we can trivially use `IgnoreValue`. Depends on D162715 Differential Revision: https://phabricator.services.mozilla.com/D162716
b0321dddbda061638c567f44b3c99c65b272f234: Bug 1801851 - Part 2: Remove unnecessary ValueUsage default parameters. r=arai
André Bargull <andre.bargull@gmail.com> - Thu, 24 Nov 2022 07:08:30 +0000 - rev 643458
Push 40429 by ncsoregi@mozilla.com at Thu, 24 Nov 2022 21:26:38 +0000
Bug 1801851 - Part 2: Remove unnecessary ValueUsage default parameters. r=arai All callers are explicitly passing a `ValueUsage` argument, so we don't need the default parameter anymore. Depends on D162714 Differential Revision: https://phabricator.services.mozilla.com/D162715
cc76bba0db29c7740f3c981328ba5790a3e4fa23: Bug 1801851 - Part 1: Pass ValueUsage to short-circuit expressions. r=arai
André Bargull <andre.bargull@gmail.com> - Thu, 24 Nov 2022 07:08:30 +0000 - rev 643457
Push 40429 by ncsoregi@mozilla.com at Thu, 24 Nov 2022 21:26:38 +0000
Bug 1801851 - Part 1: Pass ValueUsage to short-circuit expressions. r=arai Pass `ValueUsage` to the last expression in a short-circuit expression sequence to allow emitting `CallIgnoresRv` in minified code. Minifiers often rewrite this code: ``` if (c) f(); ``` Into the equivalent expression: ``` c && f(); ``` The last expression's value is never used, so we can optimise it to use `JSOp::CallIgnoresRv` instead of `JSOp::Call`. Differential Revision: https://phabricator.services.mozilla.com/D162714
31e3da49cf5ea9fd0adfdd0bb3b15d26d350ec62: Bug 1799314 - Convert consumers of testing modules to import ES modules direct (js/). r=arai
Mark Banner <standard8@mozilla.com> - Thu, 17 Nov 2022 12:00:30 +0000 - rev 642645
Push 40412 by csabou@mozilla.com at Thu, 17 Nov 2022 21:41:29 +0000
Bug 1799314 - Convert consumers of testing modules to import ES modules direct (js/). r=arai Differential Revision: https://phabricator.services.mozilla.com/D161913
270629063fc5b4e236924378e703c87ab3ffa496: Bug 1797687 - Add more files to esmify's excluded list. r=arai
Mark Banner <standard8@mozilla.com> - Thu, 27 Oct 2022 13:16:22 +0000 - rev 639474
Push 40352 by nerli@mozilla.com at Thu, 27 Oct 2022 21:55:15 +0000
Bug 1797687 - Add more files to esmify's excluded list. r=arai Depends on D160489 Differential Revision: https://phabricator.services.mozilla.com/D160490
98e4ac853eab0e81125df475fb50f6aee8bc1e16: Bug 1795880 - Add an ESLint rule to enforce using static imports where possible. r=arai,geckoview-reviewers,m_kato
Mark Banner <standard8@mozilla.com> - Wed, 26 Oct 2022 09:37:46 +0000 - rev 639343
Push 40348 by smolnar@mozilla.com at Wed, 26 Oct 2022 16:23:36 +0000
Bug 1795880 - Add an ESLint rule to enforce using static imports where possible. r=arai,geckoview-reviewers,m_kato Differential Revision: https://phabricator.services.mozilla.com/D160131
28f47c2800e91a7cc1547ba5b96898f6361b7338: Bug 1796143 - Add some new modules to esmify's map. r=arai
Mark Banner <standard8@mozilla.com> - Tue, 25 Oct 2022 07:10:56 +0000 - rev 639032
Push 40347 by imoraru@mozilla.com at Wed, 26 Oct 2022 03:47:46 +0000
Bug 1796143 - Add some new modules to esmify's map. r=arai Differential Revision: https://phabricator.services.mozilla.com/D159710
4b5db6c6b5c9d9e591d7755242b6064006225436: Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand
Mark Banner <standard8@mozilla.com> - Tue, 25 Oct 2022 07:10:55 +0000 - rev 639031
Push 40347 by imoraru@mozilla.com at Wed, 26 Oct 2022 03:47:46 +0000
Bug 1796143 - Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand Differential Revision: https://phabricator.services.mozilla.com/D159709
501960a11d293019bddbf47bbbe0f69f7516f531: Bug 1796143 - Allow esmify to fix sjs files. r=arai
Mark Banner <standard8@mozilla.com> - Tue, 25 Oct 2022 07:10:55 +0000 - rev 639030
Push 40347 by imoraru@mozilla.com at Wed, 26 Oct 2022 03:47:46 +0000
Bug 1796143 - Allow esmify to fix sjs files. r=arai Differential Revision: https://phabricator.services.mozilla.com/D159708
021312205c0935dac3629cbbc028039e6fda4c3a: Bug 1795452 - Add shell option to enable/disable Array.fromAsync r=arai
Matthew Gaudet <mgaudet@mozilla.com> - Mon, 24 Oct 2022 19:19:01 +0000 - rev 638956
Push 40345 by sstanca@mozilla.com at Tue, 25 Oct 2022 09:48:08 +0000
Bug 1795452 - Add shell option to enable/disable Array.fromAsync r=arai Differential Revision: https://phabricator.services.mozilla.com/D159643