Skip to content

Commit

Permalink
test: fixed a test for Edge 17
Browse files Browse the repository at this point in the history
  • Loading branch information
cure53 committed Sep 1, 2020
1 parent 340ec35 commit e2b2a09
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/purify.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/purify.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/purify.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/fixtures/expect.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module.exports = [
}, {
"title": "onsubmit, onfocus; DOM clobbering: nodeName",
"payload": "<form onsubmit=alert(1)><input onfocus=alert(2) name=nodeName>123</form>",
"expected": ["", "<form><input>123</form>"]
"expected": ["", "<form><input>123</form>", "<input>123"]
}, {
"title": "onsubmit, onfocus; DOM clobbering: nodeType",
"payload": "<form onsubmit=alert(1)><input onfocus=alert(2) name=nodeType>123</form>",
Expand Down

0 comments on commit e2b2a09

Please sign in to comment.