plugins/restiming.js
/**
	 * Checks if the current execution context can haz cheezburger from the specified frame
	 * @param {Window} frame The frame to check if access can haz
	 * @return {boolean} true if true, false otherwise
	 */
Checks if the current execution context can haz cheezburger from the specified frame
@param {Window} frame The frame to check if access can haz
@return {boolean} true if true, false otherwise
Checks if the current execution context can haz cheezburger from the specified frame @param { Window } frame The frame to check if access can haz @return { boolean } true if true false otherwise
function isFrameAccessible(frame) {
		var dummy;
		try {
			dummy = frame.location && frame.location.href;
			dummy = frame.document;
			if (("performance" in frame) && frame.performance) {
				return true;
			}
		}
		catch (e) {
		}
		return false;
	}
function isFrameAccessible ( frame ) { var dummy ; try { dummy = frame . location && frame . location . href ; dummy = frame . document ; if ( ( "performance" in frame ) && frame . performance ) { return true ; } } catch ( e ) { } return false ; }
Checks if the current execution context can haz cheezburger from the specified frame
 @param {Window} frame The frame to check if access can haz
 @return {boolean} true if true, false otherwise
Checks if the current execution context can haz cheezburger from the specified frame @param { Window } frame The frame to check if access can haz @return { boolean } true if true false otherwise
// Try to access location.href first to trigger any Cross-Origin // warnings.  There's also a bug in Chrome ~48 that might cause // the browser to crash if accessing X-O frame.performance. // https://code.google.com/p/chromium/issues/detail?id=585871 // This variable is not otherwise used. // Try to access frame.document to trigger X-O exceptions with that // empty