-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[De-AMP] JS navigations from canonical -> AMP cause redirect loop #23320
Comments
This will go out in the next |
Verification
Verification PASSED on
Went through all the STR/Cases (specifically the websites being listed) via brave/brave-core#13674 (comment) and ensured that all the websites mentioned loaded without running into any looping issues. |
Verification PASSED on
Went through all the STR/Cases (specifically the websites being listed) via brave/brave-core#13674 (comment) and ensured that all the websites mentioned loaded without running into any looping issues.
|
Example |
Example |
---|---|
de-amp
disabled
Example |
Example |
---|---|
Verification PASSED on PopOS 22.04 x64
using the following build(s):
Brave | 1.40.105 Chromium: 103.0.5060.53 (Official Build) (64-bit)
--- | ---
Revision | a1711811edd74ff1cf2150f36ffa3b0dae40b17f-refs/branch-heads/5060@{#853}
OS | Linux
Went through all the STR/Cases (specifically the websites being listed) via brave/brave-core#13674 (comment) and ensured that all the websites mentioned loaded without running into any looping issues.
de-amp
enabled
Example |
Example |
---|---|
de-amp
disabled
Example |
Example |
---|---|
Verification PASSED on macOS 12.4 Monterey x64
using the following build(s):
Brave | 1.40.105 Chromium: 103.0.5060.53 (Official Build) (x86_64)
--- | ---
Revision | a1711811edd74ff1cf2150f36ffa3b0dae40b17f-refs/branch-heads/5060@{#853}
OS | macOS Version 12.4 (Build 21F79)
Went through all the STR/Cases (specifically the websites being listed) via brave/brave-core#13674 (comment) and ensured that all the websites mentioned loaded without running into any looping issues.
de-amp
enabled
Example |
Example |
---|---|
de-amp
disabled
Example |
Example |
---|---|
Description
Some canonical pages manipulate
window.location
to direct a site back to the AMP page. We should catch when this is happening and stop De-AMPing.Steps to Reproduce
Actual result:
Redirect loop
Expected result:
Not a loop, we should stop either on canonical page or AMP page.
Reproduces how often:
Easily
The issue here is that it's not technically a redirect that we can check for throttle-side. The page load for the canonical page completed successfully, and then the page is navigated away to the AMP page.
The text was updated successfully, but these errors were encountered: