[openstreetmap/openstreetmap-website] JavaScript test errors/AllowWebgl2:false restricts context creation on this system (Issue #6769)

Eric Theise notifications at github.com
Mon Feb 2 21:26:50 UTC 2026


erictheise created an issue (openstreetmap/openstreetmap-website#6769)

### Problem

Downstream at OpenHistoricalMap I'm trying to resolve JavaScript test failures related to `OSM .locationCookie`. They're due to `AllowWebgl2:false restricts context creation on this system` errors which seem to have arisen in Firefox in 2023 but also seem to have been addressed here and elsewhere. I'm trying to close the gap between our fork and `openstreetmap-website` and wonder if you recall dealing with these errors. A simple search here on `Webgl2` doesn't turn up anything related. 

```
  1) OSM .locationCookie creates a location cookie value
     Failure/Error: {"requestedAttributes":{"antialias":false,"preserveDrawingBuffer":false,"powerPreference":"high-performance","failIfMajorPerformanceCaveat":false,"desynchronized":false,"alpha":true,"depth":true,"stencil":true,"premultipliedAlpha":true},"statusMessage":"WebGL creation failed: \n* AllowWebgl2:false restricts context creation on this system. ()","type":"webglcontextcreationerror","message":"Failed to initialize WebGL"}

  2) OSM .locationCookie respects zoomPrecision
     Failure/Error: Map container is already initialized.

Finished in 0.16900 seconds
58 examples, 2 failures
```


### Description

_No response_

### Screenshots

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6769
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6769 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260202/6a69cb43/attachment.htm>


More information about the rails-dev mailing list