[Webkit-unassigned] [Bug 166871] New: Lift template escape sequence restrictions in tagged templates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 9 16:51:53 PST 2017


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

            Bug ID: 166871
           Summary: Lift template escape sequence restrictions in tagged
                    templates
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bakkot at gmail.com

The template literal revision proposal reached stage 3 in July.

This allows

(function(strs) {
  return strs[0] === undefined && strs.raw[0] === '\\u{invalid}\\1\\xGG';
})`\u{invalid}\1\xGG`; // true

etc. Invalid escapes remain a syntax error in untagged templates.

-- 
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/20170110/ca9033be/attachment.html>


More information about the webkit-unassigned mailing list