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

Side by Side Diff: LayoutTests/http/tests/css/resource-timing-details-for-revalidation.html

Issue 271083002: Resource Timing: Use original Timing-Allow-Origin for cache validating (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/css/resource-timing-details-for-revalidation-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="/js-test-resources/js-test.js"></script>
3 <style>
4 @font-face {
5 font-family: ahem;
6 src: url(http://localhost:8080/css/resources/cors-ahem.php);
7 }
8 </style>
9
10 <div style="font-family: ahem;">This fetches ahem font.<div>
11
12 <script>
13 if (window.testRunner)
14 testRunner.waitUntilDone();
15
16 var entry;
17 if (location.hash == '#check') {
18 document.fonts.ready().then(function() {
19 entry = performance.getEntriesByName('http://localhost:8080/css/resource s/cors-ahem.php')[0];
20 shouldBeTrue('entry.domainLookupStart > 0');
21 if (window.testRunner)
22 testRunner.notifyDone();
23 });
24 } else {
25 document.fonts.ready().then(function() {
26 location.hash = 'check';
27 location.reload();
28 });
29 }
30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/css/resource-timing-details-for-revalidation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698