Skip to content

Commit 5a1217e

Browse files
committed
Tests: Remove Edge version from the user agent
The version will change in the future, matching by /edge\//i is enough Refs 8e111df
1 parent 8e111df commit 5a1217e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
5151
var expected,
5252
userAgent = window.navigator.userAgent;
5353

54-
if ( /edge\/12/i.test( userAgent ) ) {
54+
if ( /edge\//i.test( userAgent ) ) {
5555
expected = {
5656
"ajax": true,
5757
"boxSizingReliable": true,

0 commit comments

Comments
 (0)