postmessage capture + trace capture