Bug 162260 - [Fetch] Align Accept header default values with fetch spec
Summary: [Fetch] Align Accept header default values with fetch spec
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: 162151
  Show dependency treegraph
 
Reported: 2016-09-20 00:29 PDT by youenn fablet
Modified: 2016-09-21 02:58 PDT (History)
4 users (show)

See Also:


Attachments
Patch (17.87 KB, patch)
2016-09-20 01:07 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch for landing (17.90 KB, patch)
2016-09-21 02:25 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-09-20 00:29:39 PDT
Step 3 of https://fetch.spec.whatwg.org/#fetching
Comment 1 youenn fablet 2016-09-20 01:07:39 PDT
Created attachment 289336 [details]
Patch
Comment 2 youenn fablet 2016-09-20 07:03:39 PDT
Comment on attachment 289336 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=289336&action=review

> Source/WebCore/loader/cache/CachedResourceLoader.cpp:602
> +        return ASCIILiteral("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");

This string is also present in FrameLoader.
A follow-up refactoring should help coordinate this value and FrameLoader's value.
Comment 3 youenn fablet 2016-09-21 02:25:03 PDT
Created attachment 289438 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2016-09-21 02:58:31 PDT
Comment on attachment 289438 [details]
Patch for landing

Clearing flags on attachment: 289438

Committed r206206: <http://trac.webkit.org/changeset/206206>
Comment 5 WebKit Commit Bot 2016-09-21 02:58:36 PDT
All reviewed patches have been landed.  Closing bug.