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

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

Issue 1942683006: [Devtools] XMLView now searchable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FIND_IN_JSON_FINAL
Patch Set: Created 4 years, 7 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/preview-searchable-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable-expected.txt
index 97c16541a77013a0a7e1789bbbbfeb12ff1021ee..eb5c225e4152333c8eb8c414db48395616925d9f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable-expected.txt
@@ -1,48 +1,107 @@
+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+CONSOLE MESSAGE: line 6: XHR loaded: 3
+CONSOLE MESSAGE: line 6: XHR loaded: 4
+CONSOLE MESSAGE: line 6: XHR loaded: 5
+CONSOLE MESSAGE: line 6: XHR loaded: 6
+CONSOLE MESSAGE: line 6: XHR loaded: 7
+CONSOLE MESSAGE: line 6: XHR loaded: 8
Tests that resources with JSON MIME types are previewed with the JSON viewer.
-Running: test1
-Creating a NetworkRequest with mimeType: application/json
-Its previewer type: SearchableView > widget vbox json-view
-Inner searchable box is: widget vbox json-view
+Running: plainTextTest
+Is Searchable: true
+Type: ResourceSourceFrame
+Should have found and highlighted all: foo
+Normal search found 0 results in dom.
+CodeMirror search found 2 results in dom.
+
+
+Running: jsonTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: 533
-<SPAN class=highlighted-search-result current-search-result >
-533
-</SPAN>
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
Should have found and highlighted all: 322
-<SPAN class=highlighted-search-result current-search-result >
-322
-</SPAN>
-
-Running: test2
-Creating a NetworkRequest with mimeType: application/vnd.document+json
-Its previewer type: SearchableView > widget vbox json-view
-Inner searchable box is: widget vbox json-view
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: jsonSpecialMimeTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: foo
-<SPAN class=highlighted-search-result current-search-result >
-foo
-</SPAN>
-<SPAN class=highlighted-search-result current-search-result >
-foo
-</SPAN>
-
-Running: test3
-Creating a NetworkRequest with mimeType: text/xml
-Its previewer type: widget shadow-xml-view source-code
-
-Running: test4
-Creating a NetworkRequest with mimeType: text/xml
-Its previewer type: SearchableView > widget vbox json-view
-Inner searchable box is: widget vbox json-view
+Normal search found 2 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: xmlMultipleSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: bar
+Normal search found 2 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: foo
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: bar
+Normal search found 2 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: xmlSingleSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: bar
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: xmlCommentSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: TEST
+Normal search found 0 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: /bar
+Normal search found 0 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: bar
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: xmlCDATASearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: GGG
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: tee
+Normal search found 2 results in dom.
+CodeMirror search found 0 results in dom.
+
+Should have found and highlighted all: CDATA
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
+
+Running: xmlMimeTypeJsonTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: fooo
-<SPAN class=highlighted-search-result current-search-result >
-fooo
-</SPAN>
+Normal search found 1 results in dom.
+CodeMirror search found 0 results in dom.
+
Should have found and highlighted all: bar
-<SPAN class=highlighted-search-result current-search-result >
-bar
-</SPAN>
-<SPAN class=highlighted-search-result >
-bar
-</SPAN>
+Normal search found 2 results in dom.
+CodeMirror search found 0 results in dom.
+

Powered by Google App Engine
This is Rietveld 408576698