Boris Zbarsky
640e7f7112
Bug 1465875 part 5. Eliminate nsIDOMNSEditableElement. r=qdot
2018-06-01 22:35:23 -04:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Olli Pettay
58495709d9
Bug 1459693, ensure the right anonymous element is focused when calling input.focus(), r=mccr8
...
--HG--
extra : rebase_source : ea1ebf59a730b27b42f23c34ad7bf81e345767f5
2018-05-30 17:04:18 +03:00
Boris Zbarsky
bea3100e53
Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot
2018-05-29 22:58:49 -04:00
Olli Pettay
ae1ffbdef7
Bug 1461321 - input.list should work in shadow DOM, r=peterv
...
--HG--
extra : rebase_source : 17a438c4fa687d2890be70867b136b635493c00d
2018-05-24 22:46:11 +03:00
Kris Maglione
8134b33e89
Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
...
MozReview-Commit-ID: 2HIlaSrvfBe
--HG--
extra : rebase_source : 944a6244dbfe1f0a37dd34a041d1329624a86f93
extra : histedit_source : d7859be664fed00f8504e40969480d3af3d674e7%2C4456b502db338bd06823654306e47c2583101396
2018-05-21 17:32:44 -07:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Adrian Wielgosik
fa39adeeaa
Bug 1418078 - Remove nsIDOMHTMLInputElement. r=bz
...
MozReview-Commit-ID: Gun4oxg1NJZ
--HG--
extra : rebase_source : 80f519728a9bb6acaad4f36bd89e8f473c8dcbe5
2018-04-18 22:35:32 +02:00
Boris Zbarsky
ffa08d7425
Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot
2018-04-26 23:35:19 -04:00
Boris Zbarsky
8a0b50bea8
Bug 1456588 part 1. Change nsIFocusManager::SetFocus to take Element. r=enndeakin
2018-04-26 10:37:46 -04:00
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Boris Zbarsky
36ff5f731b
Bug 1456169 part 3. Remove the now-unnecessary nsITextControlElement::GetPreviewNode. r=emilio
...
MozReview-Commit-ID: 3goF5VXvQap
2018-04-24 02:17:18 -04:00
Boris Zbarsky
f82660f831
Bug 1456169 part 2. Remove the now-unnecessary nsITextControlElement::GetPlaceholderNode. r=emilio
...
MozReview-Commit-ID: FcVbeHEwkMz
2018-04-24 02:17:17 -04:00
Boris Zbarsky
ca622386bd
Bug 1456169 part 1. Remove the now-unnecessary nsITextControlElement::GetRootEditorNode. r=emilio
...
MozReview-Commit-ID: 6DYEtQMTCRF
2018-04-24 02:17:17 -04:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Kyle Machulis
541d6f6f00
Bug 1453517
- Remove nsPopupWindowManager and related XPCOM bits; r=bz
...
MozReview-Commit-ID: JIDdZfnNN8E
--HG--
extra : rebase_source : 8b92fec383a21f80fceb87502e9a7accdb7dd74f
2018-04-11 16:16:13 -07:00
Kyle Machulis
467ed19747
Bug 1453517
- Consolidate popup permission checks to nsContentUtils; r=bz
...
Permissions checks for popups were happening in nsIPopupWindowManager,
but that really only required a pref and perm check. The XPCOM
machinery around this isn't really needed, and the check was only
called from two places in content, so this fits in nsContentUtils.
MozReview-Commit-ID: 9x60x1BKWcr
--HG--
extra : rebase_source : d6e2dcfcae8310770eb209ccb42c96315511bb86
2018-04-11 16:18:20 -07:00
Jeff Walden
821db93ccc
Bug 1453456
- Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
...
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Ciure Andrei
3f4a118829
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-04-11 12:00:35 +03:00
Ciure Andrei
cc3eafe546
Merge autoland to mozilla-central. a=merge
2018-04-11 11:56:26 +03:00
Ciure Andrei
873d562bc3
Backed out 8 changesets (bug 1451169) on request from njn a=backout
...
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
--HG--
extra : histedit_source : 94de6631919f895dec422bc0e564f5baf885ba4a%2C18f52c6c11d3064d3137a6847575effb7d407894
2018-04-11 11:22:05 +03:00
Cameron McCormack
9dfabd795c
Bug 1317539 - Remove dom.forms.number pref. r=bz
...
MozReview-Commit-ID: EgeUfWMcE8D
--HG--
extra : rebase_source : 74cb7f69e21fd1a773259a53919fb04a82af2f5d
2018-04-10 11:02:28 +10:00
Nika Layzell
952f6a915a
Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku
...
This patch was reviewed in parts, however the intermediate states would not build:
Bug 1443954 - Part 3A: Strip pointers from the argument to WriteParam and WriteIPDLParam before selecting the ParamTraits impl, r=froydnj
Bug 1443954 - Part 3B: Move nsIAlertNotification serialization to the refcounted system, r=bz
Bug 1443954 - Part 3C: Move geolocation serialization to the refcounted system, r=bz
Bug 1443954 - Part 3D: Move nsIInputStream serialization to the refcounted system, r=baku
Bug 1443954 - Part 3E: Move BlobImpl serialization to the refcounted system, r=baku
Bug 1443954 - Part 3F: Correctly implement ParamTraits for actors after the ParamTraits changes, r=froydnj
2018-04-10 17:49:48 -04:00
Nika Layzell
242c9ce313
Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku
2018-04-10 17:49:44 -04:00
Boris Zbarsky
14f26fccf6
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Nicholas Nethercote
a560608963
Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku
...
And then fix up everything else that needs to change as well.
MozReview-Commit-ID: GDMfERqdQAc
--HG--
extra : rebase_source : 01fe06c3182245a409099a53383d92bf4fa0155c
2018-04-03 13:21:06 +10:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Boris Zbarsky
1a7c5067ca
Bug 1446851. Get rid of nsIDOMWheelEvent. r=qdot
...
We can't include WheelEventBinding.h in MouseEvents.h because that produces
this include loop:
WheelEventBinding.h -> MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> WheelEventBinding.h
MozReview-Commit-ID: 5KNwH69aJYW
2018-03-20 00:16:05 -04:00
Bogdan Tara
7eb4cdd58d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-17 12:34:09 +02:00
Adrian Wielgosik
87a72d3f51
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Emilio Cobos Álvarez
c107f54aac
Bug 1409183: Don't consider anonymous checkboxes as part of the document radio group. r=smaug
...
Summary: In this case the radiobox is in a SVG <use> subtree.
Reviewers: smaug
Bug #: 1409183
Differential Revision: https://phabricator.services.mozilla.com/D741
MozReview-Commit-ID: Abkg7ahST5t
2018-03-17 00:19:43 +01:00
Nicholas Nethercote
d41188c796
Bug 1445117 - Remove duplicates from nsGkAtoms. r=froydnj
...
In each case, the atom had an obvious name and a weird name. Where possible, I
kept the obvious name and commented out the weird name, viz:
- `mixed` over `_mixed` for "mixed"
- `el` over `el_` for "el"
- `other` over `other_` for "other"
- `remote` over `Remote` for "remote"
But for several of them I didn't do that, because the weird name is used
within the HTML5 parser -- which is a huge pain to modify because it involves
code generated by code from another repo -- so I kept the weird name and
commented out the obvious name, viz:
- `list_` over `list` for "list"
- `svgSwitch` over `_switch` for "switch"
- `set_` over `set` for "set"
MozReview-Commit-ID: Jp3CpdWXNDm
--HG--
extra : rebase_source : 421ce5316772f1951488307e81f2ceee696d363d
2018-03-14 10:27:25 +11:00
Adrian Wielgosik
35f8ed790f
Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
...
MozReview-Commit-ID: 2UcUy4MkVsM
--HG--
extra : rebase_source : ddc6c18c5015ebc5569defa09b32c40e83939886
2018-02-23 19:28:08 +01:00
Emilio Cobos Álvarez
8010ae3a8d
Bug 1439155: Be consistent about what does readonly apply to. r=smaug
...
MozReview-Commit-ID: 4NiDe7pUzGa
--HG--
extra : rebase_source : 97c42c12cbeffaf360c9b91f4ee8bc7b95e4e48e
2018-02-22 08:07:55 +01:00
Adrian Wielgosik
e2f33ee5dd
Bug 1439751 - Cleanup HTMLInputElement some more. r=qdot
...
MozReview-Commit-ID: APunYKaGM8I
--HG--
extra : rebase_source : ed40f33f3c922c79a3f7ce770ecfa588a082c716
2018-02-20 23:11:27 +01:00
Adrian Wielgosik
2d4df58ad8
Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot
...
MozReview-Commit-ID: JVagEzvSONN
--HG--
extra : rebase_source : a7e1cf2e5ccc1925f3a11c7d935438ef6307c70c
2018-02-20 23:10:44 +01:00
Boris Zbarsky
c61fc860fe
Bug 1436508 part 14. Remove nsIDOMMutationEvent. r=masayuki
...
MozReview-Commit-ID: Gf59kFSIuaK
2018-02-09 11:17:10 -05:00
Boris Zbarsky
478687c2e8
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky
5aa0298e34
Bug 1418085 part 5. Remove nsIDOMHTMLInputElement::GetList. r=mystor
...
MozReview-Commit-ID: JbWMti82q3R
2018-01-30 00:25:36 -05:00
Emilio Cobos Álvarez
d9220a8cbf
Bug 1431041: Fix placeholder-shown when the value of the input is invalid. r=smaug
...
Wow, the setup for <input type="number"> is really weird :(.
Looking at the callers, this should be sane.
MozReview-Commit-ID: C0ZNNSdg0Hb
2018-01-18 17:20:39 +01:00
Emilio Cobos Álvarez
aaf0600c08
Bug 1431041: Make placeholder apply to <input type="number">. r=smaug
...
MozReview-Commit-ID: GLbdLxHLiH4
2018-01-18 17:20:37 +01:00
Csoregi Natalia
6254005c4b
Backed out 2 changesets (bug 1431041) for failing dom/html/test/forms/test_input_number_placeholder_shown.html. on a CLOSED TREE
...
Backed out changeset 57641ee7058f (bug 1431041)
Backed out changeset 7a4c3ab0ade8 (bug 1431041)
2018-01-18 07:29:14 +02:00
Emilio Cobos Álvarez
fa8af866b9
Bug 1431041: Fix placeholder-shown when the value of the input is invalid. r=smaug
...
Wow, the setup for <input type="number"> is really weird :(.
Looking at the callers, this should be sane.
MozReview-Commit-ID: C0ZNNSdg0Hb
--HG--
extra : rebase_source : ff8efaaa3b0068b35e3b408e16b6f9d133165e5c
2018-01-17 18:30:59 +01:00
Emilio Cobos Álvarez
0d4c1d977b
Bug 1431041: Make placeholder apply to <input type="number">. r=smaug
...
MozReview-Commit-ID: GLbdLxHLiH4
--HG--
extra : rebase_source : 18454d0720e45bc2734f01d9a84eaad33a36e848
2018-01-17 14:52:01 +01:00
Andrea Marchesini
1b4b3007e5
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth
2018-01-08 14:05:05 +01:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Kris Maglione
1c66345e09
Bug 1415352: Part 1a - Pass subject principal through to ParseAttribute. r=bz
...
This is necessary in order to parse style attributes using the subject
principal of the caller, rather than defaulting to the page principal.
MozReview-Commit-ID: GIshajQ28la
--HG--
extra : rebase_source : 5dba46f61d70ec647cae16383b62961ac72d2f47
2017-11-01 20:35:52 -07:00
Timothy Guan-tin Chien
50b6ef9242
Bug 1327097, Part I, Revert bug 1338961, r=smaug
...
This reverts commit 2b7c469d42bbb4a61471207eede26a8d27f084a3.
MozReview-Commit-ID: H07u9I5w80N
--HG--
extra : rebase_source : 3413d583fc39c881cdc8ebabcec37325d770a36c
2017-11-07 11:30:06 +08:00