<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">FWIW, this plan seems great to me.
      Thanks for taking the time to revise based on everybody's
      feedback!<br>
      <br>
      One small note inline:<br>
      <br>
      On 17/01/2018 15:47, Gabriele Svelto wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5a07f95a-542a-b404-f17c-50da9a84887e@mozilla.com">
      <pre wrap="">1) Introduce a new observer service that would live alongside the
current one (nsIObserverService2?). This will use a machine-generated
list of topics that will be held within the interface itself instead of
a separate file as I originally proposed. This will become possible
thanks to bug 1428775 [2]. The only downside of this is that the C++
code will not use an enum but just integer constants. The upside is that
this will need only one code generator and only one output file (the
IDL) versus two generators and three files in my original proposal.

2) Migrate all C++-only and mixed C++/JS users to use the new service.
Since the original service would still be there this can be done
incrementally. Leave JS-only users alone.</pre>
    </blockquote>
    Would it be possible for this to use WebIDL instead of xpidl?<br>
    <br>
    ~ Gijs<br>
    <br>
    <blockquote type="cite"
      cite="mid:5a07f95a-542a-b404-f17c-50da9a84887e@mozilla.com">
      <pre wrap="">

3) Consider writing a JS-only pub/sub service that would be a better fit
than the current observer service. If we can come up with something
that's better than the observer service for JS then it can be used to
retire the old service for good.

So, how does this sound?

 Gabriele

[1]
<a class="moz-txt-link-freetext" href="https://lists.mozilla.org/pipermail/dev-platform/2018-January/020935.html">https://lists.mozilla.org/pipermail/dev-platform/2018-January/020935.html</a>
[2] Make it possible to generate IDL files
    <a class="moz-txt-link-freetext" href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=1428775">https://bugzilla.mozilla.org/buglist.cgi?quicksearch=1428775</a>

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
firefox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a>
<a class="moz-txt-link-freetext" href="https://mail.mozilla.org/listinfo/firefox-dev">https://mail.mozilla.org/listinfo/firefox-dev</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>