mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
This is a follow-up to #38532 which simply defaulted to an empty string as the spec's WebIDL doesn't mark `innerHTML` as `Throws`. However, since the absence of `Throws` in the spec doesn't imply no-throw, we can mark this as fallible in our WebIDL. This makes the `ShadowRoot`'s implementation match `Element`'s `innerHTML`. Testing: Same as #38532. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>