36 TEST(StrictUndeclaredGlobalVariable) {
45 proto->
Set(var_name, v8_num(100));
50 CHECK_EQ(
"ReferenceError: x is not defined", *exception);
#define CHECK_EQ(expected, value)
Local< Value > Exception() const
TEST(StrictUndeclaredGlobalVariable)
bool SetPrototype(Handle< Value > prototype)
static Local< Object > New(Isolate *isolate)
V8_INLINE Local< S > As()
bool Set(Handle< Value > key, Handle< Value > value, PropertyAttribute attribs=None)
static v8::Isolate * isolate()