Bug 9732

Summary: [Drosera] calling removeListener to many times will cause WebKit's listener count to underflow/wraparound
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: New BugsAssignee: Timothy Hatcher <timothy>
Status: CLOSED FIXED    
Severity: Major    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch to fix the count underflow/wraparound darin: review+

Timothy Hatcher
Reported 2006-07-04 13:02:59 PDT
We will decrement the listener count even if the listener is not in the listeners set.
Attachments
Patch to fix the count underflow/wraparound (2.10 KB, patch)
2006-07-04 13:10 PDT, Timothy Hatcher
darin: review+
Timothy Hatcher
Comment 1 2006-07-04 13:10:27 PDT
Created attachment 9196 [details] Patch to fix the count underflow/wraparound
Darin Adler
Comment 2 2006-07-04 14:40:05 PDT
Comment on attachment 9196 [details] Patch to fix the count underflow/wraparound Check for nil does not seem necessary. We'll just get nil for the class which is != [NSDistantObject class]. r=me
Timothy Hatcher
Comment 3 2006-07-04 21:29:27 PDT
Landed in r15157.
Timothy Hatcher
Comment 4 2008-05-17 09:55:53 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.
Note You need to log in before you can comment on or make changes to this bug.