| Index: third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html b/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a21b6871a8f14cde47804ce84359c34e130aa056
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<head>
|
| +<title>Performance Paint Timing Test</title>
|
| +</head>
|
| +<body>
|
| + <script src="../../resources/testharness.js"></script>
|
| + <script src="../../resources/testharnessreport.js"></script>
|
| + <script>
|
| + async_test(function(t) {
|
| + var observer = new PerformanceObserver(
|
| + t.step_func(function (entryList) {
|
| + assert_unreached("no paint entries should be observed");
|
| + })
|
| + );
|
| + observer.observe({entryTypes: ["paint"]});
|
| +
|
| + t.step_timeout(function() { t.done(); }, 1000);
|
| + }, "No paint entries are observable, as nothing is painted.");
|
| + </script>
|
| +
|
| + <div><!--Nothing to paint--></div>
|
| +</body>
|
| +</html>
|
|
|