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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/webfont/font-load-revalidation.html

Issue 1893233002: WebFonts: reset m_loadLimitState on memory cache revalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: #14 Created 4 years, 8 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 <html>
3 <head>
4 <script src="/js-test-resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 jsTestIsAsync = true;
9
10 var reloaded = false;
11
12 window.addEventListener('message', e => {
13 var message = e.data.split(':');
14 if (message[0] == 'reload') {
15 if (!reloaded) {
16 reloaded = true;
17 frames[0].location.reload();
18 } else {
19 finishJSTest();
20 }
21 } else if (message[0] == 'pass') {
22 testPassed(message[1]);
23 } else {
24 testFailed(message[1]);
25 }
26 });
27
28 </script>
29 <iframe id="iframe" src="resources/font-load-revalidation-frame.html"></iframe>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698