Bug 1444796 - Part 2. Make nsIProfilerStartParams scriptable. r?mstange draft
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 14 Mar 2018 15:05:50 +0900
changeset 767269 6f5962c213ad5ead21a1307439961fc954c41c2d
parent 767268 c3e9337886788c024559c2b6f90ef0dd6f03ddb9
child 767270 24f066ff414467e207be93028c88fb0c7e7ef8f4
child 767275 87aa002a8fbc6dbf308279cd4ce9a5500ea88c35
push id102544
push userbmo:m_kato@ga2.so-net.ne.jp
push dateWed, 14 Mar 2018 06:45:32 +0000
reviewersmstange
bugs1444796
milestone61.0a1
Bug 1444796 - Part 2. Make nsIProfilerStartParams scriptable. r?mstange To add test for startProfiler's parameters on devtools, nsIProfilerStartParams changes to scriptable. MozReview-Commit-ID: 3Rf39NzsND1
tools/profiler/gecko/nsIProfiler.idl
--- a/tools/profiler/gecko/nsIProfiler.idl
+++ b/tools/profiler/gecko/nsIProfiler.idl
@@ -13,17 +13,17 @@
 [ref] native nsCString(const nsCString);
 [ref] native StringArrayRef(const nsTArray<nsCString>);
 
 /**
  * Start-up parameters for subprocesses are passed through nsIObserverService,
  * which, unfortunately, means we need to implement nsISupports in order to
  * go through it.
  */
-[builtinclass, uuid(0a175ba7-8fcf-4ce9-9c4b-ccc6272f4425)]
+[scriptable, builtinclass, uuid(0a175ba7-8fcf-4ce9-9c4b-ccc6272f4425)]
 interface nsIProfilerStartParams : nsISupports
 {
   readonly attribute uint32_t entries;
   readonly attribute double interval;
   readonly attribute uint32_t features;
 
   [noscript, notxpcom, nostdcall] StringArrayRef getFilters();
 };