Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html |
index 4b12df28ae1f1523324feb4c0226f74d6d893162..d93ca5a7dfef981eb0f8687f45afcda1ea4e63f9 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html |
@@ -166,12 +166,17 @@ function test() |
function dumpCompletions(completions, expected) |
{ |
var completionSet = new Set(completions.map(c => c.title)); |
+ var notFound = false; |
for (var completion of expected) { |
- if (completionSet.has(completion)) |
+ if (completionSet.has(completion)) { |
InspectorTest.addResult(completion); |
- else |
+ } else { |
InspectorTest.addResult("NOT FOUND: " + completion); |
+ notFound = true; |
+ } |
} |
+ if (notFound) |
+ InspectorTest.addResult(JSON.stringify(completions)); |
} |
} |