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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view-expected.txt

Issue 1913993004: [Devtools] Fix to XMLView in Network Preview panel broken (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5df3826b1cc0d16db7fa4c1d906174e28a63391
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view-expected.txt
@@ -0,0 +1,39 @@
+Tests to make sure the proper view is used for the data that is received in network panel.
+
+
+Running: testSimpleJSON
+Creating a NetworkRequest with mimeType: application/json
+Its previewer type: widget vbox json-view
+
+Running: testMimeJSON
+Creating a NetworkRequest with mimeType: application/vnd.document+json
+Its previewer type: widget vbox json-view
+
+Running: testSimpleXML
+Creating a NetworkRequest with mimeType: text/xml
+Its previewer type: widget shadow-xml-view source-code
+
+Running: testXMLMimeButJSON
+Creating a NetworkRequest with mimeType: text/xml
+Its previewer type: widget vbox json-view
+
+Running: testXMLWithUnknownMime
+Creating a NetworkRequest with mimeType: text/foobar
+Its previewer type: SearchableView > widget vbox
+
+Running: testXMLWithError500
+Creating a NetworkRequest with mimeType: text/xml
+Its previewer type: widget shadow-xml-view source-code
+
+Running: testUnknownMimeTextWithError500
+Creating a NetworkRequest with mimeType: text/foobar
+Its previewer type: SearchableView > widget vbox
+
+Running: testBinaryImageFile
+Creating a NetworkRequest with mimeType: image/png
+Its previewer type: SearchableView > widget vbox
+
+Running: testBinaryBlankImageFile
+Creating a NetworkRequest with mimeType: image/png
+Its previewer type: widget vbox empty-view
+

Powered by Google App Engine
This is Rietveld 408576698