author | Eugene Ostroukhov <eugeneo@symbian.org> |
Thu, 15 Jul 2010 10:08:51 -0700 | |
changeset 450 | ed815e0eef9a |
parent 305 | be8783adb3a8 |
permissions | -rw-r--r-- |
2 | 1 |
<html> |
2 |
<head> |
|
3 |
<script type="text/javascript"> |
|
4 |
var req; |
|
5 |
||
6 |
function connect() { |
|
7 |
req = new XMLHttpRequest(); |
|
8 |
req.onreadystatechange = testconnection; |
|
305
be8783adb3a8
Removed white "Establishing debug connection" page.
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
41
diff
changeset
|
9 |
req.open("GET", "testConnection" + window.location.search, true); |
2 | 10 |
req.send(null); |
11 |
} |
|
12 |
||
13 |
function testconnection() { |
|
14 |
if (req.readyState == 4) { |
|
305
be8783adb3a8
Removed white "Establishing debug connection" page.
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
41
diff
changeset
|
15 |
if (req.status != 200) { |
2 | 16 |
window.setTimeout(connect, 200); |
17 |
} else { |
|
305
be8783adb3a8
Removed white "Establishing debug connection" page.
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
41
diff
changeset
|
18 |
window.location = '../wrt_preview_main.html'; |
2 | 19 |
} |
20 |
} |
|
21 |
} |
|
22 |
</script> |
|
23 |
</head> |
|
305
be8783adb3a8
Removed white "Establishing debug connection" page.
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
41
diff
changeset
|
24 |
<body onload="connect()" style="color: silver;"> |
be8783adb3a8
Removed white "Establishing debug connection" page.
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
41
diff
changeset
|
25 |
|
2 | 26 |
</body> |