Revision 5e7c87421195305ab688dd53dae61ae131609773 authored by Conley Owens on 04 April 2018, 18:03:08 UTC, committed by Chromium WPT Sync on 04 April 2018, 18:03:08 UTC
This change uses AllResponsesConsumed in the bluetooth Web Platform
Tests in order to make sure we have consumed all the anticipatory
responses that we've set on our fakes.

BUG=569709

Change-Id: I9767792fcd5dda71fabf2f8941638f744aefa2dc
Reviewed-on: https://chromium-review.googlesource.com/988422
Commit-Queue: Conley Owens <cco3@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548125}
1 parent 6a7101f
Raw File
basic-auth-cache-test.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 + '/http/resources/securedimage.py';
        document.getElementById('auth').src = authUrl;
    }

    function loadNoAuth() {
        var noAuthUrl = 'http://' + window.location.host + '/http/resources/securedimage.py';
        document.getElementById('noauth').src = noAuthUrl;
    }

    function removeWait() {
        document.getElementById('doc').className = "";
    }

    window.onload = loadAuth;
  </script>
</html>
back to top