Permalink
Browse files

updating cross-domain URL used in test-suite test cases

  • Loading branch information...
getify committed Aug 26, 2014
1 parent 14b52d0 commit d314fbea0d84f9c96f844f39c2ff9879ca6c9323
@@ -34,7 +34,7 @@
$LAB
.setOptions({AlwaysPreserveOrder:true,UseLocalXHR:false,BasePath:"/test_suite/"})
.script("//labjs.xhr.me/test_suite/testscript1.php?delay=5") // testing protocol-relative pathing
.script("//labjs.getify.com/test_suite/testscript1.php?delay=5") // testing protocol-relative pathing
.script("/test_suite/testscript2.php?delay=3")
.script("testscript3.php?delay=1")
.wait(done);
@@ -55,4 +55,4 @@ <h1>LABjs tests (LABjs with preloading #1)</h1>
</form>
</body>
</html>
</html>
@@ -33,11 +33,11 @@
$LAB
.setOptions({AlwaysPreserveOrder:true})
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5") // dupe scripts, only one will be preloaded/loaded
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5")
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5") // dupe scripts, only one will be preloaded/loaded
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5")
.script("testscript2.php?delay=3")
.script("testscript2.php?delay=7") // 7 second load of script will be long poll for final "done" (~7 secs)
.script("http://labjs.xhr.me/test_suite/testscript3.php?delay=1")
.script("http://labjs.getify.com/test_suite/testscript3.php?delay=1")
.wait(done);
</script>
@@ -56,4 +56,4 @@ <h1>LABjs tests (LABjs with preloading #10)</h1>
</form>
</body>
</html>
</html>
@@ -33,11 +33,11 @@
$LAB
.setOptions({AlwaysPreserveOrder:true,AllowDuplicates:true})
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5")
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5") // will be allowed since duplicates are allowed
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5")
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5") // will be allowed since duplicates are allowed
.script("testscript2.php?delay=3")
.script("testscript2.php?delay=3") // will be allowed since duplicates are allowed
.script("http://labjs.xhr.me/test_suite/testscript3.php?delay=1")
.script("http://labjs.getify.com/test_suite/testscript3.php?delay=1")
.wait(done);
</script>
@@ -56,4 +56,4 @@ <h1>LABjs tests (LABjs with preloading #11)</h1>
</form>
</body>
</html>
</html>
@@ -36,7 +36,7 @@
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -46,7 +46,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -76,4 +76,4 @@ <h1>LABjs tests (LABjs with preloading #12a)</h1>
</form>
</body>
</html>
</html>
@@ -35,12 +35,12 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -50,7 +50,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -80,4 +80,4 @@ <h1>LABjs tests (LABjs with preloading #12b)</h1>
</form>
</body>
</html>
</html>
@@ -35,13 +35,13 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -51,7 +51,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -81,4 +81,4 @@ <h1>LABjs tests (LABjs with preloading #12c)</h1>
</form>
</body>
</html>
</html>
@@ -35,14 +35,14 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script src="http://labjs.xhr.me/test_suite/testscript3.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript3.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -52,7 +52,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -82,4 +82,4 @@ <h1>LABjs tests (LABjs with preloading #12d)</h1>
</form>
</body>
</html>
</html>
@@ -37,26 +37,26 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script src="http://labjs.xhr.me/test_suite/testscript3.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript3.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
.script("http://labjs.xhr.me/test_suite/testscript3b.php?delay=2")
.script("http://labjs.getify.com/test_suite/testscript3b.php?delay=2")
.wait()
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12e)</h1>
</form>
</body>
</html>
</html>
@@ -37,13 +37,13 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -56,7 +56,7 @@
script2 += " jQuery("+!(!jQuery)+")";
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12f)</h1>
</form>
</body>
</html>
</html>
@@ -37,13 +37,13 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>
$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
@@ -56,7 +56,7 @@
script2 += " jQuery("+!(!jQuery)+")";
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12g)</h1>
</form>
</body>
</html>
</html>
@@ -37,15 +37,15 @@
$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -75,4 +75,4 @@ <h1>LABjs tests (LABjs with preloading #13a)</h1>
</form>
</body>
</html>
</html>
@@ -35,21 +35,21 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script>
$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -79,4 +79,4 @@ <h1>LABjs tests (LABjs with preloading #13b)</h1>
</form>
</body>
</html>
</html>
@@ -35,22 +35,22 @@
timeDiff.setStartTime();
</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>
$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
@@ -80,4 +80,4 @@ <h1>LABjs tests (LABjs with preloading #13c)</h1>
</form>
</body>
</html>
</html>
Oops, something went wrong.

0 comments on commit d314fbe

Please sign in to comment.