Summary: | [WK2][NetworkSession] Ping requests should follow redirects if applicable | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||
Component: | WebKit2 | Assignee: | Daniel Bates <dbates> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar, WebExposed | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Mac | ||||||
OS: | macOS 10.12 | ||||||
Bug Depends on: | 162520 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Daniel Bates
2016-09-26 15:32:09 PDT
Created attachment 290020 [details]
Patch and Layout Tests
Patch does not apply because it depends on the change to class NetworkLoadParameters in the patch for bug #162520. Comment on attachment 290020 [details] Patch and Layout Tests View in context: https://bugs.webkit.org/attachment.cgi?id=290020&action=review > LayoutTests/http/tests/contentextensions/hide-on-ping-with-ping-that-redirects.html:30 > + // FIXME: Is there are better way to test that a redirect occurred? See my comment in https://bugs.webkit.org/show_bug.cgi?id=162520 (In reply to comment #3) > Comment on attachment 290020 [details] > Patch and Layout Tests > > View in context: > https://bugs.webkit.org/attachment.cgi?id=290020&action=review > > > LayoutTests/http/tests/contentextensions/hide-on-ping-with-ping-that-redirects.html:30 > > + // FIXME: Is there are better way to test that a redirect occurred? > > See my comment in https://bugs.webkit.org/show_bug.cgi?id=162520 Filed bug #162968 to implement a polling approach. Committed r206810: <http://trac.webkit.org/changeset/206810> Renamed test anchor-ping-and-do-not-follow-redirect-when-sending-ping.html to anchor-ping-and-follow-redirect-when-sending-ping.html to reflect what it is actually testing - that we follow a redirect when sending a ping for a <a ping> and modified save-ping-and-redirect-to-save-ping.php to only append the query string if we have a non-empty query string to avoid appending a superfluous "?" on redirect when the query string is the empty string. Committed these changes in <http://trac.webkit.org/changeset/206813>. |