Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: Source/bindings/core/v8/RejectedPromises.h

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: for landing Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/RejectedPromises.h
diff --git a/Source/bindings/core/v8/RejectedPromises.h b/Source/bindings/core/v8/RejectedPromises.h
index c129ead8b2c9c3899d85917e2067d31675f70fb9..1083019cc548e8b51715409e68d7aa5dd2087d4c 100644
--- a/Source/bindings/core/v8/RejectedPromises.h
+++ b/Source/bindings/core/v8/RejectedPromises.h
@@ -28,13 +28,15 @@ public:
void dispose();
DECLARE_TRACE();
- void add(ScriptState*, v8::PromiseRejectMessage, const String& errorMessage, const String& resourceName, int scriptId, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>);
+ void rejectedWithNoHandler(ScriptState*, v8::PromiseRejectMessage, const String& errorMessage, const String& resourceName, int scriptId, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>);
+ void handlerAdded(v8::PromiseRejectMessage);
void processQueue();
private:
class Message;
WillBeHeapDeque<OwnPtrWillBeMember<Message>> m_queue;
+ WillBeHeapDeque<OwnPtrWillBeMember<Message>> m_reportedAsErrors;
};
} // namespace blink
« no previous file with comments | « LayoutTests/inspector/sources/debugger/promise-pane-expected.txt ('k') | Source/bindings/core/v8/RejectedPromises.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698