tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

createdynfn-html-open-comment-params.js (782B)


      1 // Copyright (C) 2017 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-createdynamicfunction
      6 description: >
      7  Create a Function with the function parameters being a html open comment.
      8 info: |
      9  19.2.1.1.1 Runtime Semantics: CreateDynamicFunction(constructor, newTarget, kind, args)
     10    ...
     11    7. If kind is "normal", then
     12      ...
     13      b. Let parameterGoal be the grammar symbol FormalParameters[~Yield, ~Await].
     14    ...
     15    10. Let parameters be the result of parsing P, interpreted as UTF-16 encoded Unicode text
     16        as described in 6.1.4, using parameterGoal as the goal symbol. Throw a SyntaxError
     17        exception if the parse fails.
     18    ...
     19 ---*/
     20 
     21 Function("<!--", "");
     22 
     23 reportCompare(0, 0);