Bug 1050940 - Nearly permanent on Linux debug browser_ruleview_keyframes-rule_02.js | Test timed out - Test timed out or Added opacity property should have been used. - Got 1, expected 0 r=gl

CLOSED TREE
This commit is contained in:
Gabriel Luong 2014-08-08 14:30:10 -07:00
Родитель 98f9eac6dd
Коммит c31b1a7333
1 изменённых файлов: 16 добавлений и 14 удалений

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

@ -36,24 +36,26 @@ function* testPacman(inspector, view) {
"Keyframe pacman (100%) property is correct" "Keyframe pacman (100%) property is correct"
); );
info("Test dynamic changes to keyframe rule for #pacman"); // Dynamic changes test disabled because of Bug 1050940
let defaultView = element.ownerDocument.defaultView; // info("Test dynamic changes to keyframe rule for #pacman");
let ruleEditor = view.element.children[5].childNodes[0]._ruleEditor;
ruleEditor.addProperty("opacity", "0");
yield ruleEditor._applyingModifications; // let defaultView = element.ownerDocument.defaultView;
yield once(element, "animationend"); // let ruleEditor = view.element.children[5].childNodes[0]._ruleEditor;
// ruleEditor.addProperty("opacity", "0");
is // yield ruleEditor._applyingModifications;
( // yield once(element, "animationend");
convertTextPropsToString(rules.keyframeRules[1].textProps),
"left: 750px; opacity: 0",
"Keyframe pacman (100%) property is correct"
);
is(defaultView.getComputedStyle(element).getPropertyValue("opacity"), "0", // is
"Added opacity property should have been used."); // (
// convertTextPropsToString(rules.keyframeRules[1].textProps),
// "left: 750px; opacity: 0",
// "Keyframe pacman (100%) property is correct"
// );
// is(defaultView.getComputedStyle(element).getPropertyValue("opacity"), "0",
// "Added opacity property should have been used.");
} }
function* testBoxy(inspector, view) { function* testBoxy(inspector, view) {