Relative path handling regression
The various improvements to relative path handling have caused a regression to the previously working example in https://github.com/openlayers/openlayers/issues/12307#issuecomment-840436152. The url obtained via the "View Style" link does not work with OL 6.10.0 or later. The alternative and more understandable url https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer/resources/styles/ continues to work with all versions (as long a the final / is present).
Previously the code contained special handling for the incorrect links in Esri's TileJSON documents. These are now removed. At Esri, they know about the wrong links in their documents. I'm hoping they'll be fixing that soon.
Thanks for the hint about the trailing /. I was not aware of that.