Bug 240606 - Web Inspector: Assertion when removing event listener in CSSPropertyNameCompletions.js
Summary: Web Inspector: Assertion when removing event listener in CSSPropertyNameCompl...
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: Razvan Caliman
URL:
Keywords: InRadar
: 244261 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-18 15:32 PDT by Patrick Angle
Modified: 2022-09-05 05:49 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Angle 2022-05-18 15:32:57 PDT
Encountered while refreshing a page soon after having added an inline style `color: pink;` to an element via the Styles sidebar panel.

[Error] Assertion Failed (4)
DOMNodeStyles
"dom-node-styles-needs-refresh"
function _handleNodesStylesNeedsRefresh(event) { this._needsVariablesFromInspectedNode = true; }
CSSPropertyNameCompletions
	removeEventListener (Object.js:101)
	_handleInspectedNodeChanged (CSSPropertyNameCompletions.js:101:91)
	dispatch (Object.js:134)
	dispatchEventToListeners (Object.js:142)
	callback (DOMManager.js:694)
	_dispatchResponseToCallback (Connection.js:152)
	_dispatchResponse (Connection.js:122)
	dispatch (Connection.js:77)
	dispatchMessageFromTarget (TargetManager.js:176)
	dispatchMessageFromTarget (TargetObserver.js:47)
	_dispatchEvent (Connection.js:210)
	dispatch (Connection.js:79)
	dispatch (InspectorBackend.js:233)
	(anonymous function) (MessageDispatcher.js:42)
Comment 1 Radar WebKit Bug Importer 2022-05-18 15:33:04 PDT
<rdar://problem/93531451>
Comment 2 Razvan Caliman 2022-09-01 11:16:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3920
Comment 3 EWS 2022-09-01 15:07:41 PDT
Committed 254072@main (7d37933f4760): <https://commits.webkit.org/254072@main>

Reviewed commits have been landed. Closing PR #3920 and removing active labels.
Comment 4 Razvan Caliman 2022-09-05 05:49:20 PDT
*** Bug 244261 has been marked as a duplicate of this bug. ***