RESOLVED FIXED 176241
Do not Reject CacheStorage promises when updating the persistent filesystem data fails
https://bugs.webkit.org/show_bug.cgi?id=176241
Summary Do not Reject CacheStorage promises when updating the persistent filesystem d...
youenn fablet
Reported 2017-09-01 12:33:08 PDT
Instead, log an error in the console.
Attachments
Patch (12.49 KB, patch)
2017-09-01 12:43 PDT, youenn fablet
no flags
Patch (12.57 KB, patch)
2017-09-01 13:01 PDT, youenn fablet
no flags
Patch for landing (12.43 KB, patch)
2017-09-01 15:27 PDT, youenn fablet
no flags
Patch for landing (12.60 KB, patch)
2017-09-01 15:58 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2017-09-01 12:43:52 PDT
youenn fablet
Comment 2 2017-09-01 13:01:21 PDT
Alex Christensen
Comment 3 2017-09-01 15:00:33 PDT
Comment on attachment 319635 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319635&action=review > Source/WebCore/Modules/cache/DOMCacheEngine.h:88 > + template<class Decoder> static bool decode(Decoder&, CacheIdentifierOperationResult&); This could return a std::optional<CacheIdentifierOperationResult>
youenn fablet
Comment 4 2017-09-01 15:14:39 PDT
Thanks for the review. (In reply to Alex Christensen from comment #3) > Comment on attachment 319635 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=319635&action=review > > > Source/WebCore/Modules/cache/DOMCacheEngine.h:88 > > + template<class Decoder> static bool decode(Decoder&, CacheIdentifierOperationResult&); > > This could return a std::optional<CacheIdentifierOperationResult> Yes, I plan to update these two decoders to the modern ones. Note though that in the case it might be end up in more lines of code.
WebKit Commit Bot
Comment 5 2017-09-01 15:16:05 PDT
Comment on attachment 319635 [details] Patch Rejecting attachment 319635 [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-01', 'apply-attachment', '--no-update', '--non-interactive', 319635, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ebCore/Modules/cache/DOMCacheEngine.h patching file Source/WebCore/Modules/cache/WorkerCacheStorageConnection.cpp patching file Source/WebKit/NetworkProcess/cache/CacheStorageEngine.cpp patching file Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.cpp patching file Source/WebKit/NetworkProcess/cache/CacheStorageEngineCaches.h Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Alex Christensen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/4429024
youenn fablet
Comment 6 2017-09-01 15:27:46 PDT
Created attachment 319654 [details] Patch for landing
youenn fablet
Comment 7 2017-09-01 15:58:45 PDT
Created attachment 319659 [details] Patch for landing
WebKit Commit Bot
Comment 8 2017-09-01 16:28:13 PDT
Comment on attachment 319659 [details] Patch for landing Clearing flags on attachment: 319659 Committed r221506: <http://trac.webkit.org/changeset/221506>
WebKit Commit Bot
Comment 9 2017-09-01 16:28:14 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2017-09-27 12:39:50 PDT
Note You need to log in before you can comment on or make changes to this bug.