Bug 52707

Summary: Web Inspector: [Extensions API] delete pending callback from callback map before invoking it
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: pfeldman, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch pfeldman: review+

Description Andrey Kosyakov 2011-01-19 02:49:40 PST
ExtensionAPI.js currently invokes callback before removing it from the map of pending callbacks. Under certain circumstances this may lead to callback being invoked multiple times.
Comment 1 Andrey Kosyakov 2011-01-19 02:56:20 PST
Created attachment 79407 [details]
patch
Comment 2 Andrey Kosyakov 2011-01-19 23:42:35 PST
Manually committed r76109: http://trac.webkit.org/changeset/76109