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

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.cpp

Issue 2502763004: INPUT element: Deprecate case-insensitive matching for radio button group names. (Closed)
Patch Set: a Created 4 years, 1 month 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: third_party/WebKit/Source/core/frame/FrameConsole.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
index 77bf4677623341bebe60005789520f24a878367b..3d3a549625fcc84fc20bb48bd166413fe43440a2 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
@@ -100,6 +100,13 @@ void FrameConsole::addMessageFromWorker(
level, message, std::move(location), workerId));
}
+void FrameConsole::addSingletonMessage(ConsoleMessage* consoleMessage) {
+ if (m_singletonMessages.contains(consoleMessage->message()))
+ return;
+ m_singletonMessages.add(consoleMessage->message());
+ addMessage(consoleMessage);
+}
+
void FrameConsole::reportResourceResponseReceived(
DocumentLoader* loader,
unsigned long requestIdentifier,

Powered by Google App Engine
This is Rietveld 408576698