Index: LayoutTests/fast/encoding/api/end-of-file-expected.txt |
diff --git a/LayoutTests/fast/encoding/api/end-of-file-expected.txt b/LayoutTests/fast/encoding/api/end-of-file-expected.txt |
index 4835cae4fb48f015ac826a877f360510de6a9034..811c7d900eec1354e5ed429f3e87d1d1dee20283 100644 |
--- a/LayoutTests/fast/encoding/api/end-of-file-expected.txt |
+++ b/LayoutTests/fast/encoding/api/end-of-file-expected.txt |
@@ -3,7 +3,7 @@ Edge cases around non-fatal errors at EOF |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS new TextDecoder('utf-8', {fatal: true}).decode(new Uint8Array([0xff])) threw exception EncodingError: The encoded data was not valid.. |
+PASS new TextDecoder('utf-8', {fatal: true}).decode(new Uint8Array([0xff])) threw exception EncodingError: Failed to execute 'decode' on 'TextDecoder': The encoded data was not valid.. |
Should not throw or hang: |
new TextDecoder('utf-8').decode(new Uint8Array([0xff])) |