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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/workers/resources/worker-with-perfobs.js

Issue 2953993003: Add LayoutTest for PerformanceObserver inside Worker (Closed)
Patch Set: DontExpose 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 try {
tdresser 2017/07/04 14:31:46 Rename file to worker-with-performance-observer.js
npm 2017/07/07 14:45:08 Done.
2 var obs = new PerformanceObserver(function () { return true; });
tdresser 2017/07/04 14:31:46 We can use fancy new JS here, so we might as well
npm 2017/07/07 14:45:08 Done.
3 postMessage("SUCCESS");
4 }
5 catch (ex) {
tdresser 2017/07/04 14:31:46 Put on same line as closing brace above.
npm 2017/07/07 14:45:09 Done.
6 postMessage("FAILURE");
7 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698