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

Commit 3ae49db

Browse files
committed
TEMP
1 parent 00b6247 commit 3ae49db

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/ng/directive/ngHrefSpec.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ describe('ngHref', function() {
6868
}));
6969

7070

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-
}
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+
// }
8181

8282

8383
it('should bind numbers', inject(function($rootScope, $compile) {

0 commit comments

Comments
 (0)