| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <script> |
| 5 |
| 6 async_test(function(t) { |
| 7 var messages = []; |
| 8 window.addEventListener('message', (evt) => { |
| 9 messages.push(evt.data); |
| 10 if (messages.length == 2) { |
| 11 t.step(() => { |
| 12 assert_not_equals(messages[0], messages[1], |
| 13 'The texts in two iframes should not be identical'); |
| 14 t.done(); |
| 15 }); |
| 16 } |
| 17 }); |
| 18 }, 'Cached font from differnt document should not be used'); |
| 19 |
| 20 </script> |
| 21 <iframe id='frame' src='resources/font-face-cache-version-frame1.html'></iframe> |
| 22 <iframe id='frame' src='resources/font-face-cache-version-frame2.html'></iframe> |
| OLD | NEW |