|Logging 'message' events.||Paul Stone||11/1/12 7:19 AM|
I'd like to use Firebug to monitor 'message' events sent between windows and frames using postMessage. Currently I can do monitorEvents(window, 'message'). However when Firebug logs these it doesn't show any properties in the console view - it just shows 'message'. Would it be possible to show the 'origin' and 'data' fields for logged message events by default? This would be similar to the properties shown for mouse and key events.
I'm also looking for an easy way to log events on all subframes within the current window. This could also be useful for events other than 'message', for example for click events in iframes. Does this sound like a feature that would be worth adding into core Firebug (as opposed to an extension?)
|Re: Logging 'message' events.||Jan Honza Odvarko||11/1/12 7:43 AM|
On Nov 1, 3:19 pm, Paul Stone <li...@pdjs.co.uk> wrote:This is reported here:
But, we also need a simple page (a test case) that can be used
to manually repeat the scenario (there should be an iframe,
a button, postMessage call and instructions on the page...)
Please create a new report for this
|Re: Logging 'message' events.||Paul Stone||11/1/12 9:12 AM|
This is reported here:
I've added a simple testcase to that issue. If you need it tweaked or changed, let me know.
> I'm also looking for an easy way to log events on all subframes within the
Actually, the above issue is asking what I want. Essentially an option to log 'message' events in a similar fashion to XmlHttpRequests.
|Re: Logging 'message' events.||Jan Honza Odvarko||11/2/12 12:31 AM|
On Nov 1, 5:12 pm, Paul Stone <li...@pdjs.co.uk> wrote:Great, thanks!