Untitled diff
63 removals
655 lines
95 additions
685 lines
var Protocol = {};
var Protocol = {};
/** @typedef {string}*/
/** @typedef {string}*/
Protocol.Error;
Protocol.Error;
var InspectorAgent = {};
var InspectorAgent = {};
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
InspectorAgent.enable = function(opt_callback) {}
InspectorAgent.enable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
InspectorAgent.enable.invoke = function(obj, opt_callback) {}
InspectorAgent.enable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
InspectorAgent.disable = function(opt_callback) {}
InspectorAgent.disable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
InspectorAgent.disable.invoke = function(obj, opt_callback) {}
InspectorAgent.disable.invoke = function(obj, opt_callback) {}
/** @interface */
/** @interface */
InspectorAgent.Dispatcher = function() {};
InspectorAgent.Dispatcher = function() {};
/**
/**
* @param {number} testCallId
* @param {number} testCallId
* @param {string} script
* @param {string} script
*/
*/
InspectorAgent.Dispatcher.prototype.evaluateForTestInFrontend = function(testCallId, script) {};
InspectorAgent.Dispatcher.prototype.evaluateForTestInFrontend = function(testCallId, script) {};
/**
/**
* @param {RuntimeAgent.RemoteObject} object
* @param {RuntimeAgent.RemoteObject} object
* @param {Object} hints
* @param {Object} hints
*/
*/
InspectorAgent.Dispatcher.prototype.inspect = function(object, hints) {};
InspectorAgent.Dispatcher.prototype.inspect = function(object, hints) {};
/**
/**
* @param {string} reason
* @param {string} reason
*/
*/
InspectorAgent.Dispatcher.prototype.detached = function(reason) {};
InspectorAgent.Dispatcher.prototype.detached = function(reason) {};
/**
/**
* @param {InspectorAgent.Dispatcher} dispatcher
* @param {InspectorAgent.Dispatcher} dispatcher
*/
*/
InspectorBackend.registerInspectorDispatcher = function(dispatcher) {}
InspectorBackend.registerInspectorDispatcher = function(dispatcher) {}
var MemoryAgent = {};
var MemoryAgent = {};
/** @typedef {{size:(number|undefined), name:(string), children:(Array.<MemoryAgent.MemoryBlock>|undefined)}|null} */
/** @typedef {{size:(number|undefined), name:(string), children:(Array.<MemoryAgent.MemoryBlock>|undefined)}|null} */
MemoryAgent.MemoryBlock;
MemoryAgent.MemoryBlock;
/** @typedef {{strings:(Array.<string>), nodes:(Array.<number>), edges:(Array.<number>), baseToRealNodeId:(Array.<number>)}|null} */
/** @typedef {{strings:(Array.<string>), nodes:(Array.<number>), edges:(Array.<number>), baseToRealNodeId:(Array.<number>)}|null} */
MemoryAgent.HeapSnapshotChunk;
MemoryAgent.HeapSnapshotChunk;
/**
/**
* @param {function(?Protocol.Error, number, number, number):void=} opt_callback
* @param {function(?Protocol.Error, number, number, number):void=} opt_callback
*/
*/
MemoryAgent.getDOMCounters = function(opt_callback) {}
MemoryAgent.getDOMCounters = function(opt_callback) {}
/** @param {function(?Protocol.Error, number, number, number):void=} opt_callback */
/** @param {function(?Protocol.Error, number, number, number):void=} opt_callback */
MemoryAgent.getDOMCounters.invoke = function(obj, opt_callback) {}
MemoryAgent.getDOMCounters.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean=} opt_reportGraph
* @param {boolean=} opt_reportGraph
* @param {function(?Protocol.Error, MemoryAgent.MemoryBlock, Object=):void=} opt_callback
* @param {function(?Protocol.Error, MemoryAgent.MemoryBlock, Object=):void=} opt_callback
*/
*/
MemoryAgent.getProcessMemoryDistribution = function(opt_reportGraph, opt_callback) {}
MemoryAgent.getProcessMemoryDistribution = function(opt_reportGraph, opt_callback) {}
/** @param {function(?Protocol.Error, MemoryAgent.MemoryBlock, Object=):void=} opt_callback */
/** @param {function(?Protocol.Error, MemoryAgent.MemoryBlock, Object=):void=} opt_callback */
MemoryAgent.getProcessMemoryDistribution.invoke = function(obj, opt_callback) {}
MemoryAgent.getProcessMemoryDistribution.invoke = function(obj, opt_callback) {}
/** @interface */
/** @interface */
MemoryAgent.Dispatcher = function() {};
MemoryAgent.Dispatcher = function() {};
/**
/**
* @param {MemoryAgent.HeapSnapshotChunk} chunk
* @param {MemoryAgent.HeapSnapshotChunk} chunk
*/
*/
MemoryAgent.Dispatcher.prototype.addNativeSnapshotChunk = function(chunk) {};
MemoryAgent.Dispatcher.prototype.addNativeSnapshotChunk = function(chunk) {};
/**
/**
* @param {MemoryAgent.Dispatcher} dispatcher
* @param {MemoryAgent.Dispatcher} dispatcher
*/
*/
InspectorBackend.registerMemoryDispatcher = function(dispatcher) {}
InspectorBackend.registerMemoryDispatcher = function(dispatcher) {}
var PageAgent = {};
var PageAgent = {};
/** @typedef {string} */
/** @enum {string} */
PageAgent.ResourceType;
PageAgent.ResourceType = {
DOCUMENT: "Document",
STYLESHEET: "Stylesheet",
IMAGE: "Image",
FONT: "Font",
SCRIPT: "Script",
XHR: "XHR",
WEB_SOCKET: "WebSocket",
OTHER: "Other"
};
/** @typedef {{id:(string), parentId:(string|undefined), loaderId:(NetworkAgent.LoaderId), name:(string|undefined), url:(string), securityOrigin:(string|undefined), mimeType:(string)}|null} */
/** @typedef {{id:(string), parentId:(string|undefined), loaderId:(NetworkAgent.LoaderId), name:(string|undefined), url:(string), securityOrigin:(string|undefined), mimeType:(string)}|null} */
PageAgent.Frame;
PageAgent.Frame;
/** @typedef {{frame:(PageAgent.Frame), childFrames:(Array.<PageAgent.FrameResourceTree>|undefined), resources:(Array.<Object>)}|null} */
/** @typedef {{frame:(PageAgent.Frame), childFrames:(Array.<PageAgent.FrameResourceTree>|undefined), resources:(Array.<Object>)}|null} */
PageAgent.FrameResourceTree;
PageAgent.FrameResourceTree;
/** @typedef {{lineNumber:(number), lineContent:(string)}|null} */
/** @typedef {{lineNumber:(number), lineContent:(string)}|null} */
PageAgent.SearchMatch;
PageAgent.SearchMatch;
/** @typedef {{url:(string), frameId:(NetworkAgent.FrameId), matchesCount:(number)}|null} */
/** @typedef {{url:(string), frameId:(NetworkAgent.FrameId), matchesCount:(number)}|null} */
PageAgent.SearchResult;
PageAgent.SearchResult;
/** @typedef {{name:(string), value:(string), domain:(string), path:(string), expires:(number), size:(number), httpOnly:(boolean), secure:(boolean), session:(boolean)}|null} */
/** @typedef {{name:(string), value:(string), domain:(string), path:(string), expires:(number), size:(number), httpOnly:(boolean), secure:(boolean), session:(boolean)}|null} */
PageAgent.Cookie;
PageAgent.Cookie;
/** @typedef {string} */
/** @typedef {string} */
PageAgent.ScriptIdentifier;
PageAgent.ScriptIdentifier;
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.enable = function(opt_callback) {}
PageAgent.enable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.enable.invoke = function(obj, opt_callback) {}
PageAgent.enable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.disable = function(opt_callback) {}
PageAgent.disable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.disable.invoke = function(obj, opt_callback) {}
PageAgent.disable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} scriptSource
* @param {string} scriptSource
* @param {function(?Protocol.Error, PageAgent.ScriptIdentifier):void=} opt_callback
* @param {function(?Protocol.Error, PageAgent.ScriptIdentifier):void=} opt_callback
*/
*/
PageAgent.addScriptToEvaluateOnLoad = function(scriptSource, opt_callback) {}
PageAgent.addScriptToEvaluateOnLoad = function(scriptSource, opt_callback) {}
/** @param {function(?Protocol.Error, PageAgent.ScriptIdentifier):void=} opt_callback */
/** @param {function(?Protocol.Error, PageAgent.ScriptIdentifier):void=} opt_callback */
PageAgent.addScriptToEvaluateOnLoad.invoke = function(obj, opt_callback) {}
PageAgent.addScriptToEvaluateOnLoad.invoke = function(obj, opt_callback) {}
/**
/**
* @param {PageAgent.ScriptIdentifier} identifier
* @param {PageAgent.ScriptIdentifier} identifier
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.removeScriptToEvaluateOnLoad = function(identifier, opt_callback) {}
PageAgent.removeScriptToEvaluateOnLoad = function(identifier, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.removeScriptToEvaluateOnLoad.invoke = function(obj, opt_callback) {}
PageAgent.removeScriptToEvaluateOnLoad.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean=} opt_ignoreCache
* @param {boolean=} opt_ignoreCache
* @param {string=} opt_scriptToEvaluateOnLoad
* @param {string=} opt_scriptToEvaluateOnLoad
* @param {string=} opt_scriptPreprocessor
* @param {string=} opt_scriptPreprocessor
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.reload = function(opt_ignoreCache, opt_scriptToEvaluateOnLoad, opt_scriptPreprocessor, opt_callback) {}
PageAgent.reload = function(opt_ignoreCache, opt_scriptToEvaluateOnLoad, opt_scriptPreprocessor, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.reload.invoke = function(obj, opt_callback) {}
PageAgent.reload.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} url
* @param {string} url
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.navigate = function(url, opt_callback) {}
PageAgent.navigate = function(url, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.navigate.invoke = function(obj, opt_callback) {}
PageAgent.navigate.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, Array.<PageAgent.Cookie>, string):void=} opt_callback
* @param {function(?Protocol.Error, Array.<PageAgent.Cookie>, string):void=} opt_callback
*/
*/
PageAgent.getCookies = function(opt_callback) {}
PageAgent.getCookies = function(opt_callback) {}
/** @param {function(?Protocol.Error, Array.<PageAgent.Cookie>, string):void=} opt_callback */
/** @param {function(?Protocol.Error, Array.<PageAgent.Cookie>, string):void=} opt_callback */
PageAgent.getCookies.invoke = function(obj, opt_callback) {}
PageAgent.getCookies.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} cookieName
* @param {string} cookieName
* @param {string} url
* @param {string} url
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.deleteCookie = function(cookieName, url, opt_callback) {}
PageAgent.deleteCookie = function(cookieName, url, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.deleteCookie.invoke = function(obj, opt_callback) {}
PageAgent.deleteCookie.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, PageAgent.FrameResourceTree):void=} opt_callback
* @param {function(?Protocol.Error, PageAgent.FrameResourceTree):void=} opt_callback
*/
*/
PageAgent.getResourceTree = function(opt_callback) {}
PageAgent.getResourceTree = function(opt_callback) {}
/** @param {function(?Protocol.Error, PageAgent.FrameResourceTree):void=} opt_callback */
/** @param {function(?Protocol.Error, PageAgent.FrameResourceTree):void=} opt_callback */
PageAgent.getResourceTree.invoke = function(obj, opt_callback) {}
PageAgent.getResourceTree.invoke = function(obj, opt_callback) {}
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
* @param {string} url
* @param {string} url
* @param {function(?Protocol.Error, string, boolean):void=} opt_callback
* @param {function(?Protocol.Error, string, boolean):void=} opt_callback
*/
*/
PageAgent.getResourceContent = function(frameId, url, opt_callback) {}
PageAgent.getResourceContent = function(frameId, url, opt_callback) {}
/** @param {function(?Protocol.Error, string, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, string, boolean):void=} opt_callback */
PageAgent.getResourceContent.invoke = function(obj, opt_callback) {}
PageAgent.getResourceContent.invoke = function(obj, opt_callback) {}
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
* @param {string} url
* @param {string} url
* @param {string} query
* @param {string} query
* @param {boolean=} opt_caseSensitive
* @param {boolean=} opt_caseSensitive
* @param {boolean=} opt_isRegex
* @param {boolean=} opt_isRegex
* @param {function(?Protocol.Error, Array.<PageAgent.SearchMatch>):void=} opt_callback
* @param {function(?Protocol.Error, Array.<PageAgent.SearchMatch>):void=} opt_callback
*/
*/
PageAgent.searchInResource = function(frameId, url, query, opt_caseSensitive, opt_isRegex, opt_callback) {}
PageAgent.searchInResource = function(frameId, url, query, opt_caseSensitive, opt_isRegex, opt_callback) {}
/** @param {function(?Protocol.Error, Array.<PageAgent.SearchMatch>):void=} opt_callback */
/** @param {function(?Protocol.Error, Array.<PageAgent.SearchMatch>):void=} opt_callback */
PageAgent.searchInResource.invoke = function(obj, opt_callback) {}
PageAgent.searchInResource.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} text
* @param {string} text
* @param {boolean=} opt_caseSensitive
* @param {boolean=} opt_caseSensitive
* @param {boolean=} opt_isRegex
* @param {boolean=} opt_isRegex
* @param {function(?Protocol.Error, Array.<PageAgent.SearchResult>):void=} opt_callback
* @param {function(?Protocol.Error, Array.<PageAgent.SearchResult>):void=} opt_callback
*/
*/
PageAgent.searchInResources = function(text, opt_caseSensitive, opt_isRegex, opt_callback) {}
PageAgent.searchInResources = function(text, opt_caseSensitive, opt_isRegex, opt_callback) {}
/** @param {function(?Protocol.Error, Array.<PageAgent.SearchResult>):void=} opt_callback */
/** @param {function(?Protocol.Error, Array.<PageAgent.SearchResult>):void=} opt_callback */
PageAgent.searchInResources.invoke = function(obj, opt_callback) {}
PageAgent.searchInResources.invoke = function(obj, opt_callback) {}
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
* @param {string} html
* @param {string} html
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setDocumentContent = function(frameId, html, opt_callback) {}
PageAgent.setDocumentContent = function(frameId, html, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setDocumentContent.invoke = function(obj, opt_callback) {}
PageAgent.setDocumentContent.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canOverrideDeviceMetrics = function(opt_callback) {}
PageAgent.canOverrideDeviceMetrics = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canOverrideDeviceMetrics.invoke = function(obj, opt_callback) {}
PageAgent.canOverrideDeviceMetrics.invoke = function(obj, opt_callback) {}
/**
/**
* @param {number} width
* @param {number} width
* @param {number} height
* @param {number} height
* @param {number} fontScaleFactor
* @param {number} fontScaleFactor
* @param {boolean} fitWindow
* @param {boolean} fitWindow
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setDeviceMetricsOverride = function(width, height, fontScaleFactor, fitWindow, opt_callback) {}
PageAgent.setDeviceMetricsOverride = function(width, height, fontScaleFactor, fitWindow, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setDeviceMetricsOverride.invoke = function(obj, opt_callback) {}
PageAgent.setDeviceMetricsOverride.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} result
* @param {boolean} result
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setShowPaintRects = function(result, opt_callback) {}
PageAgent.setShowPaintRects = function(result, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setShowPaintRects.invoke = function(obj, opt_callback) {}
PageAgent.setShowPaintRects.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canShowDebugBorders = function(opt_callback) {}
PageAgent.canShowDebugBorders = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canShowDebugBorders.invoke = function(obj, opt_callback) {}
PageAgent.canShowDebugBorders.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} show
* @param {boolean} show
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setShowDebugBorders = function(show, opt_callback) {}
PageAgent.setShowDebugBorders = function(show, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setShowDebugBorders.invoke = function(obj, opt_callback) {}
PageAgent.setShowDebugBorders.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canShowFPSCounter = function(opt_callback) {}
PageAgent.canShowFPSCounter = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canShowFPSCounter.invoke = function(obj, opt_callback) {}
PageAgent.canShowFPSCounter.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} show
* @param {boolean} show
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setShowFPSCounter = function(show, opt_callback) {}
PageAgent.setShowFPSCounter = function(show, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setShowFPSCounter.invoke = function(obj, opt_callback) {}
PageAgent.setShowFPSCounter.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canContinuouslyPaint = function(opt_callback) {}
PageAgent.canContinuouslyPaint = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canContinuouslyPaint.invoke = function(obj, opt_callback) {}
PageAgent.canContinuouslyPaint.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} enabled
* @param {boolean} enabled
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setContinuousPaintingEnabled = function(enabled, opt_callback) {}
PageAgent.setContinuousPaintingEnabled = function(enabled, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setContinuousPaintingEnabled.invoke = function(obj, opt_callback) {}
PageAgent.setContinuousPaintingEnabled.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, string):void=} opt_callback
* @param {function(?Protocol.Error, string):void=} opt_callback
*/
*/
PageAgent.getScriptExecutionStatus = function(opt_callback) {}
PageAgent.getScriptExecutionStatus = function(opt_callback) {}
/** @param {function(?Protocol.Error, string):void=} opt_callback */
/** @param {function(?Protocol.Error, string):void=} opt_callback */
PageAgent.getScriptExecutionStatus.invoke = function(obj, opt_callback) {}
PageAgent.getScriptExecutionStatus.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} value
* @param {boolean} value
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setScriptExecutionDisabled = function(value, opt_callback) {}
PageAgent.setScriptExecutionDisabled = function(value, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setScriptExecutionDisabled.invoke = function(obj, opt_callback) {}
PageAgent.setScriptExecutionDisabled.invoke = function(obj, opt_callback) {}
/**
/**
* @param {number=} opt_latitude
* @param {number=} opt_latitude
* @param {number=} opt_longitude
* @param {number=} opt_longitude
* @param {number=} opt_accuracy
* @param {number=} opt_accuracy
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setGeolocationOverride = function(opt_latitude, opt_longitude, opt_accuracy, opt_callback) {}
PageAgent.setGeolocationOverride = function(opt_latitude, opt_longitude, opt_accuracy, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setGeolocationOverride.invoke = function(obj, opt_callback) {}
PageAgent.setGeolocationOverride.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.clearGeolocationOverride = function(opt_callback) {}
PageAgent.clearGeolocationOverride = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.clearGeolocationOverride.invoke = function(obj, opt_callback) {}
PageAgent.clearGeolocationOverride.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canOverrideGeolocation = function(opt_callback) {}
PageAgent.canOverrideGeolocation = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canOverrideGeolocation.invoke = function(obj, opt_callback) {}
PageAgent.canOverrideGeolocation.invoke = function(obj, opt_callback) {}
/**
/**
* @param {number} alpha
* @param {number} alpha
* @param {number} beta
* @param {number} beta
* @param {number} gamma
* @param {number} gamma
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setDeviceOrientationOverride = function(alpha, beta, gamma, opt_callback) {}
PageAgent.setDeviceOrientationOverride = function(alpha, beta, gamma, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setDeviceOrientationOverride.invoke = function(obj, opt_callback) {}
PageAgent.setDeviceOrientationOverride.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.clearDeviceOrientationOverride = function(opt_callback) {}
PageAgent.clearDeviceOrientationOverride = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.clearDeviceOrientationOverride.invoke = function(obj, opt_callback) {}
PageAgent.clearDeviceOrientationOverride.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.canOverrideDeviceOrientation = function(opt_callback) {}
PageAgent.canOverrideDeviceOrientation = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.canOverrideDeviceOrientation.invoke = function(obj, opt_callback) {}
PageAgent.canOverrideDeviceOrientation.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} enabled
* @param {boolean} enabled
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setTouchEmulationEnabled = function(enabled, opt_callback) {}
PageAgent.setTouchEmulationEnabled = function(enabled, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setTouchEmulationEnabled.invoke = function(obj, opt_callback) {}
PageAgent.setTouchEmulationEnabled.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} media
* @param {string} media
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setEmulatedMedia = function(media, opt_callback) {}
PageAgent.setEmulatedMedia = function(media, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setEmulatedMedia.invoke = function(obj, opt_callback) {}
PageAgent.setEmulatedMedia.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, boolean):void=} opt_callback
* @param {function(?Protocol.Error, boolean):void=} opt_callback
*/
*/
PageAgent.getCompositingBordersVisible = function(opt_callback) {}
PageAgent.getCompositingBordersVisible = function(opt_callback) {}
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
/** @param {function(?Protocol.Error, boolean):void=} opt_callback */
PageAgent.getCompositingBordersVisible.invoke = function(obj, opt_callback) {}
PageAgent.getCompositingBordersVisible.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} visible
* @param {boolean} visible
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.setCompositingBordersVisible = function(visible, opt_callback) {}
PageAgent.setCompositingBordersVisible = function(visible, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.setCompositingBordersVisible.invoke = function(obj, opt_callback) {}
PageAgent.setCompositingBordersVisible.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error, string):void=} opt_callback
* @param {function(?Protocol.Error, string):void=} opt_callback
*/
*/
PageAgent.captureScreenshot = function(opt_callback) {}
PageAgent.captureScreenshot = function(opt_callback) {}
/** @param {function(?Protocol.Error, string):void=} opt_callback */
/** @param {function(?Protocol.Error, string):void=} opt_callback */
PageAgent.captureScreenshot.invoke = function(obj, opt_callback) {}
PageAgent.captureScreenshot.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} accept
* @param {boolean} accept
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
PageAgent.handleJavaScriptDialog = function(accept, opt_callback) {}
PageAgent.handleJavaScriptDialog = function(accept, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
PageAgent.handleJavaScriptDialog.invoke = function(obj, opt_callback) {}
PageAgent.handleJavaScriptDialog.invoke = function(obj, opt_callback) {}
/** @interface */
/** @interface */
PageAgent.Dispatcher = function() {};
PageAgent.Dispatcher = function() {};
/**
/**
* @param {number} timestamp
* @param {number} timestamp
*/
*/
PageAgent.Dispatcher.prototype.domContentEventFired = function(timestamp) {};
PageAgent.Dispatcher.prototype.domContentEventFired = function(timestamp) {};
/**
/**
* @param {number} timestamp
* @param {number} timestamp
*/
*/
PageAgent.Dispatcher.prototype.loadEventFired = function(timestamp) {};
PageAgent.Dispatcher.prototype.loadEventFired = function(timestamp) {};
/**
/**
* @param {PageAgent.Frame} frame
* @param {PageAgent.Frame} frame
*/
*/
PageAgent.Dispatcher.prototype.frameNavigated = function(frame) {};
PageAgent.Dispatcher.prototype.frameNavigated = function(frame) {};
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
*/
*/
PageAgent.Dispatcher.prototype.frameDetached = function(frameId) {};
PageAgent.Dispatcher.prototype.frameDetached = function(frameId) {};
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
*/
*/
PageAgent.Dispatcher.prototype.frameStartedLoading = function(frameId) {};
PageAgent.Dispatcher.prototype.frameStartedLoading = function(frameId) {};
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
*/
*/
PageAgent.Dispatcher.prototype.frameStoppedLoading = function(frameId) {};
PageAgent.Dispatcher.prototype.frameStoppedLoading = function(frameId) {};
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
* @param {number} delay
* @param {number} delay
*/
*/
PageAgent.Dispatcher.prototype.frameScheduledNavigation = function(frameId, delay) {};
PageAgent.Dispatcher.prototype.frameScheduledNavigation = function(frameId, delay) {};
/**
/**
* @param {NetworkAgent.FrameId} frameId
* @param {NetworkAgent.FrameId} frameId
*/
*/
PageAgent.Dispatcher.prototype.frameClearedScheduledNavigation = function(frameId) {};
PageAgent.Dispatcher.prototype.frameClearedScheduledNavigation = function(frameId) {};
/**
/**
* @param {string} message
* @param {string} message
*/
*/
PageAgent.Dispatcher.prototype.javascriptDialogOpening = function(message) {};
PageAgent.Dispatcher.prototype.javascriptDialogOpening = function(message) {};
PageAgent.Dispatcher.prototype.javascriptDialogClosed = function() {};
PageAgent.Dispatcher.prototype.javascriptDialogClosed = function() {};
/**
/**
* @param {boolean} isEnabled
* @param {boolean} isEnabled
*/
*/
PageAgent.Dispatcher.prototype.scriptsEnabled = function(isEnabled) {};
PageAgent.Dispatcher.prototype.scriptsEnabled = function(isEnabled) {};
/**
/**
* @param {PageAgent.Dispatcher} dispatcher
* @param {PageAgent.Dispatcher} dispatcher
*/
*/
InspectorBackend.registerPageDispatcher = function(dispatcher) {}
InspectorBackend.registerPageDispatcher = function(dispatcher) {}
var RuntimeAgent = {};
var RuntimeAgent = {};
/** @typedef {string} */
/** @typedef {string} */
RuntimeAgent.RemoteObjectId;
RuntimeAgent.RemoteObjectId;
/** @typedef {{type:(string), subtype:(string|undefined), className:(string|undefined), value:(*|undefined), description:(string|undefined), objectId:(RuntimeAgent.RemoteObjectId|undefined), preview:(RuntimeAgent.ObjectPreview|undefined)}|null} */
/** @enum {string} */
RuntimeAgent.RemoteObjectType = {
OBJECT: "object",
FUNCTION: "function",
UNDEFINED: "undefined",
STRING: "string",
NUMBER: "number",
BOOLEAN: "boolean"
};
/** @enum {string} */
RuntimeAgent.RemoteObjectSubtype = {
ARRAY: "array",
NULL: "null",
NODE: "node",
REGEXP: "regexp",
DATE: "date"
};
/** @typedef {{type:(RuntimeAgent.RemoteObjectType), subtype:(RuntimeAgent.RemoteObjectSubtype|undefined), className:(string|undefined), value:(*|undefined), description:(string|undefined), objectId:(RuntimeAgent.RemoteObjectId|undefined), preview:(RuntimeAgent.ObjectPreview|undefined)}|null} */
RuntimeAgent.RemoteObject;
RuntimeAgent.RemoteObject;
/** @typedef {{lossless:(boolean), overflow:(boolean), properties:(Array.<RuntimeAgent.PropertyPreview>)}|null} */
/** @typedef {{lossless:(boolean), overflow:(boolean), properties:(Array.<RuntimeAgent.PropertyPreview>)}|null} */
RuntimeAgent.ObjectPreview;
RuntimeAgent.ObjectPreview;
/** @typedef {{name:(string), type:(string), value:(string|undefined), valuePreview:(RuntimeAgent.ObjectPreview|undefined), subtype:(string|undefined)}|null} */
/** @enum {string} */
RuntimeAgent.PropertyPreviewType = {
OBJECT: "object",
FUNCTION: "function",
UNDEFINED: "undefined",
STRING: "string",
NUMBER: "number",
BOOLEAN: "boolean"
};
/** @enum {string} */
RuntimeAgent.PropertyPreviewSubtype = {
ARRAY: "array",
NULL: "null",
NODE: "node",
REGEXP: "regexp",
DATE: "date"
};
/** @typedef {{name:(string), type:(RuntimeAgent.PropertyPreviewType), value:(string|undefined), valuePreview:(RuntimeAgent.ObjectPreview|undefined), subtype:(RuntimeAgent.PropertyPreviewSubtype|undefined)}|null} */
RuntimeAgent.PropertyPreview;
RuntimeAgent.PropertyPreview;
/** @typedef {{name:(string), value:(RuntimeAgent.RemoteObject|undefined), writable:(boolean|undefined), get:(RuntimeAgent.RemoteObject|undefined), set:(RuntimeAgent.RemoteObject|undefined), configurable:(boolean), enumerable:(boolean), wasThrown:(boolean|undefined), isOwn:(boolean|undefined)}|null} */
/** @typedef {{name:(string), value:(RuntimeAgent.RemoteObject|undefined), writable:(boolean|undefined), get:(RuntimeAgent.RemoteObject|undefined), set:(RuntimeAgent.RemoteObject|undefined), configurable:(boolean), enumerable:(boolean), wasThrown:(boolean|undefined), isOwn:(boolean|undefined)}|null} */
RuntimeAgent.PropertyDescriptor;
RuntimeAgent.PropertyDescriptor;
/** @typedef {{name:(string), value:(RuntimeAgent.RemoteObject|undefined)}|null} */
/** @typedef {{name:(string), value:(RuntimeAgent.RemoteObject|undefined)}|null} */
RuntimeAgent.InternalPropertyDescriptor;
RuntimeAgent.InternalPropertyDescriptor;
/** @typedef {{value:(*|undefined), objectId:(RuntimeAgent.RemoteObjectId|undefined)}|null} */
/** @typedef {{value:(*|undefined), objectId:(RuntimeAgent.RemoteObjectId|undefined)}|null} */
RuntimeAgent.CallArgument;
RuntimeAgent.CallArgument;
/** @typedef {number} */
/** @typedef {number} */
RuntimeAgent.ExecutionContextId;
RuntimeAgent.ExecutionContextId;
/** @typedef {{id:(RuntimeAgent.ExecutionContextId), isPageContext:(boolean), name:(string), frameId:(NetworkAgent.FrameId)}|null} */
/** @typedef {{id:(RuntimeAgent.ExecutionContextId), isPageContext:(boolean), name:(string), frameId:(NetworkAgent.FrameId)}|null} */
RuntimeAgent.ExecutionContextDescription;
RuntimeAgent.ExecutionContextDescription;
/**
/**
* @param {string} expression
* @param {string} expression
* @param {string=} opt_objectGroup
* @param {string=} opt_objectGroup
* @param {boolean=} opt_includeCommandLineAPI
* @param {boolean=} opt_includeCommandLineAPI
* @param {boolean=} opt_doNotPauseOnExceptionsAndMuteConsole
* @param {boolean=} opt_doNotPauseOnExceptionsAndMuteConsole
* @param {RuntimeAgent.ExecutionContextId=} opt_contextId
* @param {RuntimeAgent.ExecutionContextId=} opt_contextId
* @param {boolean=} opt_returnByValue
* @param {boolean=} opt_returnByValue
* @param {boolean=} opt_generatePreview
* @param {boolean=} opt_generatePreview
* @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback
* @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback
*/
*/
RuntimeAgent.evaluate = function(expression, opt_objectGroup, opt_includeCommandLineAPI, opt_doNotPauseOnExceptionsAndMuteConsole, opt_contextId, opt_returnByValue, opt_generatePreview, opt_callback) {}
RuntimeAgent.evaluate = function(expression, opt_objectGroup, opt_includeCommandLineAPI, opt_doNotPauseOnExceptionsAndMuteConsole, opt_contextId, opt_returnByValue, opt_generatePreview, opt_callback) {}
/** @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback */
/** @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback */
RuntimeAgent.evaluate.invoke = function(obj, opt_callback) {}
RuntimeAgent.evaluate.invoke = function(obj, opt_callback) {}
/**
/**
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {string} functionDeclaration
* @param {string} functionDeclaration
* @param {Array.<RuntimeAgent.CallArgument>=} opt_arguments
* @param {Array.<RuntimeAgent.CallArgument>=} opt_arguments
* @param {boolean=} opt_doNotPauseOnExceptionsAndMuteConsole
* @param {boolean=} opt_doNotPauseOnExceptionsAndMuteConsole
* @param {boolean=} opt_returnByValue
* @param {boolean=} opt_returnByValue
* @param {boolean=} opt_generatePreview
* @param {boolean=} opt_generatePreview
* @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback
* @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback
*/
*/
RuntimeAgent.callFunctionOn = function(objectId, functionDeclaration, opt_arguments, opt_doNotPauseOnExceptionsAndMuteConsole, opt_returnByValue, opt_generatePreview, opt_callback) {}
RuntimeAgent.callFunctionOn = function(objectId, functionDeclaration, opt_arguments, opt_doNotPauseOnExceptionsAndMuteConsole, opt_returnByValue, opt_generatePreview, opt_callback) {}
/** @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback */
/** @param {function(?Protocol.Error, RuntimeAgent.RemoteObject, boolean=):void=} opt_callback */
RuntimeAgent.callFunctionOn.invoke = function(obj, opt_callback) {}
RuntimeAgent.callFunctionOn.invoke = function(obj, opt_callback) {}
/**
/**
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {boolean=} opt_ownProperties
* @param {boolean=} opt_ownProperties
* @param {function(?Protocol.Error, Array.<RuntimeAgent.PropertyDescriptor>, Array.<RuntimeAgent.InternalPropertyDescriptor>=):void=} opt_callback
* @param {function(?Protocol.Error, Array.<RuntimeAgent.PropertyDescriptor>, Array.<RuntimeAgent.InternalPropertyDescriptor>=):void=} opt_callback
*/
*/
RuntimeAgent.getProperties = function(objectId, opt_ownProperties, opt_callback) {}
RuntimeAgent.getProperties = function(objectId, opt_ownProperties, opt_callback) {}
/** @param {function(?Protocol.Error, Array.<RuntimeAgent.PropertyDescriptor>, Array.<RuntimeAgent.InternalPropertyDescriptor>=):void=} opt_callback */
/** @param {function(?Protocol.Error, Array.<RuntimeAgent.PropertyDescriptor>, Array.<RuntimeAgent.InternalPropertyDescriptor>=):void=} opt_callback */
RuntimeAgent.getProperties.invoke = function(obj, opt_callback) {}
RuntimeAgent.getProperties.invoke = function(obj, opt_callback) {}
/**
/**
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {RuntimeAgent.RemoteObjectId} objectId
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
RuntimeAgent.releaseObject = function(objectId, opt_callback) {}
RuntimeAgent.releaseObject = function(objectId, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
RuntimeAgent.releaseObject.invoke = function(obj, opt_callback) {}
RuntimeAgent.releaseObject.invoke = function(obj, opt_callback) {}
/**
/**
* @param {string} objectGroup
* @param {string} objectGroup
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
RuntimeAgent.releaseObjectGroup = function(objectGroup, opt_callback) {}
RuntimeAgent.releaseObjectGroup = function(objectGroup, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
RuntimeAgent.releaseObjectGroup.invoke = function(obj, opt_callback) {}
RuntimeAgent.releaseObjectGroup.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
RuntimeAgent.run = function(opt_callback) {}
RuntimeAgent.run = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
RuntimeAgent.run.invoke = function(obj, opt_callback) {}
RuntimeAgent.run.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
RuntimeAgent.enable = function(opt_callback) {}
RuntimeAgent.enable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
RuntimeAgent.enable.invoke = function(obj, opt_callback) {}
RuntimeAgent.enable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
RuntimeAgent.disable = function(opt_callback) {}
RuntimeAgent.disable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
RuntimeAgent.disable.invoke = function(obj, opt_callback) {}
RuntimeAgent.disable.invoke = function(obj, opt_callback) {}
/** @interface */
/** @interface */
RuntimeAgent.Dispatcher = function() {};
RuntimeAgent.Dispatcher = function() {};
/**
/**
* @param {RuntimeAgent.ExecutionContextDescription} context
* @param {RuntimeAgent.ExecutionContextDescription} context
*/
*/
RuntimeAgent.Dispatcher.prototype.executionContextCreated = function(context) {};
RuntimeAgent.Dispatcher.prototype.executionContextCreated = function(context) {};
/**
/**
* @param {RuntimeAgent.Dispatcher} dispatcher
* @param {RuntimeAgent.Dispatcher} dispatcher
*/
*/
InspectorBackend.registerRuntimeDispatcher = function(dispatcher) {}
InspectorBackend.registerRuntimeDispatcher = function(dispatcher) {}
var ConsoleAgent = {};
var ConsoleAgent = {};
/** @typedef {{source:(string), level:(string), text:(string), type:(string|undefined), url:(string|undefined), line:(number|undefined), repeatCount:(number|undefined), parameters:(Array.<RuntimeAgent.RemoteObject>|undefined), stackTrace:(ConsoleAgent.StackTrace|undefined), networkRequestId:(NetworkAgent.RequestId|undefined)}|null} */
/** @enum {string} */
ConsoleAgent.ConsoleMessageSource = {
HTML: "html",
WML: "wml",
XML: "xml",
JAVASCRIPT: "javascript",
NETWORK: "network",
CONSOLE_API: "console-api",
OTHER: "other"
};
/** @enum {string} */
ConsoleAgent.ConsoleMessageLevel = {
TIP: "tip",
LOG: "log",
WARNING: "warning",
ERROR: "error",
DEBUG: "debug"
};
/** @enum {string} */
ConsoleAgent.ConsoleMessageType = {
LOG: "log",
DIR: "dir",
DIRXML: "dirxml",
TABLE: "table",
TRACE: "trace",
CLEAR: "clear",
START_GROUP: "startGroup",
START_GROUP_COLLAPSED: "startGroupCollapsed",
END_GROUP: "endGroup",
ASSERT: "assert",
TIMING: "timing",
PROFILE: "profile",
PROFILE_END: "profileEnd"
};
/** @typedef {{source:(ConsoleAgent.ConsoleMessageSource), level:(ConsoleAgent.ConsoleMessageLevel), text:(string), type:(ConsoleAgent.ConsoleMessageType|undefined), url:(string|undefined), line:(number|undefined), repeatCount:(number|undefined), parameters:(Array.<RuntimeAgent.RemoteObject>|undefined), stackTrace:(ConsoleAgent.StackTrace|undefined), networkRequestId:(NetworkAgent.RequestId|undefined)}|null} */
ConsoleAgent.ConsoleMessage;
ConsoleAgent.ConsoleMessage;
/** @typedef {{functionName:(string), url:(string), lineNumber:(number), columnNumber:(number)}|null} */
/** @typedef {{functionName:(string), url:(string), lineNumber:(number), columnNumber:(number)}|null} */
ConsoleAgent.CallFrame;
ConsoleAgent.CallFrame;
/** @typedef {Array.<ConsoleAgent.CallFrame>} */
/** @typedef {Array.<ConsoleAgent.CallFrame>} */
ConsoleAgent.StackTrace;
ConsoleAgent.StackTrace;
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
ConsoleAgent.enable = function(opt_callback) {}
ConsoleAgent.enable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.enable.invoke = function(obj, opt_callback) {}
ConsoleAgent.enable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
ConsoleAgent.disable = function(opt_callback) {}
ConsoleAgent.disable = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.disable.invoke = function(obj, opt_callback) {}
ConsoleAgent.disable.invoke = function(obj, opt_callback) {}
/**
/**
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
ConsoleAgent.clearMessages = function(opt_callback) {}
ConsoleAgent.clearMessages = function(opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.clearMessages.invoke = function(obj, opt_callback) {}
ConsoleAgent.clearMessages.invoke = function(obj, opt_callback) {}
/**
/**
* @param {boolean} enabled
* @param {boolean} enabled
* @param {function(?Protocol.Error):void=} opt_callback
* @param {function(?Protocol.Error):void=} opt_callback
*/
*/
ConsoleAgent.setMonitoringXHREnabled = function(enabled, opt_callback) {}
ConsoleAgent.setMonitoringXHREnabled = function(enabled, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.setMonitoringXHREnabled.invoke = function(obj, opt_callback) {}
ConsoleAgent.setMonitoringXHREnabled.invoke = function(obj, opt_callback) {}
/**
/**
* @param {DOMAgent.NodeId} nodeId
* @param {DOMAgent.NodeId} nodeId
* @param {function(?Protocol.Error):void=} opt_callback
* @param {f
*/
ConsoleAgent.addInspectedNode = function(nodeId, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.addInspectedNode.invoke = function(obj, opt_callback) {}
/**
* @param {number} heapObjectId
* @param {function(?Protocol.Error):void=} opt_callback
*/
ConsoleAgent.addInspectedHeapObject = function(heapObjectId, opt_callback) {}
/** @param {function(?Protocol.Error):void=} opt_callback */
ConsoleAgent.addInspectedHeapObject.invoke = function(obj, opt_callback) {}
/** @interface */
ConsoleAgent.Dispatcher = function() {};
/**
* @param {ConsoleAgent.ConsoleMessage} message
*/
ConsoleAgent.Dispatcher.prototype.messageAdded = function(message) {};
/**
* @param {number} count
*/
ConsoleAgent.Dispatcher.prototype.messageRepeatCountUpdated = function(count) {};
ConsoleAgent.Dispatcher.prototype.messagesCleared = function() {};
/**
* @param {ConsoleAgent.Dispatcher} dispatcher
*/
InspectorBackend.registerConsoleDispatcher = function(dispatcher) {}
var NetworkAgent = {};
/** @typedef {string} */
NetworkAgent.LoaderId;
/** @typedef {string} */
NetworkAgent.FrameId;
/** @typedef {string} */
NetworkAgent.RequestId;
/** @typedef {number} */
NetworkAgent.Timestamp;
/** @typedef {Object} */
NetworkAgent.Headers;
/** @typedef {{requestTime:(number), proxyStart:(number), proxyEnd:(number), dnsStart:(number), dnsEnd:(number), connectStart:(number), connectEnd:(number), sslStart:(number), sslEnd:(number), sendStart:(number), sendEnd:(number), receiveHeadersEnd:(number)}|null} */
NetworkAgent.ResourceTiming;
/** @typedef {{url:(string), method:(string), headers:(NetworkAgent.Headers), postData:(string|undefined)}|null} */
NetworkAgent.Request;
/** @typedef {{url:(string), status:(number), statusText:(string), headers:(NetworkAgent.Hea