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

Stephan Szabo
Reported 2021-09-02 18:52:41 PDT
There's an ASSERT that used m_serviceWorkerFetchTask outside of an #if ENABLE(SERVICE_WORKER) block.
Attachments
Patch (1.61 KB, patch)
2021-09-02 18:57 PDT, Stephan Szabo
no flags
Stephan Szabo
Comment 1 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.
EWS
Comment 2 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].
Radar WebKit Bug Importer
Comment 3 2021-09-03 09:15:26 PDT
Note You need to log in before you can comment on or make changes to this bug.