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

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: address hiroshige's comments at #11 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 if (window.testRunner)
9 testRunner.waitUntilDone();
hiroshige 2016/04/21 07:39:10 We can write |jsTestIsAsync = true;| instead of li
Takashi Toyoshima 2016/04/21 08:31:24 Done.
10
11 var reloaded = false;
12
13 window.addEventListener('message', e => {
14 var message = e.data.split(':');
15 if (message[0] == 'reload') {
16 if (!reloaded) {
17 reloaded = true;
18 frames[0].location.reload();
19 } else {
20 if (window.testRunner)
21 testRunner.notifyDone();
hiroshige 2016/04/21 07:39:10 We can write |finishJSTest();| instead of lines 20
Takashi Toyoshima 2016/04/21 08:31:24 Done.
22 }
23 } else if (message[0] == 'pass') {
24 testPassed(message[1]);
25 } else {
26 testFailed(message[1]);
27 }
28 });
29
30 </script>
31 <iframe id="iframe" src="resources/font-load-revalidation-frame.html"></iframe>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698