Created
June 8, 2011 15:34
-
-
Save AutomatedTester/1014651 to your computer and use it in GitHub Desktop.
driver-component.js changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| David-Burnss-MacBook-Pro:components davidburns$ svn diff driver-component.js | |
| Index: driver-component.js | |
| =================================================================== | |
| --- driver-component.js (revision 12372) | |
| +++ driver-component.js (working copy) | |
| @@ -126,8 +126,7 @@ | |
| return ServerModule; | |
| } | |
| -WebDriverServer.prototype.classID = CLASS_ID; | |
| -Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); | |
| -if (XPCOMUtils.generateNSGetFactory) { | |
| - const NSGetFactory = XPCOMUtils.generateNSGetFactory([WebDriverServer]); | |
| +function NSGetFactory(aCompMgr, aFileSpec) { | |
| + return ServerFactory; | |
| } | |
| +WebDriverServer.prototype.classID = CLASS_ID; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment