Bug 163277 - Remove CachedResourceRequest::mutableResourceRequest
Summary: Remove CachedResourceRequest::mutableResourceRequest
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:
 
Reported: 2016-10-11 07:14 PDT by youenn fablet
Modified: 2016-10-13 03:36 PDT (History)
2 users (show)

See Also:


Attachments
Patch (39.22 KB, patch)
2016-10-11 07:32 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Fixing gtk/efl builds (39.38 KB, patch)
2016-10-11 08:13 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch for landing (38.79 KB, patch)
2016-10-13 03:02 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-10-11 07:14:50 PDT
It should be replaced by releaseResourceRequest and new CachedResourceRequest methods to alter the request.
This will allow easier-to-read code within CachedResourceLoader.
This will also make more sense if we plan to add CachedResourceRequest::m_isCrossOrigin as envisioned in bug 163103.
Comment 1 youenn fablet 2016-10-11 07:32:59 PDT
Created attachment 291256 [details]
Patch
Comment 2 WebKit Commit Bot 2016-10-11 07:34:58 PDT
Attachment 291256 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/cache/CachedResourceRequest.cpp:145:  When wrapping a line, only indent 4 spaces.  [whitespace/indent] [3]
Total errors found: 1 in 16 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 youenn fablet 2016-10-11 08:13:04 PDT
Created attachment 291258 [details]
Fixing gtk/efl builds
Comment 4 WebKit Commit Bot 2016-10-11 08:14:52 PDT
Attachment 291258 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/cache/CachedResourceRequest.cpp:147:  When wrapping a line, only indent 4 spaces.  [whitespace/indent] [3]
Total errors found: 1 in 16 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 WebKit Commit Bot 2016-10-12 11:17:38 PDT
Comment on attachment 291258 [details]
Fixing gtk/efl builds

Rejecting attachment 291258 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 291258, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
oader/cache/CachedResourceRequest.cpp
patching file Source/WebCore/loader/cache/CachedResourceRequest.h
patching file Source/WebCore/loader/icon/IconLoader.cpp
patching file Source/WebCore/platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp
patching file Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Sam Weinig']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/2271681
Comment 6 youenn fablet 2016-10-13 03:02:49 PDT
Created attachment 291470 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2016-10-13 03:36:52 PDT
Comment on attachment 291470 [details]
Patch for landing

Clearing flags on attachment: 291470

Committed r207281: <http://trac.webkit.org/changeset/207281>
Comment 8 WebKit Commit Bot 2016-10-13 03:36:55 PDT
All reviewed patches have been landed.  Closing bug.