Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Bug 1299363 - Part 5-1: Make the constructor created by ↵ | Gaming4JC | 2020-01-26 | -43/+54 |
| | | | | | | | | document.registerElement() also works with construction stack. So that the old upgrade can also work with new upgrade steps which will be implemented in part 5-2. Tag UXP Issue #1344 | |||
* | Bug 1353647 - Fix the custom elements v0 upgrade inconsistency; | Gaming4JC | 2020-01-26 | -15/+25 |
| | | | | | | | | | | | | 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. | Gaming4JC | 2020-01-26 | -14/+18 |
| | | | | | | | | 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. | Gaming4JC | 2020-01-26 | -5/+3 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1299363 - Part 2: Allow prototype swizzling in html constructor. | Gaming4JC | 2020-01-26 | -4/+20 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1299363 - Part 1: Implement construction stack. | Gaming4JC | 2020-01-26 | -13/+30 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. | Gaming4JC | 2020-01-26 | -136/+101 |
| | | | | | | 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 ↵ | Gaming4JC | 2020-01-26 | -3/+8 |
| | | | | | | re-enter CustomElementReactionsStack::InvokeReactions. Tag UXP Issue #1344 | |||
* | Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. | Gaming4JC | 2020-01-26 | -0/+4 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1315885 - Part 1: Add ShadowRoot CEReactions annotation. | Gaming4JC | 2020-01-26 | -1/+1 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1340027 - Part 5: Add XSLTProcessor CEReactions annotation. | Gaming4JC | 2020-01-26 | -2/+2 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1340027 - Part 4: Add DOM parsing CEReactions annotation. | Gaming4JC | 2020-01-26 | -4/+4 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1340027 - Part 3: Add CSSStyleDeclaration CEReactions annotation. | Gaming4JC | 2020-01-26 | -3/+3 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1340027 - Part 2: Add HTML CEReactions annotation. | Gaming4JC | 2020-01-26 | -359/+398 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1340027 - Part 1: Add DOM CEReactions annotation. | Gaming4JC | 2020-01-26 | -42/+42 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1377993 - Make node slots less memory hungry in common cases. | Gaming4JC | 2020-01-26 | -178/+203 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be ↵ | Gaming4JC | 2020-01-26 | -52/+32 |
| | | | | | | virtual; Tag UXP Issue #1344 | |||
* | Bug 1325279 - Put the reaction queue in CustomElementData structure instead ↵ | Gaming4JC | 2020-01-26 | -29/+21 |
| | | | | | | | | 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 ↵ | Gaming4JC | 2020-01-26 | -94/+0 |
| | | | | | | | | 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; | Gaming4JC | 2020-01-26 | -22/+44 |
| | | | | | | 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 ↵ | Gaming4JC | 2020-01-26 | -1/+2 |
| | | | | | | feature is pref-ed off; Tag UXP Issue #1344 | |||
* | Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference; | Gaming4JC | 2020-01-26 | -1/+9 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref; | Gaming4JC | 2020-01-26 | -4/+12 |
| | | | | | | Note: Minus IPC bit. Tag UXP Issue #1344 | |||
* | Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions ↵ | Gaming4JC | 2020-01-26 | -5/+19 |
| | | | | | | code. Tag UXP Issue #1344 | |||
* | Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry. | Gaming4JC | 2020-01-26 | -10/+2 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen. | Gaming4JC | 2020-01-26 | -0/+96 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen ↵ | Gaming4JC | 2020-01-26 | -2/+3 |
| | | | | | | to generate CEReaction code. Tag UXP Issue #1344 | |||
* | Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser. | Gaming4JC | 2020-01-26 | -0/+180 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1350960 - Release CustomElementReactionsStack in TabGroup thread when ↵ | Gaming4JC | 2020-01-26 | -0/+3 |
| | | | | | | | | 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 ↵ | Gaming4JC | 2020-01-26 | -1/+1 |
| | | | | | | propagate out JS exceptions; Tag UXP Issue #1344 | |||
* | Bug 1347446 - Move custom element reactions stack to DocGroup. | Gaming4JC | 2020-01-26 | -90/+136 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1341693 - Don't need to check GetDocShell() when creating ↵ | Gaming4JC | 2020-01-26 | -35/+23 |
| | | | | | | CustomElementRegistry; Tag UXP Issue #1344 | |||
* | Bug 1309184 - Implement upgrade reaction for custom element reactions. | Gaming4JC | 2020-01-26 | -29/+267 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1274159 - Part 4: Add test cases for HTMLConstructor; | Gaming4JC | 2020-01-26 | -0/+437 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; | Gaming4JC | 2020-01-26 | -6/+68 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute ↵ | Gaming4JC | 2020-01-26 | -30/+530 |
| | | | | | | for custom elements; Tag UXP Issue #1344 | |||
* | Bug 1274159 - Part 2-1: Include the name of relevant interface in ↵ | Gaming4JC | 2020-01-26 | -3/+1 |
| | | | | | | nsHTMLTagList.h; Tag UXP Issue #1344 | |||
* | Bug 1274159 - Part 1: Support looking up definitions by using constructor as ↵ | Gaming4JC | 2020-01-26 | -7/+50 |
| | | | | | | a key; Tag UXP Issue #1344 | |||
* | Bug 1271549 - Remove details and summary preference. | Gaming4JC | 2020-01-26 | -44/+2 |
| | | | | Tag UXP Issue #1344 | |||
* | Bug 1276438 part 3. Align the .body setter with the spec a bit better. | Gaming4JC | 2020-01-26 | -5/+3 |
| | | | | | | | | | | | | 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 ↵ | Gaming4JC | 2020-01-26 | -26/+28 |
| | | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252 | |||
* | Bug 1276438 part 1. Move the implementation of the .body getter from ↵ | Gaming4JC | 2020-01-26 | -21/+25 |
| | | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252 | |||
* | Issue #1366 - Fix build bustage from erroneously removing 2 function ↵ | wolfbeast | 2020-01-22 | -0/+14 |
| | | | | implementations. | |||
* | Issue #1354 - Fix another potential crashing scenario in WebGL. | wolfbeast | 2020-01-22 | -0/+7 |
|\ | | | | | | | (merge of gl-work branch) | |||
| * | Issue #1354 - Clear the current context when MakeCurrent() fails. | wolfbeast | 2020-01-20 | -0/+7 |
| | | ||||
* | | Issue #1366 - Completely remove showModalDialog | Gaming4JC | 2020-01-21 | -1271/+11 |
|/ | ||||
* | No issue - Fix some line endings in WebGLShaderValidator.cpp | wolfbeast | 2020-01-16 | -18/+18 |
| | ||||
* | Issue #1354 - Don't allow glsl[130,400] unless we have gpu_shader5 | wolfbeast | 2020-01-16 | -0/+11 |
| | | | | | - 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 Tausky | 2020-01-09 | -1/+2 |
| | ||||
* | Merge pull request #1347 from g4jc/html5_dialog | Moonchild | 2020-01-09 | -5/+190 |
|\ | | | | | Implement HMTL5 <dialog> |