forked from mirrors/gecko-dev
Backed out changeset a7a5b2fc4f0a (bug 1357715) for causing perma failures after merged to m-c
This commit is contained in:
parent
dc54f8e362
commit
03eeab2f7b
3 changed files with 7 additions and 10 deletions
|
|
@ -81,7 +81,6 @@ skip-if = os == "mac" # Full keyboard navigation on OSX only works if Full Keybo
|
||||||
[browser_markup_anonymous_02.js]
|
[browser_markup_anonymous_02.js]
|
||||||
skip-if = e10s # scratchpad.xul is not loading in e10s window
|
skip-if = e10s # scratchpad.xul is not loading in e10s window
|
||||||
[browser_markup_anonymous_03.js]
|
[browser_markup_anonymous_03.js]
|
||||||
skip-if = stylo # Stylo doesn't support shadow DOM yet, bug 1293844
|
|
||||||
[browser_markup_anonymous_04.js]
|
[browser_markup_anonymous_04.js]
|
||||||
[browser_markup_copy_image_data.js]
|
[browser_markup_copy_image_data.js]
|
||||||
subsuite = clipboard
|
subsuite = clipboard
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,6 @@ window.onload = function () {
|
||||||
require("devtools/shared/dom-node-filter-constants");
|
require("devtools/shared/dom-node-filter-constants");
|
||||||
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||||
|
|
||||||
const isStylo = SpecialPowers.getBoolPref("layout.css.servo.enabled");
|
|
||||||
|
|
||||||
SpecialPowers.pushPrefEnv({"set": [
|
SpecialPowers.pushPrefEnv({"set": [
|
||||||
["dom.webcomponents.enabled", true]
|
["dom.webcomponents.enabled", true]
|
||||||
]});
|
]});
|
||||||
|
|
@ -146,12 +144,6 @@ window.onload = function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
addAsyncTest(function* testShadowAnonymous() {
|
addAsyncTest(function* testShadowAnonymous() {
|
||||||
// Stylo doesn't currently support shadow DOM (bug 1293844)
|
|
||||||
if (isStylo) {
|
|
||||||
runNextTest();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
info("Testing shadow DOM content.");
|
info("Testing shadow DOM content.");
|
||||||
|
|
||||||
let shadow = yield gWalker.querySelector(gWalker.rootNode, "#shadow");
|
let shadow = yield gWalker.querySelector(gWalker.rootNode, "#shadow");
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,13 @@ function addDiv(t, attrs) {
|
||||||
return div;
|
return div;
|
||||||
}
|
}
|
||||||
|
|
||||||
var isStylo = SpecialPowers.getBoolPref('layout.css.servo.enabled');
|
var isStylo = false;
|
||||||
|
// 'layout.css.servo.enabled' is not yet defined on gecko, so we need a try
|
||||||
|
// block.
|
||||||
|
try {
|
||||||
|
isStylo = SpecialPowers.getBoolPref('layout.css.servo.enabled');
|
||||||
|
} catch(e) {
|
||||||
|
}
|
||||||
|
|
||||||
test(function(t) {
|
test(function(t) {
|
||||||
addStyle(t,
|
addStyle(t,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue