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=
"../src/core.js"></script>
19 <script src=
"../src/deferred.js"></script>
20 <script src=
"../src/support.js"></script>
21 <script src=
"../src/data.js"></script>
22 <script src=
"../src/queue.js"></script>
23 <script src=
"../src/attributes.js"></script>
24 <script src=
"../src/event.js"></script>
25 <script src=
"../src/sizzle/sizzle.js"></script>
26 <script src=
"../src/sizzle-jquery.js"></script>
27 <script src=
"../src/traversing.js"></script>
28 <script src=
"../src/manipulation.js"></script>
29 <script src=
"../src/css.js"></script>
30 <script src=
"../src/ajax.js"></script>
31 <script src=
"../src/ajax/jsonp.js"></script>
32 <script src=
"../src/ajax/script.js"></script>
33 <script src=
"../src/ajax/xhr.js"></script>
34 <script src=
"../src/effects.js"></script>
35 <script src=
"../src/offset.js"></script>
36 <script src=
"../src/dimensions.js"></script>
37 <script type=
"text/javascript">
38 $('button').live('click', function () {
42 console
.log( "abort", arguments
);
48 console
.log( "complete", arguments
);
57 jQuery Network Error Test for Firefox
60 This is a test page for
61 <a href=
"http://bugs.jquery.com/ticket/8135">
64 which was reported in Firefox when accessing properties
65 of an XMLHttpRequest object after a network error occured.
67 <div>Take the following steps:
</div>
70 make sure you accessed this page through a web server,
80 <button>button
</button>
84 wait for both requests to fail.
88 Test passes if you get two log lines:
91 the first starting with
"abort",
94 the second starting with
"complete",
99 Test fails if the browser notifies an exception.