diff --git a/test/ng/directive/ngHrefSpec.js b/test/ng/directive/ngHrefSpec.js index 2c5e99c07..876699636 100644 --- a/test/ng/directive/ngHrefSpec.js +++ b/test/ng/directive/ngHrefSpec.js @@ -68,8 +68,8 @@ describe('ngHref', function() { })); - // Support: IE 9-11 only, Edge 12-15+ - if (msie || /\bEdge\/[\d.]+\b/.test(window.navigator.userAgent)) { + // Support: IE 9-11 only, Edge 12-17 + if (msie || /\bEdge\/1[2-7]\.[\d.]+\b/.test(window.navigator.userAgent)) { // IE/Edge fail when setting a href to a URL containing a % that isn't a valid escape sequence // See https://github.com/angular/angular.js/issues/13388 it('should throw error if ng-href contains a non-escaped percent symbol', inject(function($rootScope, $compile) {