Bug 1697979 - Part 2: Adjust test expectations r=mstange

Differential Revision: https://phabricator.services.mozilla.com/D133200
This commit is contained in:
Miko Mynttinen 2022-01-22 02:37:31 +00:00
Родитель 978b3d9089
Коммит 4ad7ade1e9
5 изменённых файлов: 21 добавлений и 15 удалений

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

@ -1,17 +1,22 @@
skip-if(!retainedDisplayList) == retained-dl-style-change-1.html retained-dl-style-change-1-ref.html # These tests are testing merging RDL implementation.
skip-if(!retainedDisplayList) == retained-dl-frame-deleted-1.html retained-dl-style-change-1-ref.html skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-style-change-1.html retained-dl-style-change-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-frame-created-1.html retained-dl-style-change-1-ref.html skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-frame-deleted-1.html retained-dl-style-change-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-style-change-stacking-context-1.html retained-dl-style-change-stacking-context-1-ref.html skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-frame-created-1.html retained-dl-style-change-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-style-change-stacking-context-2.html retained-dl-style-change-stacking-context-2-ref.html skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-style-change-stacking-context-1.html retained-dl-style-change-stacking-context-1-ref.html
skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-style-change-stacking-context-2.html retained-dl-style-change-stacking-context-2-ref.html
fails == retained-dl-style-change-stacking-context-3.html retained-dl-style-change-stacking-context-3-ref.html # bug 1650699 tracks this failure fails == retained-dl-style-change-stacking-context-3.html retained-dl-style-change-stacking-context-3-ref.html # bug 1650699 tracks this failure
skip-if(!retainedDisplayList) == retained-dl-style-change-stacking-context-4.html retained-dl-style-change-stacking-context-4-ref.html skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-style-change-stacking-context-4.html retained-dl-style-change-stacking-context-4-ref.html
skip-if(!retainedDisplayList||retainedDisplayListNew||Android) == retained-dl-displayport-1.html retained-dl-displayport-1-ref.html
skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-prerender-transform-1.html retained-dl-prerender-transform-1-ref.html
skip-if(!retainedDisplayList||retainedDisplayListNew) == retained-dl-animation-on-pseudo.html retained-dl-animation-on-pseudo-ref.html
#
skip-if(!retainedDisplayList||!asyncPan) == retained-dl-async-scrolled-1.html retained-dl-async-scrolled-1-ref.html skip-if(!retainedDisplayList||!asyncPan) == retained-dl-async-scrolled-1.html retained-dl-async-scrolled-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-remove-for-ancestor-change-1.html retained-dl-remove-for-ancestor-change-1-ref.html skip-if(!retainedDisplayList) == retained-dl-remove-for-ancestor-change-1.html retained-dl-remove-for-ancestor-change-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-scroll-out-of-view-1.html retained-dl-scroll-out-of-view-1-ref.html skip-if(!retainedDisplayList) == retained-dl-scroll-out-of-view-1.html retained-dl-scroll-out-of-view-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-displayport-1.html retained-dl-displayport-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-prerender-transform-1.html retained-dl-prerender-transform-1-ref.html
skip-if(!retainedDisplayList) == retained-dl-animation-on-pseudo.html retained-dl-animation-on-pseudo-ref.html
skip-if(!retainedDisplayList) == retained-dl-opacity-animation-on-ib-split.html retained-dl-opacity-animation-on-ib-split-ref.html skip-if(!retainedDisplayList) == retained-dl-opacity-animation-on-ib-split.html retained-dl-opacity-animation-on-ib-split-ref.html
skip-if(!retainedDisplayList) == 1544948-1.html 1544948-1-ref.html
== retained-dl-wrap-list.html retained-dl-wrap-list-ref.html == retained-dl-wrap-list.html retained-dl-wrap-list-ref.html
== retained-dl-zindex-1.html retained-dl-zindex-1-ref.html == retained-dl-zindex-1.html retained-dl-zindex-1-ref.html
== retained-dl-zindex-2.html retained-dl-zindex-2-ref.html == retained-dl-zindex-2.html retained-dl-zindex-2-ref.html
@ -42,7 +47,6 @@ fuzzy(0-2,0-40000) skip-if(!asyncPan) == 1464288-1.html 1464288-ref.html
== 1482403-1.html 1482403-1-ref.html == 1482403-1.html 1482403-1-ref.html
== 1504233-1.html 1504233-1-ref.html == 1504233-1.html 1504233-1-ref.html
== 1533317-1.html 1533317-1-ref.html == 1533317-1.html 1533317-1-ref.html
skip-if(!retainedDisplayList) == 1544948-1.html 1544948-1-ref.html
fuzzy-if(swgl,0-1,0-1) == 1551053-1.html 1551053-1-ref.html fuzzy-if(swgl,0-1,0-1) == 1551053-1.html 1551053-1-ref.html
== 1553828-1.html 1553828-1-ref.html == 1553828-1.html 1553828-1-ref.html
fuzzy-if(browserIsFission,0-1,0-300) == 1619370-1.html 1619370-1-ref.html fuzzy-if(browserIsFission,0-1,0-300) == 1619370-1.html 1619370-1-ref.html

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

@ -526,6 +526,10 @@ function BuildConditionSandbox(aURL) {
sandbox.retainedDisplayList = sandbox.retainedDisplayList =
prefs.getBoolPref("layout.display-list.retain") && !sandbox.useDrawSnapshot; prefs.getBoolPref("layout.display-list.retain") && !sandbox.useDrawSnapshot;
// Needed to specifically test the new and old behavior. This will eventually be removed.
sandbox.retainedDisplayListNew =
sandbox.retainedDisplayList && prefs.getBoolPref("layout.display-list.retain.sc");
// GeckoView is currently uniquely identified by "android + e10s" but // GeckoView is currently uniquely identified by "android + e10s" but
// we might want to make this condition more precise in the future. // we might want to make this condition more precise in the future.
sandbox.geckoview = (sandbox.Android && g.browserIsRemote); sandbox.geckoview = (sandbox.Android && g.browserIsRemote);
@ -550,8 +554,6 @@ function BuildConditionSandbox(aURL) {
sandbox.webrtc = AppConstants.MOZ_WEBRTC; sandbox.webrtc = AppConstants.MOZ_WEBRTC;
sandbox.jxl = AppConstants.MOZ_JXL; sandbox.jxl = AppConstants.MOZ_JXL;
let retainedDisplayListsEnabled = prefs.getBoolPref("layout.display-list.retain", false);
sandbox.retainedDisplayLists = retainedDisplayListsEnabled && !g.compareRetainedDisplayLists && !sandbox.useDrawSnapshot;
sandbox.compareRetainedDisplayLists = g.compareRetainedDisplayLists; sandbox.compareRetainedDisplayLists = g.compareRetainedDisplayLists;
sandbox.release_or_beta = AppConstants.RELEASE_OR_BETA; sandbox.release_or_beta = AppConstants.RELEASE_OR_BETA;

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

@ -1,3 +1,3 @@
[background-color-animation-non-zero-size-element-change-to-zero.html] [background-color-animation-non-zero-size-element-change-to-zero.html]
expected: expected:
if (os == "android") and not debug: ["PASS", "TIMEOUT"] ["PASS", "TIMEOUT"]

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

@ -1,2 +1,2 @@
[webkit-line-clamp-034.html] [webkit-line-clamp-034.html]
max-asserts: 2 max-asserts: 3

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

@ -1,3 +1,3 @@
[line-edge-white-space-collapse-001.html] [line-edge-white-space-collapse-001.html]
expected: expected:
if (os == "win"): FAIL [PASS, FAIL]