summaryrefslogtreecommitdiffstats
path: root/dom/base/nsDocument.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #1375 - Fix IsWebComponentsEnabled checksMatt A. Tobin2020-04-17-53/+23
|
* Bug 1425769 - Base class for ShadowRoot and Document to manage style stateMatt A. Tobin2020-04-17-113/+14
| | | | Tag #1375
* Bug 1412775 - Implement Event.composedPathMatt A. Tobin2020-04-17-2/+2
| | | | Tag #1375
* Bug 1422931 - Fix crash with slot element and make webcomponents preference ↵Matt A. Tobin2020-04-17-0/+10
| | | | | | per-doc Tag #1375
* Bug 1416999 - Remove document.registerElementMatt A. Tobin2020-04-17-247/+0
| | | | Tag #1375
* Issue #1375 - Stop largely using the parser serviceMatt A. Tobin2020-04-17-1/+0
| | | | | | | | | This is based on Bug 1395828 * Add nsHTMLElement::IsBlock() * Rename nsHTMLTags methods * Remove AssertParserServiceIsCorrect() * Remove most uses of nsIParserService/nsParserService
* Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocumentMatt A. Tobin2020-04-17-11/+11
| | | | Tag #1375
* Bug 1367683 - Optimize initializing nsRangeMatt A. Tobin2020-04-17-1/+1
| | | | Tag #1375
* Bug 1330843 - Allow JS to create NAC pseudo-elementsMatt A. Tobin2020-04-17-1/+48
| | | | Tag #1375
* Bug 1305458 - Changing -moz-appearence on hover breaks change eventMatt A. Tobin2020-04-14-1/+1
| | | | | | | | | | | | | | | | | | | * Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent * Add nsIDOMEventTarget::PreHandleEvent * Add EventTargetChainItem::GetFirstEventTarget * Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false * Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent * Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent * Refine nsXULElement::GetEventTargetParent * Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent * Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent * Add test case * Let HTMLInputElement delegate event handling to it's parent class * Refine EventTargetChain flags to reduce overheads * Refine event target chain creation * Refine assertion in EventTargetChainItem::Create Tag #1375
* Issue #1395 - Remove FlyWeb ServiceMatt A. Tobin2020-02-06-8/+0
|
* Bug 1405821 - Move microtask handling to CycleCollectedJSContextGaming4JC2020-01-26-3/+10
| | | | Tag UXP Issue #1344
* Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-1/+2
| | | | | | | | 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 1378079 - Part 2: Introduce throw-on-dynamic-markup-insertion counter.Gaming4JC2020-01-26-1/+2
| | | | | | 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 1392970 - Part 1: Make CustomElementDefinition ref-counted and put it in ↵Gaming4JC2020-01-26-1/+2
| | | | | | CustomElementData. Tag UXP Issue #1344
* Bug 1301024 - Part 1: Set CreateElement/CreateElementNS is attribute.Gaming4JC2020-01-26-0/+8
| | | | Tag UXP Issue #1344
* Bug 1299363 - Part 5-1: Make the constructor created by ↵Gaming4JC2020-01-26-9/+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
* Creating customized built-in elements without relevant definitions ↵Gaming4JC2020-01-26-40/+0
| | | | | | | | registered first shouldn't throw NotFoundError; per spec change: https://github.com/w3c/webcomponents/issues/608 Tag UXP Issue #1344
* Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref;Gaming4JC2020-01-26-2/+2
| | | | | | Note: Minus IPC bit. Tag UXP Issue #1344
* Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry.Gaming4JC2020-01-26-0/+1
| | | | Tag UXP Issue #1344
* Bug 1276438 part 3. Align the .body setter with the spec a bit better.Gaming4JC2020-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 ↵Gaming4JC2020-01-26-0/+25
| | | | | | | 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-0/+20
| | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252
* Issue #1118 - Part 7: Remove no-longer-used mWillReparent debug code.wolfbeast2019-12-23-12/+0
|
* Issue #1118 - Part 5: Change the way document.open() workswolfbeast2019-12-22-21/+29
| | | | | | | | | | | | This changes the work we do for document.open() in the following ways: - We no longer create a new Window when doing document.open(). We use the same Window but remove all the event listeners on the existing DOM tree and Window before removing the document's existing children to provide a clean slate document to use for .write(). - We no longer create a session history entry (previously would be a wyciwyg URI). We now replace the current one, effectively losing the entry for the original document. - We now support document.open() on windowless documents.
* Update identifier map entries and notify if they get removed.wolfbeast2019-12-06-6/+29
| | | | | This can happen through DestroyElementMaps() Based on work by Markus Stange and Edgar Chen.
* Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups ↵win7-72019-08-08-8/+14
| | | | | | along with it (1445670 and 1373780 part 2 and 3) Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
* Attach FrameProperties to each frame instead of using a shared hashtablewin7-72019-06-26-1/+2
| | | | Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
* Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18-4/+0
|
* Rewrite IntersectionObserver list handling to be more robust.wolfbeast2019-01-18-3/+15
| | | | Tag #935.
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-74/+0
|
* Revise lifetime management of IntersectionObservers.wolfbeast2018-12-22-8/+15
| | | | Tag #249
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-96/+1
| | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* Stabilize and align Intersection Observerswolfbeast2018-06-27-1/+2
| | | | | | | - Fixes several crashes - Aligns the feature with the W3C WD spec Tag #249
* moebius#138: Optimize operations on root of deeply-nested frame treejanekptacijarabaci2018-04-24-2/+19
| | | | https://github.com/MoonchildProductions/moebius/pull/138
* moebius#121: DOM - Selection API - getSelection() should exist on ↵janekptacijarabaci2018-04-23-0/+16
| | | | | | XMLDocument / Selection.type https://github.com/MoonchildProductions/moebius/pull/121
* Don't include MediaKeySystemAccess without EME.wolfbeast2018-02-24-0/+4
| | | | | | This also removes checks for EME content in documents. This removes practical use of EME by no longer having a keying system. (no-op) tag #26
* CSP 2 - ignore (x-)frame-options if CSP with frame-ancestors directive existsjanekptacijarabaci2018-02-22-0/+10
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+12834