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

www.reddit.com - rely on a shim for navigation api which is not working #136535

Open
karlcow opened this issue May 2, 2024 — with webcompat-app · 5 comments
Open

www.reddit.com - rely on a shim for navigation api which is not working #136535

karlcow opened this issue May 2, 2024 — with webcompat-app · 5 comments
Assignees
Labels
action-needs-knowledgebase A Knowledge Base entry should be added or updated to reflect this issue action-needssitepatch This web bug needs a GoFaster site patch. browser-firefox browser-safari diagnosis-priority-p1 engine-gecko The browser uses the Gecko rendering engine priority-critical status-needsinfo-denschub ping @denschub

Comments

@karlcow
Copy link
Member

karlcow commented May 2, 2024

URL: https://www.reddit.com/r/worldnews/comments/1chctrn/rworldnews_live_thread_russian_invasion_of/

Browser / Version: Firefox 127.0
Operating System: Mac OS X 10.15
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: URL change without user request
Steps to Reproduce:

  1. Go to https://www.reddit.com/r/worldnews/comments/1chctrn/rworldnews_live_thread_russian_invasion_of/
  2. Click on the Open button just below the title
  3. A new tab is opening with the URL https://www.reddit.com/live/18hnzysb1elcs
  4. Go back to the initial tab, and check the URL

Expected:
URL should be https://www.reddit.com/r/worldnews/comments/1chctrn/rworldnews_live_thread_russian_invasion_of/

Actual:
URL has changed to the same URL than the new tab.
aka https://www.reddit.com/live/18hnzysb1elcs

This is happening in both Safari and Firefox.
This is not happening in Chrome.

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.software: false
  • blockList: basic
  • channel: nightly
  • defaultUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
  • hasTouchScreen: false
  • frameworks: {'fastclick': False, 'mobify': False, 'marfeel': False}
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone May 2, 2024
@webcompat-bot webcompat-bot added browser-firefox priority-critical engine-gecko The browser uses the Gecko rendering engine labels May 2, 2024
@karlcow karlcow modified the milestones: needstriage, needsdiagnosis May 2, 2024
@karlcow
Copy link
Member Author

karlcow commented May 2, 2024

I have the feeling this is because reddit.com is using window.navigation non standard API.
They rely on a polyfill but which itself has its own limitations.
virtualstate/navigation#27

@karlcow
Copy link
Member Author

karlcow commented May 2, 2024

@karlcow
Copy link
Member Author

karlcow commented May 2, 2024

tracked by rdar://117546597 at Apple

@denschub denschub added action-needssitepatch This web bug needs a GoFaster site patch. diagnosis-priority-p1 action-needs-knowledgebase A Knowledge Base entry should be added or updated to reflect this issue status-needsinfo-denschub ping @denschub labels May 6, 2024
@au5ton
Copy link

au5ton commented May 29, 2024

window.navigation is a standard API that is part of the HTML spec, other engines just haven't implemented it yet

@karlcow
Copy link
Member Author

karlcow commented Jul 30, 2024

@karlcow karlcow changed the title www.reddit.com - see bug description www.reddit.com - rely on a shim for navigation api which is not working Jul 30, 2024
@karlcow karlcow self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action-needs-knowledgebase A Knowledge Base entry should be added or updated to reflect this issue action-needssitepatch This web bug needs a GoFaster site patch. browser-firefox browser-safari diagnosis-priority-p1 engine-gecko The browser uses the Gecko rendering engine priority-critical status-needsinfo-denschub ping @denschub
Projects
None yet
Development

No branches or pull requests

4 participants