[Webkit-unassigned] [Bug 34678] New: No support for JS heredoc strings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 6 03:13:21 PST 2010


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

           Summary: No support for JS heredoc strings
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://temple.24bps.com/public/jsraw.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: electricnet at gmail.com


I haven't found support for multiline JavaScript "raw" heredoc-style strings in
any browser that is using WebKit.

The supplied URL shows this mentioned JavaScript multiline string code that I
have trouble finding a real name for, as it's hardly ever documented. But this
heredoc-like string in JavaScript works in the Gecko engine, where it gives an
alert. If you visit the supplied URL in any WebKit browser, no alert is shown
and instead the engine reports "Parse error".

Again, steps to reproduce: Visit supplied URL, note that there's no alert
window, note that there's a parse error. Does this in WebKit nightly build, but
also Safari (on any OS) and Chrome. If you visit the page in Firefox or other
Gecko browser, there's an alert and it works fine.

-- 
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