Boris Zbarsky
821cd16e9f
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
ae88fa2749
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
d0e4853121
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
57e4b18aed
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
9763b54e77
Bug 1453517 - Remove nsPopupWindowManager and related XPCOM bits; r=bz
...
MozReview-Commit-ID: JIDdZfnNN8E
2018-04-11 16:16:13 -07:00
Kyle Machulis
3ff8407067
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
2018-04-11 16:18:20 -07:00
Jeff Walden
738579bba3
Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
2018-04-12 20:19:30 -07:00
Ciure Andrei
40a9e70f9f
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-04-11 12:00:35 +03:00
Ciure Andrei
e88f87924d
Merge autoland to mozilla-central. a=merge
2018-04-11 11:56:26 +03:00
Ciure Andrei
ea89df62df
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)
2018-04-11 11:22:05 +03:00
Cameron McCormack
9a6c8a3e60
Bug 1317539 - Remove dom.forms.number pref. r=bz
...
MozReview-Commit-ID: EgeUfWMcE8D
2018-04-10 11:02:28 +10:00
Nika Layzell
32fa76c4fe
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
cccd4523db
Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku
2018-04-10 17:49:44 -04:00
Boris Zbarsky
5b75c1416d
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Nicholas Nethercote
7ccd4b9401
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
2018-04-03 13:21:06 +10:00
Boris Zbarsky
152cd3ba6e
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
29226b0510
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
1096f0f569
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-17 12:34:09 +02:00
Adrian Wielgosik
03284e63fb
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
2018-03-16 20:55:32 +01:00
Emilio Cobos Álvarez
a76d4ae5b0
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
21a918ec7d
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
2018-03-14 10:27:25 +11:00
Adrian Wielgosik
b3471f9af4
Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
...
MozReview-Commit-ID: 2UcUy4MkVsM
2018-02-23 19:28:08 +01:00
Emilio Cobos Álvarez
24dd511927
Bug 1439155: Be consistent about what does readonly apply to. r=smaug
...
MozReview-Commit-ID: 4NiDe7pUzGa
2018-02-22 08:07:55 +01:00
Adrian Wielgosik
ddc8320336
Bug 1439751 - Cleanup HTMLInputElement some more. r=qdot
...
MozReview-Commit-ID: APunYKaGM8I
2018-02-20 23:11:27 +01:00
Adrian Wielgosik
9ed001b20f
Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot
...
MozReview-Commit-ID: JVagEzvSONN
2018-02-20 23:10:44 +01:00
Boris Zbarsky
831a04431e
Bug 1436508 part 14. Remove nsIDOMMutationEvent. r=masayuki
...
MozReview-Commit-ID: Gf59kFSIuaK
2018-02-09 11:17:10 -05:00
Boris Zbarsky
3ab7ce89fa
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky
62c5e0df60
Bug 1418085 part 5. Remove nsIDOMHTMLInputElement::GetList. r=mystor
...
MozReview-Commit-ID: JbWMti82q3R
2018-01-30 00:25:36 -05:00
Emilio Cobos Álvarez
f68231c053
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
4ddc45d084
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
288cbd4f18
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
fe79e47619
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-17 18:30:59 +01:00
Emilio Cobos Álvarez
0f41607b68
Bug 1431041: Make placeholder apply to <input type="number">. r=smaug
...
MozReview-Commit-ID: GLbdLxHLiH4
2018-01-17 14:52:01 +01:00
Andrea Marchesini
03bde7c37a
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
8a71d3197b
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
ecd202d763
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
b3956b6171
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Kris Maglione
48e53b3df5
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
2017-11-01 20:35:52 -07:00
Timothy Guan-tin Chien
1688c7fb5c
Bug 1327097, Part I, Revert bug 1338961, r=smaug
...
This reverts commit 2b7c469d42bbb4a61471207eede26a8d27f084a3.
MozReview-Commit-ID: H07u9I5w80N
2017-11-07 11:30:06 +08:00
Gurzau Raul
3fea16876e
Backed out 3 changesets (bug 1327097) for eslint failures toolkit/content/tests/widgets/test_videocontrols.html:228 r=backout on a CLOSED TREE
...
Backed out changeset 09c0a4c56c78 (bug 1327097)
Backed out changeset c0c5ee67b3ef (bug 1327097)
Backed out changeset 82a6e4dc5da7 (bug 1327097)
2017-11-16 14:23:20 +02:00
Timothy Guan-tin Chien
845b853738
Bug 1327097, Part I, Revert bug 1338961, r=smaug
...
This reverts commit 2b7c469d42bbb4a61471207eede26a8d27f084a3.
MozReview-Commit-ID: H07u9I5w80N
2017-11-07 11:30:06 +08:00
Boris Zbarsky
035ea3c391
Bug 1415677 part 6. Remove nsIDOMHTMLCollection. r=qdot
...
MozReview-Commit-ID: E8P9o0bv63L
2017-11-13 10:41:33 -05:00
Chris Peterson
53e4b50e41
Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
MozReview-Commit-ID: B5TZB3v52wY
2017-10-25 00:37:02 -07:00
Andrew Osmond
aa5a774352
Bug 1404422 - Part 4. Remove imgIOnloadBlocker and related from tree as redundant. r=tnikkel
2017-11-01 06:59:10 -04:00
Jonathan Watt
711f1d78b4
Bug 1406819 - Remove various bits of dead code from dom/. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Kris Maglione
cd1637aa78
Bug 1406278: Part 7 - Use subject principal as triggering principal in <input> "src" attribute. r=bz
...
MozReview-Commit-ID: 8DZOwqBrA2i
2017-10-05 16:19:19 -07:00
Kris Maglione
5f00cf0c65
Bug 1406278: Part 1 - Pass subject principal to SetAttribute and friends. r=bz
...
In order to tailor certain security checks to the caller that is attempting to
load a particular piece of content, we need to be able to attach an
appropriate triggering principal to the corresponding requests. Since most
HTML content is loaded based on attribute values, that means capturing the
subject principal of the caller who sets those attributes, which means making
it available to AfterSetAttr hooks.
MozReview-Commit-ID: BMDL2Uepg0X
2017-10-09 14:33:38 -07:00
Nicholas Nethercote
7dbfdaf890
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Chris Peterson
abda5bf615
Bug 1402666 - Part 3: Replace Replace(NS_LITERAL_STRING("")) with ReplaceLiteral(u""). r=erahm
...
MozReview-Commit-ID: Ji6UdG32RF4
2017-09-15 19:32:55 -07:00
Sebastian Hengst
8899976f2f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: It9WfByQfV3
2017-09-23 11:38:06 +02:00