blob: 8dd66dae59d87a23394c4e170fe4b2fe79a1f4b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<title>GIF document.contentType === 'image/gif'</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
var iframe = document.createElement('iframe');
iframe.addEventListener('load', this.step_func_done(function() {
assert_equals(iframe.contentDocument.contentType, "image/gif");
}), false);
iframe.src = "../resources/t.gif";
document.body.appendChild(iframe);
});
</script>
|