Skip to content

Commit d80df6e

Browse files
Merge pull request #172 from angular/master
Feature Request
2 parents c88aee6 + e7e8dad commit d80df6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ngSanitize/sanitizeSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ describe('HTML', function() {
261261
});
262262
});
263263

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

0 commit comments

Comments
 (0)