summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Bug 1357002 - Part 2: Don't call SetupCustomElement() if the custom element ↵Gaming4JC2020-01-26-1/+2
| | | | | | feature is pref-ed off; Tag UXP Issue #1344
* Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference;Gaming4JC2020-01-26-1/+9
| | | | Tag UXP Issue #1344
* Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref;Gaming4JC2020-01-26-4/+12
| | | | | | Note: Minus IPC bit. Tag UXP Issue #1344
* Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions ↵Gaming4JC2020-01-26-5/+19
| | | | | | code. Tag UXP Issue #1344
* Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry.Gaming4JC2020-01-26-10/+2
| | | | Tag UXP Issue #1344
* Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen.Gaming4JC2020-01-26-0/+96
| | | | Tag UXP Issue #1344
* Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen ↵Gaming4JC2020-01-26-2/+3
| | | | | | to generate CEReaction code. Tag UXP Issue #1344
* Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser.Gaming4JC2020-01-26-0/+180
| | | | Tag UXP Issue #1344
* Bug 1350960 - Release CustomElementReactionsStack in TabGroup thread when ↵Gaming4JC2020-01-26-0/+3
| | | | | | | | DocGroup is going away. Note: In UXP we use non-Quantum thread checking implementation here. Tag UXP Issue #1344
* Bug 1351979 - Change CustomElementRegistry::Define code to properly ↵Gaming4JC2020-01-26-1/+1
| | | | | | propagate out JS exceptions; Tag UXP Issue #1344
* Bug 1347446 - Move custom element reactions stack to DocGroup.Gaming4JC2020-01-26-90/+136
| | | | Tag UXP Issue #1344
* Bug 1341693 - Don't need to check GetDocShell() when creating ↵Gaming4JC2020-01-26-35/+23
| | | | | | CustomElementRegistry; Tag UXP Issue #1344
* Bug 1309184 - Implement upgrade reaction for custom element reactions.Gaming4JC2020-01-26-29/+267
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 4: Add test cases for HTMLConstructor;Gaming4JC2020-01-26-0/+437
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass;Gaming4JC2020-01-26-6/+68
| | | | Tag UXP Issue #1344
* Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute ↵Gaming4JC2020-01-26-30/+530
| | | | | | for custom elements; Tag UXP Issue #1344
* Bug 1274159 - Part 2-1: Include the name of relevant interface in ↵Gaming4JC2020-01-26-3/+1
| | | | | | nsHTMLTagList.h; Tag UXP Issue #1344
* Bug 1274159 - Part 1: Support looking up definitions by using constructor as ↵Gaming4JC2020-01-26-7/+50
| | | | | | a key; Tag UXP Issue #1344
* Bug 1271549 - Remove details and summary preference.Gaming4JC2020-01-26-44/+2
| | | | 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-26/+28
| | | | | | | 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-21/+25
| | | | | | | nsHTMLDocument to nsIDocument. Tag UXP Issue #1344 Tag UXP Issue #252
* Issue #1366 - Fix build bustage from erroneously removing 2 function ↵wolfbeast2020-01-22-0/+14
| | | | implementations.
* Issue #1354 - Fix another potential crashing scenario in WebGL.wolfbeast2020-01-22-0/+7
|\ | | | | | | (merge of gl-work branch)
| * Issue #1354 - Clear the current context when MakeCurrent() fails.wolfbeast2020-01-20-0/+7
| |
* | Issue #1366 - Completely remove showModalDialogGaming4JC2020-01-21-1271/+11
|/
* No issue - Fix some line endings in WebGLShaderValidator.cppwolfbeast2020-01-16-18/+18
|
* Issue #1354 - Don't allow glsl[130,400] unless we have gpu_shader5wolfbeast2020-01-16-0/+11
| | | | | - Teach GLContext about gpu_shader5 - Downgrade shader language version if gpu_shader5 support isn't found.
* Make copy of list before iterating over it.Yaron Tausky2020-01-09-1/+2
|
* Merge pull request #1347 from g4jc/html5_dialogMoonchild2020-01-09-5/+190
|\ | | | | Implement HMTL5 <dialog>
| * Bug 1379728 part 1. Remove the double-definition of the 'close' event from ↵Gaming4JC2020-01-07-5/+1
| | | | | | | | | | | | EventNameList.h. Tag #1343
| * Bug 1322938 - Put <dialog> element behind preference.Gaming4JC2020-01-07-2/+32
| | | | | | | | Tag #1343
| * Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is ↵Gaming4JC2020-01-07-1/+9
| | | | | | | | | | | | called. Tag #1343
| * Bug 1322938 - Basic implementation of HTMLDialogElement.Gaming4JC2020-01-07-0/+151
| | | | | | | | Tag #1343
* | Issue #1348 - Part 2: Teach IMEState about Private Browsing mode.wolfbeast2020-01-09-8/+17
|/
* Issue #1345 - Implement non-standard legacy CSSStyleSheet rulesJustOff2020-01-07-0/+8
|
* Merge pull request #1335 from MoonchildProductions/document_openMoonchild2019-12-28-454/+334
|\ | | | | Align document.open() with the overhauled specification
| * Issue #1118 - Part 9: Don't allow reuse of unlinked CallbackObjectHolder.wolfbeast2019-12-23-1/+2
| |
| * Issue #1118 - Part 8: Remove no-longer-used mDidDocumentOpen andwolfbeast2019-12-23-40/+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 7: Remove no-longer-used mWillReparent debug code.wolfbeast2019-12-23-17/+0
| |
| * Issue #1118 - Part 6: Fix various tests that are no longer correct.wolfbeast2019-12-22-110/+24
| | | | | | | | | | The behavior change of document.open() requires these tests to be changed to account for the new spec behavior.
| * Issue #1118 - Part 5: Change the way document.open() workswolfbeast2019-12-22-283/+284
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Forward to new tree structure.wolfbeast2019-12-22-6095/+1262
| |\
| * | Issue #1118 Part 3: Add a public RemoveAllListeners method onwolfbeast2019-08-06-4/+25
| | | | | | | | | | | | EventListenerManager.
* | | Fix typo.athenian2002019-12-24-0/+1
| | |
* | | Issue #1332 - Backport promise-based media playbackathenian2002019-12-23-32/+312
| | | | | | | | | | | | | | | | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1244768 I happened to find an older version of the promise-based media playback patch in Bugzilla, the one that was originally submitted for review. It had the DocShell changes I already knew how to deal with, and had fewer of the audio wrapper and nsISupports changes that were confusing me in the later patch. I was able to do a better job getting this back into a UXP-appropriate configuration than I could have with the final version. I'm honestly still a little unsure about some of the minor refactoring done in the patch itself, insisting on already_AddRefed promises and such, but I don't really know how to avoid those completely. Still, I think it's better than it was.
* | | Bug 1341238 - Don't hang on to pointer from temporary ↵Gaming4JC2019-12-22-5/+4
| |/ |/| | | | | | | | | NS_LossyConvertUTF16toASCII. Resolves #1333
* | Issue #1219 - Align computed DOM styles with mainstream behvior.wolfbeast2019-12-20-32/+3
| | | | | | | | | | | | | | | | | | This updates our behavior for computed DOM styling to no longer return null on elements that have no display, but return a 0-length (empty) style instead and don't throw. For this we stop looking at having a presentation for the style and just look at the document instead. This resolves #1219
* | Issue #1322 - Part 4: Fix WebIDL.py parser for line endings and wrongwolfbeast2019-12-19-40/+40
| | | | | | | | IDL name
* | Issue #1322 - Part 3: Remove DOM promise interface gunkwolfbeast2019-12-19-314/+287
| | | | | | | | Based on work by Boris Zbarsky