Closure Library API Documentation
Go to class or file:
userAgentTestUtil
Classes
Public
Protected
Private
Enumerations
goog.userAgentTestUtil.
UserAgents
:
Browser definitions.
Constants:
GECKO
No description.
IE
No description.
OPERA
No description.
WEBKIT
No description.
Code »
Global Functions
goog.userAgentTestUtil.
getUserAgentDetected
(
agent
)
⇒
boolean
Return whether a given user agent has been detected.
Arguments:
agent
:
string
Value in UserAgents.
Returns:
boolean
Whether the user agent has been detected.
code »
goog.userAgentTestUtil.
reinitializeUserAgent
()
Rerun the initialization code to set all of the goog.userAgent constants.
code »
Package userAgentTestUtil
Package Reference