BrowserID Class
Class for identifying the family of javascript engine interpreting the code.
Typical Usage
var browser_id = new BrowserID();
// getId() outputs a string identifier such as "gecko", "trident" or "webkit"
console.log("The javascript engine is from the following family: " + browser_id.getId() );
Constructor
BrowserID
()
Methods
Asserts rough true-ish result.
Example:
ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
Assert that the first two arguments are equal, with an optional message. Prints out both actual and expected values.
Example:
equal( format( "Received {0} bytes.", 2), "Received 2 bytes.", "format() replaces {0} with next argument" );