Bug 1372750 - Allow generated embedded extensions to work in xpcshell tests. r=kmag, a=lizzard
authorRobert Helmer <rhelmer@mozilla.com>
Wed, 21 Jun 2017 12:46:57 -0700
changeset 423665 5850f92e40c2cbb865c267b7b63c8835883db34e
parent 423664 22dfc30eaee2f690a28e144844f294e5689ff2af
child 423666 33443d73b7f4fce8af9edf8a414fcb811d4a0b61
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag, lizzard
bugs1372750
milestone56.0
Bug 1372750 - Allow generated embedded extensions to work in xpcshell tests. r=kmag, a=lizzard MozReview-Commit-ID: AkCnoUTldhI
toolkit/components/extensions/ExtensionTestCommon.jsm
--- a/toolkit/components/extensions/ExtensionTestCommon.jsm
+++ b/toolkit/components/extensions/ExtensionTestCommon.jsm
@@ -215,26 +215,34 @@ this.ExtensionTestCommon = class Extensi
           <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                xmlns:em="http://www.mozilla.org/2004/em-rdf#">
               <Description about="urn:mozilla:install-manifest"
                   em:id="${manifest.applications.gecko.id}"
                   em:name="${manifest.name}"
                   em:type="2"
                   em:version="${manifest.version}"
                   em:description=""
+                  em:multiprocessCompatible="true"
                   em:hasEmbeddedWebExtension="true"
                   em:bootstrap="true">
 
                   <!-- Firefox -->
                   <em:targetApplication>
                       <Description
                           em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
                           em:minVersion="51.0a1"
                           em:maxVersion="*"/>
                   </em:targetApplication>
+                  <em:targetApplication>
+                    <Description>
+                      <em:id>toolkit@mozilla.org</em:id>
+                      <em:minVersion>0</em:minVersion>
+                      <em:maxVersion>*</em:maxVersion>
+                    </Description>
+                  </em:targetApplication>
               </Description>
           </RDF>
         `,
 
         "bootstrap.js": `
           function install() {}
           function uninstall() {}
           function shutdown() {}