WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
156617
Web Inspector: JS Pretty Printing - Some comments get lost
https://bugs.webkit.org/show_bug.cgi?id=156617
Summary
Web Inspector: JS Pretty Printing - Some comments get lost
Joseph Pecoraro
Reported
2016-04-14 19:29:03 PDT
* SUMMARY JS Pretty Printing - Some comments get lost. * TEST { 1; // Test } * RESULTS { 1; } * EXPECTED { 1; // Test } * DEBUG BlockStatement Punctuator { Literal Numeric 1 ExpressionStatement Punctuator ; ** T Comment (1) Line Test BlockStatement Punctuator } * NOTES This is apparently a bad arrangement of Punctuators and Comments which ends up having this comment only as a "Trailing" comment for the Expression and not a "Leading" comment for the block... Not sure where it would be best to handle this comment.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2016-09-08 14:01:22 PDT
<
rdar://problem/28213724
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug