| Index: LayoutTests/http/tests/webfont/same-origin-credentials.html
|
| diff --git a/LayoutTests/http/tests/webfont/same-origin-credentials.html b/LayoutTests/http/tests/webfont/same-origin-credentials.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..297cf9a60ab4860818bbc883e8848c9684b3bd5c
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/webfont/same-origin-credentials.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="/js-test-resources/js-test.js"></script>
|
| +<script>
|
| +description('Tests that credentials are sent for same origin webfont requests');
|
| +
|
| +window.jsTestIsAsync = true;
|
| +
|
| +document.cookie = 'key=WebFontCredentials';
|
| +
|
| +var font = new FontFace('test', 'url(resources/cookie-match.php?key=WebFontCredentials)');
|
| +font.load().then(function() {
|
| + debug('PASS');
|
| + finishJSTest();
|
| +}).catch(function() {
|
| + debug('FAIL');
|
| + finishJSTest();
|
| +});
|
| +</script>
|
| +
|
|
|