Skip to content

Commit 27d8b36

Browse files
Merge pull request #126 from angular/master
A grab-bag of cleanups
2 parents 8c65d0a + e7e8dad commit 27d8b36

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)