@@ -49,7 +49,6 @@ suite('selenium', function() {
49
49
var profilePath = temp . mkdirSync ( 'marco' ) ;
50
50
51
51
var profile = new firefox . Profile ( profilePath ) ;
52
- profile . acceptUntrustedCerts ( ) ;
53
52
profile . setPreference ( 'security.turn_off_all_security_so_that_viruses_can_take_over_this_computer' , true ) ;
54
53
profile . setPreference ( 'extensions.checkCompatibility.nightly' , false ) ;
55
54
// Only allow installation of third-party addons from the user's profile dir (needed to block the third-party
@@ -77,16 +76,16 @@ suite('selenium', function() {
77
76
if ( typeof netscape !== 'undefined' ) {
78
77
netscape . security . PrivilegeManager . enablePrivilege ( 'UniversalXPConnect' ) ;
79
78
Components . utils . import ( 'resource://gre/modules/Services.jsm' ) ;
80
- var uri = Services . io . newURI ( 'https ://127.0.0.1:' + port , null , null ) ;
79
+ var uri = Services . io . newURI ( 'http ://127.0.0.1:' + port , null , null ) ;
81
80
var principal = Services . scriptSecurityManager . getNoAppCodebasePrincipal ( uri ) ;
82
81
Services . perms . addFromPrincipal ( principal , 'desktop-notification' , Services . perms . ALLOW_ACTION ) ;
83
82
}
84
83
} , server . port ) ;
85
84
86
- driver . get ( 'https ://127.0.0.1:' + server . port ) ;
85
+ driver . get ( 'http ://127.0.0.1:' + server . port ) ;
87
86
88
87
driver . executeScript ( function ( port ) {
89
- serverAddress = 'https ://127.0.0.1:' + port ;
88
+ serverAddress = 'http ://127.0.0.1:' + port ;
90
89
go ( ) ;
91
90
} , server . port ) ;
92
91
0 commit comments