6 Thanks John Firebaugh for this test page based on his gist
7 https://gist.github.com/807090
9 Access this page through a web server, then stop said server and click the button.
13 jQuery Network Error Test for Firefox
16 div { margin-top:
10px; }
18 <script src=
"../dist/jquery.js"></script>
19 <script type=
"text/javascript">
20 $('button').live('click', function () {
24 console
.log( "abort", arguments
);
30 console
.log( "complete", arguments
);
39 jQuery Network Error Test for Firefox
42 This is a test page for
43 <a href=
"http://bugs.jquery.com/ticket/8135">
46 which was reported in Firefox when accessing properties
47 of an XMLHttpRequest object after a network error occured.
49 <div>Take the following steps:
</div>
52 make sure you accessed this page through a web server,
62 <button>button
</button>
66 wait for both requests to fail.
70 Test passes if you get two log lines:
73 the first starting with
"abort",
76 the second starting with
"complete",
81 Test fails if the browser notifies an exception.