summaryrefslogtreecommitdiff
path: root/dom
Commit message (Collapse)AuthorAge
* Bug 1353647 - Fix the custom elements v0 upgrade inconsistency;Gaming4JC2020-01-26
| | | | | | | | | | | | There are two places doing prototype setup in old upgrade, - If definition comes after JS reflector creation, CustomElementRegistry::Upgrade will do prototype swizzling. - If definition comes before JS reflector creation, Element::WrapObject will set up the prototype. The later one does SubsumesConsideringDomain, but the former doesn't not. This patch is to fix the inconsistency, i.e. the former case should also do SubsumesConsideringDomain. Tag UXP Issue #1344
* Bug 1299363 - Part 4: Hold a pointer of ElementQueue in ReactionsStack instead.Gaming4JC2020-01-26
| | | | | | | | 1. It is possible that invoking a reaction triggers pushing a new ElementQueue into ReactionStack (e.g., calling define() in constructor which probably enqueue another upgrade reaction), and the reference of ElementQueue passed to InvokeReactions becomes invalid due to the memmove in nsTArray implementation. 2. And we get another benefit from this is memmove becomes faster. Tag UXP Issue #1344
* Bug 1299363 - Part 3: Remove unused argument in UpgradeCandidates.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1299363 - Part 2: Allow prototype swizzling in html constructor.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1299363 - Part 1: Implement construction stack.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1315885 - Part 4: Implement callback reaction for custom element reactions.Gaming4JC2020-01-26
| | | | | | Note: Skipped SyncInvokeReactions since it is removed in CE v1, waste of time. Tag UXP Issue #1344
* Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to ↵Gaming4JC2020-01-26
| | | | | | re-enter CustomElementReactionsStack::InvokeReactions. Tag UXP Issue #1344
* Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1315885 - Part 1: Add ShadowRoot CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1340027 - Part 5: Add XSLTProcessor CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1340027 - Part 4: Add DOM parsing CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1340027 - Part 3: Add CSSStyleDeclaration CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1340027 - Part 2: Add HTML CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1340027 - Part 1: Add DOM CEReactions annotation.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1377993 - Make node slots less memory hungry in common cases.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be ↵Gaming4JC2020-01-26
| | | | | | virtual; Tag UXP Issue #1344
* Bug 1325279 - Put the reaction queue in CustomElementData structure instead ↵Gaming4JC2020-01-26
| | | | | | | | of using a map; Bug 1347446 makes accessing ElementReactionQueue becomes a bit non-trival (have to get it via DocGroup). Since bug 1359346 already refactors the creation time of CustomElementData, ReactionQueue can also be put into CustomElementData, then we can just get ReactionQueue from Element. Tag UXP Issue #1344
* Creating customized built-in elements without relevant definitions ↵Gaming4JC2020-01-26
| | | | | | | | registered first shouldn't throw NotFoundError; per spec change: https://github.com/w3c/webcomponents/issues/608 Tag UXP Issue #1344
* Bug 1359346 - Implement custom element state;Gaming4JC2020-01-26
| | | | | | https://dom.spec.whatwg.org/#concept-element-custom-element-state Tag UXP Issue #1344
* Bug 1357002 - Part 2: Don't call SetupCustomElement() if the custom element ↵Gaming4JC2020-01-26
| | | | | | feature is pref-ed off; Tag UXP Issue #1344
* Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference;Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref;Gaming4JC2020-01-26
| | | | | | Note: Minus IPC bit. Tag UXP Issue #1344
* Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions ↵Gaming4JC2020-01-26
| | | | | | code. Tag UXP Issue #1344
* Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen ↵Gaming4JC2020-01-26
| | | | | | to generate CEReaction code. Tag UXP Issue #1344
* Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1350960 - Release CustomElementReactionsStack in TabGroup thread when ↵Gaming4JC2020-01-26
| | | | | | | | DocGroup is going away. Note: In UXP we use non-Quantum thread checking implementation here. Tag UXP Issue #1344
* Bug 1351979 - Change CustomElementRegistry::Define code to properly ↵Gaming4JC2020-01-26
| | | | | | propagate out JS exceptions; Tag UXP Issue #1344
* Bug 1347446 - Move custom element reactions stack to DocGroup.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1341693 - Don't need to check GetDocShell() when creating ↵Gaming4JC2020-01-26
| | | | | | CustomElementRegistry; Tag UXP Issue #1344
* Bug 1309184 - Implement upgrade reaction for custom element reactions.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 4: Add test cases for HTMLConstructor;Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass;Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute ↵Gaming4JC2020-01-26
| | | | | | for custom elements; Tag UXP Issue #1344
* Bug 1274159 - Part 2-1: Include the name of relevant interface in ↵Gaming4JC2020-01-26
| | | | | | nsHTMLTagList.h; Tag UXP Issue #1344
* Bug 1274159 - Part 1: Support looking up definitions by using constructor as ↵Gaming4JC2020-01-26
| | | | | | a key; Tag UXP Issue #1344
* Bug 1271549 - Remove details and summary preference.Gaming4JC2020-01-26
| | | | Tag UXP Issue #1344
* Bug 1276438 part 3. Align the .body setter with the spec a bit better.Gaming4JC2020-01-26
| | | | | | | | | | | | There are two changes here: 1) We allow setting .body even if the root element is not an <html:html>. This is what the spec says to do, and what we used to do before the changes in bug 366200. No tests for this yet, pending https://github.com/whatwg/html/issues/3403 getting resolved. 2) We use GetBody(), not GetBodyElement(), to look for an existing thing to replace. This matters if there are <frameset>s involved. Tag UXP Issue #1344 Tag UXP Issue #252
* Bug 1276438 part 2. Move the implementation of the .body setter from ↵Gaming4JC2020-01-26
| | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252
* Bug 1276438 part 1. Move the implementation of the .body getter from ↵Gaming4JC2020-01-26
| | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252
* Issue #1366 - Fix build bustage from erroneously removing 2 function ↵wolfbeast2020-01-22
| | | | implementations.
* Issue #1354 - Fix another potential crashing scenario in WebGL.wolfbeast2020-01-22
|\ | | | | | | (merge of gl-work branch)
| * Issue #1354 - Clear the current context when MakeCurrent() fails.wolfbeast2020-01-20
| |
* | Issue #1366 - Completely remove showModalDialogGaming4JC2020-01-21
|/
* No issue - Fix some line endings in WebGLShaderValidator.cppwolfbeast2020-01-16
|
* Issue #1354 - Don't allow glsl[130,400] unless we have gpu_shader5wolfbeast2020-01-16
| | | | | - Teach GLContext about gpu_shader5 - Downgrade shader language version if gpu_shader5 support isn't found.
* Make copy of list before iterating over it.Yaron Tausky2020-01-09
|
* Merge pull request #1347 from g4jc/html5_dialogMoonchild2020-01-09
|\ | | | | Implement HMTL5 <dialog>
| * Bug 1379728 part 1. Remove the double-definition of the 'close' event from ↵Gaming4JC2020-01-07
| | | | | | | | | | | | EventNameList.h. Tag #1343