vendor_test.js
No description.

File Location

/goog/dom/vendor_test.js


Public Protected Private

Global Functions

assertGecko()
No description.
code »
assertIe()
No description.
code »
assertUserAgent(expectedAgentsuaStringopt_productopt_vendor)
Test browser detection for a user agent configuration.
Arguments:
expectedAgents : Array.<number>
Array of expected userAgents.
uaString : string
User agent string.
opt_product : string=
Navigator product string.
opt_vendor : string=
Navigator vendor string.
code »
getUserAgentDetected_(agent) boolean
Return whether a given user agent has been detected.
Arguments:
agent : number
Value in UserAgents.
Returns: boolean  Whether the user agent has been detected.
code »
setUp()
No description.
code »
tearDown()
No description.
code »
testPrefixedEventType()
Test for prefixed event type.
code »
testPrefixedEventTypeForBrowser()
Test for browser-specific prefixed event type.
code »
testPrefixedPropertyName()
Tests for the prefixed property name.
code »
testPrefixedPropertyNameAndObject()
Tests for the prefixed property name in an object.
code »
testPrefixedPropertyNameAndObjectIsEmpty()
Tests for the prefixed property name when it doesn't exist.
code »
testPrefixedPropertyNameWebkit()
Tests for the prefixed property name on Webkit.
code »
testPrefixedPropertyNameWebkitAndObject()
Tests for the prefixed property name on Webkit in an object.
code »
testVendorJsPrefixGecko()
Tests for the vendor Js prefix for Mozilla/Gecko.
code »
testVendorJsPrefixIE()
Tests for the vendor Js prefix for IE.
code »
testVendorJsPrefixNone()
Tests for the vendor Js prefix if no UA detected.
code »
testVendorJsPrefixOpera()
Tests for the vendor Js prefix for Opera.
code »
testVendorJsPrefixWebkit()
Tests for the vendor Js prefix for Webkit.
code »
testVendorPrefixGecko()
Tests for the vendor prefix for Mozilla/Gecko.
code »
testVendorPrefixIE()
Tests for the vendor prefix for IE.
code »
testVendorPrefixOpera()
Tests for the vendor prefix for Opera.
code »
testVendorPrefixWebkit()
Tests for the vendor prefix for Webkit.
code »

Directory dom

File Reference