[Webkit-unassigned] [Bug 49576] jsc does not ignore shebang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 16 11:18:27 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49576


John Tantalo <john.tantalo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #73960|0                           |1
        is obsolete|                            |
  Attachment #74017|                            |review?
               Flag|                            |




--- Comment #4 from John Tantalo <john.tantalo at gmail.com>  2010-11-16 11:18:27 PST ---
Created an attachment (id=74017)
 --> (https://bugs.webkit.org/attachment.cgi?id=74017&action=review)
proposed patch

This patch modifies jsc's file load function to detect a shebang in the first two characters of the file buffer. If it finds a shebang, it replaces it with "//", which causes the rest of the line to be interpreted as a JavaScript comment.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list