mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee
This commit is contained in:
parent
fe1a057bd1
commit
24183668c4
1960 changed files with 29853 additions and 10555 deletions
|
@ -0,0 +1,27 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue