Summary: | XHRs logged in the console do not have line numbers | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin McCullough <kmccullough> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Kevin McCullough <kmccullough> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | Keywords: | InRadar | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 17776 | ||||||
Attachments: |
|
Description
Kevin McCullough
2008-08-07 13:50:40 PDT
Created attachment 23770 [details]
proposed patch
Comment on attachment 23770 [details]
proposed patch
This work seems harmless enough that it's OK to do even when the develop menu is disabled. Perhaps a Shark profile will tell us otherwise in the future.
You need to check the line number for -1, the error case. Otherwise storing it in the unsigned will give a huge number. The inspector expects 0 for unknown line numbers, not -1. This is done in Console.cpp like: lineNumber = (signedLineNumber >= 0 ? signedLineNumber : 0); Committed revision 36894. |