Inferred encoding for pages loaded by iframe with incorrect `Content-Type` seemingly isn't working
Author: webbedspaceCreated Jul 28, 2026Updated Sep 29, 2026
LabelsA-networkA-content/scriptC-has-manual-testcase
Describe the bug:
Spotted on http://web.archive.org/web/20110705103249/http://err.lolipop.jp/404.html . It contains an iframe that loads http://web.archive.org/web/20110703161539if_/http://ad.calamel.jp/ads/lolipop. ←This page is encoded in EUC-JP, but incorrectly served with Content-Type: text/plain; charset=utf-8.
To Reproduce: Go to that page.
Firefox
Servo
Platform: Servo latest, Win 10
Source: servo/servo