Back to Chromium

Eval Cross Window

third_party/blink/web_tests/fast/js/eval-cross-window.html

149.0.7827.2366 B
Original Source

This page verifies that eval, when called as a function, uses the "this" object provided by the call as its variable object, scope chain, and "this" object. However, if the "this" object is not the global object eval was originally associated with, eval throws an exception.

If the test passes, you'll see a series of pass messages below.