• Home
  • Raw
  • Download

Lines Matching refs:exception

612     CefRefPtr<CefV8Exception> exception;  in RunArrayBufferValueTest()  local
613 EXPECT_TRUE(context->Eval(test, CefString(), 0, retval, exception)); in RunArrayBufferValueTest()
614 if (exception.get()) in RunArrayBufferValueTest()
615 ADD_FAILURE() << exception->GetMessage().c_str(); in RunArrayBufferValueTest()
696 CefString& exception) override { in RunObjectAccessorTest() argument
703 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest()
714 CefString& exception) override { in RunObjectAccessorTest() argument
721 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest()
790 CefString& exception) override { in RunObjectAccessorExceptionTest() argument
792 exception = kGetException; in RunObjectAccessorExceptionTest()
799 CefString& exception) override { in RunObjectAccessorExceptionTest() argument
801 exception = kSetException; in RunObjectAccessorExceptionTest()
814 CefRefPtr<CefV8Exception> exception; in RunObjectAccessorExceptionTest() local
832 exception = object->GetException(); in RunObjectAccessorExceptionTest()
833 EXPECT_TRUE(exception.get()); in RunObjectAccessorExceptionTest()
834 EXPECT_STREQ(kSetExceptionMsg, exception->GetMessage().ToString().c_str()); in RunObjectAccessorExceptionTest()
843 exception = object->GetException(); in RunObjectAccessorExceptionTest()
844 EXPECT_TRUE(exception.get()); in RunObjectAccessorExceptionTest()
845 EXPECT_STREQ(kGetExceptionMsg, exception->GetMessage().ToString().c_str()); in RunObjectAccessorExceptionTest()
864 CefString& exception) override { in RunObjectAccessorFailTest() argument
872 CefString& exception) override { in RunObjectAccessorFailTest() argument
886 CefRefPtr<CefV8Exception> exception; in RunObjectAccessorFailTest() local
928 CefString& exception) override { in RunObjectAccessorReadOnlyTest() argument
936 CefString& exception) override { in RunObjectAccessorReadOnlyTest() argument
950 CefRefPtr<CefV8Exception> exception; in RunObjectAccessorReadOnlyTest() local
1000 CefString& exception) override { in RunObjectInterceptorTest() argument
1008 EXPECT_TRUE(exception.empty()); in RunObjectInterceptorTest()
1027 CefString& exception) override { in RunObjectInterceptorTest() argument
1034 EXPECT_TRUE(exception.empty()); in RunObjectInterceptorTest()
1045 CefString& exception) override { in RunObjectInterceptorTest() argument
1053 EXPECT_TRUE(exception.empty()); in RunObjectInterceptorTest()
1072 CefString& exception) override { in RunObjectInterceptorTest() argument
1079 EXPECT_TRUE(exception.empty()); in RunObjectInterceptorTest()
1202 CefString& exception) override { in RunObjectInterceptorFailTest() argument
1214 CefString& exception) override { in RunObjectInterceptorFailTest() argument
1226 CefString& exception) override { in RunObjectInterceptorFailTest() argument
1236 CefString& exception) override { in RunObjectInterceptorFailTest() argument
1340 CefString& exception) override { in RunObjectInterceptorExceptionTest() argument
1342 exception = kGetByNameException; in RunObjectInterceptorExceptionTest()
1349 CefString& exception) override { in RunObjectInterceptorExceptionTest() argument
1351 exception = kGetByIndexException; in RunObjectInterceptorExceptionTest()
1358 CefString& exception) override { in RunObjectInterceptorExceptionTest() argument
1360 exception = kSetByNameException; in RunObjectInterceptorExceptionTest()
1367 CefString& exception) override { in RunObjectInterceptorExceptionTest() argument
1369 exception = kSetByIndexException; in RunObjectInterceptorExceptionTest()
1384 CefRefPtr<CefV8Exception> exception; in RunObjectInterceptorExceptionTest() local
1396 exception = object->GetException(); in RunObjectInterceptorExceptionTest()
1397 EXPECT_TRUE(exception.get()); in RunObjectInterceptorExceptionTest()
1399 exception->GetMessage().ToString().c_str()); in RunObjectInterceptorExceptionTest()
1408 exception = object->GetException(); in RunObjectInterceptorExceptionTest()
1409 EXPECT_TRUE(exception.get()); in RunObjectInterceptorExceptionTest()
1411 exception->GetMessage().ToString().c_str()); in RunObjectInterceptorExceptionTest()
1419 exception = object->GetException(); in RunObjectInterceptorExceptionTest()
1420 EXPECT_TRUE(exception.get()); in RunObjectInterceptorExceptionTest()
1422 exception->GetMessage().ToString().c_str()); in RunObjectInterceptorExceptionTest()
1431 exception = object->GetException(); in RunObjectInterceptorExceptionTest()
1432 EXPECT_TRUE(exception.get()); in RunObjectInterceptorExceptionTest()
1434 exception->GetMessage().ToString().c_str()); in RunObjectInterceptorExceptionTest()
1456 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1468 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1476 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1484 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1503 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1512 CefString& exception) override { in RunObjectInterceptorAndAccessorTest() argument
1609 CefRefPtr<CefV8Exception> exception; in RunObjectValueTest() local
1611 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueTest()
1612 if (exception.get()) in RunObjectValueTest()
1613 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueTest()
1647 CefRefPtr<CefV8Exception> exception; in RunObjectValueReadOnlyTest() local
1649 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueReadOnlyTest()
1650 if (exception.get()) in RunObjectValueReadOnlyTest()
1651 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueReadOnlyTest()
1691 CefRefPtr<CefV8Exception> exception; in RunObjectValueEnumTest() local
1693 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueEnumTest()
1694 if (exception.get()) in RunObjectValueEnumTest()
1695 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueEnumTest()
1735 CefRefPtr<CefV8Exception> exception; in RunObjectValueDontEnumTest() local
1737 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueDontEnumTest()
1738 if (exception.get()) in RunObjectValueDontEnumTest()
1739 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueDontEnumTest()
1776 CefRefPtr<CefV8Exception> exception; in RunObjectValueDeleteTest() local
1778 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueDeleteTest()
1779 if (exception.get()) in RunObjectValueDeleteTest()
1780 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueDeleteTest()
1817 CefRefPtr<CefV8Exception> exception; in RunObjectValueDontDeleteTest() local
1819 EXPECT_TRUE(context->Eval(test.str(), CefString(), 0, retval, exception)); in RunObjectValueDontDeleteTest()
1820 if (exception.get()) in RunObjectValueDontDeleteTest()
1821 ADD_FAILURE() << exception->GetMessage().c_str(); in RunObjectValueDontDeleteTest()
1876 CefString& exception) override { in RunFunctionCreateTest() argument
1922 CefString& exception) override { in RunFunctionHandlerTest() argument
1932 EXPECT_TRUE(exception.empty()); in RunFunctionHandlerTest()
1993 CefString& exception) override { in RunFunctionHandlerExceptionTest() argument
1994 exception = kException; in RunFunctionHandlerExceptionTest()
2019 CefRefPtr<CefV8Exception> exception = func->GetException(); in RunFunctionHandlerExceptionTest() local
2020 EXPECT_TRUE(exception.get()); in RunFunctionHandlerExceptionTest()
2021 EXPECT_STREQ(kExceptionMsg, exception->GetMessage().ToString().c_str()); in RunFunctionHandlerExceptionTest()
2039 CefString& exception) override { in RunFunctionHandlerFailTest() argument
2082 CefString& exception) override { in RunFunctionHandlerNoObjectTest() argument
2131 CefString& exception) override { in RunFunctionHandlerWithContextTest() argument
2181 CefString& exception) override { in RunFunctionHandlerEmptyStringTest() argument
2234 CefRefPtr<CefV8Exception> exception; in RunContextEvalTest() local
2236 EXPECT_TRUE(context->Eval("1+2", CefString(), 0, retval, exception)); in RunContextEvalTest()
2240 EXPECT_FALSE(exception.get()); in RunContextEvalTest()
2249 CefRefPtr<CefV8Exception> exception; in RunContextEvalExceptionTest() local
2252 context->Eval("\n\n\n1+foo", CefString(), 0, retval, exception)); in RunContextEvalExceptionTest()
2254 EXPECT_TRUE(exception.get()); in RunContextEvalExceptionTest()
2255 EXPECT_EQ(4, exception->GetLineNumber()); in RunContextEvalExceptionTest()
2264 CefRefPtr<CefV8Exception> exception; in RunContextEvalCspBypassUnsafeEval() local
2268 CefString(), 0, retval, exception); in RunContextEvalCspBypassUnsafeEval()
2269 if (exception.get()) { in RunContextEvalCspBypassUnsafeEval()
2270 ADD_FAILURE() << exception->GetMessage().c_str(); in RunContextEvalCspBypassUnsafeEval()
2288 CefRefPtr<CefV8Exception> exception; in RunContextEvalCspBypassSandbox() local
2292 CefString(), 0, retval, exception); in RunContextEvalCspBypassSandbox()
2293 if (exception.get()) { in RunContextEvalCspBypassSandbox()
2294 ADD_FAILURE() << exception->GetMessage().c_str(); in RunContextEvalCspBypassSandbox()
2312 CefRefPtr<CefV8Exception> exception; in RunContextEnteredTest() local
2317 CefString(), 0, retval, exception)); in RunContextEnteredTest()
2318 if (exception.get()) in RunContextEnteredTest()
2319 ADD_FAILURE() << exception->GetMessage().c_str(); in RunContextEnteredTest()
2361 CefString& exception) override { in RunStackTraceTest() argument
2390 CefRefPtr<CefV8Exception> exception; in RunStackTraceTest() local
2395 CefString(), 0, retval, exception)); in RunStackTraceTest()
2399 EXPECT_FALSE(exception.get()); in RunStackTraceTest()
2452 CefString& exception) override { in RunExtensionTest() argument
2527 CefString& exception) override { in OnContextCreated() argument
2581 CefString& exception) override { in OnContextCreated() argument
2619 CefString& exception) override { in OnContextCreated() argument
2650 CefRefPtr<CefV8Exception> exception, in OnUncaughtException() argument
2659 exception->GetMessage().ToString().c_str()); in OnUncaughtException()
2707 CefString& exception) override { in DevToolsLoadHook() argument
2710 EXPECT_TRUE(exception.empty()); in DevToolsLoadHook()
2755 CefRefPtr<CefV8Exception> exception; in DevToolsLoaded() local
2757 "window.close()", CefString(), 0, retval, exception)); in DevToolsLoaded()