Created attachment 468689 [details] Safari 17.0 (working) The Google Maps JavaScript API reads the nonce value of an existing <style> or <link rel="stylesheet"> in order to inject more stylesheets with the same nonce. This worked in Safari 17.0 Starting in Safari 17.1, we are unable to read the nonce value in JS anymore, causing the Google Maps JavaScript API to render incorrectly on websites. Here is a test page reported by one of our customers: https://maps-bug-1a422.web.app/index.html (We do the same thing for <script> elements, and that still works.)
Created attachment 468690 [details] Safari 17.1 (not working)
test JS snippet: document.querySelector('style[nonce],link[rel="stylesheet"][nonce]').nonce should return he nonce value
Apologies, I think something went pinky in my Safari 17.0 tests. Now I *can repro* it there. I'm going to close this and open anew bug that is clearer.