mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
34 lines
675 B
HTML
34 lines
675 B
HTML
|
<!doctype html>
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8"/>
|
||
|
<title>Network Monitor test page</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<p>JSON long string test</p>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
function get(aAddress, aCallback) {
|
||
|
var xhr = new XMLHttpRequest();
|
||
|
xhr.open("GET", aAddress, true);
|
||
|
|
||
|
xhr.onreadystatechange = function() {
|
||
|
if (this.readyState == this.DONE) {
|
||
|
aCallback();
|
||
|
}
|
||
|
};
|
||
|
xhr.send(null);
|
||
|
}
|
||
|
|
||
|
function performRequests() {
|
||
|
get("sjs_content-type-test-server.sjs?fmt=json-long", function() {
|
||
|
// Done.
|
||
|
});
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|