Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3cf4eed

Browse files
authored
test($sanitize): exclude elclob test in Edge 17 (#16555)
We don't exclude Edge completely to know if the bug has been fixed in the next version
1 parent 3768046 commit 3cf4eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ngSanitize/sanitizeSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe('HTML', function() {
261261
});
262262
});
263263

264-
if (!/Edge\/16/.test(window.navigator.userAgent)) {
264+
if (!/Edge\/(16|17)/.test(window.navigator.userAgent)) {
265265
// Skip test on Edge 16 due to browser bug.
266266
it('should throw on a form with an input named "nextSibling"', function() {
267267
inject(function($sanitize) {

0 commit comments

Comments
 (0)