1try {
2  new PerformanceObserver(() => true);
3  postMessage("SUCCESS");
4} catch (ex) {
5  postMessage("FAILURE");
6}
7