Bug 237463

Summary: WebGL game tankionline.com/play doesn't seem to work
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, dino, karlcow, kbr, kkinnunen, webkit-bug-importer, wilander
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 237458    

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>