Bug 215495 - Web Inspector: Assertion Failed: removeEventListener cannot remove css-manager-style-sheet-added because it doesn't exist.
Summary: Web Inspector: Assertion Failed: removeEventListener cannot remove css-manage...
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: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-13 23:40 PDT by Devin Rousso
Modified: 2020-08-14 16:10 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.89 KB, patch)
2020-08-13 23:51 PDT, Devin Rousso
joepeck: review+
Details | Formatted Diff | Diff
Patch (1.91 KB, patch)
2020-08-14 15:43 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2020-08-13 23:40:55 PDT
[Error] Assertion Failed: removeEventListener cannot remove css-manager-style-sheet-added because it doesn't exist.
	removeEventListener (Object.js:93)
	ondetach (FrameTreeElement.js:124)
	_detach (TreeElement.js:294)
	removeChildAtIndex (TreeOutline.js:341)
	removeChild (TreeOutline.js:362)
	_removeTreeElement (FolderizedTreeElement.js:257)
	removeChildForRepresentedObject (FolderizedTreeElement.js:134)
	_childFrameWasRemoved (FrameTreeElement.js:259)
	dispatch (Object.js:165)
	dispatchEventToListeners (Object.js:172)
	removeChildFrame (Frame.js:348)
	frameDidDetach (NetworkManager.js:619)
	frameDetached (PageObserver.js:47)
	_dispatchEvent (Connection.js:210)
	dispatch (Connection.js:79)
	dispatchMessageFromTarget (TargetManager.js:176)
	dispatchMessageFromTarget (TargetObserver.js:47)
	_dispatchEvent (Connection.js:210)
	dispatch (Connection.js:79)
	dispatch (InspectorBackend.js:231)
	(anonymous function) (MessageDispatcher.js:42)
Comment 1 Devin Rousso 2020-08-13 23:51:58 PDT
Created attachment 406576 [details]
Patch
Comment 2 Joseph Pecoraro 2020-08-14 15:40:57 PDT
Comment on attachment 406576 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=406576&action=review

r=me

> Source/WebInspectorUI/ChangeLog:10
> +        Check `this.listItemElement`, which is eqivalent to `WI.View.prototype.didInitialLayout`.

Typo: "eqivalent" => equivalent

Probably worth saying "equivalent to a didInitialLayout for a TreeElement".
Comment 3 Devin Rousso 2020-08-14 15:43:55 PDT
Created attachment 406631 [details]
Patch
Comment 4 EWS 2020-08-14 16:09:59 PDT
Committed r265714: <https://trac.webkit.org/changeset/265714>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406631 [details].
Comment 5 Radar WebKit Bug Importer 2020-08-14 16:10:19 PDT
<rdar://problem/67104654>