summaryrefslogtreecommitdiff
path: root/dom/base
Commit message (Collapse)AuthorAge
* Issue mcp-graveyard/UXP#1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, ↵Moonchild2020-09-23
| | | | *.webidl, *.cc
* Issue mcp-graveyard/UXP#1656 - Part 2: Unmangle some unfortunate UTF-8 victims.Moonchild2020-09-23
| | | | The poor fellows got lost in an ASCII-interpretation of the world.
* Issue mcp-graveyard/UXP#1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Issue mcp-graveyard/UXP#1655: Update MediaQueryList to the current draft spec.Moonchild2020-09-23
| | | | | | | This make MediaQueryList inherit from EventTarget and adds MediaQueryListEvent as an interface as well as the onchange() method. This should not affect compatibility with other code; the event object is a MediaQueryListEvent instance, which is recognized as a MediaListQuery instance.
* Issue mcp-graveyard/UXP#1224 - Remove constant expressions from /domMoonchild2020-09-17
| | | | | This excludes DOMProxy handlers in dom bindings because that's intertwined with codegen and js that needs to be handled together.
* Issue mcp-graveyard/UXP#1643 - Part 4: Hook up all the plumbing.Moonchild2020-09-16
|
* Issue mcp-graveyard/UXP#1643 - Part 3: Implement ResizeObserverControllerMoonchild2020-09-16
|
* Issue mcp-graveyard/UXP#1643 - Part 2: Implement ResizeObserver APIMoonchild2020-09-16
| | | | Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
* Issue mcp-graveyard/UXP#1643 - Part 1: Add GetNodeDepth() to nsContentUtils.Moonchild2020-09-16
|
* Issue mcp-graveyard/UXP#618 - (async) Implement async attribute for inline ↵Moonchild2020-08-25
| | | | | | | | | | | | module scripts. This commit does several things: - Moves the pref check from ScriptLoader to ns[I]Document so it can be called on the document. - Changes the atrribute freezing function to a better name that takes the document as a parameter. - Sets the proper async/defer attributes on HTML script elements based on keywords and whether they are module scripts or not.
* Merge pull request #1632 from athenian200/link_element_disabledMoonchild2020-08-18
|\ | | | | Respond to disabled attribute set on <link> elements from HTML
| * Issue mcp-graveyard/UXP#1629 - Part 2: Implement the Explicitly Enabled flag.athenian2002020-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This part of the bug was significantly complicated by the following major refactors: https://bugzilla.mozilla.org/show_bug.cgi?id=1456435 https://bugzilla.mozilla.org/show_bug.cgi?id=1459498 As best as I can tell, we just need to implement the explicitly enabled flag on every instance of GetStyleSheetInfo, make sure aIsExplicitlyEnabled is false in every situation except the one where the disabled content attribute is removed from a link element, and enable alternate stylesheets if this flag is set on them. So we take the explicitly enabled flag as an input to PrepareSheet, and also add it to LoadStyleLink and LoadInlineStyle. I also decided not to defer loading of alternate stylesheets that have been explicitly enabled.
* | [network/dom] Improve sanitization of download filenames.Moonchild2020-07-29
| |
* | Issue mcp-graveyard/UXP#1391 - Remove the DOM battery APIMoonchild2020-07-28
|/
* Issue mcp-graveyard/UXP#618 - Remove eager instantiation - Debug follow upGaming4JC2020-07-11
| | | | | | | The added debug assertion did not take into account microtask refactoring done in BZ 1405821. Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'. This resolves the error.
* Issue mcp-graveyard/UXP#618 - Slightly improve module scripting tests.Moonchild2020-07-04
| | | | Ref: BZ 1388728
* Issue mcp-graveyard/UXP#618 - Remove eager instantiationMoonchild2020-07-04
| | | | | This backs out the stuff added in Bug 1295978. Ref: BZ 1295978, 1388728
* Issue mcp-graveyard/UXP#618 - Match JSAPI names with the changes in ↵Moonchild2020-07-03
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue mcp-graveyard/UXP#1603 - Part 2: Split some classes out of ↵Moonchild2020-07-01
| | | | | | | | | ScriptLoader.cpp This splits ScriptLoader up the same way Mozilla did with the exception of ScriptRequest due to the fact that ScriptLoader and ScriptRequest are interdependent and would create a circular dependency if split apart when not using unified building.
* Issue mcp-graveyard/UXP#1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-06-30
| | | | | | - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers
* Issue mcp-graveyard/UXP#1602 - Make sure we have a JSObject before trying to ↵wolfbeast2020-06-27
| | | | | | | | | | get global. Dynamic script loading/unloading (thank you modules) can yank the script out from under us before the JS API for it is initialized, leading to null deref crashes. This adds a simple check if the passed-in object is sane and present. Resolves #1602
* Bug 1429656 - Implement ShadowRoot.activeElementMatt A. Tobin2020-06-13
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1426494 - Share more code between nsIDocument and ShadowRootMatt A. Tobin2020-06-13
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1355787 - nsIdentifierMapEntry should let one to use either strings or ↵Matt A. Tobin2020-06-13
| | | | | | atoms as keys to avoid slow string assignments when possible. Tag mcp-graveyard/UXP#1375
* Bug 1217436 - Make nsIdentifierMapEntry::mIdContentList an AutoTArray to ↵Matt A. Tobin2020-06-13
| | | | | | save an allocation Tag mcp-graveyard/UXP#1375
* Issue mcp-graveyard/UXP#1587 - Part 4: Implement FetchObserverMoonchild2020-06-11
|
* Issue mcp-graveyard/UXP#1585 - Replace node.rootNode with node.getRootNode()Moonchild2020-06-10
| | | | | | | This removes the (default disabled) node.rootNode readonly attribute and replaces it with a node.getRootNode() function per WhatWG spec discussion. Based on work by John Dai <jdai@mozilla.com>
* Issue mcp-graveyard/UXP#439 - Remove, fix and clean up automated testsMoonchild2020-06-08
| | | | | | | With the big amount of code churn around DOM a lot of tests broke severely enough that they caused build bustage. This commit cleans up, removes or otherwise fixes tests that are broken, no longer relevant or obsolete.
* Issue mcp-graveyard/UXP#1525 - Kill marquee elementMoonchild2020-06-01
| | | | | | * Remove marquee code * Regenerate HTML Elements/parser code for Removal of Marquee. Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
* Revert "Issue mcp-graveyard/UXP#1564 - Fix debug build dependencies for g4jc"wolfbeast2020-05-27
| | | | This reverts commit 101c06946e6174734e494d260fa53d78255fea89.
* Issue mcp-graveyard/UXP#1564 - Fix debug build dependencies for g4jcwolfbeast2020-05-26
|
* Issue mcp-graveyard/UXP#1564 - Split off nsIdentifierMapEntry in its own headerwolfbeast2020-05-25
| | | | + Fix dependency fallout from removing nsDocument.h from ShadowRoot.h
* Issue mcp-graveyard/UXP#1557 - Allow event dispatch on disabled form controls.athenian2002020-05-21
| | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=329509 This seems to resolve #1356 without causing #1557. Also reverts previous changes as they no longer appear to serve a purpose.
* Issue mcp-graveyard/UXP#1543 - Align <img> with no src to the updated spec.Moonchild2020-05-11
|
* Issue mcp-graveyard/UXP#457 - Fix warning about inline ↵adeshkp2020-05-05
| | | | nsINode::GetFlattenedTreeParentNodeForStyle being undefined
* Issue mcp-graveyard/UXP#1375 - Merge CustomElements pref with Webcomponents PrefMatt A. Tobin2020-04-17
|
* Issue mcp-graveyard/UXP#1375 - Fix IsWebComponentsEnabled checksMatt A. Tobin2020-04-17
|
* Bug 1425769 - Base class for ShadowRoot and Document to manage style stateMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Issue mcp-graveyard/UXP#80 - De-unify dom/baseMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1348481 - Part 1b: Generalize FindDocStyleSheetInsertionPoint so it ↵Matt A. Tobin2020-04-17
| | | | | | doesn't require an array of RefPtrs Tag mcp-graveyard/UXP#1375
* Bug 1417829 - Remove unresolved pseudoclassMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1426503 - Remove DestInsertionPoints stuffMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1426536 - Remove nsContentUtils::IsContentInsertionPointMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1409976 - Add `slotchange` eventMatt A. Tobin2020-04-17
| | | | | | | * Add support for `slotchange` event * Signal `slotchange` when slot's assigned nodes changes Tag mcp-graveyard/UXP#1375
* Bug 1425441 - Move relatedTarget to WidgetEventMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1412775 - Implement Event.composedPathMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]Matt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1422931 - Fix crash with slot element and make webcomponents preference ↵Matt A. Tobin2020-04-17
| | | | | | per-doc Tag mcp-graveyard/UXP#1375
* Bug 1419799 - Fix nsContentUtils::IsInSameAnonymousTree in Shadow DOMMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1413619 - Fix insertion point computation when display: contents pseudos ↵Matt A. Tobin2020-04-17
| | | | | | are involved. Tag mcp-graveyard/UXP#1375