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

Description Nikita Vasilyev 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".
Comment 1 Radar WebKit Bug Importer 2020-06-09 09:07:15 PDT
<rdar://problem/64166281>