Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html

Issue 2932593002: Attempt 2: Update PaintTiming Web Perf APIs for FP & FCP to report swap time (Closed)
Patch Set: fix punctuation Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698