Add more Chrome capabilities
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Jan 2009 05:44:13 +0000 (22:44 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Jan 2009 05:44:13 +0000 (22:44 -0700)
framework/Browser/lib/Horde/Browser.php

index 91919e6..9ac90d7 100644 (file)
@@ -537,6 +537,12 @@ class Horde_Browser
                 //$this->setBrowser('chrome');
                 $this->setFeature('ischrome');
                 $this->setFeature('rte');
+                $this->setFeature('utf');
+                $this->setFeature('javascript', 1.4);
+                $this->setFeature('dom');
+                $this->setFeature('iframes');
+                $this->setFeature('accesskey');
+                $this->setFeature('xmlhttpreq');
 
                 if (preg_match('|Chrome/([0-9.]+)|i', $agent, $version_string)) {
                     list($this->_majorVersion, $this->_minorVersion) = explode('.', $version_string[1], 2);