| OLD | NEW |
| (Empty) | |
| 1 Tests that resources with JSON MIME types are previewed with the JSON viewer. |
| 2 |
| 3 |
| 4 Running: test1 |
| 5 Creating a NetworkRequest with mimeType: application/json |
| 6 Its previewer type: SearchableView > widget vbox json-view |
| 7 Inner searchable box is: widget vbox json-view |
| 8 Should have found and highlighted all: 533 |
| 9 <SPAN class=highlighted-search-result current-search-result > |
| 10 533 |
| 11 </SPAN> |
| 12 Should have found and highlighted all: 322 |
| 13 <SPAN class=highlighted-search-result current-search-result > |
| 14 322 |
| 15 </SPAN> |
| 16 |
| 17 Running: test2 |
| 18 Creating a NetworkRequest with mimeType: application/vnd.document+json |
| 19 Its previewer type: SearchableView > widget vbox json-view |
| 20 Inner searchable box is: widget vbox json-view |
| 21 Should have found and highlighted all: foo |
| 22 <SPAN class=highlighted-search-result current-search-result > |
| 23 foo |
| 24 </SPAN> |
| 25 <SPAN class=highlighted-search-result current-search-result > |
| 26 foo |
| 27 </SPAN> |
| 28 |
| 29 Running: test3 |
| 30 Creating a NetworkRequest with mimeType: text/xml |
| 31 Its previewer type: widget shadow-xml-view source-code |
| 32 |
| 33 Running: test4 |
| 34 Creating a NetworkRequest with mimeType: text/xml |
| 35 Its previewer type: SearchableView > widget vbox json-view |
| 36 Inner searchable box is: widget vbox json-view |
| 37 Should have found and highlighted all: fooo |
| 38 <SPAN class=highlighted-search-result current-search-result > |
| 39 fooo |
| 40 </SPAN> |
| 41 Should have found and highlighted all: bar |
| 42 <SPAN class=highlighted-search-result current-search-result > |
| 43 bar |
| 44 </SPAN> |
| 45 <SPAN class=highlighted-search-result > |
| 46 bar |
| 47 </SPAN> |
| 48 |
| OLD | NEW |