Граф коммитов

305 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 1fbd784d00 Bug 1481601 - Remove now-useless aPreallocateChildren from nsINode::Clone() and friends. r=bzbarsky
Since sed on multiple lines ended up being such a pain and I didn't end up
writing a script for this because I didn't think it'd end up being so boring, I
may have made a couple cleanups here and there as well...

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

--HG--
extra : moz-landing-system : lando
2018-08-08 23:58:44 +00:00
Brian Birtles 8ab6ee61ba Bug 1471814 - Add a preference for {Document,Element}.getAnimations(); r=bz,hiro
This is probably the last thing we will ship since it needs the most spec work.

MozReview-Commit-ID: LLmDBLCsCBJ

--HG--
extra : rebase_source : c06752c9201a9ede87e1ac200ab12577bf784ce6
2018-07-14 09:23:03 +09:00
Brian Birtles fc657410ff Bug 1471814 - Add a preference for implicit keyframes; r=bz,hiro
This preference controls whether authors are allowed to specify animations
without a 0% or 100% keyframe.

We intend to ship this soon but this preference acts as a safeguard in case we
discover we need to disable it.

This feature is very convenient and commonly used so this patch ensures it is
always enabled for system content.

MozReview-Commit-ID: BHTsuS2xO61

--HG--
rename : dom/animation/test/mozilla/file_disable_animations_api_core.html => dom/animation/test/mozilla/file_disable_animations_api_implicit_keyframes.html
rename : dom/animation/test/mozilla/test_disable_animations_api_core.html => dom/animation/test/mozilla/test_disable_animations_api_implicit_keyframes.html
extra : rebase_source : 04fd93dd26a4765c14b0b22febdb0311b650ea59
2018-07-14 09:23:03 +09:00
Brian Birtles 5d13151cb9 Bug 1471814 - Add a preference for Web Animations timelines; r=bz,hiro
We don't intend to ship this in the near future until the integration with
AnimationWorklet is clear (although we might ship a read-only version).

That said, we use this feature extensively internally (e.g. in DevTools etc.) so
we enable this feature for system callers.

MozReview-Commit-ID: AhB7ZmU1Xzw

--HG--
extra : rebase_source : 630d7dc56b44a9261bb34aa5417cb9b7050efba4
2018-07-14 09:23:03 +09:00
Olli Pettay de99e4460b Bug 1439153 - Make WebExtensions work with Shadow DOM/WebComponents, r=kmag
--HG--
extra : rebase_source : 83638cba42eea1523d32d06a2eb14df20cbab404
2018-07-14 05:26:15 +03:00
Brian Birtles a2a2e0da37 Bug 1475162 - Drop dom.animations-api.element-animate.enabled pref; r=bz
MozReview-Commit-ID: 5xKS30NmNbL

--HG--
extra : rebase_source : c34e8da8a04bee15d40c719db5e57037899cddd8
2018-07-12 15:56:05 +09:00
Jan de Mooij 7967870e29 Bug 1473865 part 4 - Use xpc::WindowOrNull instead of xpc::WindowGlobalOrNull in a few places. r=bz 2018-07-12 16:17:44 +02:00
Christoph Kerschbaumer 2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Boris Zbarsky cb08b0de7d Bug 1455676 part 21. Remove nsIDOMNode. r=qdot 2018-05-29 22:58:51 -04:00
Boris Zbarsky 115f652b0b Bug 1455676 part 20. Remove now-unused AsDOMNode methods. r=qdot 2018-05-29 22:58:50 -04:00
Boris Zbarsky 3b8785a733 Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot 2018-05-29 13:39:06 -04:00
Emilio Cobos Álvarez 11794a944d Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Adrian Wielgosik c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Boris Zbarsky 14f26fccf6 Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Xidorn Quan 4cf9aed667 Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet

Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
  many places call into the methods with StyleSheet, so there are many
  ->AsServo() added to sheets

MozReview-Commit-ID: K4zYnuhOurA

--HG--
extra : rebase_source : 459e8efeb171adad089d94272e143e8c244bd279
extra : source : 65ba2f174fcf7dba4e59c00ee8908b1bd0820a48
2018-03-29 22:15:46 +11:00
Emilio Cobos Álvarez 16defc8e69 Bug 1446601: Devirtualize nsIDocument::Get/SetFailedChannel. r=bz
Summary: The member is already in nsIDocument anyway.

Reviewers: bzbarsky

Bug #: 1446601

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

MozReview-Commit-ID: 90Ad5wiCeMS
2018-03-17 16:22:15 +01:00
Emilio Cobos Álvarez 8a2f92ec95 Bug 1446568: Move a couple other methods from nsDocument to nsIDocument. r=smaug
Need to add an static_cast for nsIDOMDocument, but it'll be temporary, I'd
expect.

MozReview-Commit-ID: 1cSwlcQZL5N
2018-03-17 16:22:13 +01:00
Emilio Cobos Álvarez 55a1729e6a Bug 1446568: Move UseCounter stuff and IsSynthesized to nsIDocument. r=smaug
MozReview-Commit-ID: IeKzmi31e8d
2018-03-17 16:22:12 +01:00
Emilio Cobos Álvarez 3e33f2a705 Bug 1446568: Make SetScriptGlobalObject not pure virtual. r=smaug
MozReview-Commit-ID: 1kKPq7f50jC
2018-03-17 16:22:10 +01:00
Emilio Cobos Álvarez 6b3537c326 Bug 1446568: Make nsIDocument SetContentType / SetDocumentCharacterSet not pure virtual. r=smaug
No good reason for them to be.

MozReview-Commit-ID: 7bFVD8YFqo2
2018-03-17 16:22:08 +01:00
Emilio Cobos Álvarez 1bbc934001 Bug 1446568: Move a couple more stuff from nsDocument to nsIDocument. r=smaug
MozReview-Commit-ID: JC2nqzJEq7U
2018-03-17 16:22:06 +01:00
Emilio Cobos Álvarez 52742250dd Bug 1446568: Move a few of the remaining nsDocument members to nsIDocument. r=smaug
MozReview-Commit-ID: 3FdiyHLFOh
2018-03-17 16:22:04 +01:00
Emilio Cobos Álvarez ffa2f5a85d 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 c64ab0c766 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 9638946d77 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 23692dc720 Bug 1446568: Devirtualize nsIDocument::CreateElem. r=smaug
MozReview-Commit-ID: FO0mMHN6zvi
2018-03-17 16:14:29 +01:00
Emilio Cobos Álvarez c85500f1e5 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
Emilio Cobos Álvarez 17f8b43bb3 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
Emilio Cobos Álvarez 4224552ed9 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 a21c8d80eb Bug 1444580: Devirtualize CanSavePresentation. r=smaug
MozReview-Commit-ID: LjBA4gM71ir
2018-03-12 12:27:05 +01:00
Emilio Cobos Álvarez 5c17dca08f Bug 1444580: Devirtualize Sanitize. r=smaug
MozReview-Commit-ID: 4UMjAlqnRqu
2018-03-12 12:27:04 +01:00
Emilio Cobos Álvarez c5d1876218 Bug 1444580: Devirtualize GetLayoutHistoryState. r=smaug
MozReview-Commit-ID: AsPFJdDGeUE
2018-03-12 12:27:02 +01:00
Emilio Cobos Álvarez 094ff568ce Bug 1444580: Devirtualize WillDispatchMutationEvent / MutationEventDispatched. r=smaug
MozReview-Commit-ID: 4k2dEEah1FR
2018-03-12 12:27:00 +01:00
Emilio Cobos Álvarez 918097c54e Bug 1444580: Remove reference to non-existing nsDocument::UpdateScreenOrientation. r=smaug
MozReview-Commit-ID: ABDg1WQSgzC
2018-03-12 12:26:58 +01:00
Emilio Cobos Álvarez 3888b4d73c Bug 1444580: Devirtualize UnblockDOMContentLoaded. r=smaug
MozReview-Commit-ID: I7t9glmVE7q
2018-03-12 12:26:57 +01:00
Emilio Cobos Álvarez b9d38b736d Bug 1444580: Devirtualize frame loader stuff. r=smaug
MozReview-Commit-ID: As1MOpvoaI6
2018-03-12 12:26:55 +01:00
Emilio Cobos Álvarez c8428d3e7e Bug 1444580: Devirtualize FlushSkinBindings. r=smaug
MozReview-Commit-ID: 556Wpm4QZeM
2018-03-12 12:26:53 +01:00
Emilio Cobos Álvarez 6f4ed12e9c Bug 1444580: Devirtualize NodesFromRectHelper. r=smaug
MozReview-Commit-ID: CbVY8ysExfi
2018-03-12 12:26:51 +01:00
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