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

Side by Side Diff: LayoutTests/http/tests/css/resources/performance-info-with-cached-sheet-next.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="/js-test-resources/ahem.js"></script>
2 <link rel="stylesheet" href="has-cached-resources.css"> 3 <link rel="stylesheet" href="has-cached-resources.css">
3 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
4 <script src="url.js"></script> 5 <script src="url.js"></script>
5 <script> 6 <script>
6 if (window.testRunner) 7 if (window.testRunner)
7 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
8 9
9 function shouldHavePerformanceInfo(url) { 10 function shouldHavePerformanceInfo(url) {
10 shouldNotBe('window.performance.getEntriesByName("' + url + '")', "[]"); 11 shouldNotBe('window.performance.getEntriesByName("' + url + '")', "[]");
11 } 12 }
(...skipping 15 matching lines...) Expand all
27 if (window.testRunner) 28 if (window.testRunner)
28 testRunner.notifyDone(); 29 testRunner.notifyDone();
29 }, 0); 30 }, 0);
30 } 31 }
31 </script> 32 </script>
32 <!-- FIXME: need to test the case: this html has not font-family: AcidAhemTest. --> 33 <!-- FIXME: need to test the case: this html has not font-family: AcidAhemTest. -->
33 <!-- In the case, window.performance.getEntriesByName should not return the font 's --> 34 <!-- In the case, window.performance.getEntriesByName should not return the font 's -->
34 <!-- performance timing info. --> 35 <!-- performance timing info. -->
35 <!-- Currently, because of CSSFontFaceSrcValue, always returns its info. --> 36 <!-- Currently, because of CSSFontFaceSrcValue, always returns its info. -->
36 <div style="font-family: AcidAhemTest">Acid Ahem Test Font</div> 37 <div style="font-family: AcidAhemTest">Acid Ahem Test Font</div>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/css/performance-info-with-cached-sheet.html ('k') | LayoutTests/http/tests/css/shape-image-file.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698