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

Side by Side Diff: LayoutTests/http/tests/webfont/same-origin-credentials.html

Issue 1267023004: WebFonts: Send credentials for same origin requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 4 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="/js-test-resources/js-test.js"></script>
3 <script>
4 description('Tests that credentials are sent for same origin webfont requests');
5
6 window.jsTestIsAsync = true;
7
8 document.cookie = 'key=WebFontCredentials';
9
10 var font = new FontFace('test', 'url(resources/cookie-match.php?key=WebFontCrede ntials)');
11 font.load().then(function() {
12 debug('PASS');
13 finishJSTest();
14 }).catch(function() {
15 debug('FAIL');
16 finishJSTest();
17 });
18 </script>
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698