Skip to content
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 shouldn't apply for non-HTML pages #37406

Closed
ShivanKaul opened this issue Apr 8, 2024 · 2 comments · Fixed by brave/brave-core#22978
Closed

De-AMP shouldn't apply for non-HTML pages #37406

ShivanKaul opened this issue Apr 8, 2024 · 2 comments · Fixed by brave/brave-core#22978

Comments

@ShivanKaul
Copy link
Collaborator

We shouldn't attempt to De-AMP pages that are not HTML. This was reported internally.

@stephendonner
Copy link

Verified PASSED using

Brave | 1.67.52 Chromium: 124.0.6367.91 (Official Build) nightly (x86_64)
-- | --
Revision | a368a1ab342f0a5d4dee4db3f2699f7d02579247
OS | macOS Version 11.7.10 (Build 20G1427)

Steps:

  1. installed 1.67.52
  2. launched Brave
  3. loaded https://shivankaul.com/brave/de-amp/test-content-type-text.txt
  4. confirmed Auto-redirect AMP pages in brave://settings/privacy

Confirmed page rendered as-is, rather than redirecting to brave.com

example example
Screen Shot 2024-04-30 at 3 01 35 PM Screen Shot 2024-04-30 at 3 04 37 PM
@hffvld hffvld added the QA/In-Progress Indicates that QA is currently in progress for that particular issue label Jun 3, 2024
@hffvld
Copy link
Contributor

hffvld commented Jun 4, 2024

Verified on Pixel 7 using version(s):

Device/OS: Pixel 7 / panther_beta-user 14 AP31.240426.023.B4 release-keys
Brave build: 1.67.100
Chromium: 125.0.6422.112 (Official Build) beta (64-bit) 

STEPS:

  1. Launch Brave
  2. Go to https://shivankaul.com/brave/de-amp/test-content-type-text.txt
  3. Verify

ACTUAL RESULTS:


1 2 3
1 2 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment