Files
react-native-devtools-frontend/test/e2e/resources/network/utf-8.rawresponse
T
Tim van der Lippe 822e99179c Add test for utf-8 character encoding
It also updates the hosted_mode server to serve JavaScript files with
the correct encoding. If we don't, the unicode characters that we use in
the DevTools implementations are garbled in either the source code or
test code.

This replaces
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/http/tests/devtools/startup/resource-tree/main-resource-content.js;l=1;drc=77578ccb4082ae20a9326d9e673225f1189ebb63?originalUrl=https:%2F%2Fcs.chromium.org%2F
as an e2etest

Bug: 1044632
Change-Id: Ie6b714f33685bc0d67b63b24c61911b0c8ecefe3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2062588
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-02-20 15:39:16 +00:00

15 lines
400 B
Plaintext

200
Date: Sun, 10 Oct 2010 23:26:07 GMT
Server: Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g
Last-Modified: Sun, 26 Sep 2010 22:04:35 GMT
ETag: "45b6-834-49130cc1182c0"
Accept-Ranges: bytes
Content-Length: 122
Connection: close
Content-Type: text/html; charset=utf-8
<html>
<body>
The following word is written using cyrillic letters and should look like "SUCCESS": SUССЕSS.
</body>
</html>