Changeset 85054 in webkit
- Timestamp:
- Apr 27, 2011 9:00:17 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r85053 r85054 1 2011-04-27 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: browser crash on evaluation of 'throw undefined' 6 https://bugs.webkit.org/show_bug.cgi?id=59611 7 8 * inspector/console/console-eval-throw-undefined-expected.txt: Added. 9 * inspector/console/console-eval-throw-undefined.html: Added. 10 1 11 2011-04-27 Csaba Osztrogonác <ossy@webkit.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r85048 r85054 1 2011-04-27 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: browser crash on evaluation of 'throw undefined' 6 https://bugs.webkit.org/show_bug.cgi?id=59611 7 8 Test: inspector/console/console-eval-throw-undefined.html 9 10 * inspector/InjectedScriptSource.js: use try/catch to protect from 11 exception during conversion of another exception to string. 12 1 13 2011-04-27 Pavel Feldman <pfeldman@google.com> 2 14 -
trunk/Source/WebCore/inspector/InjectedScriptSource.js
r85035 r85054 453 453 InjectedScript.RemoteObject.fromException = function(e) 454 454 { 455 return new InjectedScript.RemoteObject(null, "error", e.toString()); 455 try { 456 var description = injectedScript._describe(e); 457 } catch (ex) { 458 var description = "<failed to convert exception to string>"; 459 } 460 return new InjectedScript.RemoteObject(null, "error", description); 456 461 } 457 462
Note: See TracChangeset
for help on using the changeset viewer.