Beispiel #1
0
 /** Initialize the agent */
 function load() {
     _urlRequested = {};
     Inspector.Network.enable();
     Inspector.on("Network.requestWillBeSent", _onRequestWillBeSent);
 }
Beispiel #2
0
 /** Unload the agent */
 function unload() {
     _reset();
     Inspector.Page.off(".NetworkAgent");
     Inspector.Network.off(".NetworkAgent");
 }
Beispiel #3
0
 /**
  * Enable the inspector Network domain
  * @return {jQuery.Promise} A promise resolved when the Network.enable() command is successful.
  */
 function enable() {
     return Inspector.Network.enable();
 }
Beispiel #4
0
 /** Initialize the agent */
 function load() {
     Inspector.Page.on("frameNavigated.NetworkAgent", _onFrameNavigated);
     Inspector.Network.on("requestWillBeSent.NetworkAgent", _onRequestWillBeSent);
 }
 /** Initialize the agent */
 function load() {
     _urlRequested = {};
     Inspector.Network.enable();
     $(Inspector.Network).on("requestWillBeSent.NetworkAgent", _onRequestWillBeSent);
 }