mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make /dom/nodes/CharacterData-surrogates.html not panic.
It now fails since DOMString is currently based on std::string::String on the Rust side, which is strictly well-formed UTF-8 and can not contain unpaired surrogate code points. Fixes #10780
This commit is contained in:
parent
e18bf81905
commit
c11a3b958d
2 changed files with 116 additions and 25 deletions
|
@ -1,3 +1,26 @@
|
|||
[CharacterData-surrogates.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
[Text.substringData() splitting surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Text.replaceData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Text.deleteData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Text.insertData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Comment.substringData() splitting surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Comment.replaceData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Comment.deleteData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
[Comment.insertData() splitting and creating surrogate pairs]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue