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

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, 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/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..cf8026d57bdc60a05fb6a923c277f2600677df8a 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,10 +1,40 @@
+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
+<SPAN class=cm-cm-overlay cm-search-highlight cm-search-highlight-start >
+f
+</SPAN>
+<SPAN class=cm-cm-overlay cm-search-highlight >
lushnikov 2016/05/04 17:00:47 let's not dump DOM - it's hard to read and validat
allada 2016/05/04 21:22:35 Done.
+o
+</SPAN>
+<SPAN class=cm-cm-overlay cm-search-highlight cm-search-highlight-end >
+o
+</SPAN>
+<SPAN class=cm-cm-overlay cm-search-highlight cm-search-highlight-start >
+f
+</SPAN>
+<SPAN class=cm-cm-overlay cm-search-highlight >
+o
+</SPAN>
+<SPAN class=cm-cm-overlay cm-search-highlight cm-search-highlight-end >
+o
+</SPAN>
+
+Running: jsonTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: 533
<SPAN class=highlighted-search-result current-search-result >
533
@@ -14,10 +44,9 @@ Should have found and highlighted all: 322
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
+Running: jsonSpecialMimeTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: foo
<SPAN class=highlighted-search-result current-search-result >
foo
@@ -26,14 +55,89 @@ foo
foo
</SPAN>
-Running: test3
-Creating a NetworkRequest with mimeType: text/xml
-Its previewer type: widget shadow-xml-view source-code
+Running: xmlMultipleSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: bar
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result >
+bar
+</SPAN>
+Should have found and highlighted all: foo
+<SPAN class=highlighted-search-result current-search-result >
+foo
+</SPAN>
+Should have found and highlighted all: bar
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result >
+bar
+</SPAN>
+
+Running: xmlSingleSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: bar
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+
+Running: xmlCommentSearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: TEST
+<SPAN class=highlighted-search-result current-search-result >
+TEST
+</SPAN>
+Should have found and highlighted all: /bar
+<SPAN class=highlighted-search-result current-search-result >
+/bar
+</SPAN>
+<SPAN class=highlighted-search-result >
+/bar
+</SPAN>
+Should have found and highlighted all: bar
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result current-search-result >
+bar
+</SPAN>
+<SPAN class=highlighted-search-result >
+bar
+</SPAN>
+
+Running: xmlCDATASearchTest
+Is Searchable: true
+Type: XMLView
+Should have found and highlighted all: GGG
+<SPAN class=highlighted-search-result current-search-result >
+GGG
+</SPAN>
+Should have found and highlighted all: tee
+<SPAN class=highlighted-search-result current-search-result >
+tee
+</SPAN>
+<SPAN class=highlighted-search-result >
+tee
+</SPAN>
+Should have found and highlighted all: CDATA
+<SPAN class=highlighted-search-result current-search-result >
+CDATA
+</SPAN>
-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
+Running: xmlMimeTypeJsonTest
+Is Searchable: true
+Type: JSONView
Should have found and highlighted all: fooo
<SPAN class=highlighted-search-result current-search-result >
fooo

Powered by Google App Engine
This is Rietveld 408576698