Bug 237463 - WebGL game tankionline.com/play doesn't seem to work
Summary: WebGL game tankionline.com/play doesn't seem to work
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks: 237458
  Show dependency treegraph
 
Reported: 2022-03-04 01:01 PST by Kimmo Kinnunen
Modified: 2022-10-25 18:57 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2022-03-04 01:01:14 PST
WebGL game tankionline.com/play doesn't seem to work due to cross-origin problems

Unrecognized Content-Security-Policy directive 'require-trusted-types-for' when loading tankionline.com

[Error] Fetch API cannot load https://sentry.tankionline.com/api/28/store/?sentry_key=c18bef40c0974ac29ad2915d2c66beb1&sentry_version=7 due to access control checks.
[Error] Failed to load resource: Origin https://tankionline.com is not allowed by Access-Control-Allow-Origin. Status code: 429 (store, line 0)
[Error] Origin https://tankionline.com is not allowed by Access-Control-Allow-Origin. Status code: 429
[Error] Fetch API cannot load https://sentry.tankionline.com/api/28/store/?sentry_key=c18bef40c0974ac29ad2915d2c66beb1&sentry_version=7 due to access control checks.
Comment 1 Kimmo Kinnunen 2022-03-07 02:44:22 PST
The calls to store seem to fail with cross-origin error.
It is possible that this error comes due to the service replying store/?sentry_key request with 429, too many requests, and the error page does not have the correct cross-origin headers.

Chrome doesn't seem to request store/?sentry
Firefox seems to request it once.

Why does Safari request it so many times?

Safari also has following error 9 times:
 [Error] Unhandled Promise Rejection: EncodingError: Decoding failed
	(anonymous function)
	rejectPromise

It is possible that this error is due to some audio breakage, e.g. web audio cannot decode a file that was requested. This error would trigger the store/? ... request until that store starts to respond with 429.
Comment 2 Radar WebKit Bug Importer 2022-03-11 01:02:17 PST
<rdar://problem/90149347>