Bug 261824

Summary: Regression(268146@main) inspector/css/stylesheet-events-imports.html is flakily crashing
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-09-20 08:53:33 PDT
inspector/css/stylesheet-events-imports.html is flakily crashing since 268146@main:
```
 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  com.apple.WebCore       	       0x187fd6472    WTFCrashWithInfo(int, char const*, char const*, int)
1  com.apple.WebCore       	       0x18945b2c8    WebCore::EventTarget::~EventTarget()
2  com.apple.WebCore       	       0x18964ae7e    WebCore::HTMLLinkElement::~HTMLLinkElement()
3  com.apple.JavaScriptCore	       0x180d08116    JSC::PreciseAllocation::sweep()
4  com.apple.JavaScriptCore	       0x180cff61a    JSC::MarkedSpace::sweepPreciseAllocations()
5  com.apple.JavaScriptCore	       0x180cc4c74    JSC::Heap::finalize()
```
Comment 1 Chris Dumez 2023-09-20 08:57:28 PDT
Easy repro with:
run-webkit-tests --debug --no-build --repeat-each=30 inspector/css/stylesheet-events-basic.html
Comment 2 Chris Dumez 2023-09-20 08:57:50 PDT
Seems to be caused by the changes to CSSStyleSheet.h
Comment 3 Chris Dumez 2023-09-20 09:09:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17973
Comment 4 EWS 2023-09-20 10:33:37 PDT
Committed 268209@main (c943ba34a565): <https://commits.webkit.org/268209@main>

Reviewed commits have been landed. Closing PR #17973 and removing active labels.
Comment 5 Radar WebKit Bug Importer 2023-09-20 10:34:22 PDT
<rdar://problem/115792174>