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

Unified Diff: LayoutTests/http/tests/inspector/network/network-image-404.html

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 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: LayoutTests/http/tests/inspector/network/network-image-404.html
diff --git a/LayoutTests/http/tests/inspector/network/network-image-404.html b/LayoutTests/http/tests/inspector/network/network-image-404.html
index f2cbdf1eeeebd8ea013e514887f47aef79c9957c..5d19d1a644d7d8e42bfc504c7e425b1856c87811 100644
--- a/LayoutTests/http/tests/inspector/network/network-image-404.html
+++ b/LayoutTests/http/tests/inspector/network/network-image-404.html
@@ -40,8 +40,14 @@ function test()
function step3()
{
- var request1 = InspectorTest.networkRequests().pop();
- InspectorTest.addResult("resource.content after requesting content: " + request1.content);
+ var requests = InspectorTest.networkRequests();
+ requests.sort(function(a, b) {return a.url.localeCompare(b.url);});
+ InspectorTest.addResult("resources count = " + requests.length);
+ for (i = 0; i < requests.length; i++) {
+ InspectorTest.addResult(requests[i].url);
+ InspectorTest.addResult("resource.content after requesting content: " + requests[i].content);
+ }
+
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698