@@ -154,7 +154,7 @@ module Firefox
154154 options . add_preference ( 'intl.accepted_languages' , 'en-US' )
155155
156156 prefs = options . as_json [ 'moz:firefoxOptions' ] [ 'prefs' ]
157- expected = { 'intl.accepted_languages' => 'en-US' , 'remote.active-protocols' => 3 }
157+ expected = { 'intl.accepted_languages' => 'en-US' , 'remote.active-protocols' => 1 }
158158 expect ( prefs ) . to eq ( expected )
159159 end
160160 end
@@ -185,7 +185,7 @@ module Firefox
185185 it 'returns empty options by default' do
186186 expect ( options . as_json ) . to eq ( 'browserName' => 'firefox' ,
187187 'acceptInsecureCerts' => true ,
188- 'moz:firefoxOptions' => { 'prefs' => { 'remote.active-protocols' => 3 } } ,
188+ 'moz:firefoxOptions' => { 'prefs' => { 'remote.active-protocols' => 1 } } ,
189189 'moz:debuggerAddress' => true )
190190 end
191191
@@ -195,7 +195,7 @@ module Firefox
195195 'browserName' => 'firefox' ,
196196 'foo:bar' => { 'foo' => 'bar' } ,
197197 'moz:debuggerAddress' => true ,
198- 'moz:firefoxOptions' => { 'prefs' => { 'remote.active-protocols' => 3 } } )
198+ 'moz:firefoxOptions' => { 'prefs' => { 'remote.active-protocols' => 1 } } )
199199 end
200200
201201 it 'converts to a json hash' do
@@ -240,7 +240,7 @@ module Firefox
240240 'moz:debuggerAddress' => true ,
241241 key => { 'args' => %w[ foo bar ] ,
242242 'binary' => '/foo/bar' ,
243- 'prefs' => { 'foo' => 'bar' , 'remote.active-protocols' => 3 } ,
243+ 'prefs' => { 'foo' => 'bar' , 'remote.active-protocols' => 1 } ,
244244 'env' => { 'FOO' => 'bar' } ,
245245 'profile' => 'encoded_profile' ,
246246 'log' => { 'level' => 'debug' } ,
0 commit comments