mapbox-gl-js version: v1.5.0
browser: Chrome Canary v80.0.3977.0
https://docs.mapbox.com/mapbox-gl-js/example/simple-map/
Uncaught DOMException: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': ArrayBuffer at index 59 could not be transferred.
at a (blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:294044)
at blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:349126
at o.L (blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:346699)
at blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:346086
at Fu.process (blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:293928)
at MessagePort.Vu.MessageChannel._channel.port2.onmessage (blob:https://docs.mapbox.com/b78f2a61-03c1-407d-8d75-2d354d3a65c1:1:292300)


I have the same problem using Kepler.gl.
My hunch is that this is not a library issue, but something has changed in Chrome which prevents it to connect to the tile server and the worker cannot load the tiles any more.
Confirmed, investigating. Thanks for catching this!
All the errors happen when trying to transfer an zero-length array. Submitting a PR with a quick fix.
Here's a corresponding Chromium bug — please star it to indicate its importance to the Chromium team. Hopefully it will be fixed before this hits beta channel so we won't have to do lots of patch releases retroactively for previous minor versions.
This got fixed on the Chromium side. 🎉
Most helpful comment
Here's a corresponding Chromium bug — please star it to indicate its importance to the Chromium team. Hopefully it will be fixed before this hits beta channel so we won't have to do lots of patch releases retroactively for previous minor versions.