OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <iframe srcdoc=" | 2 <iframe srcdoc=" |
3 <base href='http://example.com/from/iframe.html'> | 3 <base href='http://example.com/from/iframe.html'> |
4 <style> | 4 <style> |
5 @font-face { | 5 @font-face { |
6 font-family: faceInIframe; | 6 font-family: faceInIframe; |
7 src: url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe
&resource=font'); | 7 src: url('http://127.0.0.1:8000/css/resources/referrer-check.php?from=iframe
&resource=font'); |
8 } | 8 } |
9 .imageInIframe { | 9 .imageInIframe { |
10 background-image: url('http://127.0.0.1:8000/css/resources/referrer-check.ph
p?from=iframe&resource=image'); | 10 background-image: url('http://127.0.0.1:8000/css/resources/referrer-check.ph
p?from=iframe&resource=image'); |
(...skipping 13 matching lines...) Expand all Loading... |
24 Image in iframe. Background should be dark blue. | 24 Image in iframe. Background should be dark blue. |
25 </div> | 25 </div> |
26 <div class='imageSetInIframe'> | 26 <div class='imageSetInIframe'> |
27 Image set in iframe. Background should be dark blue. | 27 Image set in iframe. Background should be dark blue. |
28 </div> | 28 </div> |
29 "></iframe> | 29 "></iframe> |
30 | 30 |
31 <script> | 31 <script> |
32 if (window.testRunner) { | 32 if (window.testRunner) { |
33 testRunner.waitUntilDone(); | 33 testRunner.waitUntilDone(); |
34 document.fonts.ready().then(function() { testRunner.notifyDone(); }); | 34 document.fonts.ready.then(function() { testRunner.notifyDone(); }); |
35 } | 35 } |
36 </script> | 36 </script> |
OLD | NEW |