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

Console errors in Chrome packaged app when Chrome version is 109 or higher #605

Closed
findsujay opened this issue Feb 15, 2023 · 1 comment
Closed
Labels
problem: bug Something isn't working

Comments

@findsujay
Copy link

Description
We have an Angular app on Angular 10, which loads within a Chrome packaged app. This setup has been running well so far, but ever since Chrome version 109 (specifically, 109.0.5414.125) we are seeing console errors.

The console errors show history.pushState is not available in packaged apps and history.length is not available in packaged apps. Our app does not use either history.pushState or history.length; and we suspect this is being caused because the Angular router is somehow running afoul of the Chrome OS update.

To Reproduce

Expected behavior
Even when using Chrome OS version 109 or higher, there should be no console errors for the provided app.

Desktop (please complete the following information):

  • OS: Chrome OS 109 and higher
  • Browser: This is a packaged app

Additional context
Please note:

  1. The issue does not occur for Chrome OS version 108 and lower.
  2. We are aware that Chrome packaged apps are on their way out. Google has announced they will sunset support for them in 2024 for Chrome OS, and we will be moving to an alternative platform. Until then we need to keep the production app running.
  3. This issue occurs in the latest version of Angular (v15) as well, so Angular version is not an issue. We do plan on upgrading to ng15, but that will not help for this issue.
@findsujay findsujay added the problem: bug Something isn't working label Feb 15, 2023
@Snugug
Copy link
Collaborator

Snugug commented May 12, 2024

Thanks for your feedback here! This issue tracker is for ChromeOS.dev, our developer-focused documentation and news site. This unfortunately doesn't look like it belongs here. If you're looking to report a bug or request a feature for ChromeOS, please report a ChromeOS problem or send feedback instead, or report a ChromeOS bug directly.

@Snugug Snugug closed this as completed May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants