OLD | NEW |
---|---|
(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('SUCCESS', event.data)); | |
tdresser1
2017/07/07 15:04:54
assert_equals takes the expected result in the sec
npm
2017/07/07 15:42:52
Done.
| |
13 t.done(); | |
14 } | |
15 }, 'Worker: Test Performance Observer inside a worker.'); | |
16 </script> | |
17 </body> | |
18 </html> | |
OLD | NEW |