Bug 229845

Summary: Fix for debug mode with ENABLE_SERVICE_WORKER=OFF after r281706
Product: WebKit Reporter: Stephan Szabo <stephan.szabo>
Component: WebKit Misc.Assignee: Stephan Szabo <stephan.szabo>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, don.olmstead, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Stephan Szabo 2021-09-02 18:52:41 PDT
There's an ASSERT that used m_serviceWorkerFetchTask outside of an #if ENABLE(SERVICE_WORKER) block.
Comment 1 Stephan Szabo 2021-09-02 18:57:50 PDT
Created attachment 437231 [details]
Patch

I'm not sure stylistically how we want to handle cases like this, so just put the only sometimes enabled bit on its own inside the if and made the assert go across lines.
Comment 2 EWS 2021-09-03 09:14:37 PDT
Committed r281998 (241305@main): <https://commits.webkit.org/241305@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437231 [details].
Comment 3 Radar WebKit Bug Importer 2021-09-03 09:15:26 PDT
<rdar://problem/82726075>