@@ -33,7 +33,7 @@ describe('removal of extmap-allow-mixed', () => {
3333 window . RTCPeerConnection . prototype . setRemoteDescription = function ( ) {
3434 return origSetRemoteDescription . apply ( this , arguments ) ;
3535 } ;
36- browserDetails = { browser : 'chrome' , version : '88' } ;
36+ browserDetails = { browser : 'chrome' , version : 88 } ;
3737 } ) ;
3838
3939 it ( 'does not remove the extmap-allow-mixed line after Chrome 71' , ( ) => {
@@ -66,11 +66,11 @@ describe('removal of extmap-allow-mixed', () => {
6666 window . RTCPeerConnection . prototype . setRemoteDescription = function ( ) {
6767 return origSetRemoteDescription . apply ( this , arguments ) ;
6868 } ;
69- browserDetails = { browser : 'safari' , version : ' 605' } ;
69+ browserDetails = { browser : 'safari' , version : 605 } ;
7070 } ) ;
7171
72- it ( 'does not remove the extmap-allow-mixed line after 605 ' , ( ) => {
73- browserDetails . version = 605 ;
72+ it ( 'does not remove the extmap-allow-mixed line after 13.1 ' , ( ) => {
73+ browserDetails . _safariVersion = 13.1 ;
7474 shim . removeExtmapAllowMixed ( window , browserDetails ) ;
7575
7676 const pc = new window . RTCPeerConnection ( ) ;
@@ -80,8 +80,8 @@ describe('removal of extmap-allow-mixed', () => {
8080 . toEqual ( '\n' + sdp ) ;
8181 } ) ;
8282
83- it ( 'does remove the extmap-allow-mixed line before 605 ' , ( ) => {
84- browserDetails . version = 604 ;
83+ it ( 'does remove the extmap-allow-mixed line before 13.1 ' , ( ) => {
84+ browserDetails . _safariVersion = 13.0 ;
8585 shim . removeExtmapAllowMixed ( window , browserDetails ) ;
8686
8787 const pc = new window . RTCPeerConnection ( ) ;
0 commit comments