Bug 184989 - NetworkDataTask constructor takes too many arguments
Summary: NetworkDataTask constructor takes too many arguments
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2018-04-25 12:21 PDT by Brent Fulgham
Modified: 2018-04-25 12:22 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2018-04-25 12:21:36 PDT
NetworkDataTask accepts a large number of flags. Since this class is subclassed across various ports, adding or removing flags is tedious and error prone.

This is doubly-annoying, since we generally construct a platform-specific NetworkDataTask by passing the individual elements of a NetworkLoadParameters object.