summaryrefslogtreecommitdiff
path: root/tests/Framework/Browser.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-15 10:45:44 +0100
committerAleksander Machniak <alec@alec.pl>2013-11-15 10:45:44 +0100
commit741ddced5bece22908591c7ea30f67ca65151041 (patch)
tree2256231d905d9c0b75ecae503dfd7350ae6b9ca0 /tests/Framework/Browser.php
parent596301c10bde5e98b6cfdde51be843ffbf087e8d (diff)
Fix Internet Explorer 11 detection (#1489434)
Diffstat (limited to 'tests/Framework/Browser.php')
-rw-r--r--tests/Framework/Browser.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/Framework/Browser.php b/tests/Framework/Browser.php
index 832d4bf14..ac92e41e9 100644
--- a/tests/Framework/Browser.php
+++ b/tests/Framework/Browser.php
@@ -199,6 +199,27 @@ class Framework_Browser extends PHPUnit_Framework_TestCase
'canPNGALPHA' => false, //canPNGALPHA
'canIMGDATA' => true, //canIMGDATA
),
+
+ 'IE 11' => array(
+ 'useragent' => 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C; rv:11.0) like Gecko',
+ 'version' => '11.0', //Version
+ 'isWin' => true, //isWindows
+ 'isLinux' => false,
+ 'isMac' => false, //isMac
+ 'isUnix' => false, //isUnix
+ 'isOpera' => false, //isOpera
+ 'isChrome' => false, //isChrome
+ 'isIE' => true, //isIE
+ 'isNS' => false, //isNS
+ 'isNS4' => false, //isNS4
+ 'isKHTML' => false, //isKHTML
+ 'isSafari' => false, //isSafari
+ 'isMZ' => false, //isMZ
+ 'lang' => '', //lang
+ 'hasDOM' => true, //hasDOM
+ 'canPNGALPHA' => true, //canPNGALPHA
+ 'canIMGDATA' => false, //canIMGDATA
+ ),
);
}