<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>239924</bug_id>
          
          <creation_ts>2022-04-30 01:57:40 -0700</creation_ts>
          <short_desc>Web Inspector: Update jsmin to 3.0.1</short_desc>
          <delta_ts>2022-06-28 15:13:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>242086</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>pangle</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1865628</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-30 01:57:40 -0700</bug_when>
    <thetext>Current version (2.0.9) is very slow:

time python /app/webkit/Source/JavaScriptCore/Scripts/jsmin.py &lt; /app/webkit/WebKitBuild/Release/WebInspectorUI/DerivedSources/Main.js &gt; foo.js

real	1m21.234s
user	0m59.580s
sys	0m21.253s

Version 3.0.1 is much faster:

time python /app/webkit/Source/JavaScriptCore/Scripts/jsmin.py &lt; /app/webkit/WebKitBuild/Release/WebInspectorUI/DerivedSources/Main.js &gt; foo.js

real	0m3.933s
user	0m3.899s
sys	0m0.018s

So I&apos;ll try an update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1865630</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-30 02:22:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/444</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866397</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-04 02:13:05 -0700</bug_when>
    <thetext>Committed r293767 (250246@main): &lt;https://commits.webkit.org/250246@main&gt;

Reviewed commits have been landed. Closing PR #444 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866398</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-04 02:14:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/92720918&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1868026</commentid>
    <comment_count>4</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2022-05-10 15:30:23 -0700</bug_when>
    <thetext>It looks like the changes in https://github.com/WebKit/WebKit/commit/057f942c764e9f79d38e88bca94b7e35549883b4

broke inspector/timeline/line-column.html

tracking in:
https://bugs.webkit.org/show_bug.cgi?id=240291</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1878880</commentid>
    <comment_count>5</comment_count>
    <who name="Patrick Angle">pangle</who>
    <bug_when>2022-06-28 15:03:46 -0700</bug_when>
    <thetext>This broke minifying WebInspectorUI. Specifically, the comment in CodeMirrorCompletionController.js `// FIXME: Include module keywords if we know this is a module environment.` is being kept in the minified output, most likely due to the regex above in the file. It appears to be this issue in the upstream project: https://github.com/tikitu/jsmin/issues/23</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>