Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1911606
commit a48cf1d
Showing
4 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...conformance-1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-svg-image.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[tex-image-and-sub-image-2d-with-svg-image.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[WebGL test #0: at (4, 4) expected: 0,255,0 was 0,0,0] | ||
expected: FAIL | ||
|
21 changes: 21 additions & 0 deletions
21
...web-platform-tests/html/semantics/embedded-content/the-img-element/nonexistent-image.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE HTML> | ||
<meta charset="utf-8"> | ||
<title>Loading an nonexisting image should fail; triggering appropriate events</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<img> | ||
|
||
<script> | ||
async_test(function(t) { | ||
var img = document.querySelector("img"); | ||
img.onload = this.step_func_done(function() { | ||
assert_unreached("image.onload() was not supposed to be called"); | ||
}); | ||
img.onerror = this.step_func_done(function(e) { | ||
assert_equals(e.type, "error", "image.onerror() called"); | ||
t.done(); | ||
}); | ||
img.src = "404"; | ||
}); | ||
</script> |