Bug Hunting Session
Bug 104155 - PostMessage debugging
Summary: PostMessage debugging
Status: NEW
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillJavaScript
Depends on:
Blocks:
 
Reported: 2016-11-25 08:57 UTC by Aleksander Machniak
Modified: 2018-01-31 03:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander Machniak 2016-11-25 08:57:29 UTC
In debug mode it would be nice to have incoming and outgoing postMessage contents written into browser console.

I could of course do this on the host page, but once you already have debug mode...
Comment 1 Pranav Kant 2018-01-30 12:42:02 UTC
Another good candidate for easy hack. 

Interested one can grep for "console.log2" in the loleaflet/ code to find out how it's done for messages in existing debug mode.

Debug mode is accessible with : ctrl + alt + shift + d