Home
last modified time | relevance | path

Searched refs:exnStack (Results 1 – 25 of 116) sorted by relevance

12345

/dports/www/firefox-esr/firefox-91.8.0/js/src/jsapi-tests/
H A DtestPrintError.cpp50 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
51 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
54 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
109 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
110 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
113 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
H A DtestUncaughtSymbol.cpp34 JS::ExceptionStack exnStack(cx); in GetSymbolExceptionType() local
35 MOZ_RELEASE_ASSERT(JS::StealPendingExceptionStack(cx, &exnStack)); in GetSymbolExceptionType()
36 MOZ_RELEASE_ASSERT(exnStack.exception().isSymbol()); in GetSymbolExceptionType()
40 report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in GetSymbolExceptionType()
H A DtestErrorCopying.cpp22 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
23 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
26 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in BEGIN_TEST()
H A DtestCompileUtf8.cpp199 JS::ExceptionStack exnStack(cx); in testBadUtf8() local
200 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testBadUtf8()
203 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testBadUtf8()
282 JS::ExceptionStack exnStack(cx); in testContext() local
283 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testContext()
286 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testContext()
/dports/www/firefox/firefox-99.0/js/src/jsapi-tests/
H A DtestPrintError.cpp48 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
49 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
52 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
107 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
108 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
111 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
H A DtestUncaughtSymbol.cpp34 JS::ExceptionStack exnStack(cx); in GetSymbolExceptionType() local
35 MOZ_RELEASE_ASSERT(JS::StealPendingExceptionStack(cx, &exnStack)); in GetSymbolExceptionType()
36 MOZ_RELEASE_ASSERT(exnStack.exception().isSymbol()); in GetSymbolExceptionType()
40 report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in GetSymbolExceptionType()
H A DtestErrorCopying.cpp23 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
24 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
27 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in BEGIN_TEST()
H A DtestCompileUtf8.cpp197 JS::ExceptionStack exnStack(cx); in testBadUtf8() local
198 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testBadUtf8()
201 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testBadUtf8()
280 JS::ExceptionStack exnStack(cx); in testContext() local
281 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testContext()
284 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testContext()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/jsapi-tests/
H A DtestPrintError.cpp50 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
51 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
54 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
109 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
110 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
113 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
H A DtestUncaughtSymbol.cpp34 JS::ExceptionStack exnStack(cx); in GetSymbolExceptionType() local
35 MOZ_RELEASE_ASSERT(JS::StealPendingExceptionStack(cx, &exnStack)); in GetSymbolExceptionType()
36 MOZ_RELEASE_ASSERT(exnStack.exception().isSymbol()); in GetSymbolExceptionType()
40 report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in GetSymbolExceptionType()
H A DtestErrorCopying.cpp22 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
23 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
26 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in BEGIN_TEST()
H A DtestCompileUtf8.cpp199 JS::ExceptionStack exnStack(cx); in testBadUtf8() local
200 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testBadUtf8()
203 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testBadUtf8()
282 JS::ExceptionStack exnStack(cx); in testContext() local
283 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in testContext()
286 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in testContext()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/jsapi-tests/
H A DtestPrintError.cpp50 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
51 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
54 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
109 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
110 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
113 CHECK(builder.init(cx, exnStack, JS::ErrorReportBuilder::NoSideEffects)); in BEGIN_TEST()
H A DtestUncaughtSymbol.cpp34 JS::ExceptionStack exnStack(cx); in GetSymbolExceptionType() local
35 MOZ_RELEASE_ASSERT(JS::StealPendingExceptionStack(cx, &exnStack)); in GetSymbolExceptionType()
36 MOZ_RELEASE_ASSERT(exnStack.exception().isSymbol()); in GetSymbolExceptionType()
40 report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in GetSymbolExceptionType()
H A DtestErrorCopying.cpp22 JS::ExceptionStack exnStack(cx); in BEGIN_TEST() local
23 CHECK(JS::StealPendingExceptionStack(cx, &exnStack)); in BEGIN_TEST()
26 CHECK(report.init(cx, exnStack, JS::ErrorReportBuilder::WithSideEffects)); in BEGIN_TEST()
/dports/lang/cjs/cjs-4.8.2/modules/
H A Dconsole.cpp89 JS::ExceptionStack exnStack(m_cx); in ~AutoReportException() local
91 if (!JS::StealPendingExceptionStack(m_cx, &exnStack) || in ~AutoReportException()
92 !report.init(m_cx, exnStack, in ~AutoReportException()
103 if (exnStack.stack()) { in ~AutoReportException()
105 gjs_format_stack_trace(m_cx, exnStack.stack()); in ~AutoReportException()
/dports/www/firefox-esr/firefox-91.8.0/js/src/shell/jsrtfuzzing/
H A Djsrtfuzzing.cpp39 JS::ExceptionStack exnStack(gCx); in CrashOnPendingException() local
40 (void)JS::StealPendingExceptionStack(gCx, &exnStack); in CrashOnPendingException()
43 if (!report.init(gCx, exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in CrashOnPendingException()
48 if (!js::shell::PrintStackTrace(gCx, exnStack.stack())) { in CrashOnPendingException()
/dports/www/firefox/firefox-99.0/js/src/shell/jsrtfuzzing/
H A Djsrtfuzzing.cpp40 JS::ExceptionStack exnStack(gCx); in CrashOnPendingException() local
41 (void)JS::StealPendingExceptionStack(gCx, &exnStack); in CrashOnPendingException()
44 if (!report.init(gCx, exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in CrashOnPendingException()
49 if (!js::shell::PrintStackTrace(gCx, exnStack.stack())) { in CrashOnPendingException()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/shell/jsrtfuzzing/
H A Djsrtfuzzing.cpp39 JS::ExceptionStack exnStack(gCx); in CrashOnPendingException() local
40 (void)JS::StealPendingExceptionStack(gCx, &exnStack); in CrashOnPendingException()
43 if (!report.init(gCx, exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in CrashOnPendingException()
48 if (!js::shell::PrintStackTrace(gCx, exnStack.stack())) { in CrashOnPendingException()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/shell/jsrtfuzzing/
H A Djsrtfuzzing.cpp38 JS::ExceptionStack exnStack(gCx); in CrashOnPendingException() local
39 (void)JS::StealPendingExceptionStack(gCx, &exnStack); in CrashOnPendingException()
42 if (!report.init(gCx, exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in CrashOnPendingException()
47 if (!js::shell::PrintStackTrace(gCx, exnStack.stack())) { in CrashOnPendingException()
/dports/lang/gjs/gjs-1.70.0/modules/
H A Dconsole.cpp66 JS::ExceptionStack exnStack(m_cx); in ~AutoReportException() local
68 if (!JS::StealPendingExceptionStack(m_cx, &exnStack) || in ~AutoReportException()
69 !report.init(m_cx, exnStack, in ~AutoReportException()
80 if (exnStack.stack()) { in ~AutoReportException()
82 gjs_format_stack_trace(m_cx, exnStack.stack()); in ~AutoReportException()
/dports/www/firefox-esr/firefox-91.8.0/dom/script/
H A DScriptSettings.cpp540 JS::ExceptionStack exnStack(cx()); in ReportException() local
542 if (StealExceptionAndStack(&exnStack) && in ReportException()
543 jsReport.init(cx(), exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in ReportException()
554 DispatchScriptErrorEvent(inner, rcx, xpcReport, exnStack.exception(), in ReportException()
555 exnStack.stack()); in ReportException()
559 xpc::FindExceptionStackForConsoleReport(inner, exnStack.exception(), in ReportException()
560 exnStack.stack(), &stack, in ReportException()
578 JS::SetPendingExceptionStack(cx(), exnStack); in ReportException()
596 JS::ExceptionStack exnStack(cx()); in StealException() local
597 if (!StealExceptionAndStack(&exnStack)) { in StealException()
[all …]
/dports/www/firefox/firefox-99.0/dom/script/
H A DScriptSettings.cpp540 JS::ExceptionStack exnStack(cx()); in ReportException() local
542 if (StealExceptionAndStack(&exnStack) && in ReportException()
543 jsReport.init(cx(), exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in ReportException()
554 DispatchScriptErrorEvent(inner, rcx, xpcReport, exnStack.exception(), in ReportException()
555 exnStack.stack()); in ReportException()
559 xpc::FindExceptionStackForConsoleReport(inner, exnStack.exception(), in ReportException()
560 exnStack.stack(), &stack, in ReportException()
578 JS::SetPendingExceptionStack(cx(), exnStack); in ReportException()
596 JS::ExceptionStack exnStack(cx()); in StealException() local
597 if (!StealExceptionAndStack(&exnStack)) { in StealException()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/script/
H A DScriptSettings.cpp540 JS::ExceptionStack exnStack(cx()); in ReportException() local
542 if (StealExceptionAndStack(&exnStack) && in ReportException()
543 jsReport.init(cx(), exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in ReportException()
554 DispatchScriptErrorEvent(inner, rcx, xpcReport, exnStack.exception(), in ReportException()
555 exnStack.stack()); in ReportException()
559 xpc::FindExceptionStackForConsoleReport(inner, exnStack.exception(), in ReportException()
560 exnStack.stack(), &stack, in ReportException()
578 JS::SetPendingExceptionStack(cx(), exnStack); in ReportException()
596 JS::ExceptionStack exnStack(cx()); in StealException() local
597 if (!StealExceptionAndStack(&exnStack)) { in StealException()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/script/
H A DScriptSettings.cpp504 JS::ExceptionStack exnStack(cx()); in ReportException() local
506 if (StealExceptionAndStack(&exnStack) && in ReportException()
507 jsReport.init(cx(), exnStack, JS::ErrorReportBuilder::WithSideEffects)) { in ReportException()
518 DispatchScriptErrorEvent(inner, rcx, xpcReport, exnStack.exception(), in ReportException()
519 exnStack.stack()); in ReportException()
523 xpc::FindExceptionStackForConsoleReport(inner, exnStack.exception(), in ReportException()
524 exnStack.stack(), &stack, in ReportException()
542 JS::SetPendingExceptionStack(cx(), exnStack); in ReportException()
560 JS::ExceptionStack exnStack(cx()); in StealException() local
561 if (!StealExceptionAndStack(&exnStack)) { in StealException()
[all …]

12345