Commit Graph

452 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
076286e594 Bug 1444580: Devirtualize the preload / preconnect stuff. r=smaug
MozReview-Commit-ID: 1aUlsZVOrEu
2018-03-12 12:26:34 +01:00
Emilio Cobos Álvarez
6723ec09aa Bug 1444580: Devirtualize GetCurrentContentSink. r=smaug
Another easy one.

MozReview-Commit-ID: DJnTRYTiHwH
2018-03-12 12:26:32 +01:00
Emilio Cobos Álvarez
fe6962c637 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
ba073055bb Bug 1444580: Devirtualize ScriptLoader. r=smaug
MozReview-Commit-ID: JleR4vgjtgN
2018-03-12 12:26:28 +01:00
Emilio Cobos Álvarez
31ed6d24a3 Bug 1444580: Devirtualize Web Animations stuff. r=smaug
MozReview-Commit-ID: F96vf9GyElA
2018-03-12 12:26:26 +01:00
Emilio Cobos Álvarez
932a20ae60 Bug 1444580: Devirtualize plugins stuff. r=smaug
MozReview-Commit-ID: HsB8ZlEFD54
2018-03-12 12:26:24 +01:00
Emilio Cobos Álvarez
a861dbf40a 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
5c228a732a Bug 1444580: Devirtualize subdocument stuff. r=smaug
MozReview-Commit-ID: Hbh3j85JPKm
2018-03-12 12:26:21 +01:00
Emilio Cobos Álvarez
a4ec51feec Bug 1444580: Devirtualize NotifyLayerManagerRecreated. r=smaug
MozReview-Commit-ID: 9KQ5mzD11Dr
2018-03-12 12:26:18 +01:00
Emilio Cobos Álvarez
393a21f28d Bug 1444580: Devirtualize GetStateObject. r=smaug
MozReview-Commit-ID: 3e55Tfky6N3
2018-03-12 12:26:17 +01:00
Emilio Cobos Álvarez
391bcc7907 Bug 1444580: Devirtualize the responsive content stuff. r=smaug
MozReview-Commit-ID: LCz01o31RoC
2018-03-12 12:26:16 +01:00
Emilio Cobos Álvarez
c29b78c593 Bug 1444580: Devirtualize FindImageMap. r=smaug
MozReview-Commit-ID: 4J6Yc3vW1Vf
2018-03-12 12:26:15 +01:00
Emilio Cobos Álvarez
73d437914d Bug 1444580: Devirtualize nsIDocument::CreateElement / CreateElementNS. r=smaug
MozReview-Commit-ID: KSd1xNIT7te
2018-03-12 12:26:13 +01:00
Emilio Cobos Álvarez
7792028e95 Bug 1444580: Devirtualize the IdentifierMap stuff. r=smaug
MozReview-Commit-ID: 5IIp95VEtvk
2018-03-12 12:26:11 +01:00
Emilio Cobos Álvarez
85e32004d1 Bug 1444580: Devirtualize GetImplementation. r=smaug
MozReview-Commit-ID: 2nsR595RotH
2018-03-12 12:26:10 +01:00
Emilio Cobos Álvarez
0bc20d53e1 Bug 1444580: Devirtualize the fullscreen stuff. r=smaug
MozReview-Commit-ID: CgPENqExkQh
2018-03-12 12:26:09 +01:00
Emilio Cobos Álvarez
6a2ee0cafa 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
90da53ffa2 Bug 1444580: Mark nsIDocument::Dispatch final. r=smaug
MozReview-Commit-ID: 1xAE0WF8IFN
2018-03-12 12:26:05 +01:00
Emilio Cobos Álvarez
6972e1b6a1 Bug 1444580: Devirtualize the IntersectionObserver bits. r=smaug
MozReview-Commit-ID: 65WtMQPu7f4
2018-03-12 12:26:03 +01:00
Emilio Cobos Álvarez
4f7ff7a723 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
116134bcb7 Bug 1444580: Devirtualize IsScriptEnabled. r=smaug
MozReview-Commit-ID: FEhddLUXnO4
2018-03-12 12:25:58 +01:00
Emilio Cobos Álvarez
bfd59525be 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
b5c4c9512a 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
1e97727f58 Bug 1444580: Devirtualize more nsIDocument bits. r=smaug
MozReview-Commit-ID: 5y1FgNb2NMB
2018-03-12 12:25:52 +01:00
Hiroyuki Ikezoe
e3a88fc185 Bug 1442817 - Add another variant of nsDocument::FlushPendingNotifications which are able to skip to flushing throttled animations. r=birtles,emilio
MozReview-Commit-ID: BZ9yAoAmWBB
2018-03-09 06:41:30 +09:00
Emilio Cobos Álvarez
b80b50a69f 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
1e19ec7b61 Bug 1443553: Devirtualize BeginUpdate, FlushPendingNotifications, CreatorParserOrNull. r=smaug
MozReview-Commit-ID: FzPcHcyzJ02
2018-03-07 11:22:51 +01:00
Emilio Cobos Álvarez
1ea0ab458e Bug 1443553: Devirtualize ContentStateChanged / DocumentStatesChanged / StyleRule*. r=smaug
MozReview-Commit-ID: RE6rrBQMMU
2018-03-07 11:21:51 +01:00
Emilio Cobos Álvarez
521c012a20 Bug 1443553: Devirtualize nsIDocument::AddObserver / RemoveObserver. r=smaug
MozReview-Commit-ID: 8JeFLusnIQd
2018-03-07 11:20:43 +01:00
Emilio Cobos Álvarez
a373cb9e9b 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
3c66d0e8e0 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
01fc11ad0c Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh
2018-03-01 11:26:54 -08:00
Bogdan Tara
1a7aa5dc6c 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
b4ccc7f7fc Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh
2018-02-27 17:54:00 -05:00
Emilio Cobos Álvarez
f31600f1a6 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
01aee7ccf1 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
2f8423ff8d 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
b1da8534e8 Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
It would be convenient to get nsPresContext from nsIDocument.

MozReview-Commit-ID: Ei6V3UE8XGr
2018-02-21 07:00:10 +09:00
Olli Pettay
c9fa213741 Bug 1430301 - Implement ShadowRoot.elementFromPoint/elementsFromPoint, r=emilio 2018-02-16 20:42:58 +02:00
decltype
402ab7cd6d 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
2018-01-08 22:35:00 +01:00
Dorel Luca
491ea96856 Merge mozilla-central to autoland. CLOSED TREE 2018-02-15 00:35:45 +02:00
Olli Pettay
a326b846bb Bug 1430305 - Implement ShadowRoot.fullscreenElement , r=mrbkap 2018-02-13 18:57:32 +02:00
Adrian Wielgosik
6551526097 Bug 1438270 - Remove nsIDOMDocumentXBL. r=bz
MozReview-Commit-ID: 4TsjUaEdDP2
2018-02-14 20:10:45 +01:00
Cameron McCormack
f4f1325748 Bug 1435666 - Part 4: Remove nsIDOMXPathEvaluator. r=bz
MozReview-Commit-ID: 2nZmbJ9mdwI
2018-02-05 13:05:45 +08:00
Olli Pettay
30b2bf50f1 Bug 1430303 - Implement ShadowRoot.pointerLockElement, r=mrbkap 2018-02-03 22:08:30 +02:00
Boris Zbarsky
7e1a0e2b7f Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: JsxGp9HQ2ak
2018-02-01 14:26:13 -05:00
Boris Zbarsky
249906a160 Bug 1434819 part 6. Get rid of NodeFilterHolder. r=qdot
Now that TreeWalker and NodeIterator only use webidl APIs, they always have a
NodeFilter, not nsIDOMNodeFilter.

MozReview-Commit-ID: 5pzn9V3Kxzy
2018-02-01 14:26:12 -05:00
Emilio Cobos Álvarez
de5d26b942 Bug 1434474: There's no need to rebuild font / counter styles / font feature values off a runnable. r=bholley
Everything that needs them up-to-date will call flush appropriately, there
should be no need to do it manually.

This way we coalesce all the stylist updates until the next style flush in the
best case, or until one of the consumers actually needs them.

MozReview-Commit-ID: BVsxXxhtcKL
2018-01-31 11:12:36 +01:00
Cameron McCormack
02c617875f Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
MozReview-Commit-ID: 1FZ9VzjcPzN
2018-02-01 15:04:04 +11:00
Boris Zbarsky
ece69636b3 Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor
MozReview-Commit-ID: BjRVr3ScuK5
2018-01-31 14:49:27 -05:00