summary refs log tree commit diff stats
path: root/doc/pydoc/ranger.gui.widgets.statusbar.html
Commit message (Expand)AuthorAgeFilesLines
* moved pydoc pages to doc/pydochut2009-12-251-0/+164
2024-07-18 18:22:56 +0200 html: event cleanup, XHR progress' href='/ahoang/chawan/commit/test/js/xhr.html?id=f94b84bde340739647ffe7dd92cfcefb6686eca2'>f94b84bd ^
4bf895db ^

f94b84bd ^
4bf895db ^


f94b84bd ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20







                                      
         



                                               

                                             
         


                                                     
         
<!doctype html>
<title>onclick setter/getter</title>
<div id=x>Fail</div>
<script src=asserts.js></script>
<script>
const x = new XMLHttpRequest();
assert(x.onreadystatechange === null);
function myFunction() {
	;
}
x.onreadystatechange = myFunction;
assert(myFunction === x.onreadystatechange);
assert(x.readyState === XMLHttpRequest.UNSENT);
x.open("GET", "ping", false);
assert_throws("x.responseType = 'document'");
x.send();
assert_equals(x.readyState, XMLHttpRequest.DONE);
assert_equals(x.responseText.trim(), "pong");
document.getElementById("x").textContent = "Success";
</script>