Bug 1515199 - Set dom.visualviewport.enabled true for the web platform tests for the Visual Viewport API. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D14918

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Hiroyuki Ikezoe 2018-12-20 00:23:36 +00:00
Родитель 61fb758142
Коммит a02c7545f3
10 изменённых файлов: 10 добавлений и 58 удалений

Просмотреть файл

@ -1 +1,2 @@
prefs: [dom.visualviewport.enabled:true]
lsan-allowed: []

Просмотреть файл

@ -1,5 +0,0 @@
[viewport-no-resize-event-on-overflow-recalc.html]
expected: ERROR
[Resize event not fired at window.visualViewport when content is added]
expected: NOTRUN

Просмотреть файл

@ -1,5 +1,5 @@
[viewport-resize-event-on-load-overflowing-page.html]
expected: ERROR
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1505655
[Resize event fired exactly once against window.visualViewport if scrollbars affect layout.]
expected: NOTRUN
expected: FAIL

Просмотреть файл

@ -1,7 +0,0 @@
[viewport-type.html]
[window.visualViewport is an object]
expected: FAIL
[window.visualViewport has type `VisualViewport`]
expected: FAIL

Просмотреть файл

@ -1,5 +0,0 @@
[viewport-unscaled-scale-iframe.html]
expected: ERROR
[iframe's visualViewport.scale default value.]
expected: FAIL

Просмотреть файл

@ -1,5 +0,0 @@
[viewport-unscaled-scale.html]
expected: ERROR
[visualViewport.scale default value.]
expected: FAIL

Просмотреть файл

@ -1,14 +0,0 @@
[viewport-unscaled-scroll-iframe.html]
expected: ERROR
[offsetLeft must be 0.]
expected: FAIL
[offsetTop must be 0.]
expected: FAIL
[pageLeft must reflect location of viewport in document.]
expected: FAIL
[pageTop must reflect location of viewport in document.]
expected: FAIL

Просмотреть файл

@ -1,14 +0,0 @@
[viewport-unscaled-scroll.html]
expected: ERROR
[offsetLeft must be 0.]
expected: FAIL
[offsetTop must be 0.]
expected: FAIL
[pageLeft must reflect location of viewport in document.]
expected: FAIL
[pageTop must reflect location of viewport in document.]
expected: FAIL

Просмотреть файл

@ -1,8 +1,13 @@
[viewport-unscaled-size-iframe.html]
expected: ERROR
[window.visualViewport.width of iframe viewport should match iframe width.]
expected: FAIL
[window.visualViewport.height of iframe viewport should match iframe height.]
expected: FAIL
[window.visualViewport.width of iframe viewport should not include scrollbar.]
expected: FAIL
[window.visualViewport.height of iframe viewport should not include scrollbar.]
expected: FAIL

Просмотреть файл

@ -1,8 +1,4 @@
[viewport-unscaled-size.html]
expected: ERROR
[visualViewport.width should match documentElement.clientWidth when unzoomed.]
expected: FAIL
[visualViewport.height should match documentElement.clientHeight when unzoomed.]
[visualViewport.width should exclude scrollbar.]
expected: FAIL