Bug 225879 - Null check m_resource in SubresourceLoader::didReceiveResponse
Summary: Null check m_resource in SubresourceLoader::didReceiveResponse
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
Keywords: InRadar
Depends on:
Reported: 2021-05-17 10:48 PDT by Alex Christensen
Modified: 2021-05-17 13:27 PDT (History)
5 users (show)

See Also:

Patch (3.70 KB, patch)
2021-05-17 11:02 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (1.86 KB, patch)
2021-05-17 12:17 PDT, Alex Christensen
cdumez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2021-05-17 10:48:49 PDT
Null check m_resource in SubresourceLoader::didReceiveResponse
Comment 1 Alex Christensen 2021-05-17 11:02:12 PDT
Created attachment 428845 [details]
Comment 2 Alex Christensen 2021-05-17 11:02:15 PDT
Comment 3 Alex Christensen 2021-05-17 11:44:30 PDT
Comment 4 Geoffrey Garen 2021-05-17 11:59:24 PDT
Let's do a debug ASSERT and a RELEASE_LOG_FAULT for the null resource condition, since we do not believe it is valid, and continuing might sometimes end in mysterious loading bugs.
Comment 5 Alex Christensen 2021-05-17 12:17:37 PDT
Reopening to attach new patch.
Comment 6 Alex Christensen 2021-05-17 12:17:38 PDT
Created attachment 428854 [details]
Comment 7 Alex Christensen 2021-05-17 13:27:26 PDT