Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
☠☠ backed out by 7f180f9cbf74 ☠ ☠
authorKyle Huey <khuey@kylehuey.com>
Tue, 30 Oct 2012 08:26:12 -0700
changeset 26427 fbd0445e2fbb8634d94d4e28dc1721635c392b7d
parent 26426 a6f6319da32967e7e70da6a1e5d58319007840db
child 26428 7f180f9cbf74562154c115659fc59d91b002d2e1
push id1834
push userclokep@gmail.com
push dateMon, 23 Jan 2017 21:48:40 +0000
treeherdercomm-beta@293cffe83e59 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap, philikon
bugs798491
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
suite/common/places/nsPlacesAutoComplete.js
--- a/suite/common/places/nsPlacesAutoComplete.js
+++ b/suite/common/places/nsPlacesAutoComplete.js
@@ -1646,9 +1646,9 @@ urlInlineComplete.prototype = {
     Ci.nsIAutoCompleteSearchDescriptor,
     Ci.mozIStorageStatementCallback,
     Ci.nsIObserver,
     Ci.nsISupportsWeakReference,
   ])
 };
 
 let components = [nsPlacesAutoComplete, urlInlineComplete];
-const NSGetFactory = XPCOMUtils.generateNSGetFactory(components);
+this.NSGetFactory = XPCOMUtils.generateNSGetFactory(components);