gecko-dev/layout/base
Emilio Cobos Álvarez 0c7b4c828a Bug 1717983 - Don't consider a browser active if the tab is inactive but we're preserving layers. r=nika
GeckoView always calls preserveLayers(true) on all <browser> elements,
which causes the puppet widget to always be considered visible.

Given how the code worked before, aBrowsingContext.isActive = false
after that call would deactivate the pres shell, but after my patch it
stops doing so.

We don't really want to un-throttle the refresh driver etc just because
we're preserving layers, so propagate the state to the child process and
account for that in the logic to determine PresShell activeness.

Depends on D118703

Differential Revision: https://phabricator.services.mozilla.com/D118884
2021-07-05 17:31:49 +00:00
..
crashtests Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher 2021-06-21 12:46:32 +00:00
gtest Bug 1688832: part 6) Hide `AccessibleCaretManager::Carets::mFirst`, `mSecond`. r=smaug 2021-01-29 09:46:09 +00:00
tests Bug 1716409 - Enable test_reftests_with_caret.html on fis-xorig runs. r=NeilDeakin 2021-06-25 00:48:25 +00:00
AccessibleCaret.cpp Bug 1685421 - Part 2: Stop using NS_ERROR_DOM_HIERARCHY_REQUEST_ERR in nsINode; r=smaug 2021-06-02 13:43:39 +00:00
AccessibleCaret.h Bug 1673931 - Avoid including Element.h from header files. 2020-11-23 16:08:40 +00:00
AccessibleCaretEventHub.cpp
AccessibleCaretEventHub.h
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers 2021-02-15 08:49:20 +00:00
AccessibleCaretManager.h Bug 1688832: part 7) Declare `AccessibleCaretManager::GetAllChildFrameRectsUnion` `static`. r=TYLin 2021-01-29 18:57:30 +00:00
ArenaObjectID.h
AutoProfilerStyleMarker.h Bug 1675409 - Migrated StyleMarkerPayload to Markers 2.0 API - r=gregtatum 2020-11-18 21:46:23 +00:00
CaretAssociationHint.h
DisplayPortUtils.cpp Bug 1698693 - Convert audited calls to GetCrossDocParentFrame() to GetCrossDocParentFrameInProcess(). r=tnikkel 2021-06-23 22:05:31 +00:00
DisplayPortUtils.h Bug 1709460 - Try to initialize a displayport base for OOP iframe's root scroller with its visible rect. r=tnikkel 2021-06-15 01:49:32 +00:00
FrameProperties.h
GeckoMVMContext.cpp Bug 1690433. Update code that looks for the presence of a display port for new minimal display ports. r=botond 2021-02-04 11:16:59 +00:00
GeckoMVMContext.h Bug 1696717 - Mark GeckoMVMContext final. r=hiro 2021-03-07 21:46:00 +00:00
GeometryUtils.cpp Bug 1709200 - Rename nsContentUtils::GetRootDocument to GetInProcessSubtreeRootDocument; r=kmag 2021-05-05 09:42:20 +00:00
GeometryUtils.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
LayoutConstants.h Bug 1674302 Part 2 - Use StyleSizeOverrides to replace ComputeSizeFlag::UseAutoISize. r=dholbert 2021-02-18 05:45:24 +00:00
LayoutLogging.cpp
LayoutLogging.h
LayoutTelemetryTools.cpp
LayoutTelemetryTools.h
MVMContext.h Bug 1676356 - Avoid including PresShell.h from header files. r=emilio 2020-11-23 16:08:23 +00:00
MediaEmulationData.h Bug 1591120 - Move print and color-scheme simulation to browsingContext. r=ochameau,nika,devtools-backward-compat-reviewers 2021-02-03 10:38:09 +00:00
MobileViewportManager.cpp Bug 1696717 - Ignore viewport meta in fullscreen. r=botond 2021-03-09 03:28:02 +00:00
MobileViewportManager.h Bug 1676356 - Avoid including PresShell.h from header files. r=emilio 2020-11-23 16:08:23 +00:00
MotionPathUtils.cpp
MotionPathUtils.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
OverflowChangedTracker.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
PositionedEventTargeting.cpp Bug 1704062 - Fix include-what-you-use error in PositionedEventTargeting.cpp. r=tnikkel 2021-05-27 04:32:10 +00:00
PositionedEventTargeting.h
PresShell.cpp Bug 1717983 - Don't consider a browser active if the tab is inactive but we're preserving layers. r=nika 2021-07-05 17:31:49 +00:00
PresShell.h Bug 1717983 - Improve PresShell active flag handling. r=nika 2021-07-05 17:31:48 +00:00
PresShellForwards.h Bug 1701928 - Selection scrolling should not ignore scroll-{margin,padding}. r=hiro,masayuki 2021-04-02 12:14:19 +00:00
PresShellInlines.h Bug 1699742 - Remove MOZ_GECKO_PROFILER ifdefs that are no longer needed, r=gerald. 2021-03-22 16:29:52 +00:00
PresState.ipdlh Bug 1689147 - Part 1: Add extended attribute syntax to IPDL, r=mccr8 2021-02-09 16:50:21 +00:00
RelativeTo.h Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
RestyleManager.cpp Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
RestyleManager.h Bug 708901 - Migrate to nsTHashSet in layout. r=emilio 2021-03-24 17:56:46 +00:00
ScrollStyles.cpp
ScrollStyles.h
ScrollTypes.h
ShapeUtils.cpp Bug 1704742 - Fix percent basis of shape radii. r=TYLin 2021-04-14 09:29:37 +00:00
ShapeUtils.h Bug 1704742 - Fix percent basis of shape radii. r=TYLin 2021-04-14 09:29:37 +00:00
StackArena.cpp
StackArena.h
StaticPresData.cpp Bug 1716045 - Unify font-family storage. r=mats,jfkthame 2021-06-18 19:35:50 +00:00
StaticPresData.h Bug 1716045 - Unify font-family storage. r=mats,jfkthame 2021-06-18 19:35:50 +00:00
SurfaceFromElementResult.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
TouchManager.cpp Bug 1184468 - Use nsBaseHashtable::Values. r=xpcom-reviewers,nika 2021-03-24 17:56:49 +00:00
TouchManager.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
UnitTransforms.h
Units.h Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
ViewportUtils.cpp
ViewportUtils.h
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1700064. Disable double tap to zoom inside pdf.js. r=botond 2021-03-22 21:45:40 +00:00
ZoomConstraintsClient.h
moz.build
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1713491 - Return std::pair from nsIFrame::GetOffsets r=emilio 2021-06-11 23:54:06 +00:00
nsBidiPresUtils.h Bug 1685303: part 11) Add some `const`-correctness to frame code. r=smaug 2021-01-14 14:45:01 +00:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 1476524 - Don't require so much contrast for selection background-against-background checks. r=jfkthame 2021-04-13 16:29:14 +00:00
nsCSSFrameConstructor.cpp Bug 1699964 - [css-content] Implement 'content: none' for elements. r=emilio 2021-06-23 02:52:42 +00:00
nsCSSFrameConstructor.h Bug 1699964 - [css-content] Implement 'content: none' for elements. r=emilio 2021-06-23 02:52:42 +00:00
nsCaret.cpp Bug 1713491 - Return std::pair from nsIFrame::GetOffsets r=emilio 2021-06-11 23:54:06 +00:00
nsCaret.h Bug 1685303: part 20) `const`-correct internals of `AccessibleCaretManager::DispatchCaretStateChangedEvent. r=TYLin 2021-01-20 10:11:20 +00:00
nsChangeHint.h Bug 1698445 - background-position changes should be throttable. r=hiro 2021-03-17 23:07:25 +00:00
nsCompatibility.h
nsCounterManager.cpp Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsCounterManager.h Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsDocumentViewer.cpp Bug 1718200 - In nsDocumentViewer::SetDocument, call Document::Destroy if the new document is a static document. r=smaug 2021-07-05 14:13:21 +00:00
nsFrameManager.cpp
nsFrameManager.h
nsFrameTraversal.cpp Bug 1713521 - layout/base/nsFrameTraversal.cpp: do not use 'else' after 'break'. r=emilio 2021-06-28 15:06:15 +00:00
nsFrameTraversal.h
nsGenConList.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsGenConList.h Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1534549 - Part 4: Shrink nsDisplayCompositorHitTestInfo r=mstange 2021-02-06 22:30:57 +00:00
nsLayoutHistoryState.cpp Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
nsLayoutUtils.cpp Bug 1698693 - Convert audited calls to GetCrossDocParentFrame() to GetCrossDocParentFrameInProcess(). r=tnikkel 2021-06-23 22:05:31 +00:00
nsLayoutUtils.h Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsPresArena.cpp
nsPresArena.h Bug 1634281 - Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika 2021-03-03 08:58:52 +00:00
nsPresArenaObjectList.h
nsPresContext.cpp Backed out changeset b6b225d4a81c (bug 1718755) for multiple failures e.g.test_mq_any_hover_and_any_pointer.html. CLOSED TREE 2021-07-02 12:26:51 +03:00
nsPresContext.h Bug 1716481 - Improve ManagedPostRefreshObserver. r=smaug 2021-06-24 22:05:12 +00:00
nsPresContextInlines.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 1717991 - Remove ifdefs around code that adds profiler markers with custom marker schemas, r=gerald. 2021-06-25 13:28:01 +00:00
nsRefreshDriver.h Bug 1717991 - Remove ifdefs around code that adds profiler markers with custom marker schemas, r=gerald. 2021-06-25 13:28:01 +00:00
nsRefreshObservers.cpp Bug 1716481 - Improve ManagedPostRefreshObserver. r=smaug 2021-06-24 22:05:12 +00:00
nsRefreshObservers.h Bug 1716481 - Improve ManagedPostRefreshObserver. r=smaug 2021-06-24 22:05:12 +00:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp
nsStyleSheetService.h