Bug 212973 - Web Inspector: inline scripts with type=module miss syntax highlighting
Summary: Web Inspector: inline scripts with type=module miss syntax highlighting
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-09 09:06 PDT by Nikita Vasilyev
Modified: 2020-06-09 09:07 PDT (History)
2 users (show)

See Also:


Attachments
[Image] Bug (181.21 KB, image/png)
2020-06-09 09:06 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>