Ignore:
Timestamp:
Mar 10, 2014, 2:06:29 PM (11 years ago)
Author:
[email protected]
Message:

jsc commandline shouldn't have a "console" because that confuses some tests into thinking
that they're running in the browser.

Rubber stamped by Mark Hahnenberg.

  • jsc.cpp:

(GlobalObject::finishCreation):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r165119 r165403  
    415415            array->putDirectIndex(globalExec(), i, jsString(globalExec(), arguments[i]));
    416416        putDirect(vm, Identifier(globalExec(), "arguments"), array);
     417       
     418        putDirect(vm, Identifier(globalExec(), "console"), jsUndefined());
    417419    }
    418420
Note: See TracChangeset for help on using the changeset viewer.