-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #22552 - servo-wpt-sync:wpt_update_24-12-2018, r=jdm
Sync WPT with upstream (24-12-2018) Automated downstream sync of changes from upstream as of 24-12-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22552) <!-- Reviewable:end -->
- Loading branch information
Showing
12 changed files
with
59 additions
and
13 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
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...interface/traverse_the_history_3.html.ini → ...interface/traverse_the_history_5.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,4 +1,4 @@ | ||
[traverse_the_history_3.html] | ||
[traverse_the_history_5.html] | ||
[Multiple history traversals, last would be aborted] | ||
expected: FAIL | ||
|
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
4 changes: 4 additions & 0 deletions
4
...l/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.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 |
---|---|---|
@@ -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 | ||
|
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
7 changes: 7 additions & 0 deletions
7
...wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.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 |
---|---|---|
@@ -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 | ||
|
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/iframe_005.html.ini
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/resource-timing/buffer-full-set-to-current-buffer.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,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 | ||
|
18 changes: 18 additions & 0 deletions
18
.../html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.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,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> |
3 changes: 3 additions & 0 deletions
3
...ts/html/semantics/embedded-content/the-img-element/404-response-with-actual-image-data.py
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,3 @@ | ||
import base64 | ||
def main(req, res): | ||
return 404, [('Content-Type', 'image/png')], base64.decodestring("iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAhSURBVDhPY3wro/KfgQLABKXJBqMGjBoAAqMGDLwBDAwAEsoCTFWunmQAAAAASUVORK5CYII=") |