Bug 153268 - Web Inspector: Subclasses of WebInspector.Object shouldn't overwrite this._listeners
Summary: Web Inspector: Subclasses of WebInspector.Object shouldn't overwrite this._li...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
Keywords: InRadar
Depends on:
Reported: 2016-01-19 21:12 PST by Nikita Vasilyev
Modified: 2016-01-19 22:21 PST (History)
8 users (show)

See Also:

Patch (10.17 KB, patch)
2016-01-19 21:21 PST, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2016-01-19 21:12:31 PST
Here is a stack trace:

[Error] object._listeners should be a Map but it isn't.
`object` is most likely a WebInspector.EventListenerSet.
	dispatch (Object.js:146)
	dispatchEventToListeners (Object.js:167)
	mainTitle (GeneralTreeElement.js:133)
	_updateTitles (BreakpointTreeElement.js:143)
	BreakpointTreeElement (BreakpointTreeElement.js:57)
	_addBreakpoint (DebuggerSidebarPanel.js:297)
	_addBreakpointsForSourceCode (DebuggerSidebarPanel.js:308)
	_addResource (DebuggerSidebarPanel.js:367)
	_resourceAdded (DebuggerSidebarPanel.js:358)
	dispatch (Object.js:160)
	dispatchEventToListeners (Object.js:175)
	addResource (Frame.js:407)
	_addFrameTreeFromFrameResourceTreePayload (FrameResourceManager.js:563)
	_processMainFrameResourceTreePayload (FrameResourceManager.js:514)
	_dispatchResponseToCallback (InspectorBackend.js:297)
	_dispatchResponse (InspectorBackend.js:270)
	dispatch (InspectorBackend.js:149)
	dispatchNextQueuedMessageFromBackend (MessageDispatcher.js:42)
Comment 1 Radar WebKit Bug Importer 2016-01-19 21:12:57 PST
Comment 2 Nikita Vasilyev 2016-01-19 21:21:22 PST
Created attachment 269333 [details]
Comment 3 WebKit Commit Bot 2016-01-19 22:21:11 PST
Comment on attachment 269333 [details]

Clearing flags on attachment: 269333

Committed r195343: <http://trac.webkit.org/changeset/195343>
Comment 4 WebKit Commit Bot 2016-01-19 22:21:15 PST
All reviewed patches have been landed.  Closing bug.