|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by ananta Modified:
4 years, 1 month ago CC:
chromium-reviews, tyoshino+watch_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, loading-reviews_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix for the RedirectTest.ClientServerServer test with browser side navigation.
japhet: Please review blink changes.
jam/nasko: Please review everything
This test does the following:
Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP
redirect followed by another redirect to server2 and then the final URL.
This works correctly in the regular case as individual redirect messages
are passed back to the renderer (blink) where the list is correctly maintained
and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the
url of the referrer which initiated the client side redirect at the head of the list.
With browser side navigation we do pass the server redirect information back to the renderer
in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url
of the referrer which initated the client side redirect is added after the server side
redirect urls as blink just appends the document url (original referrer) to the redirect
list followed by the destination url. Basically the assumption is that blink is always
informed about server side redirects which is not the case with browser side navigation.
Changes in this patch are as below:
1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes
are to ensure that the client redirection flag makes it to the DocumentLoader ctor
This ensures that the redirect list is in the correct order.
BUG=660567
Committed: https://crrev.com/d9062cc1ce0d2fda908c0f8d4e959c12d60d3d90
Cr-Commit-Position: refs/heads/master@{#429207}
Patch Set 1 #Patch Set 2 : Remove debugging code #Patch Set 3 : Use LazyInstance to fix compile failures #Patch Set 4 : Reverted the change to navigation_request.cc as the blink change is enough #Patch Set 5 : Fix presubmit #
Total comments: 2
Patch Set 6 : Move the code to add the document URL to the redirect list in the DocumentLoader ctor #Patch Set 7 : Remove the unused prependRedirect method #Patch Set 8 : Fix bot redness #Patch Set 9 : Fix build error #Patch Set 10 : More build errors #
Total comments: 2
Patch Set 11 : Pass the ClientRedirectPolicy enum instead of the bool flag #Patch Set 12 : Fix build error #Patch Set 13 : More build error fixes #Messages
Total messages: 111 (81 generated)
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=none ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
ananta@chromium.org changed reviewers: + jam@chromium.org, japhet@chromium.org, nasko@chromium.org
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. However the first redirection which happens via a client redirect via a meta tag on the page or via JS is not in this list. Changes in this patch are as below: 1. Add the referrer URL to the redirect list in NavigationRequest when we receive a navigation request with the PAGE_TRANSITION_CLIENT_REDIRECT transition type. We also need to add the ResourceResponse structure in the redirect_response list which is also part of the RequestNavigationParams structure. These lists have to contain the same number of elements failing which there is a DCHECK in the renderer followed by a crash. To send the ResourceResponse back we need to remember the last response which was received I added a static scoped_refptr to the NavigationRequest class which tracks this and is released in the subsequent navigation request. 2. In Blink when the navigation is processed after we receive the CommitNavigation request there is code which adds the document URL (referrer) to the redirect list followed by the final URL. This breaks the PlzNavigate case because the list now looks like client redirect URL->Server 1->Server 2->Client redirect URL->final URL. I changed this code to add the main document URL (referrer) to the front of the list if required. This does not happen in the PlzNavigate case because this code executes before the other redirects are processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the head of the redirect list. This ensures that the redirect list is in the correct order. This does not impact the non PlzNavigate case as this code executes prior to the server redirects getting processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... third_party/WebKit/Source/core/loader/FrameLoader.cpp:1681: m_provisionalDocumentLoader->prependRedirect(m_frame->document()->url()); Why is there another URL in the redirect chain? The m_provisionalDocumentLoader is constructed on 1658 and the m_redirectChain should be empty at this point, which is why just calling appendRedirect should've just worked.
On 2016/10/31 18:45:50, nasko (out until nov 4) wrote: > https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... > File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): > > https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... > third_party/WebKit/Source/core/loader/FrameLoader.cpp:1681: > m_provisionalDocumentLoader->prependRedirect(m_frame->document()->url()); > Why is there another URL in the redirect chain? The m_provisionalDocumentLoader > is constructed on 1658 and the m_redirectChain should be empty at this point, > which is why just calling appendRedirect should've just worked. PlzNavigate adds its redirect chain in the didCreateDataSource() callback, which runs before this point. Actually, could we just move this to the DocumentLoader constructor? That removes the need to add a prependRedirect() method, and we have access to the LocalFrame* there anyway.
https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... third_party/WebKit/Source/core/loader/FrameLoader.cpp:1681: m_provisionalDocumentLoader->prependRedirect(m_frame->document()->url()); On 2016/10/31 18:45:50, nasko (out until nov 4) wrote: > Why is there another URL in the redirect chain? The m_provisionalDocumentLoader > is constructed on 1658 and the m_redirectChain should be empty at this point, > which is why just calling appendRedirect should've just worked. The FrameLoaderClientImpl::createDocumentLoader function internally calls RenderFrameImpl::didCreateDataSource which adds redirects to the list. It is not empty as a result. https://cs.chromium.org/chromium/src/content/renderer/render_frame_impl.cc?q=...
Thanks for the clarifications! I defer to Nate on blink code.
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the head of the redirect list. This ensures that the redirect list is in the correct order. This does not impact the non PlzNavigate case as this code executes prior to the server redirects getting processed. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
On 2016/10/31 19:08:16, Nate Chapin wrote: > On 2016/10/31 18:45:50, nasko (out until nov 4) wrote: > > > https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... > > File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): > > > > > https://codereview.chromium.org/2461043003/diff/80001/third_party/WebKit/Sour... > > third_party/WebKit/Source/core/loader/FrameLoader.cpp:1681: > > m_provisionalDocumentLoader->prependRedirect(m_frame->document()->url()); > > Why is there another URL in the redirect chain? The > m_provisionalDocumentLoader > > is constructed on 1658 and the m_redirectChain should be empty at this point, > > which is why just calling appendRedirect should've just worked. > > PlzNavigate adds its redirect chain in the didCreateDataSource() callback, which > runs before this point. > > Actually, could we just move this to the DocumentLoader constructor? That > removes the need to add a prependRedirect() method, and we have access to the > LocalFrame* there anyway. Updated the patch to add the document url to the redirect list for client side redirects in the DocumentLoader ctor. PTAL
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
LGTM with a nit https://codereview.chromium.org/2461043003/diff/180001/third_party/WebKit/Sou... File third_party/WebKit/Source/core/loader/FrameLoaderClient.h (right): https://codereview.chromium.org/2461043003/diff/180001/third_party/WebKit/Sou... third_party/WebKit/Source/core/loader/FrameLoaderClient.h:174: bool clientRedirect) = 0; Nit: here and throughout, pass the enum instead of the bool?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by ananta@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
The CQ bit was checked by ananta@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from japhet@chromium.org Link to the patchset: https://codereview.chromium.org/2461043003/#ps240001 (title: "More build error fixes")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2461043003/diff/180001/third_party/WebKit/Sou... File third_party/WebKit/Source/core/loader/FrameLoaderClient.h (right): https://codereview.chromium.org/2461043003/diff/180001/third_party/WebKit/Sou... third_party/WebKit/Source/core/loader/FrameLoaderClient.h:174: bool clientRedirect) = 0; On 2016/10/31 23:06:36, Nate Chapin wrote: > Nit: here and throughout, pass the enum instead of the bool? Done.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
ananta@chromium.org changed reviewers: + kbr@chromium.org
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
+kbr for BaseAudioContext.cpp owners. TBR'ing. Will address comments in a followup.
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
cool! I'm not that familiar with this code, and I'm not an owner, so I defer to Nate.
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
BaseAudioContextTest lgtm
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== PlzNavigate: Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was unchecked by ananta@chromium.org
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was unchecked by ananta@chromium.org
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isol...)
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With PlzNavigate we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly with the non plznavigate case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with PlzNavigate. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux ==========
The CQ bit was unchecked by ananta@chromium.org
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Your CL can not be processed by CQ because of: * Failed to parse additional trybots
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 TBR=kbr CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 ==========
The CQ bit was checked by ananta@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 ==========
Message was sent while issue was closed.
Committed patchset #13 (id:240001)
Message was sent while issue was closed.
Description was changed from ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 ========== to ========== Fix for the RedirectTest.ClientServerServer test with browser side navigation. japhet: Please review blink changes. jam/nasko: Please review everything This test does the following: Navigates to a meta tag refreshed page which is refreshed to server 1 via a HTTP redirect followed by another redirect to server2 and then the final URL. This works correctly in the regular case as individual redirect messages are passed back to the renderer (blink) where the list is correctly maintained and is passed back in the FrameHostMsg_DidCommitProvisionalLoad message with the url of the referrer which initiated the client side redirect at the head of the list. With browser side navigation we do pass the server redirect information back to the renderer in the FrameMsg_CommitNavigation IPC message. When the navigation is processed the url of the referrer which initated the client side redirect is added after the server side redirect urls as blink just appends the document url (original referrer) to the redirect list followed by the destination url. Basically the assumption is that blink is always informed about server side redirects which is not the case with browser side navigation. Changes in this patch are as below: 1. Add the document URL for client side redirects to the redirect list in the DocumentLoader ctor. The other changes are to ensure that the client redirection flag makes it to the DocumentLoader ctor This ensures that the redirect list is in the correct order. BUG=660567 Committed: https://crrev.com/d9062cc1ce0d2fda908c0f8d4e959c12d60d3d90 Cr-Commit-Position: refs/heads/master@{#429207} ==========
Message was sent while issue was closed.
Patchset 13 (id:??) landed as https://crrev.com/d9062cc1ce0d2fda908c0f8d4e959c12d60d3d90 Cr-Commit-Position: refs/heads/master@{#429207} |
