There is no console object in html5 workers at the moment. This makes me sad when I'm troubleshooting the HeapSnapshot stuff.
Created attachment 143745 [details] Patch
Comment on attachment 143745 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=143745&action=review > Source/WebCore/inspector/front-end/HeapSnapshotProxy.js:67 > + window[message.object][message.method].apply(window[message.object], message.arguments); You should call methods on console only, otherwise, worker can run arbitrary code on the front-end which is effectively the reversed dependency.
Committed r118348: <http://trac.webkit.org/changeset/118348>
(In reply to comment #2) > (From update of attachment 143745 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=143745&action=review > > > Source/WebCore/inspector/front-end/HeapSnapshotProxy.js:67 > > + window[message.object][message.method].apply(window[message.object], message.arguments); > > You should call methods on console only, otherwise, worker can run arbitrary code on the front-end which is effectively the reversed dependency. comment addressed