(hrefs)
| 387 | } |
| 388 | |
| 389 | function errorStylesheets(hrefs) { |
| 390 | const event = new window.Event('error'); |
| 391 | const nodes = document.querySelectorAll('link[rel="stylesheet"]'); |
| 392 | resolveLoadables(hrefs, nodes, event, href => { |
| 393 | Scheduler.log('error stylesheet: ' + href); |
| 394 | }); |
| 395 | } |
| 396 | |
| 397 | function resolveLoadables(hrefs, nodes, event, onLoad) { |
| 398 | const hrefSet = hrefs ? new Set(hrefs) : null; |
no test coverage detected