summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* [IndexedDB] Ensure that strong references to newly created cursors areSimon Giesecke2020-02-14-2/+4
| | | | | | | kept until the DOM Binding is created. This fixes random crashes on websites that use IndexedDB cursors. See also BZ bug 1599420
* [CSP] Allow not having a Port for RessourceURI if the Scheme has nowolfbeast2020-02-11-1/+15
| | | | Default Port
* Issue #80 - Stop building non-generated dom/binding files as UNIFIED_SOURCESMatt A. Tobin2020-02-08-3/+13
| | | | Also fix deprot
* Directly assign PrimitiveConversions.h to the generated binding of ↵Matt A. Tobin2020-02-08-0/+6
| | | | | | | | KeyframeAnimationOptions. This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional. Least until something better comes along.
* Merge pull request #1388 from win7-7/devirtualize-prMoonchild2020-02-07-3/+17
|\ | | | | Merging this in even without a test performed since the code change looks sane. real-world testing will have to be performed.
| * Issue #1386 - Devirtualize GetRowSpan/GetColSpanwin7-72020-02-03-3/+17
| | | | | | | | It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
* | Issue #1395 - Part 2: Remove the /rest/ of FlyWebMatt A. Tobin2020-02-06-4420/+0
| |
* | Issue #1395 - Remove FlyWeb ServiceMatt A. Tobin2020-02-06-216/+0
| |
* | Issue #1390 - Get rid of the Presentation APIMatt A. Tobin2020-02-06-29274/+0
| |
* | Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/*wolfbeast2020-02-05-5/+11
| |
* | Issue #26 - Part 2b: Stub out GMPDecryptorProxy functions.wolfbeast2020-02-04-1/+35
| | | | | | | | | | | | | | | | If EME isn't built, these functions would have no use and the callback structures are unavailable. Stubbing these out will still allow the callers to work unchanged, but in effect simply always return without dispatching a promised task. This fixes the dependency issue from part 2a.
* | Issue #26 Part 2a: make more EME code conditional.wolfbeast2020-02-03-21/+126
|/ | | | | | - Exclude missed MediaKey functions and CDMProxy code. - Exclude EME APIs frm being built (webidl change) - Fix tests in --disable-eme state
* Issue #1384 - Match standard for colSpan/rowSpanwin7-72020-02-03-19/+59
| | | | | | HTML standardizes proper behavior of colSpan and rowSpan: The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
* Issue #65 - Remove AppConstants from dom/Matt A. Tobin2020-02-01-19/+18
|
* [WebRequest] Remove AddonManagerPermissions leftoverswolfbeast2020-01-29-5/+0
| | | | | | This was added as part of the WebExtension sec issue CVE-2017-5389. Since we no longer have this interface, it needed to be removed to prevent errors in the WebRequest channel callback.
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵athenian2002020-01-27-3068/+4036
|\ | | | | | | form-disabled-issue
| * Bug 1430951 - Avoid element name atomizing to improve performance of ↵Gaming4JC2020-01-26-10/+14
| | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | 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-42/+81
| | | | | | | | | | | | MutationObserver to use them Tag UXP Issue #1344
| * Bug 1405821 - Move microtask handling to CycleCollectedJSContextGaming4JC2020-01-26-83/+37
| | | | | | | | 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-4/+14
| | | | | | | | | | | | | | | | 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-110/+29
| | | | | | | | | | | | 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-59/+31
| | | | | | | | | | | | | | | | "create an element for a token". With fixup for missing header due to unified builds. Tag UXP Issue #1344
| * Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.Gaming4JC2020-01-26-33/+92
| | | | | | | | | | | | 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 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 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 1352290 - Add assertion to CustomElementReactionsStack::Enqueue to ↵Gaming4JC2020-01-26-0/+15
| | | | | | | | | | | | ensure upgrade reactions aren't scheduled to BackupQueue; Tag UXP Issue #1344
| * Bug 1407937 - Move mDefinition from CustomElementReacion to ↵Gaming4JC2020-01-26-19/+7
| | | | | | | | | | | | CustomElementUpgradeReaction; Tag UXP Issue #1344
| * Bug 1406297 - Fix Document.createElement must report an exception.Gaming4JC2020-01-26-9/+13
| | | | | | | | Tag UXP Issue #1344
| * Bug 1319342 - Clone a node should enqueue an upgrade reaction.Gaming4JC2020-01-26-60/+23
| | | | | | | | Tag UXP Issue #1344
| * Bug 1121994 - Implement adopted callback for custom elements.Gaming4JC2020-01-26-11/+76
| | | | | | | | Tag UXP Issue #1344
| * Bug 1334044: Replace detached callback (v0) with disconnected callback (v1).Gaming4JC2020-01-26-22/+28
| | | | | | | | Tag UXP Issue #1344
| * Bug 1334043 - Part 3: Update tests for connected callback.Gaming4JC2020-01-26-6/+6
| | | | | | | | Tag UXP Issue #1344
| * Bug 1334043 - Part 2: Make nsContentUtils::EnqueueLifecycleCallback static.Gaming4JC2020-01-26-75/+41
| | | | | | | | | | | | We make nsContentUtils::EnqueueLifecycleCallback static so that it can be called without a window object. To achive this, we also make CustomElementReaction not taking a CustomElementRegistry in the constructor, as it can call Upgrade statically. Tag UXP Issue #1344
| * Bug 1334043 - Part 1: Replace attached callback (v0) with connected callback ↵Gaming4JC2020-01-26-25/+27
| | | | | | | | | | | | (v1). Tag UXP Issue #1344
| * Bug 1392970 - Part 2: Get CustomElementDefinition from CustomElementData ↵Gaming4JC2020-01-26-46/+26
| | | | | | | | | | | | when possible. Tag UXP Issue #1344