mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Most locations already make this assumption, but we had a few that would silently ignore data mismatches. Let's just always assume the type is correct for now. If a bad actor has a hold of our transport socket, it's probably better to crash WebContent than to continue on with incorrect data. In the future, maybe we will want to throw an exception instead.
2.2 KiB
2.2 KiB