LibWeb: Support "importmap" scripts

This commit is contained in:
Jamie Mansfield 2024-04-13 21:22:05 +01:00 committed by Andreas Kling
commit e487f70bbf
Notes: sideshowbarker 2024-07-18 04:46:35 +09:00
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; }