goog.net.tmpnetwork
Functions
testGoogleCom( callback, opt_imageUri, opt_timeout ) → void
void
Pings the network to check if an error is a server error or user's network error.
Parameters |
|
---|
testLoadImage( url, timeout, callback ) → void
void
testLoadImageWithRetries( url, timeout, callback, retries, opt_pauseBetweenRetriesMS ) → void
void
Test loading the given image, retrying if necessary.
Parameters |
|
---|
Properties
GOOGLECOM_TIMEOUT → number
number
Default timeout to allow for google.com pings.
Compiler Constants
goog.net.tmpnetwork.TEST_URL → string
string
url to use to test for internet connectivity. Use protocol-relative URLs to avoid insecure content warnings in IE.