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
4e09c971d0
ported from UXP: Issue #2435 - Make CycleCollectedJSContext.h dependency explicit (73b14eae)
2024-01-09 14:15:59 +08:00
roytam1
9b84ad4a81
import from UXP: Issue #1656 - Remove more vim control lines. (c9b8a576)
2023-05-04 12:49:37 +08:00
roytam1
c185d09d16
import from UXP: Issue #1375 - Part 2: customElements.define must upgrade custom element in shadow-including tree order (6781f5b6)
2023-03-02 15:07:19 +08:00
roytam1
0b71f2c745
ported from UXP: Issue #80 - Fix deprot in dom/base. (ba1887ff)
2022-12-30 09:47:36 +08:00
roytam1
e5acb150db
import from UXP:
...
- Issue #1375 - Implement customElements.upgrade. (bc36c607)
- Issue #1375 - Use nsIAtom* instead of nsAtom* for CE Upgrade function. (d3670676)
2022-10-13 10:52:21 +08:00
roytam1
4cb5a0b3f8
ported from UXP: Bug 1417829 - Remove unresolved pseudoclass (6f7c7382)
2022-04-14 22:58:23 +08:00
roytam1
1915900ba4
ported from UXP: Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] (ca09afd0)
2022-04-14 17:25:12 +08:00
roytam1
1fcb308ff8
ported from UXP: Bug 1416999 - Remove document.registerElement (cedff6e2)
2022-04-14 13:58:52 +08:00
roytam1
287b31fa15
import from UXP: Issue #1375 - Stop largely using the parser service (9928baf9)
2022-04-14 10:42:09 +08:00
roytam1
37e04cd171
import from UXP: Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition (57da7a19)
2022-04-08 15:46:43 +08:00
roytam1
b44e2d0eb1
import from UXP: Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue when the attribute value is an empty string; (2cdd48f8)
2022-04-08 15:39:09 +08:00
roytam1
c4b591e829
import from UXP: Bug 1421544 - Lazy push/pop CustomElementReactionsStack entry; (a6339bef)
2022-04-08 15:37:48 +08:00
roytam1
c7011b8aa1
import from UXP: Bug 1413815 - Convert 'observedAttributes' to a sequence<DOMString> (a9b3ebac)
2022-04-08 15:34:33 +08:00
roytam1
126b803ea3
import from UXP: Bug 1407669 - Fix custom element creation hides uncatchable exceptions from the constructor. (f64c7135)
2022-04-08 15:33:37 +08:00
roytam1
e19842a5b1
import from UXP: Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue even if some of elements are already unlinked (506795f3)
2022-04-08 15:32:29 +08:00
roytam1
f63a0e8612
import from UXP: Bug 1419305 - Part 1: Use MicroTask on CustomElements correctly (8a0e7286)
2022-04-08 15:30:12 +08:00
roytam1
3d3913696d
ported from UXP: Bug 1405821 - Move microtask handling to CycleCollectedJSContext (fb6f6ec9)
2022-04-08 14:58:29 +08:00
roytam1
6780a398bd
import from UXP:
...
- Bug 1396620 - Part 1: Remove created callback for custom elements (baa035c5)
- Bug 1396620 - Part 2: Fix compartment mismatch crash when doing old prototype swizzling for custom element (3639f0e2)
2022-04-08 14:21:55 +08:00
roytam1
dc74da698b
import from UXP: Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control CustomElements feature (33693080)
2022-04-08 14:19:51 +08:00
roytam1
4e146eb24a
import from UXP: Bug 1405335 - Remove custom element attached and detached callbacks validation checks (b70a9b1d)
2022-04-08 14:18:38 +08:00
roytam1
43319de3ed
import from UXP: Bug 1406325 - Part 5: Implement try to upgrade. (dba59f03)
2022-04-08 14:17:11 +08:00
roytam1
ce5f288c59
import from UXP:
...
- Bug 1406325 - Part 3: Refactor custom elements clone a node. (c4718c47)
- Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0. (db3b6b58)
2022-04-08 14:09:07 +08:00
roytam1
a94dbc127c
ported from UXP: Bug 1378079 - Part 3: Complete the steps related to custom elements in "create an element for a token". (5d26d328)
2022-04-08 13:55:25 +08:00
roytam1
37c42e3a83
import from UXP: Bug 1410790 - Add more assertion in CustomElementData::SetCustomElementDefinition and GetCustomElementDefinition; (76b1eaa5)
2022-04-08 11:50:59 +08:00
roytam1
dd01d35125
import from UXP: Bug 1352290 - Add assertion to CustomElementReactionsStack::Enqueue to ensure upgrade reactions aren't scheduled to BackupQueue; (c0e1a6e3)
2022-04-06 15:52:14 +08:00
roytam1
8a762361f7
import from UXP: Bug 1407937 - Move mDefinition from CustomElementReacion to CustomElementUpgradeReaction; (eb9d4bb8)
2022-04-06 15:49:10 +08:00
roytam1
486f6b1f6a
import from UXP: Bug 1406297 - Fix Document.createElement must report an exception. (e925977c)
2022-04-06 15:45:18 +08:00
roytam1
371bdaaeb1
import from UXP: Bug 1121994 - Implement adopted callback for custom elements. (d35ff298)
2022-04-06 15:42:08 +08:00
roytam1
14cf777bb0
import from UXP: Bug 1334044: Replace detached callback (v0) with disconnected callback (v1). (65920463)
2022-04-06 15:34:02 +08:00
roytam1
90b955e34f
import from UXP: Bug 1334043 - Part 2: Make nsContentUtils::EnqueueLifecycleCallback static. (befa1027)
2022-04-06 15:26:51 +08:00
roytam1
124f682a80
import from UXP: Bug 1334043 - Part 1: Replace attached callback (v0) with connected callback (v1). (207d5a2e)
2022-04-06 15:20:19 +08:00
roytam1
af794230e3
import from UXP: Bug 1392970 - Part 2: Get CustomElementDefinition from CustomElementData when possible. (d1a11067)
2022-04-06 15:11:41 +08:00
roytam1
e9a0e99e37
ported from UXP: Bug 1392970 - Part 1: Make CustomElementDefinition ref-counted and put it in CustomElementData. (7ce17429)
2022-04-06 15:09:48 +08:00
roytam1
59ff3d23a7
import from UXP: Bug 1301024 - Part 2: Implement create an element steps. (b0285ef3)
2022-04-06 15:03:08 +08:00
roytam1
337fcbf4ab
import from UXP: Bug 1334051 - Part 2: Invoke attributeChangedCallback only if attribute name is in the observed attribute list. (2bd8be69)
2022-04-06 14:51:35 +08:00
roytam1
91c67e7b54
import from UXP: Bug 1334051 - Part 1: Include namespace in attributeChangedCallback. (4408e19e)
2022-04-06 14:45:26 +08:00
roytam1
85d16d47d5
ported from UXP: Bug 1299363 - Part 5-2: Implement new upgrade steps. (729ffa53)
2022-04-06 14:41:01 +08:00
roytam1
89b8f32437
import from UXP: Bug 1299363 - Part 5-1: Make the constructor created by document.registerElement() also works with construction stack. (b2e0ae69)
2022-04-06 14:33:18 +08:00
roytam1
1e1b934440
import from UXP: Bug 1353647 - Fix the custom elements v0 upgrade inconsistency; (3dce7ee1)
2022-04-06 14:32:16 +08:00
roytam1
4998f43f63
import from UXP: Bug 1299363 - Part 4: Hold a pointer of ElementQueue in ReactionsStack instead. (005b7118)
2022-04-06 14:29:40 +08:00
roytam1
263e17bc1d
import from UXP: Bug 1299363 - Part 3: Remove unused argument in UpgradeCandidates. (9fc88d01)
2022-04-06 14:28:22 +08:00
roytam1
6f88300bf4
import from UXP: Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. (34dd7065)
2022-04-06 14:11:02 +08:00
roytam1
b2aa1208de
import from UXP: Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. (931b14f8)
2022-04-06 14:06:32 +08:00
roytam1
ed2d2910e9
import from UXP: Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. (b94fadac)
2022-04-06 14:03:53 +08:00
roytam1
39b046965d
ported from UXP: Bug 1325279 - Put the reaction queue in CustomElementData structure instead of using a map; (b631d9d5)
2022-04-06 13:31:28 +08:00
roytam1
78f106ac05
import from UXP:
...
- Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref; (d662ddd6)
- Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference; (979d2bfb)
- Bug 1357002 - Part 2: Don't call SetupCustomElement() if the custom element feature is pref-ed off; (5ad5f4e1)
- Bug 1359346 - Implement custom element state; (cb89330b)
2022-03-22 15:00:57 +08:00
roytam1
1569111ce9
import from UXP:
...
- Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser. (39fcec34)
- Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen to generate CEReaction code. (0b774c0e)
- Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen. (303037d0)
- Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry. (cc71e21e)
- Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions code. (f7154d57)
2022-03-22 14:50:44 +08:00
roytam1
5d613c81e7
import from UXP:
...
- Bug 1351979 - Change CustomElementRegistry::Define code to properly propagate out JS exceptions; (a176a0e5)
- Bug 1350960 - Release CustomElementReactionsStack in TabGroup thread when DocGroup is going away. (932dde0d)
2022-03-22 14:26:05 +08:00
roytam1
414f6dc838
import from UXP: Bug 1347446 - Move custom element reactions stack to DocGroup. (bde53294)
2022-03-22 14:22:03 +08:00