mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
Automatic update from web-platform-testsMove http/ tests into fetch/ and html/ (#10870) As discussed in https://github.com/w3c/web-platform-tests/pull/10839. -- wpt-commits: e1fb329f9cddd385706f78ecba642c84c6936c9f wpt-pr: 10870 --HG-- rename : testing/web-platform/tests/http/content_length.html => testing/web-platform/tests/fetch/content-length/content-length.html rename : testing/web-platform/tests/http/content_length.html.headers => testing/web-platform/tests/fetch/content-length/content-length.html.headers rename : testing/web-platform/tests/http/basic-auth-cache-test-ref.html => testing/web-platform/tests/fetch/http-cache/basic-auth-cache-test-ref.html rename : testing/web-platform/tests/http/refresh/navigate.window.js => testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/navigate.window.js rename : testing/web-platform/tests/http/refresh/resources/multiple.asis => testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/multiple.asis rename : testing/web-platform/tests/http/refresh/resources/refresh.py => testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh.py rename : testing/web-platform/tests/http/refresh/resources/refreshed.txt => testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refreshed.txt rename : testing/web-platform/tests/http/refresh/subresource.any.js => testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.js
27 lines
806 B
HTML
27 lines
806 B
HTML
<!doctype html>
|
|
<html id="doc" class="reftest-wait">
|
|
<meta charset="utf-8">
|
|
<link rel="match" href="basic-auth-cache-test-ref.html">
|
|
|
|
<img id="auth" onload="loadNoAuth()">
|
|
<img id="noauth" onload="removeWait()">
|
|
|
|
|
|
<script type="text/javascript">
|
|
function loadAuth() {
|
|
var authUrl = 'http://testuser:testpass@' + window.location.host + '/fetch/http-cache/resources/securedimage.py';
|
|
document.getElementById('auth').src = authUrl;
|
|
}
|
|
|
|
function loadNoAuth() {
|
|
var noAuthUrl = 'http://' + window.location.host + '/fetch/http-cache/resources/securedimage.py';
|
|
document.getElementById('noauth').src = noAuthUrl;
|
|
}
|
|
|
|
function removeWait() {
|
|
document.getElementById('doc').className = "";
|
|
}
|
|
|
|
window.onload = loadAuth;
|
|
</script>
|
|
</html>
|