mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update web-platform-tests to revision a357943a203d0d587a30c9aa41c4772a0500ff79
This commit is contained in:
parent
f4aafe8caa
commit
4be16c75d7
12 changed files with 59 additions and 13 deletions
|
@ -295601,6 +295601,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.py": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/available-images-ref.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -372530,6 +372535,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.html": [
|
||||
[
|
||||
"/html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/Image-constructor.html": [
|
||||
[
|
||||
"/html/semantics/embedded-content/the-img-element/Image-constructor.html",
|
||||
|
@ -627205,6 +627216,14 @@
|
|||
"d30ac2ac36c66bf735036baa755f836b00fa47a6",
|
||||
"support"
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.html": [
|
||||
"73b937f67fd7e0ccce22391e9c28eef334addc88",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.py": [
|
||||
"e4216c6d53fd4cb66be3870b3ea6b590af27fb2c",
|
||||
"support"
|
||||
],
|
||||
"html/semantics/embedded-content/the-img-element/Image-constructor.html": [
|
||||
"aa838ec8774e2bcaac360bf8ed929e0facc7fa3e",
|
||||
"testharness"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[traverse_the_history_3.html]
|
||||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -5,5 +5,5 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[calling play() on a sufficiently long video should trigger timeupdate event]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[404-response-with-actual-image-data.html]
|
||||
[404 response with actual image data should be rendered and load event is fired]
|
||||
expected: FAIL
|
||||
|
|
@ -8,8 +8,8 @@
|
|||
expected: TIMEOUT
|
||||
|
||||
[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[toggleEvent.html]
|
||||
[Calling open twice on 'details' fires only one toggle event]
|
||||
expected: FAIL
|
||||
|
||||
[Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[iframe_005.html]
|
||||
[document.write external script into iframe write back into parent]
|
||||
expected: FAIL
|
||||
|
|
@ -12,3 +12,6 @@
|
|||
[Verifies the resolution of entry.startTime is at least 5 microseconds.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Verifies the resolution of performance.now() is at least 5 microseconds.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[buffer-full-set-to-current-buffer.html]
|
||||
expected: ERROR
|
||||
[Test that entries added and event firing happened in the right sequence]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<meta charset="utf-8">
|
||||
<title>404 response with actual image data should be rendered and load event is fired</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<img id="img">
|
||||
|
||||
<script>
|
||||
async_test(t => {
|
||||
var img = document.getElementById("img");
|
||||
img.onload = t.step_func_done(e => {
|
||||
assert_equals(e.type, "load", "image.onload() called");
|
||||
});
|
||||
img.onerror = t.unreached_func("image.onerror() was not supposed to be called");
|
||||
img.src = "404-response-with-actual-image-data.py";
|
||||
}, "404 response with actual image data should be rendered and load event is fired");
|
||||
</script>
|
|
@ -0,0 +1,3 @@
|
|||
import base64
|
||||
def main(req, res):
|
||||
return 404, [('Content-Type', 'image/png')], base64.decodestring("iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAhSURBVDhPY3wro/KfgQLABKXJBqMGjBoAAqMGDLwBDAwAEsoCTFWunmQAAAAASUVORK5CYII=")
|
Loading…
Add table
Add a link
Reference in a new issue