[#28039] Using chrome for Android generates an error in browser.php

Tracker item
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28039

This is a merge of 
https://github.com/joomla/joomla-platform/pull/942
https://github.com/joomla/joomla-platform/pull/946

This change is already in the master.