Bug 1477610 - Run Visual Viewport web platform tests with APZ zooming prefs enabled. r=kats
authorBotond Ballo <botond@mozilla.com>
Thu, 09 May 2019 03:56:51 +0000
changeset 531985 ca147aeec45e24d7e614846461228261d1439ca4
parent 531984 6f7cd5ebb041ea3c4de4206d5489883e239ffbb5
child 531986 695609f420a1f42efb91dbd552d4e75e1dc00c3f
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1477610
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1477610 - Run Visual Viewport web platform tests with APZ zooming prefs enabled. r=kats This causes some scrollbar-related assertions to fail on desktop because scrollbar behaviour with desktop zooming is not correct yet. Differential Revision: https://phabricator.services.mozilla.com/D30415
testing/web-platform/meta/visual-viewport/__dir__.ini
testing/web-platform/meta/visual-viewport/viewport-read-size-causes-layout.html.ini
testing/web-platform/meta/visual-viewport/viewport-scrollbars-cause-resize.html.ini
testing/web-platform/meta/visual-viewport/viewport-unscaled-size.html.ini
--- a/testing/web-platform/meta/visual-viewport/__dir__.ini
+++ b/testing/web-platform/meta/visual-viewport/__dir__.ini
@@ -1,1 +1,1 @@
-prefs: [dom.visualviewport.enabled:true]
+prefs: [dom.visualviewport.enabled:true, apz.allow_zooming:true, dom.meta-viewport.enabled:true]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/visual-viewport/viewport-read-size-causes-layout.html.ini
@@ -0,0 +1,5 @@
+[viewport-read-size-causes-layout.html]
+  [viewport-read-size-causes-layout]
+    expected:
+      if (os == "android"): PASS
+      FAIL # Will fail on desktop until desktop zooming is implemented.
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/visual-viewport/viewport-scrollbars-cause-resize.html.ini
@@ -0,0 +1,9 @@
+[viewport-scrollbars-cause-resize.html]
+  [view size reflects appearance of classic scrollbars]
+    expected:
+      if (os == "android"): PASS
+      FAIL # Will fail on desktop until desktop zooming is implemented.
+  [Resize event was fired at window.visualViewport if, and only if, scrollbars are classic (i.e. affect flow)]
+    expected:
+      if (os == "android"): PASS
+      FAIL # Will fail on desktop until desktop zooming is implemented.
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/visual-viewport/viewport-unscaled-size.html.ini
@@ -0,0 +1,9 @@
+[viewport-unscaled-size.html]
+  [visualViewport.width should exclude scrollbar.]
+    expected:
+      if (os == "android"): PASS
+      FAIL # Will fail on desktop until desktop zooming is implemented.
+  [visualViewport.height should exclude scrollbar.]
+    expected:
+      if (os == "android"): PASS
+      FAIL # Will fail on desktop until desktop zooming is implemented.