webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
network-simulator.php File Reference

Functions

if(!sys_get_temp_dir()) if(!isset($_GET['test'])) tempPathBase ()
 
 setState ($newState, $file)
 
 getState ($file)
 
 contentType ($path)
 
 generateNoCacheHTTPHeader ()
 
 generateResponse ($path)
 
 handleIncreaseResourceCountCommand ($path)
 
 handleResetResourceCountCommand ()
 
 handleGetResourceCountCommand ($path)
 
 handleStartResourceRequestsLog ()
 
 handleClearResourceRequestsLog ()
 
 handleGetResourceRequestsLog ()
 
 handleLogResourceRequest ($path)
 

Variables

 $stateFile = tempPathBase() . "-state"
 
 $command = $_GET['command']
 
if($command$requestedPath = $_GET['path']
 

Function Documentation

◆ contentType()

contentType (   $path)

◆ generateNoCacheHTTPHeader()

generateNoCacheHTTPHeader ( )

◆ generateResponse()

generateResponse (   $path)

◆ getState()

getState (   $file)

◆ handleClearResourceRequestsLog()

handleClearResourceRequestsLog ( )

◆ handleGetResourceCountCommand()

handleGetResourceCountCommand (   $path)

◆ handleGetResourceRequestsLog()

handleGetResourceRequestsLog ( )

◆ handleIncreaseResourceCountCommand()

handleIncreaseResourceCountCommand (   $path)

◆ handleLogResourceRequest()

handleLogResourceRequest (   $path)

◆ handleResetResourceCountCommand()

handleResetResourceCountCommand ( )

◆ handleStartResourceRequestsLog()

handleStartResourceRequestsLog ( )

◆ setState()

setState (   $newState,
  $file 
)

◆ tempPathBase()

if (!sys_get_temp_dir()) if (!isset( $_GET[ 'test'])) tempPathBase ( )

Variable Documentation

◆ $command

$command = $_GET['command']

◆ $requestedPath

if ( $command) $requestedPath = $_GET['path']

◆ $stateFile

$stateFile = tempPathBase() . "-state"