It is possible for PageDebuggerAgent::didAddEventListener and PageDebuggerAgent::didPostMessage to both re-use the same object when being called, so don't assert that we haven't already seen the object.
<rdar://problem/48462912>
Created attachment 368060 [details] Patch
Comment on attachment 368060 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368060&action=review > Source/WebCore/inspector/InspectorInstrumentation.cpp:1188 > + FAST_RETURN_IF_NO_FRONTENDS(nullptr); Is there ever a case where we would not already have fast returned if there was no frontend? This line seems unnecessary.
Comment on attachment 368060 [details] Patch r=me
Comment on attachment 368060 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368060&action=review >> Source/WebCore/inspector/InspectorInstrumentation.cpp:1188 >> + FAST_RETURN_IF_NO_FRONTENDS(nullptr); > > Is there ever a case where we would not already have fast returned if there was no frontend? This line seems unnecessary. Yeah, this one doesn't need it.
Created attachment 368061 [details] Patch
Comment on attachment 368061 [details] Patch Clearing flags on attachment: 368061 Committed r244569: <https://trac.webkit.org/changeset/244569>
All reviewed patches have been landed. Closing bug.