Bug 155440 - [Fetch API] FetchLoader should check for empty bodies
Summary: [Fetch API] FetchLoader should check for empty bodies
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks: 151937
  Show dependency treegraph
 
Reported: 2016-03-14 09:52 PDT by youenn fablet
Modified: 2016-03-14 13:13 PDT (History)
1 user (show)

See Also:


Attachments
Patch (9.86 KB, patch)
2016-03-14 10:02 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch for landing (9.84 KB, patch)
2016-03-14 10:20 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2016-03-14 09:52:26 PDT
FetchLoader should check that m_data is not null before using it when loading is finishing.
Comment 1 youenn fablet 2016-03-14 10:02:07 PDT
Created attachment 273984 [details]
Patch
Comment 2 youenn fablet 2016-03-14 10:20:52 PDT
Created attachment 273985 [details]
Patch for landing
Comment 3 youenn fablet 2016-03-14 10:21:35 PDT
(In reply to comment #2)
> Created attachment 273985 [details]
> Patch for landing

I updated the newly added tests, to be aligned with the ones uploaded in WPT.
Comment 4 WebKit Commit Bot 2016-03-14 13:13:17 PDT
Comment on attachment 273985 [details]
Patch for landing

Clearing flags on attachment: 273985

Committed r198151: <http://trac.webkit.org/changeset/198151>
Comment 5 WebKit Commit Bot 2016-03-14 13:13:20 PDT
All reviewed patches have been landed.  Closing bug.