(hrefs)
| 367 | } |
| 368 | |
| 369 | function errorPreloads(hrefs) { |
| 370 | const event = new window.Event('error'); |
| 371 | const nodes = document.querySelectorAll('link[rel="preload"]'); |
| 372 | resolveLoadables(hrefs, nodes, event, href => |
| 373 | Scheduler.log('error preload: ' + href), |
| 374 | ); |
| 375 | } |
| 376 | |
| 377 | function loadStylesheets(hrefs) { |
| 378 | loadStylesheetsFrom(document, hrefs); |
no test coverage detected