REGRESSION(r219675): Web Inspector: CommandLineAPI getEventListeners does not work After refactoring the code had: if (m_domAgent) return; Instead of: if (!m_domAgent) return; --- Add a test, and modernize the results to match other browsers by including more information about the listeners.
<rdar://problem/35116347>
Created attachment 324534 [details] [PATCH] Proposed Fix
Found this by looking at static analyzer warnings in inspector code.
Comment on attachment 324534 [details] [PATCH] Proposed Fix Clearing flags on attachment: 324534 Committed r223826: <https://trac.webkit.org/changeset/223826>
All reviewed patches have been landed. Closing bug.
Comment on attachment 324534 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=324534&action=review > LayoutTests/inspector/console/command-line-api-getEventListeners.html:26 > + InspectorTest.debug(); Oops, I'll remove this at some point. Its not harmful to land with this in it just generates unnecessary stderr.