Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.149.244.92
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /srv/modoboa/instance/sitestatic/jquery/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /srv/modoboa/instance/sitestatic/jquery/test/networkerror.html
<!DOCTYPE html>
<html>
<!--
	Test for #8135

	Thanks John Firebaugh for this test page based on his gist
	https://gist.github.com/807090

	Access this page through a web server, then stop said server and click the button.
-->
<head>
	<title>
		jQuery Network Error Test for Firefox
	</title>
	<style>
		div { margin-top: 10px; }
	</style>
	<script src="../dist/jquery.min.js"></script>
	<script type="text/javascript">
	$('button').live('click', function () {
		$.ajax({
			url: '/',
			error: function() {
				console.log( "abort", arguments );
			}
		}).abort();
		$.ajax({
			url: '/',
			error: function() {
				console.log( "complete", arguments );
			}
		});
		return false;
	})
	</script>
</head>
<body>
	<h1>
		jQuery Network Error Test for Firefox
	</h1>
	<div>
		This is a test page for
		<a href="http://bugs.jquery.com/ticket/8135">
			#8135
		</a>
		which was reported in Firefox when accessing properties
		of an XMLHttpRequest object after a network error occured.
	</div>
	<div>Take the following steps:</div>
	<ol>
		<li>
			make sure you accessed this page through a web server,
		</li>
		<li>
			stop the web server,
		</li>
		<li>
			open the console,
		</li>
		<li>
			click this
			<button>button</button>
			,
		</li>
		<li>
			wait for both requests to fail.
		</li>
	</ol>
	<div>
		Test passes if you get two log lines:
		<ul>
			<li>
				the first starting with "abort",
			</li>
			<li>
				the second starting with "complete",
			</li>
		</ul>
	</div>
	<div>
		Test fails if the browser notifies an exception.
	</div>
</body>
</html>

Anon7 - 2022
AnonSec Team