org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/debugger.htm
changeset 305 be8783adb3a8
parent 41 fc4a1d68260a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/debugger.htm	Wed Apr 14 14:54:13 2010 -0700
@@ -0,0 +1,26 @@
+<html>
+<head>
+	<script type="text/javascript">
+		var req;
+		
+		function connect() {
+			req = new XMLHttpRequest();
+			req.onreadystatechange = testconnection;
+			req.open("GET", "testConnection" + window.location.search, true);
+			req.send(null);
+		}
+		
+		function testconnection() {
+			if (req.readyState == 4) {
+				if (req.status != 200) {
+					window.setTimeout(connect, 200);
+				} else {
+					window.location = '../wrt_preview_main.html';
+				}
+			}
+		}
+	</script>
+</head>
+<body onload="connect()" style="color: silver;">
+
+</body>
\ No newline at end of file