Bug 212973

Summary: Web Inspector: inline scripts with type=module miss syntax highlighting
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Image] Bug none

Nikita Vasilyev
Reported 2020-06-09 09:06:35 PDT
Created attachment 401443 [details] [Image] Bug The contents of <script type="module"> should be highlighted the same as the contents of <script>. Note that ECMAScript modules are rapidly being adopted by web developers. The import statement cannot be used in embedded scripts unless such script has a type="module".
Attachments
[Image] Bug (181.21 KB, image/png)
2020-06-09 09:06 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2020-06-09 09:07:15 PDT
Note You need to log in before you can comment on or make changes to this bug.