summaryrefslogtreecommitdiffstats
path: root/dom/html/nsHTMLDocument.cpp
Commit message (Collapse)AuthorAgeLines
* Bug 1378079 - Part 2: Introduce throw-on-dynamic-markup-insertion counter.Gaming4JC2020-01-26-0/+14
| | | | | | 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 1276438 part 2. Move the implementation of the .body setter from ↵Gaming4JC2020-01-26-25/+0
| | | | | | | 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-20/+0
| | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252
* Issue #1118 - Part 8: Remove no-longer-used mDidDocumentOpen andwolfbeast2019-12-23-2/+0
| | | | | | | | | | | CheckForOutdatedParent() This was only used to check for cases when document.open() changed the global, and elements being inserted into the document needing a new reflector as a result. Since document.open() no longer changes the global, this code is no longer needed.
* Issue #1118 - Part 5: Change the way document.open() workswolfbeast2019-12-22-260/+137
| | | | | | | | | | | | 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.
* Bug 819475 - Make document.domain non-nullablejanekptacijarabaci2018-07-20-3/+3
|
* moebius#121: DOM - Selection API - getSelection() should exist on ↵janekptacijarabaci2018-04-23-17/+1
| | | | | | XMLDocument / Selection.type https://github.com/MoonchildProductions/moebius/pull/121
* Bug 1426002. Bail out of document.open if beforeunload tears things down. ↵wolfbeast2018-03-17-0/+12
| | | | r=mystor
* HTML - implement the labels attribute (follow up)janekptacijarabaci2018-03-12-18/+18
|
* Implement "cookie-averse document objects".wolfbeast2018-02-08-0/+10
| | | | | See: https://html.spec.whatwg.org/multipage/dom.html#cookie-averse-document-object This resolves #196.
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+3667