Timing out with the error: null is not an object (evaluating 'opener.t1')
<rdar://problem/84437936>
Without unsafe-hashes CSP option, loading fonts in non blocking way while keeping up with CSP is not possible. https://css-tricks.com/how-to-load-fonts-in-a-way-that-fights-fout-and-makes-lighthouse-happy/#aa-the-optimal-way-to-load-fonts <!-- We use the full link to the CSS file in the rest of the tags --> <link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" media="print" onload="this.media='all'" />
(In reply to justas543 from comment #2) > Without unsafe-hashes CSP option, loading fonts in non blocking way while > keeping up with CSP is not possible. > > https://css-tricks.com/how-to-load-fonts-in-a-way-that-fights-fout-and-makes- > lighthouse-happy/#aa-the-optimal-way-to-load-fonts > > <!-- We use the full link to the CSS file in the rest of the tags --> > <link rel="preload" > as="style" > > href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" /> > > <link rel="stylesheet" > > href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" > media="print" onload="this.media='all'" /> Hi! We added support for unsafe-hashes in Safari 15.4 (https://developer.apple.com/documentation/safari-release-notes/safari-15_4-release-notes). If you're experiencing unexpected behavior, could you file a separate bug on bugs.webkit.org about it? This particular bug tracks a failing test and is not the best place to handle a different issue. Thanks!