-
loislo@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81804 Sometimes the worker process of HeapSnapshot does some wrong thing and throw an Exception. At this momemnt we have no way to see the error in the front-end. Reviewed by Yury Semikhatsky. * English.lproj/localizedStrings.js: * inspector/front-end/HeapSnapshotProxy.js: check the exception field and dump it into front-end's console. (WebInspector.HeapSnapshotWorker.prototype._messageReceived): * inspector/front-end/HeapSnapshotWorkerDispatcher.js: catch the exception and transfer it's text to requester's side. (WebInspector.HeapSnapshotWorkerDispatcher.prototype.dispatchMessage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82e1c364