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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/svg/use-contenttype-blocked.html

Issue 1706243002: Don't use SVG resource documents with an unrecognized MIME-type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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>
3 if (window.testRunner)
4 testRunner.waitUntilDone();
5 function finishTest() {
6 if (window.testRunner)
7 testRunner.notifyDone();
8 }
9 </script>
10 <svg>
11 <rect width="100" height="100" fill="green"/>
12 <use
13 onload="finishTest()" onerror="finishTest()"
Mike West 2016/02/24 13:23:43 Does `onerror` fire? It seems like you could get
fs 2016/02/24 17:04:59 Yes...
14 xlink:href="resources/echo-query.php?type=application/json&payload=%3C%3Fxm l%20version%3D%271.0%27%3F%3E%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27 %3E%3Crect%20id%3D%27rectangle%27%20width%3D%27100%27%20height%3D%27100%27%20fil l%3D%27red%27/%3E%3C/svg%3E#rectangle"/>
15 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698