Commit Graph

1865 Commits

Author SHA1 Message Date
roytam1 96020b803a import from UXP: Issue #1656 - Remove more vim control lines. (d388e478) 2023-05-04 12:48:12 +08:00
roytam1 72248e5973 import from UXP: Issue #1656 - remove vim control lines from js/src (e6ff567d) 2023-05-04 12:47:00 +08:00
roytam1 41a3cbe0e1 import from UXP: Issue #2142 - follow-up rev 51db22ff, removing static keyword from upstream force-push rev aa6d42e5fc..63a00fdd25 (fa52ac97) 2023-05-04 00:13:51 +08:00
roytam1 8921a9b24b import from UXP: Issue #2225 - Implement Element.replaceChildren (ae50e9e0) 2023-05-03 00:17:15 +08:00
roytam1 03cce35b2f import from UXP: Issue #1691 - Follow-up: Fix videojs and potentially other problems. When rewriting the ExecutionContext code in ScriptLoader I accidentally removed some required code. (a1f787fc) 2023-05-03 00:07:06 +08:00
roytam1 08db3546af ported from UXP: Issue #2097 - Handle Logical Assignment in Ion CFG (a7d8cecd) 2023-05-01 23:45:38 +08:00
roytam1 fe66435bfb js/frontend: Parser: sync with UXP 2023-05-01 20:35:03 +08:00
roytam1 99f72d0d0d import from UXP: Issue #2097 - Implement logical assignment operators (10951a16) 2023-05-01 14:43:25 +08:00
roytam1 adf87b5b67 import from UXP: Issue #2142 - Remove the temporary fields option (ba9647a1) 2023-05-01 14:41:28 +08:00
roytam1 a9b66c1087 import from UXP: Issue #2142 - Implement class static block (1fac189a) 2023-05-01 14:31:56 +08:00
roytam1 6bc92f0ed1 ported from UXP: Issue #2142 - Track isFieldInitializer on JSScript instead of Scope (22a9d46e) 2023-05-01 14:20:27 +08:00
roytam1 6350b94e53 import from UXP: Issue #2142 - Parse and process static class fields (c3b19191) 2023-05-01 14:17:29 +08:00
roytam1 ebad409f28 import from UXP: Issue #2142 - Support SuperProperty in field initializers (b187006a) 2023-05-01 14:14:25 +08:00
roytam1 cb4c73a778 import from UXP: Issue #2142 - Optimize .initializers scoping and emitter (e0b5528c) 2023-05-01 14:09:26 +08:00
roytam1 47e80f4fd3 import from UXP: Issue #2142 - Set anonymous function name in field initializer (c2061149) 2023-05-01 14:06:57 +08:00
roytam1 546b8e2df0 import from UXP: Issue #2142 - Don't treat PNK_NAME specially emitAssignmentOrInit (f0b06f5a) 2023-05-01 14:05:26 +08:00
roytam1 d65e1f6f87 import from UXP: Issue #2142 - Emit field keys in correct order (f374ab47) 2023-05-01 14:04:16 +08:00
roytam1 730dc53bfa import from UXP: Issue #2142 - Pass through arguments in synthesized constructors for derived classes (1031b1fc) 2023-05-01 13:59:28 +08:00
roytam1 df2cf3a69a import from UXP: Issue #2142 - Fix several scoping issues in field initializers (bcb6203e) 2023-05-01 13:57:20 +08:00
roytam1 69b9b9d1e8 import from UXP: Issue #2142 - Restrict contents of direct eval in fields (8c675001) 2023-05-01 13:54:06 +08:00
roytam1 2e478fa3ab import from UXP: Issue #2142 - Use JSOP_INITPROP for field initializers (849ab441) 2023-05-01 13:51:54 +08:00
roytam1 245dcb71ad import from UXP: Issue #2142 - Implement ASI for fields (447261cf) 2023-05-01 13:48:37 +08:00
roytam1 4ddfdce78c import from UXP: Issue #2142 - Factor out PropertyName parsing from Parser::propertyName() (014953c5) 2023-05-01 13:41:47 +08:00
roytam1 a99f5306ed ported from UXP: Issue #2142 - Handle fields in derived classes (235ca779) 2023-05-01 13:41:17 +08:00
roytam1 c7278ac509 import from UXP: Issue #2142 - Add FunctionEmitter, FunctionScriptEmitter, and FunctionParamsEmitter with current methods (e6335ded) 2023-05-01 13:32:48 +08:00
roytam1 356f75e7a4 import from UXP: Issue #2142 - Add PropertyEmitter, ObjectEmitter, ClassEmitter, LexicalScopeEmitter, DefaultEmitter (1b89be6d) 2023-05-01 13:30:57 +08:00
roytam1 9ba8f749e8 import from UXP: Issue #2142 - Improve TokenPos handling in BCE (ab7721e4) 2023-05-01 13:28:34 +08:00
roytam1 d22df591a0 ported from UXP: Issue #2142 - Implement syntax for public/private fields and computed field names (51db22ff) 2023-05-01 13:27:22 +08:00
roytam1 22b1cac6dd import from UXP: Issue #2142 - Add internal option for fields, but always true (afa7bddc) 2023-05-01 13:07:27 +08:00
roytam1 b9c4c5d9c8 import from UXP: Issue #2142 - Reduce calls to FindReservedWord when checking for forbidden identifiers during parsing (6abb54ff) 2023-05-01 12:59:19 +08:00
roytam1 a47d91de59 import from UXP: Issue #2142 - Ensure 'await' is always a restricted identifier when parsing modules (faed047e3) 2023-05-01 08:44:56 +08:00
roytam1 714b1b03b0 import from UXP: Issue #2142 - Add predicate functions count_if and any_of to ListNode iterator (3b9b111b) 2023-05-01 08:39:24 +08:00
roytam1 ccbc007476 import from UXP: Issue #2142 - Change InitPropertyOperation to accept a PropertyName directy and use DefineDataProperty (627d0da7) 2023-05-01 08:23:03 +08:00
roytam1 344b7d6589 import from UXP: Issue #2142 - Extend newSuperCall for JSOP_SPREADSUPERCALL (6f56a494) 2023-05-01 08:17:14 +08:00
roytam1 029021f3c1 import from UXP: Issue #2142 - Fold BytecodeEmitter::checkTypeSet into BytecodeEmitter::emitCheck (014ebe8a) 2023-05-01 08:10:15 +08:00
roytam1 a71c910d82 import from UXP: Issue #1691 - Follow-up: use error message with no arguments for bad import statements (73a99c15) 2023-05-01 08:07:44 +08:00
roytam1 ef0dd070b0 import from UXP: Issue #1862 - Follow-up: Replace deprecated Harfbuzz functions with current ones. (51426d10) 2023-05-01 07:51:37 +08:00
roytam1 7ae527e24f ported from UXP: Issue #2221 - Enable link-time optimization for Spidermonkey by default if building it shared. (b592711b) 2023-05-01 07:45:52 +08:00
roytam1 601ac53b23 js/intl: fix INITIAL_CHAR_BUFFER_SIZE deprot 2023-05-01 07:42:48 +08:00
roytam1 d371dc0ffc import from UXP: Issue #1691 - Follow-up: Fix CallSelfHostedFunction deprot introduced by Part 4. (45b34592) 2023-05-01 07:26:25 +08:00
roytam1 f69d8b75c8 import from UXP: Issue #1285 - Follow-up: Correctly handle follow-up compilations of RegExp with named capturing groups (0a74a575) 2023-05-01 07:22:50 +08:00
roytam1 b4697c603c import from UXP: Issue #2173 - Follow-up: Use common ancestor of PNK_(OPT)DOT in ASTSerializer::expression (e31a058c) 2023-05-01 07:08:35 +08:00
roytam1 a8b11959d0 import from UXP: Issue #2213 - Follow-up: Fix derieved Generator prototypes after previous change (a27e8bf9) 2023-05-01 07:07:45 +08:00
roytam1 518f368036 import from UXP: Issue #2073 - Follow-up: Use internal Move instead of std::move for consistency (b7f217e5) 2023-05-01 00:43:25 +08:00
roytam1 8c85653255 import from UXP: Issue #2218 - Part 2: Make SurfaceCache free ImageSurfaceCache objects outside of the lock (93644fd3) 2023-05-01 00:41:37 +08:00
roytam1 244c0c67c1 import from UXP: Issue #2218 - Part 1: Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete (fa787f4a) 2023-05-01 00:39:55 +08:00
roytam1 54d5f6d94a import from UXP: Bug 1432272 - Make Fetch API use the global's base URL instead of the entry document's base URL (62e2fbc4) 2023-05-01 00:32:38 +08:00
roytam1 a527f407fb import from UXP: Issue #1691 - Part 16: Dynamically imported modules can throw any value as an exception. M1508672 (1ac1e90b) 2023-05-01 00:31:57 +08:00
roytam1 feb198e33e import from UXP: Issue #1691 - Part 15: Make |new import()| a syntax error. M1508672 (f2b17915) 2023-05-01 00:31:03 +08:00
roytam1 fa44d05eaf import from UXP: Issue #1691 - Part 14: Fix a debug assert and memory leak. PNK_IMPORT_META and PNK_CALL_IMPORT are binary nodes... They function similar to list nodes, so they worked there, but debug mode asserts because of the wrong type. M1342012 Fixed a memory leak due to missing code in SourceScriptObject::finalize(). Thanks FranklinDM! (79ea755b) 2023-05-01 00:30:12 +08:00