Emilio Cobos Álvarez
e00ebeda6a
Bug 1444580: Move OnPageShow / OnPageHide to nsIDocument, devirtualize OnPageHide. r=smaug
...
MozReview-Commit-ID: HlOpJ8Rg9IG
2018-03-12 12:26:50 +01:00
Emilio Cobos Álvarez
b6a3264fba
Bug 1444580: Devirtualize CreateShell / DeleteShell. r=smaug
...
MozReview-Commit-ID: 9eC2IyQ4bEf
2018-03-12 12:26:48 +01:00
Emilio Cobos Álvarez
ea16720d46
Bug 1444580: Devirtualize GetChannel. r=smaug
...
MozReview-Commit-ID: CIavtPA3s10
2018-03-12 12:26:47 +01:00
Emilio Cobos Álvarez
6fe64ed9a5
Bug 1444580: Devirtualize pointer lock and screen orientation stuff. r=smaug
...
MozReview-Commit-ID: HzJcrHFCsOK
2018-03-12 12:26:46 +01:00
Emilio Cobos Álvarez
b7609d9cce
Bug 1444580: Devirtualize the external resource stuff. r=smaug
...
This one was non-trivial, required me to move around the definition of
ExternalResourceLoad and such.
Modulo that, and that I had to redefine nsSubDocEnumCb, the rest is just moving
code around.
MozReview-Commit-ID: E96XX8vo2D8
2018-03-12 12:26:43 +01:00
Emilio Cobos Álvarez
e8288c7a9e
Bug 1444580: Devirtualize GetTemplateContentsOwner. r=smaug
...
MozReview-Commit-ID: 9I9BCcSUSfJ
2018-03-12 12:26:41 +01:00
Emilio Cobos Álvarez
2e71f7e670
Bug 1444580: Devirtualize event handling suppression stuff. r=smaug
...
MozReview-Commit-ID: 3tHJkzTc4gU
2018-03-12 12:26:40 +01:00
Emilio Cobos Álvarez
54f085ea7b
Bug 1444580: Devirtualize more animation stuff. r=smaug
...
MozReview-Commit-ID: 4U6oIg81Pdw
2018-03-12 12:26:39 +01:00
Emilio Cobos Álvarez
64c7ec5de6
Bug 1444580: Devirtualize GetAnonymousElementByAttribute. r=smaug
...
MozReview-Commit-ID: JrfJV0CZbtO
2018-03-12 12:26:38 +01:00
Emilio Cobos Álvarez
8722f6ee6a
Bug 1444580: Devirtualize GetBoxObjectFor / ClearBoxObjectFor. r=smaug
...
MozReview-Commit-ID: KQJfJ43R0FI
2018-03-12 12:26:37 +01:00
Emilio Cobos Álvarez
c88524fad4
Bug 1444580: Devirtualize the preload / preconnect stuff. r=smaug
...
MozReview-Commit-ID: 1aUlsZVOrEu
2018-03-12 12:26:34 +01:00
Emilio Cobos Álvarez
7e3e8b7ca3
Bug 1444580: Devirtualize GetCurrentContentSink. r=smaug
...
Another easy one.
MozReview-Commit-ID: DJnTRYTiHwH
2018-03-12 12:26:32 +01:00
Emilio Cobos Álvarez
50b16abb7e
Bug 1444580: Devirtualize the scroll to ref stuff. r=smaug
...
MozReview-Commit-ID: AhtY8Y684A9
2018-03-12 12:26:30 +01:00
Emilio Cobos Álvarez
5c084a2cca
Bug 1444580: Devirtualize ScriptLoader. r=smaug
...
MozReview-Commit-ID: JleR4vgjtgN
2018-03-12 12:26:28 +01:00
Emilio Cobos Álvarez
ce0c1fef02
Bug 1444580: Devirtualize Web Animations stuff. r=smaug
...
MozReview-Commit-ID: F96vf9GyElA
2018-03-12 12:26:26 +01:00
Emilio Cobos Álvarez
a6d9ec45e1
Bug 1444580: Devirtualize plugins stuff. r=smaug
...
MozReview-Commit-ID: HsB8ZlEFD54
2018-03-12 12:26:24 +01:00
Emilio Cobos Álvarez
288a10bc0b
Bug 1444580: Devirtualize GetRootElementInternal, and move nsINode overrides to nsIDocument. r=smaug
...
MozReview-Commit-ID: IlgHXhETOIa
2018-03-12 12:26:23 +01:00
Emilio Cobos Álvarez
f73bf76b95
Bug 1444580: Devirtualize subdocument stuff. r=smaug
...
MozReview-Commit-ID: Hbh3j85JPKm
2018-03-12 12:26:21 +01:00
Emilio Cobos Álvarez
48d7f1f02e
Bug 1444580: Devirtualize NotifyLayerManagerRecreated. r=smaug
...
MozReview-Commit-ID: 9KQ5mzD11Dr
2018-03-12 12:26:18 +01:00
Emilio Cobos Álvarez
8b439d19e0
Bug 1444580: Devirtualize GetStateObject. r=smaug
...
MozReview-Commit-ID: 3e55Tfky6N3
2018-03-12 12:26:17 +01:00
Emilio Cobos Álvarez
87f132ff06
Bug 1444580: Devirtualize the responsive content stuff. r=smaug
...
MozReview-Commit-ID: LCz01o31RoC
2018-03-12 12:26:16 +01:00
Emilio Cobos Álvarez
cde280f7f4
Bug 1444580: Devirtualize FindImageMap. r=smaug
...
MozReview-Commit-ID: 4J6Yc3vW1Vf
2018-03-12 12:26:15 +01:00
Emilio Cobos Álvarez
837af28813
Bug 1444580: Devirtualize nsIDocument::CreateElement / CreateElementNS. r=smaug
...
MozReview-Commit-ID: KSd1xNIT7te
2018-03-12 12:26:13 +01:00
Emilio Cobos Álvarez
32156dc752
Bug 1444580: Devirtualize the IdentifierMap stuff. r=smaug
...
MozReview-Commit-ID: 5IIp95VEtvk
2018-03-12 12:26:11 +01:00
Emilio Cobos Álvarez
5ffef03826
Bug 1444580: Devirtualize GetImplementation. r=smaug
...
MozReview-Commit-ID: 2nsR595RotH
2018-03-12 12:26:10 +01:00
Emilio Cobos Álvarez
6100eb8087
Bug 1444580: Devirtualize the fullscreen stuff. r=smaug
...
MozReview-Commit-ID: CgPENqExkQh
2018-03-12 12:26:09 +01:00
Emilio Cobos Álvarez
0f6e1aec50
Bug 1444580: Devirtualize the visibility state stuff. r=smaug
...
Also rename GetVisibilityState to ComputeVisibilityState, since that's what it
does, the getter is VisibilityState.
MozReview-Commit-ID: 9qfKvUmO0dW
2018-03-12 12:26:07 +01:00
Emilio Cobos Álvarez
ac1848dee7
Bug 1444580: Mark nsIDocument::Dispatch final. r=smaug
...
MozReview-Commit-ID: 1xAE0WF8IFN
2018-03-12 12:26:05 +01:00
Emilio Cobos Álvarez
ee333aaf7e
Bug 1444580: Devirtualize the IntersectionObserver bits. r=smaug
...
MozReview-Commit-ID: 65WtMQPu7f4
2018-03-12 12:26:03 +01:00
Emilio Cobos Álvarez
842e5cdf17
Bug 1444580: Devirtualize a few other things. r=smaug
...
SetScriptHandlingObject / GetScopeObject / GetWindowInternal /
GetScriptHandlingObjectInternal / GetScriptHandlingObject
MozReview-Commit-ID: Bx7cCo7wc0Y
2018-03-12 12:26:00 +01:00
Emilio Cobos Álvarez
0591ec07c1
Bug 1444580: Devirtualize IsScriptEnabled. r=smaug
...
MozReview-Commit-ID: FEhddLUXnO4
2018-03-12 12:25:58 +01:00
Emilio Cobos Álvarez
c72085c513
Bug 1444580: Devirtualize PaymentRequest stuff. r=smaug
...
This one was easy, the bit was already in the right place :)
MozReview-Commit-ID: 79KJNsIXIyb
2018-03-12 12:25:56 +01:00
Emilio Cobos Álvarez
07907b44d5
Bug 1444580: Devirtualize autofocus and navigation timing stuff. r=smaug
...
MozReview-Commit-ID: K5Y9lxSJgOG
2018-03-12 12:25:54 +01:00
Emilio Cobos Álvarez
92ca1ace1b
Bug 1444580: Devirtualize more nsIDocument bits. r=smaug
...
MozReview-Commit-ID: 5y1FgNb2NMB
2018-03-12 12:25:52 +01:00
Hiroyuki Ikezoe
78ac3dcdb4
Bug 1442817 - Add another variant of nsDocument::FlushPendingNotifications which are able to skip to flushing throttled animations. r=birtles,emilio
...
MozReview-Commit-ID: BZ9yAoAmWBB
--HG--
extra : rebase_source : 4f240b042992b3f13f296ce932c0d9795407932f
2018-03-09 06:41:30 +09:00
Emilio Cobos Álvarez
ff7e6d9b24
Bug 1443756: Devirtualize style-related nsIDocument methods. r=smaug
...
Summary: They have no particular reason to be virtual.
Reviewers: smaug
Bug #: 1443756
Differential Revision: https://phabricator.services.mozilla.com/D691
MozReview-Commit-ID: JN8MtfXvw3D
2018-03-07 23:57:04 +01:00
Emilio Cobos Álvarez
57591e34dd
Bug 1443553: Devirtualize BeginUpdate, FlushPendingNotifications, CreatorParserOrNull. r=smaug
...
MozReview-Commit-ID: FzPcHcyzJ02
2018-03-07 11:22:51 +01:00
Emilio Cobos Álvarez
44c8fa419b
Bug 1443553: Devirtualize ContentStateChanged / DocumentStatesChanged / StyleRule*. r=smaug
...
MozReview-Commit-ID: RE6rrBQMMU
2018-03-07 11:21:51 +01:00
Emilio Cobos Álvarez
cd0b749f03
Bug 1443553: Devirtualize nsIDocument::AddObserver / RemoveObserver. r=smaug
...
MozReview-Commit-ID: 8JeFLusnIQd
2018-03-07 11:20:43 +01:00
Emilio Cobos Álvarez
41e05df804
Bug 1443483: FlushTarget doesn't really make sense. r=xidorn
...
Summary:
FlushTarget wants to decide whether we should flush the parent document or all
of them. However, the only point of flushing parent documents is that media
query changes could affect the document we really want to flush.
That's completely pointless if we actually don't flush the subdocument, so just
skip doing that. This case is already checked (see the DocumentNeedsRestyle
stuff, which is also somewhat poorly named, which walks up the document chain).
Reviewers: xidorn
Bug #: 1443483
Differential Revision: https://phabricator.services.mozilla.com/D682
MozReview-Commit-ID: LiI7IrUBeqq
2018-03-07 01:09:46 +01:00
Christoph Kerschbaumer
d0bbab23a2
Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap
2018-03-05 09:20:34 +01:00
Blake Kaplan
eadd91cbee
Bug 1404297 - Change the way we iterate over our links to update. r=smaug
...
MozReview-Commit-ID: BTADrB9itjh
--HG--
extra : rebase_source : 4884a91ec9fc64107c3406d3199fe05857210997
2018-03-01 11:26:54 -08:00
Bogdan Tara
52316bbce3
Backed out changeset b235338be4d9 (bug 1404297) for build bustages on /builds/worker/workspace/build/src/dom/base/nsDocument.cpp a=backout CLOSED TREE
2018-02-28 01:42:50 +02:00
Blake Kaplan
4eb24aab7b
Bug 1404297 - Change the way we iterate over our links to update. r=smaug
...
MozReview-Commit-ID: BTADrB9itjh
--HG--
extra : rebase_source : 858f50bdbe2c35541b6a1975b0814e560db254c8
2018-02-27 17:54:00 -05:00
Emilio Cobos Álvarez
0459204d7c
Bug 1425759: Make Shadow DOM Stylo-only. r=smaug
...
I don't plan to fix this stuff up on the old style system.
MozReview-Commit-ID: E7Ayatwsw4E
2018-02-27 12:39:25 +01:00
Emilio Cobos Álvarez
c03ffd9c62
Bug 1425759: Simplify the style backend type setup. r=bholley
...
Now that what we use to decide whether a document is styled by Servo are only
prefs and the doc principal, we don't need to inherit the style backend type,
since unless the pref has changed, the result will be the same.
MozReview-Commit-ID: KBmeBn1cRne
2018-02-27 12:39:20 +01:00
Boris Zbarsky
3d785e53b2
Bug 1437921 part 1. Add an attribute on document that is a Promise that resolves when the document has fired DOMContentLoaded _and_ maybe started layout. r=mystor
...
MozReview-Commit-ID: LpPFPKlHTXe
2018-02-22 16:55:40 -05:00
Hiroyuki Ikezoe
1b0cba9367
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
--HG--
extra : rebase_source : 8d2a917eb62cf341e4e1810451fd01c01dbc3bad
2018-02-21 07:00:10 +09:00
Olli Pettay
1dfbc7a331
Bug 1430301 - Implement ShadowRoot.elementFromPoint/elementsFromPoint, r=emilio
...
--HG--
extra : rebase_source : 570f17a7a63ea602533910192c04b4e12f082aa8
2018-02-16 20:42:58 +02:00
decltype
dd080e9eba
Bug 712130 - Defer autofocus until after frame construction. r=bz
...
The autofocus attribute on form elements forces layout in CheckIfFocusable.
To avoid unpleasant FOUCs, defer autofocus processing until frames are
constructed in PresShell::Initialize.
Resolve the race between nsAutoFocusEvent running and page load by checking the
readystate at time of event posting. Skip autofocus if the element moved to a
different window in the meantime.
MozReview-Commit-ID: 90jiJYJWmRg
--HG--
extra : rebase_source : f94b479075df3e37ec1a658d71596c03930bab92
2018-01-08 22:35:00 +01:00