File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 108
108
. then ( function ( ) {
109
109
return globalDriver . wait ( function ( ) {
110
110
return globalDriver . executeScript ( function ( ) {
111
- // Firefox 47 and Marionette Quirk
112
- if ( 'wrappedJSObject' in window ) {
113
- return typeof window . wrappedJSObject . subscribeSuccess !== 'undefined' ;
114
- } else {
115
- return typeof window . subscribeSuccess !== 'undefined' ;
116
- }
111
+ return typeof window . subscribeSuccess !== 'undefined' ;
117
112
} ) ;
118
113
} ) ;
119
114
} )
120
115
. then ( function ( ) {
121
116
return globalDriver . executeScript ( function ( ) {
122
- if ( 'wrappedJSObject' in window ) {
123
- if ( ! window . wrappedJSObject . subscribeSuccess ) {
124
- return window . wrappedJSObject . subscribeError ;
125
- }
126
- } else {
127
- if ( ! window . subscribeSuccess ) {
128
- return window . subscribeError ;
129
- }
117
+ if ( ! window . subscribeSuccess ) {
118
+ return window . subscribeError ;
130
119
}
131
120
132
121
return null ;
139
128
}
140
129
141
130
return globalDriver . executeScript ( function ( ) {
142
- if ( 'wrappedJSObject' in window ) {
143
- return window . wrappedJSObject . testSubscription ;
144
- } else {
145
- return window . testSubscription ;
146
- }
131
+ return window . testSubscription ;
147
132
} ) ;
148
133
} )
149
134
. then ( function ( subscription ) {
You can’t perform that action at this time.
0 commit comments