Closure Library API Documentation
Go to class or file:
useragenttestutil.js
No description.
Useful links
Source Code
Git
File Location
/goog/useragent/useragenttestutil.js
Public
Protected
Private
Enumerations
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 »
Directory useragent
File Reference