Boris Zbarsky
7cd02511ad
Bug 1455055 part 3. Clean up HandleEvent implementations in layout. r=masayuki
...
MozReview-Commit-ID: 7Irm8aAmeIt
2018-04-20 00:49:29 -04:00
Boris Zbarsky
65759d684b
Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
...
This does no cleanup other than what's needed to compile. Cleanup coming up in
later patches.
MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
1f5d8de5cc
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01: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
Adrian Wielgosik
03284e63fb
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
2018-03-16 20:55:32 +01:00
Boris Zbarsky
43e343d31f
Bug 1444686 part 8. Remove use of nsIDOMDataTransfer from layout/forms. r=mystor
...
MozReview-Commit-ID: 2MR9MVbdOPP
2018-03-13 16:24:00 -04:00
Boris Zbarsky
e0d4f437be
Bug 1444686 part 6. Get rid of nsIDOMDataTransfer::GetFiles. r=mystor
...
MozReview-Commit-ID: 3gAWLI2DyyU
2018-03-13 16:24:00 -04:00
Boris Zbarsky
762a379561
Bug 1444686 part 1. Get rid of nsIDOMDataTransfer::Get/SetDropEffect. r=mystor
...
MozReview-Commit-ID: 6Kn9uuaQYI0
2018-03-13 16:23:59 -04:00
Boris Zbarsky
d220ac2a77
Bug 1436508 part 13. Remove nsIDOMMutationEvent constants. r=masayuki
...
MozReview-Commit-ID: Anl5QJZknJL
2018-02-09 11:17:10 -05:00
Boris Zbarsky
6b0d86d490
Bug 1434686 part 3. Use IgnoreErrors() outside of dom/. r=mystor
...
I left some IgnoredErrorResults for now where people warn on failure. We could
consider adding a WarnOnError() thing or something.
MozReview-Commit-ID: L5ttZ9CGKg0
2018-02-01 14:21:14 -05:00
Boris Zbarsky
a04420f06a
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05: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
Mats Palmgren
616f910f82
Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz
...
MozReview-Commit-ID: 2trDgeJPw25
2017-11-07 01:20:33 +01:00
Daniel Holbert
8fea3c215f
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
2017-10-27 10:33:53 -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
Ehsan Akhgari
2d9c8b15b3
Bug 1394191 - Remove unneeded nsContentList.h includes from layout; r=dholbert
2017-08-29 07:29:11 -04:00
Bobby Holley
c2ce4d2e27
Bug 1393791 - Stop unbinding native-anonymous content off a script runner. r=emilio
...
The failure mode in the attached crashtest is an inconsistency in the flattened
tree. Specifically, we null out mVideoControls in an nsVideoFrame, but defer
the UnbindFromTree call on that NAC element, which measn that its mParent still
points to the nsVideoFrame's mContent. Because all this stuff runs off of script
runners, and the anonymous content destroyer is not guaranteed to run before
other potential script runners, we end up running arbitrary script while the
tree mismatch exists. This script calls back into ProcessPendingRestyles, which
causes trouble.
We could build a separate deferral mechanism, but it's not clear that we actually
need to defer the unbind anymore. The deferred unbind was added in bug 489008,
which predated a lot of simplifications in layout/dom interaction.
MozReview-Commit-ID: 1JYAhiXKVJC
2017-08-27 15:29:36 -07:00
Matt Woodrow
e62cf6dd69
Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange
2017-08-07 14:23:35 +12:00
Sebastian Hengst
2e92d940f4
Backed out changeset 8f2dd8f13b53 (bug 1388161) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:21 +02:00
Matt Woodrow
61b7fddb66
Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange
2017-08-07 14:23:35 +12:00
Nicholas Nethercote
723f585d9c
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10:00
Boris Zbarsky
d843bc168a
Bug 1380393 part 4. Remove nsIDOMHTMLElement.accessKey. r=mccr8
2017-07-13 23:45:50 -04:00
Boris Zbarsky
636876c10b
Bug 1380393 part 2. Remove nsIDOMHTMLElement.tabIndex. r=mccr8
2017-07-13 23:45:49 -04:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Alexis Beingessner
3117218f13
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-13 11:00:10 -04:00
Sebastian Hengst
1b1d14e565
Backed out changeset 3d1ce85e6348 (bug 1088760) for bustage, at least on Android at layout/generic/nsPluginFrame.cpp:1612. r=backout
2017-06-13 00:30:03 +02:00
Alexis Beingessner
c6fbc5e17e
Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
...
MozReview-Commit-ID: K1WUIOnvazF
2017-06-12 17:32:48 -04:00
Mats Palmgren
450c7ae245
Bug 1364805 part 2 - Add a nsIFrame::mClass field and propagate the concrete class' value up the ctor chain. r=jfkthame
...
nsIFrame::mClass is of type enum class nsQueryFrame::ClassID which is
a strict subset of the nsQueryFrame::FrameIID values. For a concrete
frame class, its FrameIID is the same numeric value as its ClassID.
MozReview-Commit-ID: 1N0AkCGo1ol
2017-05-26 12:11:11 +02:00
Andrea Marchesini
f7f1c0efcb
Bug 1340120 - Directory Upload API should work correctly with a folder is dropped, r=smaug
2017-02-16 18:23:33 +01:00
Boris Zbarsky
b6929f4521
Bug 1335368 part 13. Remove the use of IsCallerChrome in dom/file. r=baku
2017-02-01 15:43:37 -05:00
Masatoshi Kimura
0391e4d036
Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in nsFileControlFrame.cpp. r=baku
...
MozReview-Commit-ID: 7v78jtmp7rU
2017-01-21 15:36:10 +09:00
Boris Zbarsky
6286c72598
Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor
2016-11-15 12:46:32 -05:00
Boris Zbarsky
5ec6c4c5ff
Bug 1308287 part 2. Make DataTransfer.types use [NeedsSubjectPrincipal]. r=mystor
2016-10-10 21:07:48 -04:00
Boris Zbarsky
89d7a546a8
Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs
2016-10-10 21:07:47 -04:00
Olli Pettay
c225f78ad6
Bug 1289254 - Support dnd for webkitdirectory, r=baku
2016-07-29 14:41:38 +03:00
Andrea Marchesini
3e782b8fc6
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02:00
Michael Layzell
6ae475cfe8
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-07-04 15:45:45 -04:00
Andrea Marchesini
82cf89dc62
Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug
2016-06-29 18:18:42 +02:00
Andrea Marchesini
6786e47191
Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug
2016-06-29 15:14:37 +02:00
Carsten "Tomcat" Book
10581e2bb4
Backed out changeset f843a97323da (bug 1282870) for bustage on a CLOSED TREE
2016-06-29 13:51:49 +02:00
Andrea Marchesini
55b1553c9e
Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug
2016-06-29 13:29:04 +02:00
Carsten "Tomcat" Book
64cba58599
Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
2016-06-09 15:30:53 +02:00
Nicholas Nethercote
cbb72eacf5
Bug 1278452 - Move a misplaced null check in layout/forms/. r=mattwoodrow.
2016-06-07 16:21:58 +10:00
Michael Layzell
7e01b6d01a
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-06-07 18:05:55 -04:00
Jonathan Watt
9a70a91b0a
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
2015-09-16 11:42:27 +01:00