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

Unified Diff: Source/modules/performance/WorkerPerformance.idl

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/performance/WorkerPerformance.idl
diff --git a/Source/modules/performance/WorkerPerformance.idl b/Source/modules/performance/WorkerPerformance.idl
index c4ab7fdbef7c594968d30eb05b81421a3d047f52..1cb4dc9293801e61e8570f19e5a4c3725b92f015 100644
--- a/Source/modules/performance/WorkerPerformance.idl
+++ b/Source/modules/performance/WorkerPerformance.idl
@@ -33,5 +33,7 @@
] interface WorkerPerformance {
// See https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime2/Overview.html for details.
double now();
+
+ readonly attribute MemoryInfo memory;
};

Powered by Google App Engine
This is Rietveld 408576698