Commit graph

159 commits

Author SHA1 Message Date
Gaming4JC
a2e1955dc6 Bug 1271549 - Remove details and summary preference.
Tag UXP Issue #1344
2020-01-31 07:35:02 +08:00
Gaming4JC
c939244e89 Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument.
Tag UXP Issue #1344
Tag UXP Issue #252
2020-01-31 07:34:56 +08:00
Gaming4JC
0ef352d74b Bug 1276438 part 1. Move the implementation of the .body getter from nsHTMLDocument to nsIDocument.
Tag UXP Issue #1344
Tag UXP Issue #252
2020-01-31 07:34:53 +08:00
Gaming4JC
8d600c51ed Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +08:00
Gaming4JC
a77fa3ec13 Bug 1322938 - Put <dialog> element behind preference.
Tag #1343
2020-01-09 21:28:00 +08:00
Gaming4JC
c39b0e4fd7 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag #1343
2020-01-09 21:27:56 +08:00
Gaming4JC
900df90dae Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag #1343
2020-01-09 21:27:54 +08:00
wolfbeast
f255a1e606 Issue #1118 - Part 8: Remove no-longer-used mDidDocumentOpen and
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.
2019-12-28 21:20:07 +08:00
wolfbeast
b753aec164 Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-28 21:20:04 +08:00
wolfbeast
fc5d61608c Issue #1118 - Part 5: Change the way document.open() works
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.
2019-12-28 21:20:03 +08:00
athenian200
42659b995e Fix typo. 2019-12-28 21:19:27 +08:00
athenian200
a7054c85a4 Issue #1332 - Backport promise-based media playback
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.
2019-12-28 21:19:26 +08:00
Roy Tam
d8c66d5b56 fix master branch build 2019-11-30 21:02:50 +08:00
wolfbeast
10b2e09718 Bug 1330900 - Implement <script nomodule>
This patch implements:
- noModule getter/setter for HTMLScriptElement
- the nomodule attribute for HTMLScriptElement
- the logic in nsScriptLoader that denies the loading of a nomodule script
- tests

Tag #618
2019-11-11 21:59:49 +08:00
wolfbeast
3d8d9f95df Issue #1257 - Part 3: Remove/update tests.
This removes a ton of tests that are no longer relevant with (un)watch
removed (e.g. testing stability/bugs in the watchpoint system itself
which has never been the most stable), and updates others that would
previously rely on watch/unwatch, so that they don't unexpectedly fail.
2019-11-01 10:25:02 +08:00
Olli Pettay
ec1e15a6f2 Ensure the right body element is used throughout the method call. 2019-09-06 23:49:56 +08:00
Gaming4JC
852ce8292d Fix failure to print when pages contain zero-sized <canvas> element.
Fixes #1058
2019-05-03 21:31:23 +08:00
Olli Pettay
d82c60d3d8 Remove harmless assertions by using IgnoredErrorResult. 2019-03-23 06:44:06 +08:00
JustOff
7ae2bd83b7 Preserve newlines in textarea placeholders 2019-02-21 14:55:08 +08:00
wolfbeast
1cc92006b6 Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
2019-02-16 00:28:25 +08:00
wolfbeast
39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
adeshkp
4c3713155e Remove unused telemetry timer from HTMLMediaElement.h 2019-02-16 00:24:06 +08:00
adeshkp
aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast
14ea8bb121 Align Element.ScrollIntoView() with the spec.
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.

This resolves #927
2019-02-16 00:24:00 +08:00
wolfbeast
a3386fbe38 Make HTMLOptionsCollection::mSelect into a strong reference.
The cycle collector makes weak references like this obsolete.
2019-02-16 00:22:20 +08:00
wolfbeast
bb5e286644 Clear weak pointers in VTT shutdown observers. 2019-02-16 00:21:20 +08:00
wolfbeast
9b1124ccbd Remove VR hardware support.
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
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.
2019-02-16 00:12:32 +08:00
wolfbeast
9531d12c10 Re-implement custom background color of standalone images.
This resolves #717.

Note: this does not affect other applications because the platform
default is to use the "darknoise" background image for standalone
image, which effectively overrides a bg color.
2019-02-16 00:11:44 +08:00
janekptacijarabaci
d75c4a5956 Bug 819475 - Make document.domain non-nullable 2019-02-16 00:09:14 +08:00
janekptacijarabaci
d57aa4fc94 Fix Build Bustage - with "--enable-debug" 2019-02-16 00:08:38 +08:00
wolfbeast
0bdecfc6ea Media: harden TrackID handling. 2019-02-16 00:02:03 +08:00
Olli Pettay
3dc461fc72 Bug 1459693 - Ensure the right anonymous element is focused when calling input.focus(). 2019-02-16 00:01:54 +08:00
Gaming4JC
d4ac94cf3e Remove support and tests for HSTS priming from the tree. Fixes #384 2019-02-15 23:59:39 +08:00
wolfbeast
b586913598 Remove MOZ_WIDGET_GONK [1/2]
Tag #288
2019-02-15 23:57:08 +08:00
wolfbeast
719ac1bc38 Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
janekptacijarabaci
745e1809b0 moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
2019-02-15 23:56:35 +08:00
janekptacijarabaci
9db39c42c0 moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
2019-02-15 23:49:13 +08:00
janekptacijarabaci
5622e56123 Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local 2019-02-15 23:46:00 +08:00
janekptacijarabaci
36d469a74f Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code 2019-02-15 23:45:58 +08:00
janekptacijarabaci
196fddddb6 moebius#130: URL parser - fix: don't allow empty host name
https://github.com/MoonchildProductions/moebius/issues/130
2019-02-15 23:45:55 +08:00
janekptacijarabaci
a3fc13a8fc moebius#53: HTML - input - support for dynamic maxlength
https://github.com/MoonchildProductions/moebius/pull/53
2019-02-15 23:45:35 +08:00
janekptacijarabaci
1f5afcad81 Bug 1363672 - Add step support to date picker (follow up)
Bug 1374967: https://bugzilla.mozilla.org/show_bug.cgi?id=1374967
(partially - implement getStep/getStepBase)
2019-02-15 23:44:55 +08:00
janekptacijarabaci
549212cd38 Bug 1364026 - (Part 1) Expose HTMLInputElement.getMinimum/getMaximum methods via webidl 2019-02-15 23:44:51 +08:00
janekptacijarabaci
a1c4899124 Bug 1310080 - Implement the step attribute for <input type=datetime-local> 2019-02-15 23:44:48 +08:00
janekptacijarabaci
1a9f7f4310 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up) 2019-02-15 23:44:46 +08:00
janekptacijarabaci
c140ca5b67 Bug 1310079 - Implement the min and max attribute for <input type=datetime-local> 2019-02-15 23:44:45 +08:00
janekptacijarabaci
344ea39e20 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> 2019-02-15 23:44:42 +08:00
janekptacijarabaci
cac5c5adc7 moebius#92: HTML - input - datetime
+ native in moebius:

Bug 1317600: https://bugzilla.mozilla.org/show_bug.cgi?id=1317600
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1283385: https://bugzilla.mozilla.org/show_bug.cgi?id=1283385
Bug 1323109: https://bugzilla.mozilla.org/show_bug.cgi?id=1323109
Bug 1314544: https://bugzilla.mozilla.org/show_bug.cgi?id=1314544
Bug 1286182: https://bugzilla.mozilla.org/show_bug.cgi?id=1286182

Bug 1325922: https://bugzilla.mozilla.org/show_bug.cgi?id=1325922
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1320225: https://bugzilla.mozilla.org/show_bug.cgi?id=1320225
Bug 1341190: https://bugzilla.mozilla.org/show_bug.cgi?id=1341190
2019-02-15 23:44:39 +08:00
janekptacijarabaci
d8bcf2270a Bug 1286182: Implement the layout for <input type=date> 2019-02-15 23:44:33 +08:00