Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/inspector/
Dcustom-preview.cc26 void reportError(v8::Local<v8::Context> context, const v8::TryCatch& tryCatch) { in reportError() argument
27 DCHECK(tryCatch.HasCaught()); in reportError()
33 v8::Local<v8::String> message = tryCatch.Message()->Get(); in reportError()
48 void reportError(v8::Local<v8::Context> context, const v8::TryCatch& tryCatch, in reportError() argument
52 reportError(context, tryCatch); in reportError()
71 v8::TryCatch tryCatch(isolate); in substituteObjectTags() local
74 reportError(context, tryCatch, in substituteObjectTags()
81 reportError(context, tryCatch); in substituteObjectTags()
89 reportError(context, tryCatch); in substituteObjectTags()
93 reportError(context, tryCatch, "attributes should be an Object"); in substituteObjectTags()
[all …]
Dv8-regex.cc32 v8::TryCatch tryCatch(isolate); in V8Regex() local
43 else if (tryCatch.HasCaught()) in V8Regex()
44 m_errorMessage = toProtocolString(isolate, tryCatch.Message()->Get()); in V8Regex()
68 v8::TryCatch tryCatch(isolate); in match() local
Dv8-value-utils.cc17 v8::TryCatch tryCatch(context->GetIsolate()); in createDataProperty() local
27 v8::TryCatch tryCatch(context->GetIsolate()); in createDataProperty() local
Dv8-runtime-agent-impl.cc98 const v8::TryCatch& tryCatch, in wrapEvaluateResultAsync() argument
105 maybeResultValue, tryCatch, objectGroup, wrapMode, &result, in wrapEvaluateResultAsync()
166 if (scope.tryCatch().HasCaught()) { in innerCallFunctionOn()
168 scope.tryCatch(), objectGroup, WrapMode::kNoPreview, in innerCallFunctionOn()
197 if (!awaitPromise || scope.tryCatch().HasCaught()) { in innerCallFunctionOn()
199 scope.tryCatch(), objectGroup, wrapMode, in innerCallFunctionOn()
331 if (!await || scope.tryCatch().HasCaught()) { in evaluate()
333 scope.tryCatch(), objectGroup.fromMaybe(""), in evaluate()
546 if (scope.tryCatch().HasCaught()) { in compileScript()
548 scope.tryCatch(), String16(), exceptionDetails); in compileScript()
[all …]
Dinjected-script.cc370 v8::TryCatch tryCatch(isolate); in getProperties() local
378 return createExceptionDetails(tryCatch, groupName, exceptionDetails); in getProperties()
791 const v8::TryCatch& tryCatch, const String16& objectGroup, in createExceptionDetails() argument
793 if (!tryCatch.HasCaught()) return Response::InternalError(); in createExceptionDetails()
794 v8::Local<v8::Message> message = tryCatch.Message(); in createExceptionDetails()
795 v8::Local<v8::Value> exception = tryCatch.Exception(); in createExceptionDetails()
842 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch& tryCatch, in wrapEvaluateResult() argument
847 if (!tryCatch.HasCaught()) { in wrapEvaluateResult()
857 if (tryCatch.HasTerminated() || !tryCatch.CanContinue()) { in wrapEvaluateResult()
860 v8::Local<v8::Value> exception = tryCatch.Exception(); in wrapEvaluateResult()
[all …]
Dvalue-mirror.cc261 v8::TryCatch tryCatch(isolate); in descriptionForError() local
835 v8::TryCatch tryCatch(isolate); in isArrayLike() local
1271 v8::TryCatch tryCatch(isolate); in createNativeGetter() local
1314 v8::TryCatch tryCatch(isolate); in createNativeSetter() local
1344 v8::TryCatch tryCatch(isolate); in doesAttributeHaveObservableSideEffectOnGet() local
1355 if (tryCatch.HasCaught()) tryCatch.Reset(); in doesAttributeHaveObservableSideEffectOnGet()
1381 v8::TryCatch tryCatch(isolate); in getProperties() local
1405 CHECK(tryCatch.HasCaught()); in getProperties()
1416 CHECK(tryCatch.HasCaught()); in getProperties()
1520 CHECK(tryCatch.HasCaught()); in getProperties()
[all …]
Dv8-inspector-impl.cc434 if (m_scope.tryCatch().HasTerminated()) { in ~EvaluateScope()
481 v8::TryCatch tryCatch(m_isolate); in associateExceptionData() local
533 v8::TryCatch tryCatch(m_isolate); in getAssociatedExceptionDataForProtocol() local
Dinjected-script.h151 const v8::TryCatch& tryCatch() const { return m_tryCatch; } in tryCatch() function
Dv8-console.cc760 v8::TryCatch tryCatch(isolate); in queryObjectsCallback() local
769 if (tryCatch.HasCaught()) { in queryObjectsCallback()
770 tryCatch.ReThrow(); in queryObjectsCallback()
Dv8-webdriver-serializer.cc51 v8::TryCatch tryCatch(isolate); in descriptionForDate() local
Dv8-debugger-agent-impl.cc796 v8::TryCatch tryCatch(m_isolate); in getPossibleBreakpoints() local
1290 maybeResultValue, scope.tryCatch(), objectGroup.fromMaybe(""), mode, in evaluateOnCallFrame()
1324 scope.tryCatch().HasCaught()) { in setVariableValue()
Dv8-console-message.cc280 v8::TryCatch tryCatch(isolate); in wrapArguments() local
/third_party/node/src/quic/
Dsessionticket.cc60 errors::TryCatchScope tryCatch(env); in FromV8Value() local
65 if (tryCatch.HasCaught()) { in FromV8Value()
69 if (!tryCatch.HasTerminated()) { in FromV8Value()
71 tryCatch.ReThrow(); in FromV8Value()
/third_party/typescript/tests/baselines/reference/
DnarrowExceptionVariableInCatchClause.symbols9 function tryCatch() {
10 >tryCatch : Symbol(tryCatch, Decl(narrowExceptionVariableInCatchClause.ts, 0, 72))
DnarrowExceptionVariableInCatchClause.js4 function tryCatch() { function
28 function tryCatch() {
DnarrowExceptionVariableInCatchClause.types8 function tryCatch() {
9 >tryCatch : () => void
DnarrowExceptionVariableInCatchClause.errors.txt8 function tryCatch() {
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_try_catch.js17 const tryCatch = require('../mutators/try_catch.js'); constant
26 const mutator = new tryCatch.AddTryCatchMutator();
/third_party/typescript/tests/cases/conformance/types/any/
DnarrowExceptionVariableInCatchClause.ts3 function tryCatch() { function