From 009c9dd2f82445de79cfedf03ddd8d321df9b69b Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 20 Feb 2020 12:00:26 +0100 Subject: Issue #316 - Make the memory GC performance object conditional (WIP) This was only added for GCubench and likely interfering with building without devtools-server. --- dom/webidl/Performance.webidl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dom/webidl') diff --git a/dom/webidl/Performance.webidl b/dom/webidl/Performance.webidl index 0bd2677df..e811e1cee 100644 --- a/dom/webidl/Performance.webidl +++ b/dom/webidl/Performance.webidl @@ -55,12 +55,14 @@ partial interface Performance { attribute EventHandler onresourcetimingbufferfull; }; +#ifdef MOZ_DEVTOOLS_SERVER // GC microbenchmarks, pref-guarded, not for general use (bug 1125412) [Exposed=Window] partial interface Performance { [Pref="dom.enable_memory_stats"] readonly attribute object mozMemory; }; +#endif // http://www.w3.org/TR/user-timing/ [Exposed=(Window,Worker)] -- cgit v1.2.3