Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: LayoutTests/inspector/layers/layers-3d-view-hit-testing.html

Issue 711423002: DevTools: better visual feedback for hovered objects is Layers3DView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed review comments, fixed test Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/layers/LayersPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/layers/layers-3d-view-hit-testing.html
diff --git a/LayoutTests/inspector/layers/layers-3d-view-hit-testing.html b/LayoutTests/inspector/layers/layers-3d-view-hit-testing.html
index 24fd6419cba3cd157d693b7b0b07fe493b0c7cb3..496b9ec73fb185b2e9b4ffbf164cec10f44387ff 100644
--- a/LayoutTests/inspector/layers/layers-3d-view-hit-testing.html
+++ b/LayoutTests/inspector/layers/layers-3d-view-hit-testing.html
@@ -5,6 +5,7 @@
<script>
function test()
{
+ setTimeout(InspectorTest.completeTest.bind(InspectorTest), 4000);
var contentRoot;
var layers;
var rootOffsetXInPixels, rootOffsetYInPixels, rootHeightInPixels, rootWidthInPixels;
@@ -53,7 +54,7 @@ function test()
function checkLayer(layerInfo)
{
var l3dview = WebInspector.panels.layers._layers3DView;
- if (l3dview._lastActiveObject[type] && layerInfo.layer.id() === l3dview._lastActiveObject[type].layer.id())
+ if (l3dview._lastSelection[type] && layerInfo.layer.id() === l3dview._lastSelection[type].layer.id())
outlined = layerInfo.name;
}
« no previous file with comments | « no previous file | Source/devtools/front_end/layers/LayersPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698