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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/compile-javascript.html

Issue 2530483002: DevTools: teach UISourceCodeFrame to merge messages (Closed)
Patch Set: improve test 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/LayoutTests/inspector/sources/compile-javascript.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/compile-javascript.html b/third_party/WebKit/LayoutTests/inspector/sources/compile-javascript.html
index 1958b8ca335d9af6543d645cb080139856874f8e..f7cc8a53c86e9b3de74859c66d506892ed8b3fdc 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/compile-javascript.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/compile-javascript.html
@@ -19,12 +19,7 @@ function test()
function onCompilationFinished(sourceFrame)
{
- for (var bucket of sourceFrame._rowMessageBuckets.values()) {
- for (var rowMessage of bucket._messages) {
- var message = rowMessage.message();
- InspectorTest.addResult(String.sprintf("%d:%d [%s] %s", message.lineNumber(), message.columnNumber(), message.level(), message.text()));
- }
- }
+ InspectorTest.dumpSourceFrameMessages(sourceFrame);
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698