author | Eugene Ostroukhov <eugeneo@symbian.org> |
Wed, 14 Apr 2010 14:54:13 -0700 | |
changeset 305 | be8783adb3a8 |
parent 41 | org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/debugger.jsp@fc4a1d68260a |
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> |