Untitled diff

Created Diff never expires
64 removals
655 lines
97 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} */