Home
last modified time | relevance | path

Searched refs:tryCatch (Results 1 – 22 of 22) sorted by relevance

/external/skia/experimental/SkV8Example/
DGlobal.cpp33 void Global::reportException(TryCatch* tryCatch) { in reportException() argument
35 String::Utf8Value exception(tryCatch->Exception()); in reportException()
37 Handle<Message> message = tryCatch->Message(); in reportException()
63 String::Utf8Value stackTrace(tryCatch->StackTrace()); in reportException()
145 TryCatch tryCatch; in TimeOutProc() local
161 SkASSERT(tryCatch.HasCaught()); in TimeOutProc()
163 gGlobal->reportException(&tryCatch); in TimeOutProc()
165 SkASSERT(!tryCatch.HasCaught()); in TimeOutProc()
221 v8::TryCatch tryCatch; in parseScript() local
229 this->reportException(&tryCatch); in parseScript()
[all …]
DJsContext.cpp82 TryCatch tryCatch; in onDraw() local
94 SkASSERT(tryCatch.HasCaught()); in onDraw()
96 fGlobal->reportException(&tryCatch); in onDraw()
98 SkASSERT(!tryCatch.HasCaught()); in onDraw()
DGlobal.h58 void reportException(TryCatch* tryCatch);
/external/chromium_org/third_party/skia/experimental/SkV8Example/
DGlobal.cpp33 void Global::reportException(TryCatch* tryCatch) { in reportException() argument
35 String::Utf8Value exception(tryCatch->Exception()); in reportException()
37 Handle<Message> message = tryCatch->Message(); in reportException()
63 String::Utf8Value stackTrace(tryCatch->StackTrace()); in reportException()
145 TryCatch tryCatch; in TimeOutProc() local
161 SkASSERT(tryCatch.HasCaught()); in TimeOutProc()
163 gGlobal->reportException(&tryCatch); in TimeOutProc()
165 SkASSERT(!tryCatch.HasCaught()); in TimeOutProc()
221 v8::TryCatch tryCatch; in parseScript() local
229 this->reportException(&tryCatch); in parseScript()
[all …]
DJsContext.cpp82 TryCatch tryCatch; in onDraw() local
94 SkASSERT(tryCatch.HasCaught()); in onDraw()
96 fGlobal->reportException(&tryCatch); in onDraw()
98 SkASSERT(!tryCatch.HasCaught()); in onDraw()
DGlobal.h58 void reportException(TryCatch* tryCatch);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DCustomElementConstructorBuilder.cpp73 v8::TryCatch tryCatch; in validateOptions() local
77 ASSERT(!tryCatch.HasCaught()); in validateOptions()
80 tryCatch.ReThrow(); in validateOptions()
84 } else if (!tryCatch.HasCaught()) { in validateOptions()
91 if (tryCatch.HasCaught()) { in validateOptions()
92 tryCatch.ReThrow(); in validateOptions()
99 if (tryCatch.HasCaught()) { in validateOptions()
100 tryCatch.ReThrow(); in validateOptions()
107 tryCatch.ReThrow(); in validateOptions()
115 ASSERT(!tryCatch.HasCaught()); in validateOptions()
[all …]
DV8AbstractEventListener.cpp117 v8::TryCatch tryCatch; in invokeEventHandler() local
118 tryCatch.SetVerbose(true); in invokeEventHandler()
122 tryCatch.Reset(); in invokeEventHandler()
126 tryCatch.Reset(); in invokeEventHandler()
129 if (tryCatch.HasCaught()) in invokeEventHandler()
132 if (!tryCatch.CanContinue()) { // Result of TerminateExecution(). in invokeEventHandler()
137 tryCatch.Reset(); in invokeEventHandler()
144 tryCatch.Reset(); in invokeEventHandler()
DScriptFunctionCall.cpp139 v8::TryCatch tryCatch; in call() local
140 tryCatch.SetVerbose(reportExceptions); in call()
144 if (tryCatch.HasCaught()) { in call()
159 if (tryCatch.HasCaught()) { in call()
176 v8::TryCatch tryCatch; in construct() local
177 tryCatch.SetVerbose(reportExceptions); in construct()
181 if (tryCatch.HasCaught()) { in construct()
194 if (tryCatch.HasCaught()) { in construct()
DScriptPreprocessor.cpp55 v8::TryCatch tryCatch; in ScriptPreprocessor() local
56 tryCatch.SetVerbose(true); in ScriptPreprocessor()
104 v8::TryCatch tryCatch; in preprocessSourceCode() local
105 tryCatch.SetVerbose(true); in preprocessSourceCode()
DScriptRegexp.cpp44 v8::TryCatch tryCatch; in ScriptRegexp() local
76 v8::TryCatch tryCatch; in match() local
83 if (tryCatch.HasCaught()) in match()
DScriptStreamerTest.cpp166 v8::TryCatch tryCatch; in TEST_F() local
169 EXPECT_FALSE(tryCatch.HasCaught()); in TEST_F()
199 v8::TryCatch tryCatch; in TEST_F() local
202 EXPECT_TRUE(tryCatch.HasCaught()); in TEST_F()
DV8ErrorHandler.cpp71 v8::TryCatch tryCatch; in callListenerFunction() local
72 tryCatch.SetVerbose(true); in callListenerFunction()
DScriptDebugServer.cpp277 v8::TryCatch tryCatch; in setScriptSource() local
278 tryCatch.SetVerbose(false); in setScriptSource()
280 if (tryCatch.HasCaught()) { in setScriptSource()
281 v8::Local<v8::Message> message = tryCatch.Message(); in setScriptSource()
659 v8::TryCatch tryCatch; in compileScript() local
661 if (tryCatch.HasCaught()) { in compileScript()
662 v8::Local<v8::Message> message = tryCatch.Message(); in compileScript()
697 v8::TryCatch tryCatch; in runScript() local
700 if (tryCatch.HasCaught()) { in runScript()
702 *result = ScriptValue(scriptState, tryCatch.Exception()); in runScript()
[all …]
DScriptController.cpp186 v8::TryCatch tryCatch; in executeScriptAndReturnValue() local
187 tryCatch.SetVerbose(true); in executeScriptAndReturnValue()
197 ASSERT(!tryCatch.HasCaught() || result.IsEmpty()); in executeScriptAndReturnValue()
DV8PerContextData.cpp99 v8::TryCatch tryCatch; in constructorForTypeSlowCase() local
DPageScriptDebugServer.cpp250 v8::TryCatch tryCatch; in preprocessBeforeCompile() local
DSerializedScriptValue.cpp933 …bInfoArray* blobInfo, BlobDataHandleMap& blobDataHandles, v8::TryCatch& tryCatch, ScriptState* scr… in Serializer() argument
936 , m_tryCatch(tryCatch) in Serializer()
943 ASSERT(!tryCatch.HasCaught()); in Serializer()
2943 v8::TryCatch tryCatch; in SerializedScriptValue() local
2944 …alizer(writer, messagePorts, arrayBuffers, blobInfo, m_blobDataHandles, tryCatch, ScriptState::cur… in SerializedScriptValue()
2948 exceptionState.rethrowV8Exception(tryCatch.Exception()); in SerializedScriptValue()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8CustomXPathNSResolver.cpp77 v8::TryCatch tryCatch; in lookupNamespaceURI() local
78 tryCatch.SetVerbose(true); // Print exceptions to console. in lookupNamespaceURI()
87 if (tryCatch.HasCaught()) in lookupNamespaceURI()
DV8InjectedScriptHostCustom.cpp128 v8::TryCatch tryCatch; in internalConstructorNameMethodCustom() local
132 if (!constructorName.IsEmpty() && !tryCatch.HasCaught()) in internalConstructorNameMethodCustom()
339 v8::TryCatch tryCatch; in evalMethodCustom() local
341 if (tryCatch.HasCaught()) { in evalMethodCustom()
342 v8SetReturnValue(info, tryCatch.ReThrow()); in evalMethodCustom()
363 v8::TryCatch tryCatch; in evaluateWithExceptionDetailsMethodCustom() local
367 if (tryCatch.HasCaught()) { in evaluateWithExceptionDetailsMethodCustom()
368 wrappedResult->Set(v8::String::NewFromUtf8(isolate, "result"), tryCatch.Exception()); in evaluateWithExceptionDetailsMethodCustom()
369 …olate, "exceptionDetails"), JavaScriptCallFrame::createExceptionDetails(tryCatch.Message(), isolat… in evaluateWithExceptionDetailsMethodCustom()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DJavaScriptCallFrame.cpp159 v8::TryCatch tryCatch; in evaluateWithExceptionDetails() local
163 if (tryCatch.HasCaught()) { in evaluateWithExceptionDetails()
164 wrappedResult->Set(v8::String::NewFromUtf8(m_isolate, "result"), tryCatch.Exception()); in evaluateWithExceptionDetails()
165 …ing::NewFromUtf8(m_isolate, "exceptionDetails"), createExceptionDetails(tryCatch.Message(), m_isol… in evaluateWithExceptionDetails()
/external/chromium_org/v8/test/cctest/
Dtest-debug.cc4037 v8::TryCatch tryCatch; in TEST() local
4040 CHECK(tryCatch.HasCaught()); in TEST()
4041 tryCatch.ReThrow(); in TEST()