Bug 21145 - Console message repeat count wrong when typing commands between repeated messages
Summary: Console message repeat count wrong when typing commands between repeated mess...
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: Timothy Hatcher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 09:15 PDT by Timothy Hatcher
Modified: 2008-09-26 10:28 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (7.86 KB, patch)
2008-09-26 10:03 PDT, Timothy Hatcher
kmccullough: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2008-09-26 09:15:47 PDT
Type this into the console:

console.log("Test");
console.log("Test");
console.log("Test");
console.log("Test");

You should see 4 Test messages interleaved with the user command.
Instead you see interleaved messages incrementally with larger repeat counts.
Comment 1 Timothy Hatcher 2008-09-26 10:03:59 PDT
Created attachment 23852 [details]
Proposed patch
Comment 2 Kevin McCullough 2008-09-26 10:18:53 PDT
Comment on attachment 23852 [details]
Proposed patch

does this fix the count in the bottom right corner?  I only see you changing msg.repeatCount but for WebInspector.warnings/errors you still use msg.repeatDelta

otherwise r=me
Comment 3 Timothy Hatcher 2008-09-26 10:22:16 PDT
The count in the corner was not affected and was working before.
Comment 4 Timothy Hatcher 2008-09-26 10:28:07 PDT
Landed in r36958.