Bug 148480 - Web Inspector: REGRESSION(r188965): BackendDispatcher loses request ids when called re-entrantly
Summary: Web Inspector: REGRESSION(r188965): BackendDispatcher loses request ids when ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: BJ Burg
URL:
Keywords: InRadar
Depends on: 146466
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-26 09:49 PDT by BJ Burg
Modified: 2015-08-26 11:53 PDT (History)
8 users (show)

See Also:


Attachments
Proposed Fix (7.18 KB, patch)
2015-08-26 09:55 PDT, BJ Burg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2015-08-26 09:49:20 PDT
I added an assertion that m_currentRequestId is Nullopt when dispatch() is called, but this should not hold if dispatching a backend command while debugger is paused. I will remove the assertion and add proper scoping for all dispatch() branches.

This caused inspector/dom-debugger/node-removed.html to crash reliably, rather than flakily due to some other JSC bug.
Comment 1 Radar WebKit Bug Importer 2015-08-26 09:51:27 PDT
<rdar://problem/22438652>
Comment 2 BJ Burg 2015-08-26 09:55:17 PDT
Created attachment 259960 [details]
Proposed Fix
Comment 3 Joseph Pecoraro 2015-08-26 11:03:23 PDT
Comment on attachment 259960 [details]
Proposed Fix

r=me
Comment 4 WebKit Commit Bot 2015-08-26 11:53:52 PDT
Comment on attachment 259960 [details]
Proposed Fix

Clearing flags on attachment: 259960

Committed r188976: <http://trac.webkit.org/changeset/188976>
Comment 5 WebKit Commit Bot 2015-08-26 11:53:56 PDT
All reviewed patches have been landed.  Closing bug.