| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <head> | |
| 3 <title>Performance Paint Timing Test</title> | |
| 4 </head> | |
| 5 <body> | |
| 6 <script src="../../resources/testharness.js"></script> | |
| 7 <script src="../../resources/testharnessreport.js"></script> | |
| 8 <script> | |
| 9 async_test(function(t) { | |
| 10 var observer = new PerformanceObserver( | |
| 11 t.step_func(function (entryList) { | |
| 12 assert_unreached("no paint entries should be observed"); | |
| 13 }) | |
| 14 ); | |
| 15 observer.observe({entryTypes: ["paint"]}); | |
| 16 | |
| 17 t.step_timeout(function() { t.done(); }, 1000); | |
| 18 }, "No paint entries are observable, as nothing is painted."); | |
| 19 </script> | |
| 20 | |
| 21 <div><!--Nothing to paint--></div> | |
| 22 </body> | |
| 23 </html> | |
| OLD | NEW |