@@ -33,7 +33,7 @@ describe('removal of extmap-allow-mixed', () => {
33
33
window . RTCPeerConnection . prototype . setRemoteDescription = function ( ) {
34
34
return origSetRemoteDescription . apply ( this , arguments ) ;
35
35
} ;
36
- browserDetails = { browser : 'chrome' , version : '88' } ;
36
+ browserDetails = { browser : 'chrome' , version : 88 } ;
37
37
} ) ;
38
38
39
39
it ( 'does not remove the extmap-allow-mixed line after Chrome 71' , ( ) => {
@@ -66,11 +66,11 @@ describe('removal of extmap-allow-mixed', () => {
66
66
window . RTCPeerConnection . prototype . setRemoteDescription = function ( ) {
67
67
return origSetRemoteDescription . apply ( this , arguments ) ;
68
68
} ;
69
- browserDetails = { browser : 'safari' , version : ' 605' } ;
69
+ browserDetails = { browser : 'safari' , version : 605 } ;
70
70
} ) ;
71
71
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 ;
74
74
shim . removeExtmapAllowMixed ( window , browserDetails ) ;
75
75
76
76
const pc = new window . RTCPeerConnection ( ) ;
@@ -80,8 +80,8 @@ describe('removal of extmap-allow-mixed', () => {
80
80
. toEqual ( '\n' + sdp ) ;
81
81
} ) ;
82
82
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 ;
85
85
shim . removeExtmapAllowMixed ( window , browserDetails ) ;
86
86
87
87
const pc = new window . RTCPeerConnection ( ) ;
0 commit comments