Commit Graph

1183 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
e10146bc65 Bug 1446568: Move the blocked tracking nodes methods to nsIDocument. r=smaug
MozReview-Commit-ID: LuvoFP8UyNg
2018-03-17 16:22:00 +01:00
Emilio Cobos Álvarez
da760fc049 Bug 1446568: Remove nsDocument::UnlockPointer. r=smaug
And remove some now-unneeded casts.

MozReview-Commit-ID: CFfkiC0xJ2C
2018-03-17 16:21:58 +01:00
Emilio Cobos Álvarez
5aa03a927f Bug 1446568: Move Reset and ResetToURI to nsIDocument instead of nsDocument. r=smaug
Move also mListenerManager since it's used by ResetToURI.

MozReview-Commit-ID: CPj2NHwpOEy
2018-03-17 16:21:42 +01:00
Emilio Cobos Álvarez
9728dee239 Bug 1446568: Devirtualize nsIDocument::CreateElem. r=smaug
MozReview-Commit-ID: FO0mMHN6zvi
2018-03-17 16:14:29 +01:00
Emilio Cobos Álvarez
249bc337d5 Bug 1443339: Stop observing the refresh driver when inserting into the BFCache. r=bz
The nsCSSFrameConstructor bits are now handled in PresShell::Destroy along with
the other refresh driver observers.

I cleaned up the nsRefreshDriver methods because they were using infallible
append anyway, and that simplified the logic.

MozReview-Commit-ID: 1eDUUXjUUS9
2018-03-17 16:11:52 +01:00
Emilio Cobos Álvarez
6780bb2d94 Bug 1445588: Devirtualize nsIDocument::GetViewportInfo. r=smaug
Reviewers: smaug

Bug #: 1445588

Differential Revision: https://phabricator.services.mozilla.com/D729

MozReview-Commit-ID: 4bW2Yo784Z
2018-03-14 11:55:22 +01:00
Boris Zbarsky
ab8b07e494 Bug 1445140 part 4. Remove nsIDOMDocumentType members. r=mystor
MozReview-Commit-ID: D9Xwt3qJQDI
2018-03-13 16:24:01 -04:00
Dave Townsend
baa5890074 Bug 1421070: Always enable custom elements in chrome. r=smaug, rs=MattN
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.

MozReview-Commit-ID: CMiLzmp60jA
2017-10-20 11:02:33 -07:00
Margareta Eliza Balazs
9ee7d43762 Backed out changeset 794ee6857d83 (bug 1421070) for 15 failures in toolkit/components/payments/test/mochitest/test_ObservedPropertiesMixin.html on a CLOSED TREE 2018-03-23 03:42:25 +02:00
Dave Townsend
fd716c5ce4 Bug 1421070: Always enable custom elements in chrome. r=smaug
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.

MozReview-Commit-ID: CMiLzmp60jA
2017-10-20 11:02:33 -07:00
Emilio Cobos Álvarez
923d990216 Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
Summary: It uses two node bits that can be better suited for something else.

Reviewers: xidorn, smaug

Bug #: 1444905

Differential Revision: https://phabricator.services.mozilla.com/D709

MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Emilio Cobos Álvarez
bfe04b36be Bug 1444908: Devirtualize nsIDocument::Get/SetXMLDeclaration. r=smaug
Summary: I missed these two.

Reviewers: smaug

Bug #: 1444908

Differential Revision: https://phabricator.services.mozilla.com/D710

MozReview-Commit-ID: 8JYhlQ9CiDz
2018-03-13 09:03:11 +01:00
Boris Zbarsky
4627e6ad5e Bug 1415588 part 4. Move the .anchors getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 2uqt9cdz6y7
2018-03-12 21:44:57 -04:00
Boris Zbarsky
2ffd523b10 Bug 1415588 part 3. Move the .links getter from HTMLDocument to Document. r=mystor
The null-checks in MatchLinks were working around code in nsDocument::Destroy
that was removed a while back in bug 341730.

MozReview-Commit-ID: 2SMmGr83GCB
2018-03-12 21:44:56 -04:00
Boris Zbarsky
b754251396 Bug 1415588 part 2. Move the .images, .embeds, .plugins, .forms, .scripts, .applets getters from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: Db7iazZUz8g
2018-03-12 21:44:56 -04:00
Boris Zbarsky
8073c645a3 Bug 1415588 part 1. Move the .head getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 5SW47hfE9dl
2018-03-12 21:44:56 -04:00
Emilio Cobos Álvarez
ddd314467b Bug 1444580: Move mExpandoAndGeneration back to nsDocument for now. r=smaug
MozReview-Commit-ID: EArKdxEoXaJ
2018-03-12 12:27:06 +01:00
Emilio Cobos Álvarez
618ca949dd Bug 1444580: Devirtualize CanSavePresentation. r=smaug
MozReview-Commit-ID: LjBA4gM71ir
2018-03-12 12:27:05 +01:00
Emilio Cobos Álvarez
fd8b6fc689 Bug 1444580: Devirtualize Sanitize. r=smaug
MozReview-Commit-ID: 4UMjAlqnRqu
2018-03-12 12:27:04 +01:00
Emilio Cobos Álvarez
28bd450c97 Bug 1444580: Devirtualize GetLayoutHistoryState. r=smaug
MozReview-Commit-ID: AsPFJdDGeUE
2018-03-12 12:27:02 +01:00
Emilio Cobos Álvarez
8abc4e0411 Bug 1444580: Devirtualize WillDispatchMutationEvent / MutationEventDispatched. r=smaug
MozReview-Commit-ID: 4k2dEEah1FR
2018-03-12 12:27:00 +01:00
Emilio Cobos Álvarez
3ec992c240 Bug 1444580: Devirtualize UnblockDOMContentLoaded. r=smaug
MozReview-Commit-ID: I7t9glmVE7q
2018-03-12 12:26:57 +01:00
Emilio Cobos Álvarez
c437a0e44c Bug 1444580: Devirtualize frame loader stuff. r=smaug
MozReview-Commit-ID: As1MOpvoaI6
2018-03-12 12:26:55 +01:00
Emilio Cobos Álvarez
070dfde9ad Bug 1444580: Devirtualize FlushSkinBindings. r=smaug
MozReview-Commit-ID: 556Wpm4QZeM
2018-03-12 12:26:53 +01:00
Emilio Cobos Álvarez
96faf20245 Bug 1444580: Devirtualize NodesFromRectHelper. r=smaug
MozReview-Commit-ID: CbVY8ysExfi
2018-03-12 12:26:51 +01:00
Emilio Cobos Álvarez
135f432d9d 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
9edbfc45ee Bug 1444580: Devirtualize CreateShell / DeleteShell. r=smaug
MozReview-Commit-ID: 9eC2IyQ4bEf
2018-03-12 12:26:48 +01:00
Emilio Cobos Álvarez
042eb7eb7c 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
cb48726c1c 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
56727ec345 Bug 1444580: Devirtualize GetTemplateContentsOwner. r=smaug
MozReview-Commit-ID: 9I9BCcSUSfJ
2018-03-12 12:26:41 +01:00
Emilio Cobos Álvarez
289a3b8eed Bug 1444580: Devirtualize event handling suppression stuff. r=smaug
MozReview-Commit-ID: 3tHJkzTc4gU
2018-03-12 12:26:40 +01:00
Emilio Cobos Álvarez
2bde5daef2 Bug 1444580: Devirtualize more animation stuff. r=smaug
MozReview-Commit-ID: 4U6oIg81Pdw
2018-03-12 12:26:39 +01:00
Emilio Cobos Álvarez
e287a0bd37 Bug 1444580: Devirtualize GetAnonymousElementByAttribute. r=smaug
MozReview-Commit-ID: JrfJV0CZbtO
2018-03-12 12:26:38 +01:00
Emilio Cobos Álvarez
5fd11dacb5 Bug 1444580: Devirtualize GetBoxObjectFor / ClearBoxObjectFor. r=smaug
MozReview-Commit-ID: KQJfJ43R0FI
2018-03-12 12:26:37 +01:00
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