mirror of
https://github.com/servo/servo
synced 2026-05-10 00:52:08 +02:00
While working on #42138 I found out that import attributes are an opt-in feature, which can be enabled by `ContextOptionsRef`'s `compileOptions_`. This is likely the reason why `GetRequestedModuleSpecifier` wouldn't fail. Now we catch any `GetRequestedModuleSpecifier` exception and pass it to `load_state`. Testing: Covered by existing tests --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
57 KiB
57 KiB