This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -68,16 +68,16 @@ describe('ngHref', function() {
68
68
} ) ) ;
69
69
70
70
71
- // Support: IE 9-11 only, Edge 12-15+
72
- if ( msie || / \b E d g e \/ [ \d . ] + \b / . test ( window . navigator . userAgent ) ) {
73
- // IE/Edge fail when setting a href to a URL containing a % that isn't a valid escape sequence
74
- // See https://github.com/angular/angular.js/issues/13388
75
- it ( 'should throw error if ng-href contains a non-escaped percent symbol' , inject ( function ( $rootScope , $compile ) {
76
- expect ( function ( ) {
77
- element = $compile ( '<a ng-href="http://www.google.com/{{\'a%link\'}}">' ) ( $rootScope ) ;
78
- } ) . toThrow ( ) ;
79
- } ) ) ;
80
- }
71
+ // // Support: IE 9-11 only, Edge 12-15+
72
+ // if (msie || /\bEdge\/[\d.]+\b/.test(window.navigator.userAgent)) {
73
+ // // IE/Edge fail when setting a href to a URL containing a % that isn't a valid escape sequence
74
+ // // See https://github.com/angular/angular.js/issues/13388
75
+ // it('should throw error if ng-href contains a non-escaped percent symbol', inject(function($rootScope, $compile) {
76
+ // expect(function() {
77
+ // element = $compile('<a ng-href="http://www.google.com/{{\'a%link\'}}">')($rootScope);
78
+ // }).toThrow();
79
+ // }));
80
+ // }
81
81
82
82
83
83
it ( 'should bind numbers' , inject ( function ( $rootScope , $compile ) {
You can’t perform that action at this time.
0 commit comments