Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: LayoutTests/http/tests/images/image-currentsrc-redirect.html

Issue 317723003: Split image-currentsrc test into 3 separate tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="/js-test-resources/js-test.js"></script>
3 <body>
4 <script>
5 document.body.innerHTML += '<img id="redirect" src="http://127.0.0.1:8000/re sources/slow-image.php?redirect_name=square100.png&mimeType=image/png&sleep=100" >';
6 jsTestIsAsync = true;
7 var img_redirect = window.document.getElementById("redirect");
8 img_redirect.onload = function() {
9 shouldBe('img_redirect.currentSrc', '"http://127.0.0.1:8000/resources/sl ow-image.php?redirect_name=square100.png&mimeType=image/png&sleep=100"');
10 };
11 window.onload = function() {
12 finishJSTest();
13 };
14 </script>
15 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698