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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js

Issue 2025393003: Move document.visualViewport to window.visualViewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing expectations Created 4 years, 6 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/fast/dom/Window/resources/window-property-collector.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
index 5cbd31604727f7d460aacdc363de3862d429c387..57ae0170a6dbdb95aeaf1023748881a2985abb77 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
@@ -37,6 +37,12 @@ function emitExpectedResult(path, expected)
if (path.length >= 2 && (path[0] == 'console' || path[0] == 'performance') && path[1] == 'memory')
return;
+ // TODO(bokan): Skip visualViewport for now since it returns the page-global VisualViewport
+ // object and we have no way of creating a VisualViewport yet. This should be fixed with
+ // crbug.com/604928.
+ if (path[0] == 'visualViewport')
+ return;
+
// Skip things that are assumed to be constants.
if (path[path.length - 1].toUpperCase() == path[path.length - 1])
return;

Powered by Google App Engine
This is Rietveld 408576698