Update web-platform-tests to revision 28b5323e37274805b1d1416273e3a941c9c7e08e

This commit is contained in:
WPT Sync Bot 2018-06-18 21:08:01 -04:00
parent 615a127b99
commit f7775a289e
439 changed files with 8598 additions and 14793 deletions

View file

@ -0,0 +1,13 @@
// META: script=/common/get-host-info.sub.js
promise_test(t => {
const img = new Image();
img.src = get_host_info().HTTP_REMOTE_ORIGIN + "/fetch/cross-origin-resource-policy/resources/image.py?corp=same-site";
return new Promise((resolve, reject) => {
img.onload = resolve;
img.onerror = reject;
document.body.appendChild(img);
}).finally(() => {
img.remove();
});
}, "Cross-Origin-Resource-Policy does not block Mixed Content <img>");