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

15407 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 9c65b7b0cb Bug 1443948 - Remove NODE_FORCE_XBL_BINDINGS;r=bz
This was used to attach a binding to a cloned node before it got inserted
into the doc. This is no longer used in the browser chrome, so this patch
removes the feature to prevent future usage and simplify dom code.

MozReview-Commit-ID: KnkHWJ8oQig

--HG--
extra : rebase_source : 52c175afbbfc0cf5cd33c39b6f0577452a90f1a0
2018-03-12 13:24:10 -07:00
Gijs Kruitbosch ca508d989b Bug 1371888 - cache plugin information in pluginreg.dat to avoid sync startup load, r=florian,mossop
This changes the pluginreg.dat format to include the blocklist state.

There is now only the saved blocklist state in a plugin tag instance, rather than
looking it up from in there using the blocklist service, so it was renamed from
mCachedBlocklistState to mBlocklistState. We pass the 'right' state to the plugin
instance when the plugintag is constructed. If we don't have state, we mark it as
unblocked.

mCachedBlocklistStateChanged was never read so it's being removed.

Bug 1439519 adds a 'blocklist-loaded' notification that is fired once the blocklist is loaded.
The plugin host implementation will listen to this in the parent process and update the
blocklist state of all the plugins, and broadcast changes to the child process, just like when
we update the blocklist from the server. We now also avoid re-sending plugin content to the
content processes if the plugin state hasn't changed as a result of the blocklist having been
loaded.

Finally, because new plugins should still get an up-to-date blocklist state, and
telemetry should get up-to-date data about which plugins are and aren't enabled
once we have that data, we ensure that once we've loaded the blocklist async,
we schedule an idle task to parse it and consider it loaded.

All this means that plugin blocklist information could be mistaken between the points where
a new plugin is installed and we first run Firefox with the new plugin, and the point where
we load the blocklist. Given the trade-offs, that size of window (tiny) seems OK, also given
that there's already a much larger window in blocklist updates (which only happen once every 24h).

MozReview-Commit-ID: 1gsojRkUzTw

--HG--
extra : rebase_source : 4709916b4674ada54f8a495fd2d16fcef8c58d20
2018-02-20 16:53:48 +00:00
Narcis Beleuzu 298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Emilio Cobos Álvarez de099db7bd 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 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
Noemi Erli ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs d6d1b8a6a5 Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02: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
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