/js/src/jit-test/tests/jaeger/bug600139.js

http://github.com/zpao/v8monkey · JavaScript · 10 lines · 8 code · 0 blank · 2 comment · 1 complexity · d94ded67db0b2a67fc9e886f7e96667f MD5 · raw file

  1. // |jit-test| error: ReferenceError
  2. // vim: set ts=4 sw=4 tw=99 et:
  3. function f(a, b, c) {
  4. if (!a.__SSi) {
  5. throw Components.returnCode = Cr.NS_ERROR_INVALID_ARG;
  6. }
  7. this.restoreWindow(a, b, c);
  8. eval();
  9. }
  10. f(1, 2, 3);