<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
</head> | |
<body> | |
<script> | |
promise_test(async t => { | |
const profiler_a = await performance.profile({ | |
sampleInterval: 10, | |
}); | |
const profiler_b = await performance.profile({ | |
sampleInterval: 10, | |
}); | |
const trace_b = await profiler_b.stop(); | |
const trace_a = await profiler_a.stop(); | |
}, 'concurrent profilers should be supported'); | |
</script> | |
</body> | |
</html> |