Bug 1059588 - Transition events in console should show propertyName property, not animationName; r=past
authorGeoff Lankow <geoff@darktrojan.net>
Sat, 30 Aug 2014 11:04:26 +1200
changeset 202772 0b31ce3ca299bb92677e03a96cacac4b3bb083a6
parent 202771 4d0a886d3c2235dff3bdfbb481df9718f835a148
child 202773 583c3b9d82aac8b7cc218fe83cda841483fd53db
push id27410
push userphilringnalda@gmail.com
push dateTue, 02 Sep 2014 00:45:37 +0000
treeherdermozilla-central@b4eb275c7fd8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspast
bugs1059588
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1059588 - Transition events in console should show propertyName property, not animationName; r=past
toolkit/devtools/server/actors/script.js
--- a/toolkit/devtools/server/actors/script.js
+++ b/toolkit/devtools/server/actors/script.js
@@ -4027,18 +4027,19 @@ DebuggerServer.ObjectActorPreviewers.Obj
       }
       if (aRawObj.shiftKey) {
         modifiers.push("Shift");
       }
       preview.eventKind = "key";
       preview.modifiers = modifiers;
 
       props.push("key", "charCode", "keyCode");
-    } else if (aRawObj instanceof Ci.nsIDOMTransitionEvent ||
-               aRawObj instanceof Ci.nsIDOMAnimationEvent) {
+    } else if (aRawObj instanceof Ci.nsIDOMTransitionEvent) {
+      props.push("propertyName", "pseudoElement");
+    } else if (aRawObj instanceof Ci.nsIDOMAnimationEvent) {
       props.push("animationName", "pseudoElement");
     } else if (aRawObj instanceof Ci.nsIDOMClipboardEvent) {
       props.push("clipboardData");
     }
 
     // Add event-specific properties.
     for (let prop of props) {
       let value = aRawObj[prop];