Revision 750cfaf984c93f0cc80cf28110fe0c6333fcfbb4 authored by Tarun Bansal on 15 March 2018, 17:56:27 UTC, committed by Blink WPT Bot on 15 March 2018, 18:14:49 UTC
Also, add tests for other client hints.

Finally. use the built-in sub pipe to enable running the
cross-origin test.

Bug: 817049
Change-Id: Ib4155f50e0ffd3a0447cf250cd4018b650f3b419
Reviewed-on: https://chromium-review.googlesource.com/963403
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543433}
1 parent d56bf78
Raw File
reflected-changing-longdesc-manual.html
<!DOCTYPE html>
<html>
 <head>
  <title>Longdesc test: Reflection when longdesc changes</title>
 </head>
 <body>
  <img src="picture.png" alt="the image" longdesc="fail.html">
  <script>
    var failingResult = document.querySelector('img[longdesc]').longDesc;
    var newValue = '<img src="picture.png" alt="the image" longdesc="pass.html">';

    document.querySelector('img').outerHTML = newValue;
    document.location.href = document.querySelector('img[longdesc]').longDesc;
  </script>
 </body>
</html>
back to top