mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision c26470dac73f2df9d4822a0d3482f7eb1ebf57d9
This commit is contained in:
parent
7de87c487b
commit
4d3c932c47
648 changed files with 9014 additions and 4821 deletions
|
@ -86,4 +86,10 @@ test(() => {
|
|||
var wsocket = new EventSource('ws://www.example.com/socketserve\uD899/');
|
||||
assert_true(wsocket.url.endsWith('ws://www.example.com/socketserve%EF%BF%BD/'));
|
||||
}, "websocket url : unpaired surrogate codepoint should be replaced with U+FFFD")
|
||||
|
||||
test(() => {
|
||||
var w = window.open("about:blank#\uD800");
|
||||
assert_equals(w.document.URL, 'about:blank#%EF%BF%BD');
|
||||
assert_equals(w.document.documentURI, 'about:blank#%EF%BF%BD');
|
||||
}, "Document URLs: unpaired surrogate codepoint should be replaced with U+FFFD")
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue