Skip to content

Commit 9ca9ea8

Browse files
committed
test: Adjusted tests for MSIE10, sigh
1 parent 07cb459 commit 9ca9ea8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-suite.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ module.exports = function (DOMPurify, window, tests, xssTests) {
15351535
{
15361536
test: '<polyline points="0 0"></polyline>',
15371537
config: { NAMESPACE: 'http://www.w3.org/1999/xhtml' },
1538-
expected: [''],
1538+
expected: ['', '<polyline points="0 0"></polyline>"'], // IE10
15391539
},
15401540
{
15411541
test: '<mi></mi>',
@@ -1551,7 +1551,7 @@ module.exports = function (DOMPurify, window, tests, xssTests) {
15511551
{
15521552
test: '<polyline points="0 0"></polyline>',
15531553
config: { NAMESPACE: 'http://www.w3.org/1998/Math/MathML' },
1554-
expected: [''],
1554+
expected: ['', '<polyline points="0 0"></polyline>"'], // IE10
15551555
},
15561556
{
15571557
test: '<mi></mi>',

0 commit comments

Comments
 (0)