Bug 34078 - File name and line number are missing in console messages written before onload event
Summary: File name and line number are missing in console messages written before onlo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 02:54 PST by Yury Semikhatsky
Modified: 2014-12-11 17:11 PST (History)
3 users (show)

See Also:


Attachments
patch (4.43 KB, patch)
2010-01-25 05:02 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
patch (4.05 KB, patch)
2010-01-25 05:08 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2010-01-25 02:54:48 PST
If console.log(1) is called before document load is completed the message will miss source name and line number. To see this navigate to LayoutTests/inspector/console-log-before-inspector-open.html
Comment 1 Yury Semikhatsky 2010-01-25 05:02:47 PST
Created attachment 47339 [details]
patch

Update inspector test expectations.
Comment 2 Yury Semikhatsky 2010-01-25 05:08:48 PST
Created attachment 47340 [details]
patch

Update test expectations.
Comment 3 Yury Semikhatsky 2010-01-25 05:14:15 PST
Comment on attachment 47340 [details]
patch

Committing to http://svn.webkit.org/repository/webkit/trunk ...
	C	LayoutTests/inspector/console-log-before-inspector-open-expected.txt => LayoutTests/platform/gtk/inspector/console-log-before-inspector-open-expected.txt
	C	LayoutTests/inspector/console-log-before-inspector-open-expected.txt => LayoutTests/platform/mac/inspector/console-log-before-inspector-open-expected.txt
	C	LayoutTests/inspector/console-log-before-inspector-open-expected.txt => LayoutTests/platform/win/inspector/console-log-before-inspector-open-expected.txt
	M	LayoutTests/ChangeLog
	M	LayoutTests/inspector/console-log-before-inspector-open-expected.txt
Committed r53798