Commit 7fa2e72f authored by Romain Courteaud's avatar Romain Courteaud

Do not hardcode server URL

parent bd0024ff
......@@ -3630,7 +3630,9 @@
document.querySelector('.acquisitionError'),
klass_div = iframe.contentWindow.document.querySelector('.klass');
equal(url_div.innerHTML,
"http://localhost:9000/test/not_declared_gadget.html");
window.location.protocol + "//" + window.location.hostname +
(window.location.port ? ':' + window.location.port : '') +
"/test/not_declared_gadget.html");
equal(acquisition_div.innerHTML,
"AcquisitionError: No gadget provides willFail");
equal(klass_div.innerHTML,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment