From 1d052bdbe621ca111bab3314604dc682d900d716 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Tue, 16 Jun 2015 14:45:30 +0200 Subject: [PATCH] Tests: Remove Edge version from the user agent The version will change in the future, matching by /edge\//i is enough (cherry-picked from 5a1217e40193c8884155ccaf415091d326ddb52a) Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded --- test/unit/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/support.js b/test/unit/support.js index 99ecb33f9..03b7d9613 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -68,7 +68,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, "attributes": true, -- 2.39.5