Index: third_party/WebKit/LayoutTests/external/wpt/performance-timeline/resources/worker-with-performance-observer.js |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/performance-timeline/resources/worker-with-performance-observer.js b/third_party/WebKit/LayoutTests/external/wpt/performance-timeline/resources/worker-with-performance-observer.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a72fe81c47feace765613a0962f2a7e63f71fa25 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/performance-timeline/resources/worker-with-performance-observer.js |
@@ -0,0 +1,6 @@ |
+try { |
+ new PerformanceObserver(() => true); |
+ postMessage("SUCCESS"); |
+} catch (ex) { |
+ postMessage("FAILURE"); |
+} |