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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/performance-timeline/worker-with-performance-observer.html

Issue 2953993003: Add LayoutTest for PerformanceObserver inside Worker (Closed)
Patch Set: Nit Created 3 years, 5 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 <html>
3 <head>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 </head>
7 <body>
8 <script>
9 async_test(function(t) {
10 const worker = new Worker("resources/worker-with-performance-observer.js");
11 worker.onmessage = function(event) {
12 t.step(() => assert_equals(event.data, 'SUCCESS'));
13 t.done();
14 }
15 }, 'Worker: Test Performance Observer inside a worker.');
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698