gecko-dev/layout
Markus Stange b797477463 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE

--HG--
extra : rebase_source : 0e7f24d7ef90d8582d7f60729e712bca78ed8e17
2017-01-17 18:07:05 +01:00
..
base Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow 2017-01-17 18:07:05 +01:00
build Bug 1328651 - Move servo initialization/shutdown back to nsLayoutStatics.cpp. r=heycam 2017-01-08 17:42:29 -08:00
doc
forms Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
generic Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
inspector Bug 1331296 : Part 5 - Update DevTool CSS property database. r=tromey 2017-01-18 10:50:37 +08:00
ipc Bug 1304598 Part 6 - Rename nsViewportFrame.h/cpp to ViewportFrame.h/cpp, and move exported header to mozilla/ subdir. r=dholbert 2016-11-30 11:14:29 +08:00
mathml Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
media
painting Bug 1329411 - Correct wrong alpha value caused by the sixth patch in bug 1323912, and a test case. r=mstange 2017-01-09 10:41:42 +08:00
printing Bug 1324000: Use nsWeakFrame to hold nsIPageSequenceFrame member in nsPrintEngine. r=smaug 2017-01-09 08:26:31 +00:00
reftests Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
style Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
svg Bug 1324663 - stylo: More crashtest annotation adjustments. r=me 2017-01-18 15:09:00 +08:00
tables Bug 1324663 - stylo: More crashtest annotation adjustments. r=me 2017-01-18 15:09:00 +08:00
tools Bug 1325215 - Ensure that all AudioContext members that need to participate in cycle collection do so; r=padenot 2017-01-18 10:48:40 +01:00
xul Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
moz.build Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow 2016-11-21 20:01:15 -05:00