RESOLVED FIXED 183865
Move request checking out of PingLoad for future reuse in NetworkLoad
https://bugs.webkit.org/show_bug.cgi?id=183865
Summary Move request checking out of PingLoad for future reuse in NetworkLoad
youenn fablet
Reported 2018-03-21 13:11:03 PDT
Move request checking out of PingLoad for future reuse in NetworkLoad
Attachments
Patch (47.30 KB, patch)
2018-03-21 13:27 PDT, youenn fablet
no flags
Patch (47.33 KB, patch)
2018-03-21 13:38 PDT, youenn fablet
no flags
Patch (45.77 KB, patch)
2018-03-21 13:50 PDT, youenn fablet
no flags
Patch (45.78 KB, patch)
2018-03-21 13:52 PDT, youenn fablet
no flags
Patch (44.32 KB, patch)
2018-03-23 10:06 PDT, youenn fablet
no flags
Archive of layout-test-results from ews115 for mac-sierra (2.85 MB, application/zip)
2018-03-23 12:02 PDT, EWS Watchlist
no flags
Patch for landing (44.38 KB, patch)
2018-03-27 14:14 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2018-03-21 13:27:18 PDT
Radar WebKit Bug Importer
Comment 2 2018-03-21 13:28:03 PDT
youenn fablet
Comment 3 2018-03-21 13:38:56 PDT
Alex Christensen
Comment 4 2018-03-21 13:42:29 PDT
Comment on attachment 336227 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336227&action=review > Source/WebKit/NetworkProcess/NetworkCORSPreflightChecker.cpp:84 > - m_completionCallback(Result::Failure); > + returnResult(Result::Failure); CompletionHandlers null themselves out when called, so these changes are redundant with the change in NetworkCORSPreflightChecker.h
youenn fablet
Comment 5 2018-03-21 13:50:20 PDT
youenn fablet
Comment 6 2018-03-21 13:52:46 PDT
Daniel Bates
Comment 7 2018-03-21 18:25:46 PDT
Comment on attachment 336232 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336232&action=review > Source/WebKit/ChangeLog:16 > + Fixed a bug in PingLoad to ensure that credentials are not sent when going from a third-party Would it be straightforward to separate out this change into its own bug? If so, I suggest we do so and keeps this patch focused on the refactoring and correctness of the refactoring. The benefit of this approach is that in the event that the refactoring causes a regression we can roll it out without rolling out the bug fix. It would also enable us to take only the bug fix on a branch if desired.
youenn fablet
Comment 8 2018-03-21 20:19:00 PDT
(In reply to Daniel Bates from comment #7) > Comment on attachment 336232 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=336232&action=review > > > Source/WebKit/ChangeLog:16 > > + Fixed a bug in PingLoad to ensure that credentials are not sent when going from a third-party > > Would it be straightforward to separate out this change into its own bug? If > so, I suggest we do so and keeps this patch focused on the refactoring and > correctness of the refactoring. The benefit of this approach is that in the > event that the refactoring causes a regression we can roll it out without > rolling out the bug fix. It would also enable us to take only the bug fix on > a branch if desired. I can prepare the bug fix patch tomorrow. I don't think this changes much of the review of this patch though. Putting it in r? for now.
youenn fablet
Comment 9 2018-03-23 10:06:52 PDT
EWS Watchlist
Comment 10 2018-03-23 12:02:07 PDT
Comment on attachment 336383 [details] Patch Attachment 336383 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7076399 New failing tests: media/modern-media-controls/tracks-panel/tracks-panel-hide-esc-key.html
EWS Watchlist
Comment 11 2018-03-23 12:02:08 PDT
Created attachment 336401 [details] Archive of layout-test-results from ews115 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-sierra Platform: Mac OS X 10.12.6
youenn fablet
Comment 12 2018-03-23 16:54:09 PDT
Comment on attachment 336383 [details] Patch Test failure is unrelated
Chris Dumez
Comment 13 2018-03-27 09:34:47 PDT
Comment on attachment 336383 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336383&action=review r=me with tiny nit. > Source/WebKit/NetworkProcess/NetworkCORSPreflightChecker.h:50 > + enum class Result { Success, Failure, Cancelled }; We prefer Canceled with 1 'l'.
youenn fablet
Comment 14 2018-03-27 14:14:56 PDT
Created attachment 336617 [details] Patch for landing
WebKit Commit Bot
Comment 15 2018-03-27 16:26:40 PDT
Comment on attachment 336617 [details] Patch for landing Clearing flags on attachment: 336617 Committed r230014: <https://trac.webkit.org/changeset/230014>
WebKit Commit Bot
Comment 16 2018-03-27 16:26:42 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.