<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JS builtins should use secured functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=151134#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JS builtins should use secured functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=151134">bug 151134</a>
              from <span class="vcard"><a class="email" href="mailto:youennf&#64;gmail.com" title="youenn fablet &lt;youennf&#64;gmail.com&gt;"> <span class="fn">youenn fablet</span></a>
</span></b>
        <pre>Ultimately, we might want to run built-in scripts in an isolated world with separate DOM prototypes and constructors.

We would be able to use them on DOM C++ instances (which would have a JS wrapper for user scripts and a JS wrapper for built-in scripts). Cost might be ok?
We would then be able to write JS code much more cleanly than we are now.

One issue though is for pure JS objects, like promises and streams.
I am not sure how we can handle these properly and efficiently.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>