[Webkit-unassigned] [Bug 148728] New: Web Inspector: jsmin.py mistakenly removes whitespace from template literal strings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 2 16:24:15 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148728
Bug ID: 148728
Summary: Web Inspector: jsmin.py mistakenly removes whitespace
from template literal strings
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bburg at apple.com
CC: bburg at apple.com, graouts at webkit.org,
joepeck at webkit.org, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
Created attachment 260451
--> https://bugs.webkit.org/attachment.cgi?id=260451&action=review
testcase
Running the following on the test case:
$ python ./Source/WebInspectorUI/Scripts/jsmin.py < ~/Desktop/testcases/console-log-template-literal-string.html
Produces the following output:
<!doctype html><html><body onload="runTest()"><script>function runTest()
{let foo=42;console.log(`My favorite number is:${foo}`);}</script><p>To reproduce the bug,try to minify this page.</p></body></html>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150902/1a56558e/attachment.html>
More information about the webkit-unassigned
mailing list