File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ if (typeof window === 'undefined' || !window.navigator) {
134
134
135
135
// wrap static methods. Currently just generateCertificate.
136
136
if ( mozRTCPeerConnection . generateCertificate ) {
137
- Object . defineProperty ( RTCPeerConnection , 'generateCertificate' , {
137
+ Object . defineProperty ( window . RTCPeerConnection , 'generateCertificate' , {
138
138
get : function ( ) {
139
139
if ( arguments . length ) {
140
140
return mozRTCPeerConnection . generateCertificate . apply ( null ,
@@ -323,7 +323,7 @@ if (typeof window === 'undefined' || !window.navigator) {
323
323
324
324
// wrap static methods. Currently just generateCertificate.
325
325
if ( webkitRTCPeerConnection . generateCertificate ) {
326
- Object . defineProperty ( RTCPeerConnection , 'generateCertificate' , {
326
+ Object . defineProperty ( window . RTCPeerConnection , 'generateCertificate' , {
327
327
get : function ( ) {
328
328
if ( arguments . length ) {
329
329
return webkitRTCPeerConnection . generateCertificate . apply ( null ,
You can’t perform that action at this time.
0 commit comments