| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 /* | 
|  | 2  * This Source Code is subject to the terms of the Mozilla Public License | 
|  | 3  * version 2.0 (the "License"). You can obtain a copy of the License at | 
|  | 4  * http://mozilla.org/MPL/2.0/. | 
|  | 5  */ | 
|  | 6 | 
|  | 7 (function() | 
|  | 8 { | 
|  | 9   const Cu = Components.utils; | 
|  | 10 | 
|  | 11   let rand = Components.stack.filename.replace(/.*\?/, ""); | 
|  | 12   let module = "chrome://elemhidehelper/content/actor.jsm?" + rand; | 
|  | 13   let {shutdown} = Cu.import(module, {}); | 
|  | 14 | 
|  | 15   addMessageListener("ElemHideHelper:Shutdown", onShutdown); | 
|  | 16 | 
|  | 17   function onShutdown() | 
|  | 18   { | 
|  | 19     shutdown(); | 
|  | 20     Cu.unload(module); | 
|  | 21     removeMessageListener("ElemHideHelper:Shutdown", onShutdown); | 
|  | 22   } | 
|  | 23 })(); | 
| OLD | NEW | 
|---|