gecko-dev/dom/xul
Emilio Cobos Álvarez bd7c1e4e8c Bug 1468133: Remove the optimization to lazily load non-SVG styles since it's not relevant anymore. r=heycam
This was a memory-saving optimization introduced as part of dependencies for bug
686875, but a more general system landed in bug 77999 for Gecko and
https://github.com/servo/servo/pull/18509 for Servo.

So now it's probably even a bit of a pessimization (though probably not huge),
and given this causes bugs like bug 1462742, bug 1157592, and bug 1468145, and
fishiness like the one pointed out in this bug, we may as well remove it.

The performance impact of having to lookup through more rules should be minimal
given the bloom filter and the rule hash optimizations.

This makes me wonder whether we could remove the whole concept of on-demand UA
sheets, since they've caused pain, for example, when the frontend people try
loading <svg>s from NAC (since that triggers sheet loading from frame
construction, which is not good). I'm not concerned about loading mathml.css and
svg.css everywhere, though xul.css may not be as doable since it adds a bunch of
attribute-dependent selectors. Though on the other hand I asserted in the
xul.css code and we don't load it in content with <video> / <input
type="date/time/etc"> and such, afaict, so maybe now that legacy addons are gone
we can remove that sheet from content processes altogether.

MozReview-Commit-ID: 9JCWNZj6BkT
2018-06-22 03:42:46 +02:00
..
crashtests Bug 1446961, remove obsolete calls to showPopup and replace usages of the popup box object with the same methods defined on popups, r=paolo 2018-04-27 11:04:36 -04:00
test Bug 1448162 - Remove all XUL overlay tests. r=Gijs 2018-03-22 16:21:26 -07:00
moz.build Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz 2018-04-27 11:04:38 -04:00
nsForwardReference.h
nsIController.idl
nsIControllers.idl
nsIXULOverlayProvider.idl Bug 1450753 - Remove XUL style overlays. r=Nika 2018-06-06 15:15:25 -07:00
nsIXULSortService.idl Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
nsXULCommandDispatcher.cpp Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsXULCommandDispatcher.h Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot 2018-05-29 22:58:49 -04:00
nsXULContentSink.cpp Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULContentSink.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
nsXULContentUtils.cpp Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULContentUtils.h Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULControllers.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsXULControllers.h
nsXULElement.cpp Bug 1468133: Remove the optimization to lazily load non-SVG styles since it's not relevant anymore. r=heycam 2018-06-22 03:42:46 +02:00
nsXULElement.h Bug 1469385 - Remove InsertChildAt_Deprecated and RemoveChildAt_Deprecated, r=bz,smaug 2018-06-19 12:21:18 +03:00
nsXULPopupListener.cpp Bug 1464519. Remove some dead code in nsXULPopupListener::HandleEvent. r=felipe 2018-05-26 00:23:04 -04:00
nsXULPopupListener.h Bug 1464519. Remove some dead code in nsXULPopupListener::HandleEvent. r=felipe 2018-05-26 00:23:04 -04:00
nsXULPrototypeCache.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
nsXULPrototypeCache.h Bug 1447828 part 2 - Remove StyleBackendType uses from nsXULPrototypeCache. r=emilio 2018-03-29 02:31:23 +11:00
nsXULPrototypeDocument.cpp Bug 1450753 - Remove XUL style overlays. r=Nika 2018-06-06 15:15:25 -07:00
nsXULPrototypeDocument.h Bug 1450753 - Remove XUL style overlays. r=Nika 2018-06-06 15:15:25 -07:00
nsXULSortService.cpp Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
nsXULSortService.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
XULDocument.cpp Bug 1450753 - Remove XUL style overlays. r=Nika 2018-06-06 15:15:25 -07:00
XULDocument.h Bug 1450753 - Remove XUL style overlays. r=Nika 2018-06-06 15:15:25 -07:00
XULPopupElement.cpp Bug 1465478: Introduce Element::FromNode. r=smaug 2018-05-31 02:46:10 +02:00
XULPopupElement.h Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz 2018-04-27 11:04:38 -04:00