@@ -51,6 +51,9 @@ describe('special cases', () => {
51
51
} ) ;
52
52
53
53
it ( 'should fail to use atob of an embed that was cross origin and then same origin' , async function ( ) {
54
+ if ( global . CONFIG . SKIP_CSP_OBJECT_SRC_CHECKS ) {
55
+ this . skip ( ) ;
56
+ }
54
57
if ( global . BROWSER === 'SAFARI' ) {
55
58
this . skip ( ) ; // redirecting EMBED by updating src does not work in safari
56
59
}
@@ -88,6 +91,9 @@ describe('special cases', () => {
88
91
} ) ;
89
92
90
93
it ( 'should fail to use atob of an object that was cross origin and then same origin' , async function ( ) {
94
+ if ( global . CONFIG . SKIP_CSP_OBJECT_SRC_CHECKS ) {
95
+ this . skip ( ) ;
96
+ }
91
97
if ( global . BROWSER === 'SAFARI' ) {
92
98
this . skip ( ) ; // redirecting EMBED by updating src does not work in safari
93
99
}
@@ -125,6 +131,9 @@ describe('special cases', () => {
125
131
} ) ;
126
132
127
133
it ( 'should fail to use atob of an embed that was cross origin and then same origin (html)' , async function ( ) {
134
+ if ( global . CONFIG . SKIP_CSP_OBJECT_SRC_CHECKS ) {
135
+ this . skip ( ) ;
136
+ }
128
137
if ( global . BROWSER === 'SAFARI' ) {
129
138
this . skip ( ) ; // redirecting EMBED by updating src does not work in safari
130
139
}
@@ -155,6 +164,9 @@ describe('special cases', () => {
155
164
} ) ;
156
165
157
166
it ( 'should fail to use atob of an object that was cross origin and then same origin (html)' , async function ( ) {
167
+ if ( global . CONFIG . SKIP_CSP_OBJECT_SRC_CHECKS ) {
168
+ this . skip ( ) ;
169
+ }
158
170
if ( global . BROWSER === 'SAFARI' ) {
159
171
this . skip ( ) ; // redirecting EMBED by updating src does not work in safari
160
172
}
0 commit comments