Commit Graph

47 Commits

Author SHA1 Message Date
roytam1 42ef7b8218 import from UXP: [js] Only allow strings as function name. (bcd936e5) 2026-04-27 12:18:41 +08:00
roytam1 eb31645dcb ported from UXP:
- Issue #2548 - Part 1 - Implement MathML DOM and pre-requisites. https://bugzilla.mozilla.org/show_bug.cgi?id=1571487 Introduce interface mixins. https://bugzilla.mozilla.org/show_bug.cgi?id=1414372 Switch XPathEvaluator to using IDL mixins and remaining users of IDL "implements" over to mixin syntax. https://bugzilla.mozilla.org/show_bug.cgi?id=1574195 Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1579457 Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. https://bugzilla.mozilla.org/show_bug.cgi?id=1330457 Remove the use of IsCallerChrome in FetchRequest. https://bugzilla.mozilla.org/show_bug.cgi?id=1335368 (85600c73)
- Issue #2548 - Part 2 - Collection of WebIDL parsing updates in an attempt to fix partial interface mixin error. We should ensure, at build-time, that partial interfaces are defined in the same file as the interface they extend. Since our build system doesn't really support correct dep builds if they're placed in a different file. https://bugzilla.mozilla.org/show_bug.cgi?id=1333117 WebIDL: Better error message for trying to inherit from a mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1575384 Fix webidl identifier conflicts involving typedefs to produce saner exceptions. https://bugzilla.mozilla.org/show_bug.cgi?id=1531623 Disallow nullable types for WebIDL constants. https://bugzilla.mozilla.org/show_bug.cgi?id=1535647 Add support for extended attributes on types in Web IDL https://bugzilla.mozilla.org/show_bug.cgi?id=1359269 Allow LenientFloat to be only in a specific overload https://bugzilla.mozilla.org/show_bug.cgi?id=1020975 (81b4f0c3)
- Issue #2548 - Part 3 - Fix some MathML issues encountered since WebIDL works. https://bugzilla.mozilla.org/show_bug.cgi?id=1316616 Also added a Fetch() change that was not in the Mozilla patch. (20354b67)
- Issue #2548 - Part 4 - Fix some missed changes for ElementCSSInlineStyle. Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=157945 (502c7047)
- Issue #2548 - Part 5 - Implement the HTMLOrForeignElement mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1577660 Add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method. https://bugzilla.mozilla.org/show_bug.cgi?id=1374045 (3febe21f)
2026-03-27 09:54:37 +08:00
roytam1 171af8d489 ported from UXP:
- Issue #2304 - Part 1 - Prerequisite: Make Handle<Maybe<>> more convenient. This is required to implement JS::NothingHandleValue. https://bugzilla.mozilla.org/show_bug.cgi?id=1631114 (5cdc7737)
- Issue #2304 - Part 2 - Prerequisite: Teach GCPolicy about Maybe. https://bugzilla.mozilla.org/show_bug.cgi?id=1377008 (e86d995f)
- Issue #2304 - Part 3 - Implement the error cause proposal. https://bugzilla.mozilla.org/show_bug.cgi?id=1679653 (3bd4a50a)
- Issue #2304 - Part 4 - Add xray support for the Error cause property. https://bugzilla.mozilla.org/show_bug.cgi?id=1679653 (45aea3be)
- Issue #2304 - Part 5 - Add cause property when a cause is present. I thought this was just to check whether it should be added, but is necessary. (68df21ef)
2026-03-09 15:51:37 +08:00
roytam1 b07afbb3ec ported from UXP: Issue #2306: Add pref-gated WeakRef with safe stub when disabled (5895253f) 2025-12-24 14:43:15 +08:00
roytam1 654dda938d ported from UXP: Issue #2692 - Part 6: Don't #include js/SourceBufferHolder.h in jsapi.h. (2e4620b5) 2025-03-14 00:25:15 +08:00
roytam1 e4ff8ad597 import from UXP: Issue #2678 - Avoid QIing for NoteXPCOMRoot. (38daeffb) 2025-01-20 21:59:34 +08:00
roytam1 c8236aa01c import from UXP: Issue #2678 - Remove the DOM proxy expando object hashtable in xpconnect. (32da3f4d) 2025-01-20 21:48:31 +08:00
roytam1 18ed369cfc ported from UXP: Issue #2653 - Part 3: Remove support for packaged apps from asmjscache (7f086f21) 2024-11-21 23:10:17 +08:00
roytam1 2ccea795bd import from UXP: Make inaccurate GC stats reporting non-fatal in debug builds. (efad094b) 2024-09-22 21:35:00 +08:00
roytam1 4daa121deb import from UXP: Issue #2251 - Expose ghost window unlinking to release builds. (97a40adc) 2024-09-22 21:32:58 +08:00
roytam1 a7746ae541 ported from UXP: [js xpconnect] Fix error handling in xpc::CreateSandboxObject (ec8793a0) 2024-09-06 09:55:07 +08:00
roytam1 75e7406367 ported from UXP:
- Issue #1257 - Part 1: Remove watch class-hook and proxy trap. (3b9fbdc7)
- Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class. (ca9e376e)
- Issue #1257 - Part 3: Remove/update tests. (3d8d9f95)
2024-01-12 10:09:40 +08:00
roytam1 c21b0785e8 ported from UXP: Issue #2240 - Align Microtasks and promises scheduling with spec (f059bb0a)
some more portions (in ServiceWorkerPrivate.cpp) from original bug1193394.
2024-01-09 15:03:07 +08:00
roytam1 b80db24030 ported from UXP: Issue #1442 - Part 2: Add a run-time preference for toggling the streams API. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697 (62467428) 2023-10-04 10:46:58 +08:00
roytam1 86680acff3 import from UXP: Issue #1240 - Part 7 - Handle BigInt values in XPCVariant code. https://bugzilla.mozilla.org/show_bug.cgi?id=1603055 (4a3f1b75) 2023-07-25 13:59:59 +08:00
roytam1 96020b803a import from UXP: Issue #1656 - Remove more vim control lines. (d388e478) 2023-05-04 12:48:12 +08:00
roytam1 2ccfc2c722 import from UXP: Issue #2197 - Follow-up: Remove GC debug assertion on sandbox (8e6d7304) 2023-04-10 08:57:38 +08:00
roytam1 82b7d22675 import from UXP: Issue #2197 - Part 4: Expose structuredClone in Sandbox (bbcfb627) 2023-04-10 08:57:06 +08:00
roytam1 3cb281696c ported from UXP: Issue #2089 - Implement AggregateError (61c99bf6) 2023-02-02 10:26:03 +08:00
roytam1 f05e7f9cc5 ported from UXP: Issue #2083 - Part 1: Make RegExpShared a GC thing. (3796c7c1) 2023-02-01 08:09:09 +08:00
roytam1 a4f6a1ecb5 ported from UXP: Issue #2089 - Use JS engine stack if necessary when reporting errors (6b50dd5d) 2023-01-26 13:35:20 +08:00
roytam1 95ad3c8caf partly import changes from tenfourfox:
- #651: M1767365+backbugs M1757604 M1771774 M1776658 (bc6daa0ae)
2022-09-19 16:26:56 +08:00
roytam1 0d13c227ad ported from UXP: Issue #1805 - Improve stack size limits for all targets. (5ed7e7d5) 2022-07-28 09:04:09 +08:00
roytam1 178bc9d0a0 ported from UXP: Issue #1624 - Make ion inlining optimizations a pref. (ec086512) 2022-04-20 22:57:04 +08:00
roytam1 d1d9737184 import from UXP: Issue #1639 - Implement object.fromEntries() (065ef47e) 2022-04-16 00:19:53 +08:00
roytam1 b80c8a551b ported from UXP: Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement (f85b274e) 2022-04-15 11:43:57 +08:00
roytam1 1fcb308ff8 ported from UXP: Bug 1416999 - Remove document.registerElement (cedff6e2) 2022-04-14 13:58:52 +08:00
roytam1 653ea32011 import from UXP: Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions; (5db13d0f) 2022-04-08 14:33:50 +08:00
roytam1 2bbc2b6f80 import from UXP: Issue #1118 - Part 6: Fix various tests that are no longer correct. (b753aec1) 2022-04-06 11:14:44 +08:00
roytam1 9bd6485341 import from UXP: Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. (fffabb3d) 2022-03-17 17:02:23 +08:00
roytam1 f205fab84c import from UXP: Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. (19854690) 2022-03-17 16:47:55 +08:00
roytam1 b8ccd188b6 import from UXP:
- Bug 1283712 - Part 2: Add JSEXN_NOTE. (98ebeef7)
- Bug 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt. (dc06903c)
- Bug 1283712 - Part 4: Print error note in js::PrintError. (519f13c2)
- Bug 1283712 - Part 5: Support notes in Debugger. (f8f673d9)
- Bug 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and xpc::ErrorReport.mNotes. (0982e6f9)
2022-03-17 16:45:02 +08:00
roytam1 b4bd8cfdef import from UXP: Bug 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. (31760533) 2022-03-17 15:51:50 +08:00
roytam1 c4c841e778 import from UXP: Bug 1333045 - Update Location object properties to current spec. (1af9026a) 2022-03-17 14:17:54 +08:00
roytam1 c8222f0796 import from UXP: Issue #1283 - Implement Promise.prototype.finally() (ff54e689) 2022-03-17 11:30:31 +08:00
roytam1 07ab31395c import from UXP: Issue #1095 - Implement array.flat and array.flatMap (3538814b) 2022-03-16 11:52:49 +08:00
roytam1 8583461fac import from UXP: Align instanceof with the final ES6 spec. (becadd35) 2022-03-15 11:56:11 +08:00
roytam1 64c5471f4a import from mozilla: Bug 1411415 - r=bz r=fitzgen (61ca8af8) 2022-03-15 09:39:46 +08:00
roytam1 717f973661 import from UXP: JS - support for Array.prototype.values() (f8591643) 2022-03-11 16:05:16 +08:00
roytam1 761e41420a partly import changes from tenfourfox:
- #482: better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab)
- M1739352 M1732572(partial) M1730120 M1738237 M1737009 M1717318(partial) M1586061 (03ffdeadb)
- M1737515 M1737470(no tests) +TLDs, HSTS, tzdata (fd2b82f13)
2022-01-04 12:22:52 +08:00
roytam1 4fcfb5a3d8 import change from tenfourfox:
- #375: M1352323 M1038099 (eb6f62648)
2019-11-23 18:01:23 +08:00
roytam1 f63e51e471 revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable 2019-02-20 00:30:25 +08:00
roytam1 3a4eb9ff7e cherry-picked mozilla upstream changes:
bug1346389, bug1382303, bug1383000, bug1339931, bug1346620, bug1351349, bug546387, bug1368150, bug1361132, bug1345781, bug1343781, bug1390980, bug1387918, bug1373222, bug1385272, bug1390002, bug1379539, bug1371657, bug1386905, bug1379540, bug1379536, bug1384308, bug1317900, bug1279171, bug1384801, bug1396320, bug1396570, bug1368269, bug1394024, bug1400721, bug1367482, bug1359624, bug1376163, bug1392988, bug1389908
2018-06-20 22:38:38 +08:00
roytam1 1786a387c3 cherry-picked mozilla upstream changes:
bug1357022, bug1364513, bug1366203, bug1344034, bug1375708, bug1322896, bug1370869, bug1354796, bug1364189, bug1342417, bug1369386, bug1353312, bug1364870, bug1365333, bug1372063, bug1373970, bug1374148, bug1338646, bug1359477, bug1375198, bug1355168, bug1308820, bug1305036, bug1371259
2018-06-19 22:25:06 +08:00
roytam1 6feeca67b6 cherry-picked mozilla upstream changes:
bug1338404, bug1110928, bug1332745, bug835981, bug1331414, bug1332812
2018-06-11 23:24:23 +08:00
roytam1 ee7cd5f958 cherry-picked mozilla upstream changes:
bug1302340, bug1318792, bug1321502, bug1333631, bug1334047, bug1334281, bug1334590, bug1334972, bug1335619, bug1335654, bug1336044, bug1336098, bug1336229, bug1336349, bug1336481, bug1336899, bug1344443
2018-04-13 23:44:41 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00