Bug 1041298 - Fixed intermittent failure for browser_ruleview_keyframes-rule_02.js - Removed dynamic change test for top. r=harth, a=test-only
authorGabriel Luong <gabriel.luong@gmail.com>
Wed, 23 Jul 2014 17:02:00 +0200
changeset 217280 7530ae8ef718e8daa6436b36f1aa52fe11ff0f5f
parent 217279 3ecca2fb311dd8073f8095752df3bc80995b8bbf
child 217281 b0e2cd20d9471be57e38490886ca9795299c8c70
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersharth, test-only
bugs1041298
milestone33.0a2
Bug 1041298 - Fixed intermittent failure for browser_ruleview_keyframes-rule_02.js - Removed dynamic change test for top. r=harth, a=test-only
browser/devtools/styleinspector/test/browser_ruleview_keyframes-rule_02.js
--- a/browser/devtools/styleinspector/test/browser_ruleview_keyframes-rule_02.js
+++ b/browser/devtools/styleinspector/test/browser_ruleview_keyframes-rule_02.js
@@ -36,32 +36,29 @@ function* testPacman(inspector, view) {
     "Keyframe pacman (100%) property is correct"
   );
 
   info("Test dynamic changes to keyframe rule for #pacman");
 
   let defaultView = element.ownerDocument.defaultView;
   let ruleEditor = view.element.children[5].childNodes[0]._ruleEditor;
   ruleEditor.addProperty("opacity", "0");
-  ruleEditor.addProperty("top", "750px");
 
   yield ruleEditor._applyingModifications;
   yield once(element, "animationend");
 
   is
   (
     convertTextPropsToString(rules.keyframeRules[1].textProps),
-    "left: 750px; opacity: 0; top: 750px",
+    "left: 750px; opacity: 0",
     "Keyframe pacman (100%) property is correct"
   );
 
   is(defaultView.getComputedStyle(element).getPropertyValue("opacity"), "0",
     "Added opacity property should have been used.");
-  is(defaultView.getComputedStyle(element).getPropertyValue("top"), "750px",
-    "Added top property should have been used.");
 }
 
 function* testBoxy(inspector, view) {
   info("Test content in the keyframes rule of #boxy");
 
   let {
     rules,
     element,