Bug 76060 - Web Inspector: "undefined" instead of error message in the SourceFrame.
Summary: Web Inspector: "undefined" instead of error message in the SourceFrame.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
Depends on:
Reported: 2012-01-11 07:26 PST by Pavel Feldman
Modified: 2012-01-11 08:35 PST (History)
10 users (show)

See Also:

Patch (15.06 KB, patch)
2012-01-11 07:42 PST, Pavel Feldman
no flags Details | Formatted Diff | Diff
Patch (1.70 KB, patch)
2012-01-11 07:53 PST, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Pavel Feldman 2012-01-11 07:53:22 PST
Created attachment 122021 [details]
Comment 3 Yury Semikhatsky 2012-01-11 08:04:06 PST
Comment on attachment 122021 [details]

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>