Bug 76060

Summary: Web Inspector: "undefined" instead of error message in the SourceFrame.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch yurys: review+

Description Pavel Feldman 2012-01-11 07:26:35 PST
Open a simple script with exception, toggle break on exceptions.
Run the script.
Execution will stop. Click continue

Script will get "undefined" error message in the bubble.
Comment 1 Pavel Feldman 2012-01-11 07:42:04 PST
Created attachment 122018 [details]
Patch
Comment 2 Pavel Feldman 2012-01-11 07:53:22 PST
Created attachment 122021 [details]
Patch
Comment 3 Yury Semikhatsky 2012-01-11 08:04:06 PST
Comment on attachment 122021 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=122021&action=review

> Source/WebCore/inspector/front-end/ConsoleMessage.js:161
> +        var formattedMessage = this.formattedMessage;

Why do we need message formatting to be lazy?
Comment 4 Pavel Feldman 2012-01-11 08:35:18 PST
Committed r104714: <http://trac.webkit.org/changeset/104714>