Skip to content

Commit

Permalink
skip tests needed to skip
Browse files Browse the repository at this point in the history
  • Loading branch information
weizman committed Aug 2, 2023
1 parent a2ea19b commit fab084a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ describe('test HTML injections', async function () {
beforeEach(setup);

it('should fail to use atob of an iframe created by srcdoc (before)', async function () {
if (global.CONFIG.SKIP_CSP_UNSAFE_INLINE_CHECKS) {
this.skip();
}
const result = await browser.executeAsync(function(done) {
top.done = done;
top.bypass = (wins) => done(wins.map(win => (win && win.atob ? win : top).atob('WA==')).join(','));
Expand Down

0 comments on commit fab084a

Please sign in to comment.