Permalink
Browse files

Issue 5135: Display window.postMessage() calls in console

  • Loading branch information...
1 parent 0496380 commit 204f620c6af3a0843b09eb52e62d5cd0ee5eced0 @janodvarko janodvarko committed Nov 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 extension/content/firebug/chrome/reps.js
@@ -1729,6 +1729,8 @@ FirebugReps.Event = domplate(Firebug.Rep,
info.push("clientX=", event.clientX, ", clientY=", event.clientY);
else if (eventFamily == "key")
info.push("charCode=", event.charCode, ", keyCode=", event.keyCode);
+ else if (event.type == "message")
+ info.push("origin=", event.origin, ", data=", event.data);
return info.join("");
},

0 comments on commit 204f620

Please sign in to comment.