mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 993a932dca2b378a44dc55f4ee80812f65d8fb4e
This commit is contained in:
parent
f5ff38b875
commit
af74a5d2cf
331 changed files with 3327 additions and 3531 deletions
|
@ -13,7 +13,8 @@
|
|||
promise_test(async t => {
|
||||
iframe.src =
|
||||
get_host_info().HTTP_NOTSAMESITE_ORIGIN +
|
||||
"/loading/lazyload/resources/image-loading-lazy-below-viewport-iframe.html";
|
||||
new URL("resources/", self.location).pathname +
|
||||
"image-loading-lazy-below-viewport-iframe.html";
|
||||
|
||||
let image_loaded = false;
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
promise_test(async t => {
|
||||
iframe.src =
|
||||
get_host_info().HTTP_NOTSAMESITE_ORIGIN +
|
||||
"/loading/lazyload/resources/image-loading-lazy-in-viewport-iframe.html";
|
||||
new URL("resources/", self.location).pathname +
|
||||
"image-loading-lazy-in-viewport-iframe.html";
|
||||
|
||||
let image_loaded = false;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="common.js"></script>
|
||||
<base href='/loading/lazyload/resources/'>
|
||||
<base href='/html/semantics/embedded-content/the-img-element/resources/'>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="common.js"></script>
|
||||
<base href='/loading/lazyload/resources/'>
|
||||
<base href='/html/semantics/embedded-content/the-img-element/resources/'>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -37,6 +37,6 @@
|
|||
<body>
|
||||
<div style="height:10000px;"></div>
|
||||
<img id="crossorigin_img" loading="lazy"
|
||||
src='http://{{hosts[alt][www]}}:{{ports[http][0]}}/loading/lazyload/resources/image.png'
|
||||
src='http://{{hosts[alt][www]}}:{{ports[http][0]}}/html/semantics/embedded-content/the-img-element/resources/image.png'
|
||||
onload="crossorigin_img.resolve();" onerror="crossorigin_img.reject();">
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue