Commit 1d052bdb authored by Michał Gołębiowski's avatar Michał Gołębiowski

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
parent 546593bd
...@@ -68,7 +68,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec ...@@ -68,7 +68,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
var expected, var expected,
userAgent = window.navigator.userAgent; userAgent = window.navigator.userAgent;
if ( /edge\/12/i.test( userAgent ) ) { if ( /edge\//i.test( userAgent ) ) {
expected = { expected = {
"ajax": true, "ajax": true,
"attributes": true, "attributes": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment