Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
<script>
|
||||
function checkDomain(str, msg) {
|
||||
window.parent.postMessage((str == document.domain) + ";" +msg,
|
||||
"http://localhost:8888/");
|
||||
"http://mochi.test:8888");
|
||||
}
|
||||
|
||||
function reportException(msg) {
|
||||
window.parent.postMessage(false + ";" + msg, "http://localhost:8888/");
|
||||
window.parent.postMessage(false + ";" + msg, "http://mochi.test:8888");
|
||||
}
|
||||
|
||||
var win1;
|
||||
|
||||
@@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=445004
|
||||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 445004 **/
|
||||
is(window.location.hostname, "localhost", "Unexpected hostname");
|
||||
is(window.location.hostname, "mochi.test", "Unexpected hostname");
|
||||
is(window.location.port, "8888", "Unexpected port; fix testcase");
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
Reference in New Issue
Block a user