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

Commit 07e1ba2

Browse files
committed
test(ngSanitize): disable a failing Edge test in all versions, including 18
It's been only disabled on Edge 16/17 so far which made it fail in Edge 18. Closes #16786
1 parent 04c64b3 commit 07e1ba2

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy