Diff
Modified: branches/safari-607-branch/LayoutTests/ChangeLog (241892 => 241893)
--- branches/safari-607-branch/LayoutTests/ChangeLog 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/LayoutTests/ChangeLog 2019-02-21 21:27:36 UTC (rev 241893)
@@ -1,5 +1,81 @@
2019-02-20 Alan Coon <[email protected]>
+ Cherry-pick r241788. rdar://problem/48248202
+
+ REGRESSION (r238090): Toggling visibility on the <html> element can result in a blank web view
+ https://bugs.webkit.org/show_bug.cgi?id=194827
+ rdar://problem/47620594
+
+ Reviewed by Antti Koivisto.
+
+ Source/WebCore:
+
+ Incremental compositing updates, added in rr238090, use repaints as a trigger for re-evaluating
+ layer configurations, since a repaint implies that a layer gains painted content. This is done
+ via the call to setNeedsCompositingConfigurationUpdate() in RenderLayerBacking::setContentsNeedDisplay{InRect}.
+ The RenderView's layer is opted out of this to avoid doing lots of redundant layer config recomputation
+ for the root. The configuration state that matters here is whether the layer contains painted content,
+ and therefore needs backing store; this is computed by RenderLayerBacking::isSimpleContainerCompositingLayer(),
+ and feeds into GraphicsLayer::drawsContent().
+
+ However, if <html> starts as "visibility:hidden" or "opacity:0", as some sites do to hide incremental loading,
+ then we'll fail to recompute 'drawsContent' for the root and leave the root with drawsContent=false, which
+ causes RenderLayerBacking::setContentsNeedDisplay{InRect} to short-circuit, and then we paint nothing.
+
+ Ironically, 'drawsContent' doesn't actually save any backing store for the root, since it has no affect on
+ the root tile caches; we always make tiles. So the simple fix here is to change RenderLayerBacking::isSimpleContainerCompositingLayer()
+ to always return false for the RenderView's layer (the root).
+
+ Testing this was tricky; ref testing doesn't work because we force repaint, and we normally skip
+ properties of the root in layer tree dumps to hide WK1/WK2 differences. Therefore I had to add
+ LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES and fix RenderLayerBacking::shouldDumpPropertyForLayer to
+ respect it.
+
+ Test: compositing/visibility/root-visibility-toggle.html
+
+ * page/Frame.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties const):
+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer const):
+ (WebCore::RenderLayerBacking::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTreeAsText):
+ * testing/Internals.cpp:
+ (WebCore::toLayerTreeFlags):
+ * testing/Internals.h:
+ * testing/Internals.idl:
+
+ LayoutTests:
+
+ Test dumps layer tree with RenderLayerBacking::shouldDumpPropertyForLayer to show that the root has (drawsContent 1)
+
+ * compositing/visibility/root-visibility-toggle-expected.txt: Added.
+ * compositing/visibility/root-visibility-toggle.html: Added.
+ * platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt: Added.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-02-19 Simon Fraser <[email protected]>
+
+ REGRESSION (r238090): Toggling visibility on the <html> element can result in a blank web view
+ https://bugs.webkit.org/show_bug.cgi?id=194827
+ rdar://problem/47620594
+
+ Reviewed by Antti Koivisto.
+
+ Test dumps layer tree with RenderLayerBacking::shouldDumpPropertyForLayer to show that the root has (drawsContent 1)
+
+ * compositing/visibility/root-visibility-toggle-expected.txt: Added.
+ * compositing/visibility/root-visibility-toggle.html: Added.
+ * platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt: Added.
+
+2019-02-20 Alan Coon <[email protected]>
+
Cherry-pick r241652. rdar://problem/48243343
Web Inspector: Frontend performance is very slow reloading theverge.com - 50% of time in TreeOutline _indexOfTreeElement
Added: branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle-expected.txt (0 => 241893)
--- branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle-expected.txt (rev 0)
+++ branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle-expected.txt 2019-02-21 21:27:36 UTC (rev 241893)
@@ -0,0 +1,15 @@
+This text should be visible.
+
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 800.00 600.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 800.00 600.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (backgroundColor #FFFFFF)
+ )
+ )
+)
+
Added: branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle.html (0 => 241893)
--- branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle.html (rev 0)
+++ branches/safari-607-branch/LayoutTests/compositing/visibility/root-visibility-toggle.html 2019-02-21 21:27:36 UTC (rev 241893)
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ html {
+ visibility: hidden;
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ function doTest()
+ {
+ requestAnimationFrame(() => {
+ document.documentElement.style.visibility = 'visible';
+
+ if (window.internals)
+ document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+<p>This text should be visible.</p>
+<pre id="layers"></pre>
+</body>
+</html>
Added: branches/safari-607-branch/LayoutTests/platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt (0 => 241893)
--- branches/safari-607-branch/LayoutTests/platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt (rev 0)
+++ branches/safari-607-branch/LayoutTests/platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt 2019-02-21 21:27:36 UTC (rev 241893)
@@ -0,0 +1,3 @@
+This text should be visible.
+
+
Modified: branches/safari-607-branch/Source/WebCore/ChangeLog (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/ChangeLog 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/ChangeLog 2019-02-21 21:27:36 UTC (rev 241893)
@@ -1,5 +1,114 @@
2019-02-20 Alan Coon <[email protected]>
+ Cherry-pick r241788. rdar://problem/48248202
+
+ REGRESSION (r238090): Toggling visibility on the <html> element can result in a blank web view
+ https://bugs.webkit.org/show_bug.cgi?id=194827
+ rdar://problem/47620594
+
+ Reviewed by Antti Koivisto.
+
+ Source/WebCore:
+
+ Incremental compositing updates, added in rr238090, use repaints as a trigger for re-evaluating
+ layer configurations, since a repaint implies that a layer gains painted content. This is done
+ via the call to setNeedsCompositingConfigurationUpdate() in RenderLayerBacking::setContentsNeedDisplay{InRect}.
+ The RenderView's layer is opted out of this to avoid doing lots of redundant layer config recomputation
+ for the root. The configuration state that matters here is whether the layer contains painted content,
+ and therefore needs backing store; this is computed by RenderLayerBacking::isSimpleContainerCompositingLayer(),
+ and feeds into GraphicsLayer::drawsContent().
+
+ However, if <html> starts as "visibility:hidden" or "opacity:0", as some sites do to hide incremental loading,
+ then we'll fail to recompute 'drawsContent' for the root and leave the root with drawsContent=false, which
+ causes RenderLayerBacking::setContentsNeedDisplay{InRect} to short-circuit, and then we paint nothing.
+
+ Ironically, 'drawsContent' doesn't actually save any backing store for the root, since it has no affect on
+ the root tile caches; we always make tiles. So the simple fix here is to change RenderLayerBacking::isSimpleContainerCompositingLayer()
+ to always return false for the RenderView's layer (the root).
+
+ Testing this was tricky; ref testing doesn't work because we force repaint, and we normally skip
+ properties of the root in layer tree dumps to hide WK1/WK2 differences. Therefore I had to add
+ LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES and fix RenderLayerBacking::shouldDumpPropertyForLayer to
+ respect it.
+
+ Test: compositing/visibility/root-visibility-toggle.html
+
+ * page/Frame.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties const):
+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer const):
+ (WebCore::RenderLayerBacking::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTreeAsText):
+ * testing/Internals.cpp:
+ (WebCore::toLayerTreeFlags):
+ * testing/Internals.h:
+ * testing/Internals.idl:
+
+ LayoutTests:
+
+ Test dumps layer tree with RenderLayerBacking::shouldDumpPropertyForLayer to show that the root has (drawsContent 1)
+
+ * compositing/visibility/root-visibility-toggle-expected.txt: Added.
+ * compositing/visibility/root-visibility-toggle.html: Added.
+ * platform/mac-wk1/compositing/visibility/root-visibility-toggle-expected.txt: Added.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-02-19 Simon Fraser <[email protected]>
+
+ REGRESSION (r238090): Toggling visibility on the <html> element can result in a blank web view
+ https://bugs.webkit.org/show_bug.cgi?id=194827
+ rdar://problem/47620594
+
+ Reviewed by Antti Koivisto.
+
+ Incremental compositing updates, added in rr238090, use repaints as a trigger for re-evaluating
+ layer configurations, since a repaint implies that a layer gains painted content. This is done
+ via the call to setNeedsCompositingConfigurationUpdate() in RenderLayerBacking::setContentsNeedDisplay{InRect}.
+ The RenderView's layer is opted out of this to avoid doing lots of redundant layer config recomputation
+ for the root. The configuration state that matters here is whether the layer contains painted content,
+ and therefore needs backing store; this is computed by RenderLayerBacking::isSimpleContainerCompositingLayer(),
+ and feeds into GraphicsLayer::drawsContent().
+
+ However, if <html> starts as "visibility:hidden" or "opacity:0", as some sites do to hide incremental loading,
+ then we'll fail to recompute 'drawsContent' for the root and leave the root with drawsContent=false, which
+ causes RenderLayerBacking::setContentsNeedDisplay{InRect} to short-circuit, and then we paint nothing.
+
+ Ironically, 'drawsContent' doesn't actually save any backing store for the root, since it has no affect on
+ the root tile caches; we always make tiles. So the simple fix here is to change RenderLayerBacking::isSimpleContainerCompositingLayer()
+ to always return false for the RenderView's layer (the root).
+
+ Testing this was tricky; ref testing doesn't work because we force repaint, and we normally skip
+ properties of the root in layer tree dumps to hide WK1/WK2 differences. Therefore I had to add
+ LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES and fix RenderLayerBacking::shouldDumpPropertyForLayer to
+ respect it.
+
+ Test: compositing/visibility/root-visibility-toggle.html
+
+ * page/Frame.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties const):
+ * platform/graphics/GraphicsLayerClient.h:
+ (WebCore::GraphicsLayerClient::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer const):
+ (WebCore::RenderLayerBacking::shouldDumpPropertyForLayer const):
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTreeAsText):
+ * testing/Internals.cpp:
+ (WebCore::toLayerTreeFlags):
+ * testing/Internals.h:
+ * testing/Internals.idl:
+
+2019-02-20 Alan Coon <[email protected]>
+
Cherry-pick r241738. rdar://problem/48243338
Uncaught Exception crash in MediaPlayerPrivateAVFoundationObjC::setShouldObserveTimeControlStatus()
Modified: branches/safari-607-branch/Source/WebCore/page/Frame.h (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/page/Frame.h 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/page/Frame.h 2019-02-21 21:27:36 UTC (rev 241893)
@@ -114,6 +114,7 @@
LayerTreeFlagsIncludeContentLayers = 1 << 5,
LayerTreeFlagsIncludeAcceleratesDrawing = 1 << 6,
LayerTreeFlagsIncludeBackingStoreAttached = 1 << 7,
+ LayerTreeFlagsIncludeRootLayerProperties = 1 << 8,
};
typedef unsigned LayerTreeFlags;
Modified: branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayer.cpp (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayer.cpp 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayer.cpp 2019-02-21 21:27:36 UTC (rev 241893)
@@ -835,7 +835,7 @@
if (m_preserves3D)
ts << indent << "(preserves3D " << m_preserves3D << ")\n";
- if (m_drawsContent && client().shouldDumpPropertyForLayer(this, "drawsContent"))
+ if (m_drawsContent && client().shouldDumpPropertyForLayer(this, "drawsContent", behavior))
ts << indent << "(drawsContent " << m_drawsContent << ")\n";
if (!m_contentsVisible)
@@ -849,7 +849,7 @@
ts << indent << "(client " << static_cast<void*>(m_client) << ")\n";
}
- if (m_backgroundColor.isValid() && client().shouldDumpPropertyForLayer(this, "backgroundColor"))
+ if (m_backgroundColor.isValid() && client().shouldDumpPropertyForLayer(this, "backgroundColor", behavior))
ts << indent << "(backgroundColor " << m_backgroundColor.nameForRenderTreeAsText() << ")\n";
if (behavior & LayerTreeAsTextIncludeAcceleratesDrawing && m_acceleratesDrawing)
@@ -903,7 +903,7 @@
ts << ")\n";
}
- if (behavior & LayerTreeAsTextIncludeRepaintRects && repaintRectMap().contains(this) && !repaintRectMap().get(this).isEmpty() && client().shouldDumpPropertyForLayer(this, "repaintRects")) {
+ if (behavior & LayerTreeAsTextIncludeRepaintRects && repaintRectMap().contains(this) && !repaintRectMap().get(this).isEmpty() && client().shouldDumpPropertyForLayer(this, "repaintRects", behavior)) {
ts << indent << "(repaint rects\n";
for (size_t i = 0; i < repaintRectMap().get(this).size(); ++i) {
if (repaintRectMap().get(this)[i].isEmpty())
Modified: branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayerClient.h (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2019-02-21 21:27:36 UTC (rev 241893)
@@ -72,6 +72,7 @@
LayerTreeAsTextIncludePageOverlayLayers = 1 << 6,
LayerTreeAsTextIncludeAcceleratesDrawing = 1 << 7,
LayerTreeAsTextIncludeBackingStoreAttached = 1 << 8,
+ LayerTreeAsTextIncludeRootLayerProperties = 1 << 9,
LayerTreeAsTextShowAll = 0xFFFF
};
typedef unsigned LayerTreeAsTextBehavior;
@@ -123,7 +124,7 @@
virtual bool isTrackingRepaints() const { return false; }
virtual bool shouldSkipLayerInDump(const GraphicsLayer*, LayerTreeAsTextBehavior) const { return false; }
- virtual bool shouldDumpPropertyForLayer(const GraphicsLayer*, const char*) const { return true; }
+ virtual bool shouldDumpPropertyForLayer(const GraphicsLayer*, const char*, LayerTreeAsTextBehavior) const { return true; }
virtual bool shouldAggressivelyRetainTiles(const GraphicsLayer*) const { return false; }
virtual bool shouldTemporarilyRetainTileCohorts(const GraphicsLayer*) const { return true; }
Modified: branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.cpp (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.cpp 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.cpp 2019-02-21 21:27:36 UTC (rev 241893)
@@ -2067,6 +2067,9 @@
// This is a useful optimization, because it allows us to avoid allocating backing store.
bool RenderLayerBacking::isSimpleContainerCompositingLayer(PaintedContentsInfo& contentsInfo) const
{
+ if (m_owningLayer.isRenderViewLayer())
+ return false;
+
if (renderer().isRenderReplaced() && (!isCompositedPlugin(renderer()) || isRestartedPlugin(renderer())))
return false;
@@ -2082,29 +2085,6 @@
if (renderer().isDocumentElementRenderer() && m_owningLayer.isolatesCompositedBlending())
return false;
- if (renderer().isRenderView()) {
- // Look to see if the root object has a non-simple background
- auto* rootObject = renderer().document().documentElement() ? renderer().document().documentElement()->renderer() : nullptr;
- if (!rootObject)
- return false;
-
- // Reject anything that has a border, a border-radius or outline,
- // or is not a simple background (no background, or solid color).
- if (hasPaintedBoxDecorationsOrBackgroundImage(rootObject->style()))
- return false;
-
- // Now look at the body's renderer.
- auto* body = renderer().document().body();
- if (!body)
- return false;
- auto* bodyRenderer = body->renderer();
- if (!bodyRenderer)
- return false;
-
- if (hasPaintedBoxDecorationsOrBackgroundImage(bodyRenderer->style()))
- return false;
- }
-
return true;
}
@@ -2692,11 +2672,11 @@
return m_isMainFrameRenderViewLayer && layer && layer == m_childContainmentLayer.get();
}
-bool RenderLayerBacking::shouldDumpPropertyForLayer(const GraphicsLayer* layer, const char* propertyName) const
+bool RenderLayerBacking::shouldDumpPropertyForLayer(const GraphicsLayer* layer, const char* propertyName, LayerTreeAsTextBehavior flags) const
{
// For backwards compatibility with WebKit1 and other platforms,
// skip some properties on the root tile cache.
- if (m_isMainFrameRenderViewLayer && layer == m_graphicsLayer.get()) {
+ if (m_isMainFrameRenderViewLayer && layer == m_graphicsLayer.get() && !(flags & LayerTreeAsTextIncludeRootLayerProperties)) {
if (!strcmp(propertyName, "drawsContent"))
return false;
Modified: branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.h (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.h 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/rendering/RenderLayerBacking.h 2019-02-21 21:27:36 UTC (rev 241893)
@@ -213,7 +213,7 @@
bool isTrackingRepaints() const override;
bool shouldSkipLayerInDump(const GraphicsLayer*, LayerTreeAsTextBehavior) const override;
- bool shouldDumpPropertyForLayer(const GraphicsLayer*, const char* propertyName) const override;
+ bool shouldDumpPropertyForLayer(const GraphicsLayer*, const char* propertyName, LayerTreeAsTextBehavior) const override;
bool shouldAggressivelyRetainTiles(const GraphicsLayer*) const override;
bool shouldTemporarilyRetainTileCohorts(const GraphicsLayer*) const override;
Modified: branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-02-21 21:27:36 UTC (rev 241893)
@@ -1908,6 +1908,8 @@
layerTreeBehavior |= LayerTreeAsTextIncludeAcceleratesDrawing;
if (flags & LayerTreeFlagsIncludeBackingStoreAttached)
layerTreeBehavior |= LayerTreeAsTextIncludeBackingStoreAttached;
+ if (flags & LayerTreeFlagsIncludeRootLayerProperties)
+ layerTreeBehavior |= LayerTreeAsTextIncludeRootLayerProperties;
// We skip dumping the scroll and clip layers to keep layerTreeAsText output
// similar between platforms.
@@ -1915,7 +1917,7 @@
// Dump an empty layer tree only if the only composited layer is the main frame's tiled backing,
// so that tests expecting us to drop out of accelerated compositing when there are no layers succeed.
- if (!hasContentCompositingLayers() && documentUsesTiledBacking() && !(layerTreeBehavior & LayerTreeAsTextIncludeTileCaches))
+ if (!hasContentCompositingLayers() && documentUsesTiledBacking() && !(layerTreeBehavior & LayerTreeAsTextIncludeTileCaches) && !(layerTreeBehavior & LayerTreeAsTextIncludeRootLayerProperties))
layerTreeText = emptyString();
// The true root layer is not included in the dump, so if we want to report
Modified: branches/safari-607-branch/Source/WebCore/testing/Internals.cpp (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/testing/Internals.cpp 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/testing/Internals.cpp 2019-02-21 21:27:36 UTC (rev 241893)
@@ -2505,6 +2505,8 @@
layerTreeFlags |= LayerTreeFlagsIncludeAcceleratesDrawing;
if (flags & Internals::LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED)
layerTreeFlags |= LayerTreeFlagsIncludeBackingStoreAttached;
+ if (flags & Internals::LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES)
+ layerTreeFlags |= LayerTreeFlagsIncludeRootLayerProperties;
return layerTreeFlags;
}
Modified: branches/safari-607-branch/Source/WebCore/testing/Internals.h (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/testing/Internals.h 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/testing/Internals.h 2019-02-21 21:27:36 UTC (rev 241893)
@@ -347,6 +347,7 @@
LAYER_TREE_INCLUDES_CONTENT_LAYERS = 16,
LAYER_TREE_INCLUDES_ACCELERATES_DRAWING = 32,
LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED = 64,
+ LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES = 128,
};
ExceptionOr<String> layerTreeAsText(Document&, unsigned short flags) const;
ExceptionOr<uint64_t> layerIDForElement(Element&);
Modified: branches/safari-607-branch/Source/WebCore/testing/Internals.idl (241892 => 241893)
--- branches/safari-607-branch/Source/WebCore/testing/Internals.idl 2019-02-21 21:27:30 UTC (rev 241892)
+++ branches/safari-607-branch/Source/WebCore/testing/Internals.idl 2019-02-21 21:27:36 UTC (rev 241893)
@@ -372,6 +372,7 @@
const unsigned short LAYER_TREE_INCLUDES_CONTENT_LAYERS = 16;
const unsigned short LAYER_TREE_INCLUDES_ACCELERATES_DRAWING = 32;
const unsigned short LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED = 64;
+ const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES = 128;
[MayThrowException] DOMString layerTreeAsText(Document document, optional unsigned short flags = 0);
[MayThrowException] unsigned long long layerIDForElement(Element element);