Lines Matching defs:promise
38 #include "src/objects/js-promise-inl.h"
1273 // Stepping out of an async function whose implicit promise is awaited
2139 void Debug::OnPromiseReject(Handle<Object> promise, Handle<Object> value) {
2143 // Check whether the promise has been marked as having triggered a message.
2145 if (!promise->IsJSObject() ||
2146 JSReceiver::GetDataProperty(isolate_, Handle<JSObject>::cast(promise),
2149 OnException(value, promise, v8::debug::kPromiseRejection);
2178 void Debug::OnException(Handle<Object> exception, Handle<Object> promise,
2195 if (promise->IsJSObject()) {
2196 Handle<JSObject> jsobject = Handle<JSObject>::cast(promise);
2197 // Mark the promise as already having triggered a message.
2202 // Check whether the promise reject is considered an uncaught exception.
2206 // Ignore the exception if the promise was marked as silent
2241 v8::Utils::ToLocal(promise), uncaught, exception_type);