Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda

This commit is contained in:
WPT Sync Bot 2019-12-10 08:24:07 +00:00
parent 03a47c803c
commit 20d165ac2c
474 changed files with 6971 additions and 1378 deletions

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
async_test(function(t) {
x = new Image();
x.loading = "auto";
x.src = "resources/image.png?auto";
x.onload = e => {
t.step(function() {
t.step_func_done();
});
};
t.step_timeout(function() { t.done(); }, 2000);
}, "loading=auto for disconnected image");
async_test(function(t) {
x = new Image();
x.loading = "lazy";
x.src = "resources/image.png?lazy";
x.onload = e => {
t.step(function() {
t.unreached_func("Disconnected image with loading=lazy should be loaded lazily.");
});
};
t.step_timeout(function() { t.done(); }, 2000);
}, "loading=lazy for disconnected image");
</script>
</body>