LibWeb: Support "importmap" scripts

This commit is contained in:
Jamie Mansfield
2024-04-13 21:22:05 +01:00
committed by Andreas Kling
parent ccb363c443
commit e487f70bbf
13 changed files with 402 additions and 9 deletions

View File

@@ -93,6 +93,7 @@ public:
JS::GCPtr<Navigable> navigable() const;
ImportMap const& import_map() const { return m_import_map; }
void set_import_map(ImportMap const& import_map) { m_import_map = import_map; }
bool import_maps_allowed() const { return m_import_maps_allowed; }
void set_import_maps_allowed(bool import_maps_allowed) { m_import_maps_allowed = import_maps_allowed; }