summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Force CLOBBERMatt A. Tobin2020-01-26-1/+1
|
* Merge pull request #1374 from g4jc/custom_elementsv1New Tobin Paradigm2020-01-26-13323/+17822
|\ | | | | Custom Elements v1
| * Bug 1430951 - Avoid element name atomizing to improve performance of ↵Gaming4JC2020-01-26-11/+16
| | | | | | | | | | | | | | | | LookupCustomElementDefinition Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead. Tag UXP Issue #1344
| * Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue ↵Gaming4JC2020-01-26-1/+32
| | | | | | | | | | | | when the attribute value is an empty string; Tag UXP Issue #1344
| * Bug 1421544 - Lazy push/pop CustomElementReactionsStack entry;Gaming4JC2020-01-26-19/+96
| | | | | | | | Tag UXP Issue #1344
| * Bug 1413815 - Convert 'observedAttributes' to a sequence<DOMString>Gaming4JC2020-01-26-5/+13
| | | | | | | | Tag UXP Issue #1344
| * Bug 1407669 - Fix custom element creation hides uncatchable exceptions from ↵Gaming4JC2020-01-26-0/+40
| | | | | | | | | | | | the constructor. Tag UXP Issue #1344
| * Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue ↵Gaming4JC2020-01-26-4/+5
| | | | | | | | | | | | even if some of elements are already unlinked Tag UXP Issue #1344
| * Bug 1419305 - Part 1: Use MicroTask on CustomElements correctlyGaming4JC2020-01-26-8/+7
| | | | | | | | Tag UXP Issue #1344
| * Bug 1406922 - Make CycleCollectedJSContext to handle microtasks and make ↵Gaming4JC2020-01-26-48/+164
| | | | | | | | | | | | MutationObserver to use them Tag UXP Issue #1344
| * Bug 1405821 - Move microtask handling to CycleCollectedJSContextGaming4JC2020-01-26-84/+100
| | | | | | | | Tag UXP Issue #1344
| * Bug 1419643 - Don't need to lookup custom element definition for a ↵Gaming4JC2020-01-26-5/+8
| | | | | | | | | | | | non-custom element Tag UXP Issue #1344
| * Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-8/+50
| | | | | | | | | | | | | | | | elements reactions; The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235. Tag UXP Issue #1344
| * Bug 1396620 - Part 2: Fix compartment mismatch crash when doing old ↵Gaming4JC2020-01-26-0/+4
| | | | | | | | | | | | prototype swizzling for custom element Tag UXP Issue #1344
| * Bug 1396620 - Part 1: Remove created callback for custom elementsGaming4JC2020-01-26-240/+22
| | | | | | | | Tag UXP Issue #1344
| * Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control ↵Gaming4JC2020-01-26-4/+3
| | | | | | | | | | | | CustomElements feature Tag UXP Issue #1344
| * Bug 1405335 - Remove custom element attached and detached callbacks ↵Gaming4JC2020-01-26-5/+1
| | | | | | | | | | | | validation checks Tag UXP Issue #1344
| * Bug 1406325 - Part 5: Implement try to upgrade.Gaming4JC2020-01-26-14/+121
| | | | | | | | Tag UXP Issue #1344
| * Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also ↵Gaming4JC2020-01-26-112/+34
| | | | | | | | | | | | removing parts of v0. Tag UXP Issue #1344
| * Bug 1406325 - Part 3: Refactor custom elements clone a node.Gaming4JC2020-01-26-25/+19
| | | | | | | | Tag UXP Issue #1344
| * Bug 1406325 - Part 2: Set CustomElementData when cloning a node.Gaming4JC2020-01-26-4/+70
| | | | | | | | Tag UXP Issue #1344
| * Bug 1406325 - Part 1: Make sure custom element state is custom before ↵Gaming4JC2020-01-26-5/+14
| | | | | | | | | | | | sending callback. Tag UXP Issue #1344
| * Bug 1378079 - Part 3: Complete the steps related to custom elements in ↵Gaming4JC2020-01-26-141/+203
| | | | | | | | | | | | | | | | "create an element for a token". With fixup for missing header due to unified builds. Tag UXP Issue #1344
| * Regenerate Parser for 483155Gaming4JC2020-01-26-1795/+3089
| | | | | | | | Tag UXP Issue #1344
| * Fix Build: We don't have SVG or MathML prefs yetGaming4JC2020-01-26-24/+0
| | | | | | | | | | | | See Bug 1173199 / 1216893 Tag UXP Issue #1344
| * Fix aAttributesGaming4JC2020-01-26-0/+1
| | | | | | | | | | | | Fallout from 483155 Tag UXP Issue #1344
| * Fix ISINDEXGaming4JC2020-01-26-1/+1
| | | | | | | | | | | | Since we want to keep this element, it has to be adapted to the parser changes in 483155 Tag UXP Issue #1344
| * Add missing space to ElementName.java self-regeneration code.Gaming4JC2020-01-26-1/+1
| | | | | | | | Tag UXP Issue #1344
| * Add missing elements from Bug 483155Gaming4JC2020-01-26-0/+8
| | | | | | | | Tag UXP Issue #1344
| * Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.Gaming4JC2020-01-26-129/+475
| | | | | | | | | | | | This is all the manual work for Bug 483155, minus the added functionality to disable SVG and MathML which can be done at any time and are out of scope. Tag UXP Issue #1344
| * Bug 483155 - Put Gecko content creator function pointers on ElementName.Gaming4JC2020-01-26-81/+513
| | | | | | | | Tag UXP Issue #1344
| * Bug 1355779 - Skip interned ElementName lookup for Custom Elements (ones ↵Gaming4JC2020-01-26-262/+280
| | | | | | | | | | | | | | | | with hyphen). Regen. Tag UXP Issue #1344
| * Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements ↵Gaming4JC2020-01-26-8/+39
| | | | | | | | | | | | (ones with hyphen). Tag UXP Issue #1344
| * Bug 1378079 - Part 2: Introduce throw-on-dynamic-markup-insertion counter.Gaming4JC2020-01-26-1/+54
| | | | | | | | | | | | Per spec, document objects have a throw-on-dynamic-markup-insertion counter, which is used in conjunction with the create an element for the token algorithm to prevent custom element constructors from being able to use document.open(), document.close(), and document.write() when they are invoked by the parser. Tag UXP Issue #1344
| * Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser.Gaming4JC2020-01-26-343/+349
| | | | | | | | Tag UXP Issue #1344
| * Bug 1378079 - Add attribute 'is' to HTML parser.Gaming4JC2020-01-26-634/+637
| | | | | | | | Tag UXP Issue #1344
| * Bug 1410790 - Add more assertion in ↵Gaming4JC2020-01-26-31/+52
| | | | | | | | | | | | | | | | CustomElementData::SetCustomElementDefinition and GetCustomElementDefinition; This is a follow-up patch for bug 1392970. Since we only set CustomElementDefinition on a custom element which is custom, we could add more assertion to ensure that. Tag UXP Issue #1344
| * Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-981/+1019
| | | | | | | | | | | | | | | | in HTML parser from sorted to level order BST in order to take advantage of cache during lookup. HTML Regen. Tag UXP Issue #1344
| * Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-1164/+1164
| | | | | | | | | | | | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Java Regen. Tag UXP Issue #1344
| * Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-10/+108
| | | | | | | | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Tag UXP Issue #1344
| * Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-2048/+2256
| | | | | | | | | | | | HTML Regen. Tag UXP Issue #1344
| * Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-133/+134
| | | | | | | | | | | | Manual changes Tag UXP Issue #1344
| * Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-80/+72
| | | | | | | | Tag UXP Issue #1344
| * Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-71/+66
| | | | | | | | | | | | | | | | avoid malloc. HTML Regen. Tag UXP Issue #1344
| * Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-179/+212
| | | | | | | | | | | | | | | | | | | | avoid malloc. - Removes nsHtml5ReleasableAttributeName - Adds nsHtml5AttributeEntry.h - Makes nsHtml5HtmlAttributes no longer gentered. Tag UXP Issue #1344
| * Bug 1355479 - Remove isindex on the Java side and allow the C++ side to ↵Gaming4JC2020-01-26-336/+180
| | | | | | | | | | | | reduce malloc in attribute handling. Tag UXP Issue #1344
| * Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-50/+0
| | | | | | | | | | | | | | | | non-interned element name. Fix build - Remove no longer used ReleaseableElement Tag UXP Issue #1344
| * Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-64/+69
| | | | | | | | | | | | | | | | non-interned element name. HTML Regen. Tag UXP Issue #1344
| * Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-90/+109
| | | | | | | | | | | | non-interned element name. Tag UXP Issue #1344
| * Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.Gaming4JC2020-01-26-5186/+5214
| | | | | | | | | | | | HTML Regen. Tag UXP Issue #1344