Lines Matching refs:exception
204 try_catch.Exception()->ToString());
4133 String::Utf8Value exception_value(try_catch.Exception());
4145 CHECK(try_catch.Exception()->ToObject()->
4216 v8::Local<v8::Value> error = v8::Exception::Error(v8_str("custom error"));
4399 // exception
4401 Local<Value> exception =
4402 CompileRun("({ toString: function() { throw 'exception';} })");
4403 CHECK_EQ(v8::None, context->Global()->GetPropertyAttributes(exception));
4405 String::Utf8Value exception_value(try_catch.Exception());
4406 CHECK_EQ("exception", *exception_value);
4632 String::Utf8Value str_value(try_catch->Exception());
4846 // BUG(271): Some of the exception propagation does not work on the
4882 // Test that overwritten methods are not invoked on uncaught exception
5070 String::Utf8Value exception_value(try_catch.Exception());
5143 // activations. These activations set up exception handlers with regular
5145 // activations. When enough activations have been created an exception is
5146 // thrown and we check that the right activation catches the exception and that
5155 // level. Stars identify activations with exception handlers, the @ identifies
5156 // the exception handler that should catch the exception.
5158 // BUG(271): Some of the exception propagation does not work on the
5240 " return 'no exception';"
5261 CHECK_EQ(10, try_catch.Exception()->Int32Value());
5266 CHECK_EQ(0, try_catch.Exception()->Int32Value());
5335 CHECK_EQ(0, strcmp(*v8::String::Utf8Value(try_catch.Exception()), "back"));
5366 // inner pending Message before throwing the exception again.
5501 String::Utf8Value exception_value(try_catch.Exception());
5549 String::Utf8Value exception_value(try_catch.Exception());
5669 String::Utf8Value exception_value(try_catch.Exception());
5677 String::Utf8Value exception_value(try_catch.Exception());
6855 // Test that an exception when installing an extension does not cause
6859 v8::RegisterExtension(new Extension("exception",
6861 const char* extension_names[] = { "exception" };
8165 v8::Handle<Value> range_error = v8::Exception::RangeError(foo);
8168 v8::Handle<Value> reference_error = v8::Exception::ReferenceError(foo);
8171 v8::Handle<Value> syntax_error = v8::Exception::SyntaxError(foo);
8174 v8::Handle<Value> type_error = v8::Exception::TypeError(foo);
8177 v8::Handle<Value> error = v8::Exception::Error(foo);
8244 // Call a JS function that throws an uncaught exception.
8338 CHECK_NE(NULL, *try_catch.Exception());
8385 String::Utf8Value exception_value(try_catch.Exception());
8395 String::Utf8Value finally_exception_value(try_catch.Exception());
8525 // Call cross_domain_call, it should throw an exception
10621 // Check exception handling when there is no constructor set for the Object.
10631 String::Utf8Value exception_value1(try_catch.Exception());
10638 String::Utf8Value exception_value2(try_catch.Exception());
10643 // Check the case when constructor throws exception.
10654 String::Utf8Value exception_value1(try_catch.Exception());
10661 String::Utf8Value exception_value2(try_catch.Exception());
10847 // its global throws an exception. This behavior is consistent with
10868 // after detaching and exception is thrown.
10993 String::Utf8Value exception_value1(try_catch.Exception());
11005 String::Utf8Value exception_value2(try_catch.Exception());
11019 // Catch the exception which is thrown by call-as-function handler
11022 String::Utf8Value exception_value1(try_catch.Exception());
11029 String::Utf8Value exception_value2(try_catch.Exception());
12380 try_catch.Exception()->ToString());
12422 try_catch.Exception()->ToString());
12555 try_catch.Exception()->ToString());
12593 try_catch.Exception()->ToString());
12823 // exception once in a while.
12867 // Test interceptor store IC where the interceptor throws an exception
13053 // throw an exception.
13394 v8::Handle<Value> exception;
13399 // Make sure to wrap the exception in a new handle because
13402 exception = Local<Value>::New(isolate, try_catch.Exception());
13404 args.GetIsolate()->ThrowException(exception);
14787 // Failing access check to function call results in exception.
14875 // Failing access check to function call results in exception.
14895 // Failing access check to function call results in exception.
17369 CompileRun("throw 'exception';");
17388 // Test that we only return the stack trace at the site where the exception
18221 // Test that an exception can be propagated down through a spaghetti
18245 v8::String::Utf8Value value(try_catch.Exception());
18307 // Looking up the line number for an exception creates reference from the
19365 // is an exception.
19913 context->Global()->Set(v8_str("ex"), try_catch.Exception());
20695 CompileRun("throw 'second exception';");
20703 CompileRun("throw 'exception';");
20711 CompileRun("throw 'first exception';");
20795 v8::Exception::Error(v8_str("first")));
20804 v8::Exception::Error(v8_str("second")));
21264 // Test that the original exception message is indeed overwritten if
21688 v8::Exception::Error(v8_str("cross context")));
21707 // clause due to failed access check throwing an exception.
21708 // The subsequent try-catch should run without any exception.