uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.57k stars 86 forks source link

cos-map.com: Map doesn't load #1561

Closed Vandino86 closed 1 month ago

Vandino86 commented 1 month ago

Preliminary checklist

Can the bug be reproduced with corresponding Chromium version?

No

Are you sure?

No

Cromite version

129.0.6668.101

Device architecture

arm64-v8a

Platform version

Android 12.0

Android Device model

Samsung Galaxy A52 5G (SM-A526U1)

Is the device rooted?

No

Changed flags

No flags changed that I know of.

Is this bug happening ONLY in an incognito tab?

No

Is this bug caused by the adblocker?

No

Is this bug a crash?

No.

Describe the bug

Cos-Map (cos-map.com) is a website that displays a map showing locations for cosplay photoshoots. On Cromite 129.0.6668.101, the site itself loads, but the map does not. It just gives me an infinite loading screen on both Incognito and non-Incognito tabs. Enabling Javascript JIT, Webgl, and WebRTC didn't fix this. The map loads up fine in Iceraven 2.24.1 in both Private and non-Private tabs. Note that the actual site url is https://experience.arcgis.com/experience/05bc16a4bba44a7c9380fafd2d364407/page/Home/ (https://cos-map.com simply redirects to that URL).

I'd test this on Chromium 129.0.6668.101, but I'm struggling to find an APK of it. I tested this in Chromium 132.0.6780.0 on both an Incognito and non-Incognito tabs and the map and pins loaded fine.

Steps to reproduce the bug

  1. In Cromite 129.0.6668.101 (arm64-v8a), navigate to https://cos-map.com OR https://experience.arcgis.com/experience/05bc16a4bba44a7c9380fafd2d364407/page/Home/ if you really want to skip the redirect for some reason.
  2. Check "I understand this app is a work-in-progress".
  3. Tap OK.
  4. The map will be stuck on the loading screen forever as shown in the "Sceenshots" section (dark mode).

Expected behavior

The map loads and all the pins indicating cosplay photoshoot locations appear on the map in the right places.

Screenshots

Screenshot_20241016-101103

uazo commented 1 month ago

the error is:

Uncaught SecurityError: Failed to execute 'getGamepads' on 'Navigator': Access to the feature "gamepad" is denied

you can modify that behaviour with the Restrict gamepad access flag in chrome://flags/cromite

Vandino86 commented 1 month ago

the error is:

Uncaught SecurityError: Failed to execute 'getGamepads' on 'Navigator': Access to the feature "gamepad" is denied

you can modify that behaviour with the Restrict gamepad access flag in chrome://flags/cromite

Thanks for the advice, but this alone didn't fix my issue. I also had to enable Webgl for the site to get past the map loading screen. And even then, the map itself doesn't load (it's just a black background), but the pins and other map buttons do: Enabling Javascript JIT for the site fixed this. The map is now working and visible on Cromite just like how it is on Iceraven. 👍