]> source.dussan.org Git - jquery.git/commitdiff
Tests: Remove Edge version from the user agent
authorMichał Gołębiowski <m.goleb@gmail.com>
Tue, 16 Jun 2015 12:44:24 +0000 (14:44 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Tue, 16 Jun 2015 12:44:24 +0000 (14:44 +0200)
The version will change in the future, matching by /edge\//i is enough

Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded

test/unit/support.js

index d1e0d189afda46c29255283b3a3a08b0109d2762..46f904efadd99a31d4e0d4732bf71a703ac7ca98 100644 (file)
@@ -51,7 +51,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
        var expected,
                userAgent = window.navigator.userAgent;
 
-       if ( /edge\/12/i.test( userAgent ) ) {
+       if ( /edge\//i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "boxSizingReliable": true,