| Index: third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html b/third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c23d9addaad7d4052859c66d2fcdf5959813a09b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +
|
| +async_test(function(t) {
|
| + var messages = [];
|
| + window.addEventListener('message', (evt) => {
|
| + messages.push(evt.data);
|
| + if (messages.length == 2) {
|
| + t.step(() => {
|
| + assert_not_equals(messages[0], messages[1],
|
| + 'The texts in two iframes should not be identical');
|
| + t.done();
|
| + });
|
| + }
|
| + });
|
| +}, 'Cached font from differnt document should not be used');
|
| +
|
| +</script>
|
| +<iframe id='frame' src='resources/font-face-cache-version-frame1.html'></iframe>
|
| +<iframe id='frame' src='resources/font-face-cache-version-frame2.html'></iframe>
|
|
|