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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/font-face-cache-version.html

Issue 2653773006: Make FontFaceCache::version return unique number across all instances (Closed)
Patch Set: Created 3 years, 11 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 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698