| <title>CSS subresources of an opaque stylesheet should not populate resource timing entries</title> |
| <script src=/resources/testharness.js></script> |
| <script src=/resources/testharnessreport.js></script> |
| <link href='http://localhost:8080/security/resources/loading-subresources.css' rel='stylesheet' type='text/css'> |
| <div id="mydiv" style="font: 12px 'ahem'">Test</div> |
| internals.clearMemoryCache(); |
| internals.invalidateFontCache(); |
| const waitOnLoad = new Promise((resolve) => { |
| document.fonts.ready.then(async () => { |
| performance.getEntries().map(obj => { |
| assert_false(obj.name.includes('imported-loading-subresources.css'), "import"); |
| assert_false(obj.name.includes('Ahem.woff'), "font"); |
| assert_false(obj.name.includes('abe-allow-star.php?image'), "image"); |
| assert_false(obj.name.includes('abe-allow-star.php?cursor'), "cursor"); |