Bug 1425759: Update test expectations. r=smaug,xidorn

This is enough to get the stylo-enabled build green.

There's still some orange in WPT with stylo disabled (due to interfaces not
exposed and that) that I'll update tomorrow.

Will send a different patch on top of this for that, though I'll land together.

MozReview-Commit-ID: CsN5CM93RUz
This commit is contained in:
Emilio Cobos Álvarez 2018-02-25 19:37:54 +01:00
parent 6c417367d6
commit f3344c9f7b
36 changed files with 103 additions and 31 deletions

View File

@ -14,5 +14,5 @@ skip-if = buildapp == 'mulet'
skip-if = buildapp == 'mulet'
[test_canvas.html]
[test_shadowroot.html]
skip-if = stylo # bug 1293844
skip-if = !stylo
support-files = test_shadowroot_subframe.html

View File

@ -15,6 +15,7 @@ support-files =
[test_bug1175913.html]
[test_bug1189277.html]
[test_bug1276857.html]
skip-if = !stylo
support-files = test_bug1276857_subframe.html
[test_canvas.html]
[test_colorpicker.xul]

View File

@ -88,7 +88,7 @@ skip-if = os == "mac" # Full keyboard navigation on OSX only works if Full Keybo
[browser_markup_anonymous_02.js]
skip-if = e10s # scratchpad.xul is not loading in e10s window
[browser_markup_anonymous_03.js]
skip-if = stylo # Stylo doesn't support shadow DOM yet, bug 1293844
skip-if = !stylo
[browser_markup_anonymous_04.js]
[browser_markup_copy_image_data.js]
subsuite = clipboard

View File

@ -51,6 +51,7 @@ support-files =
[test_getProcess.html]
[test_highlighter_paused_debugger.html]
[test_inspector-anonymous.html]
skip-if = !stylo # No shadow dom support
[test_inspector-changeattrs.html]
[test_inspector-changevalue.html]
[test_inspector-dead-nodes.html]

View File

@ -576,9 +576,9 @@ skip-if = toolkit == 'android' #bug 687032
[test_bug999456.html]
[test_bug1022229.html]
[test_bug1025933.html]
skip-if = stylo # bug 1293844
skip-if = !stylo
[test_bug1037687.html]
skip-if = stylo # bug 1293844
skip-if = !stylo
support-files = test_bug1037687_subframe.html
[test_bug1043106.html]
[test_bug1057176.html]
@ -615,6 +615,7 @@ skip-if = toolkit == 'android'
[test_bug1404385.html]
[test_bug1406102.html]
[test_bug1421568.html]
skip-if = !stylo
[test_caretPositionFromPoint.html]
[test_change_policy.html]
[test_clearTimeoutIntervalNoArg.html]

View File

@ -139,14 +139,14 @@ support-files = bug1017086_inner.html
[test_bug1017086_enable.html]
support-files = bug1017086_inner.html
[test_bug1079236.html]
skip-if = stylo # bug 1293844
skip-if = !stylo
[test_bug1145910.html]
skip-if = stylo # bug 1293844
skip-if = !stylo
[test_bug1150308.html]
skip-if = true || stylo # bug 1293844, bug 1421545
[test_bug1248459.html]
[test_bug1264380.html]
run-if = (e10s && os != "win" && !stylo) # Bug 1270043, crash at windows platforms; Bug1264380 comment 20, nsDragService::InvokeDragSessionImpl behaves differently among platform implementations in non-e10s mode which prevents us to check the validity of nsIDragService::getCurrentSession() consistently via synthesize mouse clicks in non-e10s mode. bug 1293844 for stylo.
run-if = (e10s && os != "win" && stylo) # Bug 1270043, crash at windows platforms; Bug1264380 comment 20, nsDragService::InvokeDragSessionImpl behaves differently among platform implementations in non-e10s mode which prevents us to check the validity of nsIDragService::getCurrentSession() consistently via synthesize mouse clicks in non-e10s mode.
[test_bug1327798.html]
subsuite = clipboard
[test_clickevent_on_input.html]

View File

@ -74,6 +74,13 @@ function shouldSkipTest(test) {
todo(false, `${test} skipped due to bug 1409805`);
return true;
}
if (!SpecialPowers.DOMWindowUtils.isStyledByServo &&
test == "file_fullscreen-shadowdom.html") {
// Shadow DOM is stylo-only.
return true;
}
if (!SpecialPowers.isMainProcess() &&
navigator.platform.includes('Linux')) {
for (let item of gLinuxE10sSkipList) {

View File

@ -1,4 +1,5 @@
[DEFAULT]
skip-if = !stylo
support-files =
inert_style.css
dummy_page.html
@ -41,6 +42,5 @@ support-files =
[test_shadowroot_style.html]
[test_shadowroot_style_order.html]
[test_style_fallback_content.html]
skip-if = stylo # Bug 1410170
[test_link_prefetch.html]
[test_bug1269155.html]

View File

@ -1864,7 +1864,7 @@ pref(layout.css.moz-document.content.enabled,false) == 1035091-2.html 1035091-re
== 1062108-1.html 1062108-1-ref.html
== 1062792-1.html 1062792-1-ref.html
== 1062963-floatmanager-reflow.html 1062963-floatmanager-reflow-ref.html
test-pref(dom.webcomponents.shadowdom.enabled,true) == 1066554-1.html 1066554-1-ref.html
test-pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == 1066554-1.html 1066554-1-ref.html
== 1069716-1.html 1069716-1-ref.html
== 1078262-1.html about:blank
test-pref(layout.testing.overlay-scrollbars.always-visible,false) == 1081072-1.html 1081072-1-ref.html

View File

@ -367,7 +367,7 @@ fuzzy-if(OSX,1,100) fuzzy-if(skiaContent,1,14) == mfrac-D-1.html mfrac-D-1-ref.h
== mfrac-D-3.html mfrac-D-3-ref.html
== mfrac-D-4.html mfrac-D-4-ref.html
== mfrac-E-1.html mfrac-E-1-ref.html
test-pref(dom.webcomponents.shadowdom.enabled,true) == shadow-dom-1.html shadow-dom-1-ref.html
test-pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == shadow-dom-1.html shadow-dom-1-ref.html
pref(dom.meta-viewport.enabled,true) pref(font.size.inflation.emPerLine,25) == font-inflation-1.html font-inflation-1-ref.html
test-pref(font.minimum-size.x-math,40) == default-font.html default-font-ref.html
!= radicalbar-1.html about:blank

View File

@ -1,23 +1,23 @@
pref(dom.webcomponents.shadowdom.enabled,true) == cross-tree-selection-1.html cross-tree-selection-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-shadow-1.html basic-shadow-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-shadow-2.html basic-shadow-2-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-shadow-3.html basic-shadow-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-shadow-4.html basic-shadow-4-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == fallback-content-1.html fallback-content-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == remove-insertion-point-1.html remove-insertion-point-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == nested-insertion-point-1.html nested-insertion-point-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == update-dist-node-descendants-1.html update-dist-node-descendants-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fuzzy-if(Android,2,7) == input-transition-1.html input-transition-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == dynamic-insertion-point-distribution-1.html dynamic-insertion-point-distribution-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == dynamic-insertion-point-distribution-2.html dynamic-insertion-point-distribution-2-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == remove-append-shadow-host-1.html remove-append-shadow-host-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == reframe-shadow-child-1.html reframe-shadow-child-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == reframe-shadow-child-2.html reframe-shadow-child-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == style-sharing.html style-sharing-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == cross-tree-selection-1.html cross-tree-selection-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-shadow-1.html basic-shadow-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-shadow-2.html basic-shadow-2-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-shadow-3.html basic-shadow-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-shadow-4.html basic-shadow-4-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == fallback-content-1.html fallback-content-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == remove-insertion-point-1.html remove-insertion-point-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == nested-insertion-point-1.html nested-insertion-point-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) skip-if(!stylo||styloVsGecko) == update-dist-node-descendants-1.html update-dist-node-descendants-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) skip-if(!stylo||styloVsGecko) fuzzy-if(Android,2,7) == input-transition-1.html input-transition-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) skip-if(!stylo||styloVsGecko) == dynamic-insertion-point-distribution-1.html dynamic-insertion-point-distribution-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) skip-if(!stylo||styloVsGecko) == dynamic-insertion-point-distribution-2.html dynamic-insertion-point-distribution-2-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == remove-append-shadow-host-1.html remove-append-shadow-host-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == reframe-shadow-child-1.html reframe-shadow-child-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == reframe-shadow-child-2.html reframe-shadow-child-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == style-sharing.html style-sharing-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) skip-if(!stylo||styloVsGecko) == style-sharing-across-shadow.html style-sharing-ref.html # bug 1412400
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-1.html basic-slot-1-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-2.html basic-slot-2-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-3.html basic-slot-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-4.html basic-slot-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-5.html basic-slot-5-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) == basic-slot-6.html basic-slot-6-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-slot-3.html basic-slot-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-slot-4.html basic-slot-3-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-slot-5.html basic-slot-5-ref.html
pref(dom.webcomponents.shadowdom.enabled,true) fails-if(!stylo||styloVsGecko) == basic-slot-6.html basic-slot-6-ref.html

View File

@ -1,2 +1,3 @@
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -1,2 +1,4 @@
[elementsFromPoint-shadowroot.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.

View File

@ -1,2 +1,4 @@
[scrollIntoView-shadow.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.

View File

@ -1,2 +1,5 @@
[focus-within-shadow-001.html]
disabled:
if not stylo: Shadow DOM is stylo-only
expected: FAIL
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1441022

View File

@ -0,0 +1,3 @@
[focus-within-shadow-002.html]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -0,0 +1,3 @@
[focus-within-shadow-003.html]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -0,0 +1,3 @@
[focus-within-shadow-004.html]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -0,0 +1,3 @@
[focus-within-shadow-005.html]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -0,0 +1,3 @@
[focus-within-shadow-006.html]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -1,2 +1,4 @@
[adopted-callback.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,2 +1,4 @@
[connected-callbacks.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,2 +1,4 @@
[disconnected-callbacks.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,5 +1,8 @@
[Element.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.
[removeAttribute on Element must not enqueue an attributeChanged reaction when removing an attribute that does not exist]
expected: FAIL

View File

@ -1,2 +1,4 @@
[ShadowRoot.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,5 +1,7 @@
[interfaces.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.
[Document interface: attribute origin]
expected: FAIL
bug: 931884

View File

@ -1,5 +1,7 @@
[interfaces.html]
prefs: [dom.forms.inputmode:true, dom.dialog_element.enabled:true, dom.forms.autocomplete.formautofill:true, dom.webcomponents.shadowdom.enabled:true, browser.cache.offline.insecure.enable:true, dom.registerProtocolHandler.insecure.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.
[Document interface: attribute domain]
expected: FAIL

View File

@ -1,5 +1,7 @@
[reflection-misc.html]
prefs: [dom.dialog_element.enabled: true, dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.
[html.tabIndex: setAttribute() to object "3" followed by getAttribute()]
expected: FAIL

View File

@ -1,2 +1,4 @@
[not-in-shadow-tree.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.

View File

@ -1,2 +1,4 @@
[form-elements-filter.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,2 +1,4 @@
[label-attributes.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.

View File

@ -1,5 +1,9 @@
[interfaces.html]
prefs: [dom.dialog_element.enabled: true, dom.webcomponents.shadowdom.enabled:true]
[Interfaces for slot]
expected:
if not stylo: FAIL
[Interfaces for image]
expected: FAIL
@ -12,6 +16,10 @@
[Interfaces for bdi]
expected: FAIL
[Interfaces for SLOT]
expected:
if not stylo: FAIL
[Interfaces for IMAGE]
expected: FAIL

View File

@ -1,2 +1,4 @@
[shadow-content.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.

View File

@ -1,5 +1,7 @@
[interfaces.https.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only.
[PaymentRequest interface: existence and properties of interface object]
expected: FAIL

View File

@ -1 +1,3 @@
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo-only

View File

@ -1,5 +1,7 @@
[touch-retargeting.html]
prefs: [dom.webcomponents.shadowdom.enabled:true]
disabled:
if not stylo: Shadow DOM is stylo only.
[TouchEvent's touches, targetTouches, and changedTouches should be retargeted.]
expected: FAIL