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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js

Issue 1837963002: Use fallback in LayoutThemeMobile on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 8 months 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
Index: third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js
index b6e7b2167e29359ec112c56df55e95b4faffaee0..3cbf32f61152e1460bb4a09ec29a2904530b4364 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js
@@ -105,6 +105,10 @@ function dumpMetrics(full)
testJS("document.body.offsetHeight");
testJS("document.body.scrollHeight");
+ var measured = document.querySelectorAll(".device-emulation-measure");
+ for (var i = 0; i < measured.length; ++i)
+ writeResult("measured " + measured[i].getAttribute("type") + ": " + measured[i].offsetWidth + "x" + measured[i].offsetHeight);
+
return results.join("\n");
}

Powered by Google App Engine
This is Rietveld 408576698