| OLD | NEW |
| 1 CONSOLE MESSAGE: line 6: XHR loaded: 1 |
| 2 CONSOLE MESSAGE: line 6: XHR loaded: 2 |
| 3 CONSOLE MESSAGE: line 6: XHR loaded: 3 |
| 4 CONSOLE MESSAGE: line 6: XHR loaded: 4 |
| 5 CONSOLE MESSAGE: line 6: XHR loaded: 5 |
| 6 CONSOLE MESSAGE: line 6: XHR loaded: 6 |
| 7 CONSOLE MESSAGE: line 6: XHR loaded: 7 |
| 8 CONSOLE MESSAGE: line 6: XHR loaded: 8 |
| 1 Tests that resources with JSON MIME types are previewed with the JSON viewer. | 9 Tests that resources with JSON MIME types are previewed with the JSON viewer. |
| 2 | 10 |
| 3 | 11 |
| 4 Running: test1 | 12 Running: plainTextTest |
| 5 Creating a NetworkRequest with mimeType: application/json | 13 Is Searchable: true |
| 6 Its previewer type: SearchableView > widget vbox json-view | 14 Type: ResourceSourceFrame |
| 7 Inner searchable box is: widget vbox json-view | 15 Should have found and highlighted all: foo |
| 16 Normal search found 0 results in dom. |
| 17 CodeMirror search found 2 results in dom. |
| 18 |
| 19 |
| 20 Running: jsonTest |
| 21 Is Searchable: true |
| 22 Type: JSONView |
| 8 Should have found and highlighted all: 533 | 23 Should have found and highlighted all: 533 |
| 9 <SPAN class=highlighted-search-result current-search-result > | 24 Normal search found 1 results in dom. |
| 10 533 | 25 CodeMirror search found 0 results in dom. |
| 11 </SPAN> | 26 |
| 12 Should have found and highlighted all: 322 | 27 Should have found and highlighted all: 322 |
| 13 <SPAN class=highlighted-search-result current-search-result > | 28 Normal search found 1 results in dom. |
| 14 322 | 29 CodeMirror search found 0 results in dom. |
| 15 </SPAN> | |
| 16 | 30 |
| 17 Running: test2 | 31 |
| 18 Creating a NetworkRequest with mimeType: application/vnd.document+json | 32 Running: jsonSpecialMimeTest |
| 19 Its previewer type: SearchableView > widget vbox json-view | 33 Is Searchable: true |
| 20 Inner searchable box is: widget vbox json-view | 34 Type: JSONView |
| 21 Should have found and highlighted all: foo | 35 Should have found and highlighted all: foo |
| 22 <SPAN class=highlighted-search-result current-search-result > | 36 Normal search found 2 results in dom. |
| 23 foo | 37 CodeMirror search found 0 results in dom. |
| 24 </SPAN> | |
| 25 <SPAN class=highlighted-search-result current-search-result > | |
| 26 foo | |
| 27 </SPAN> | |
| 28 | 38 |
| 29 Running: test3 | |
| 30 Creating a NetworkRequest with mimeType: text/xml | |
| 31 Its previewer type: widget shadow-xml-view source-code | |
| 32 | 39 |
| 33 Running: test4 | 40 Running: xmlMultipleSearchTest |
| 34 Creating a NetworkRequest with mimeType: text/xml | 41 Is Searchable: true |
| 35 Its previewer type: SearchableView > widget vbox json-view | 42 Type: XMLView |
| 36 Inner searchable box is: widget vbox json-view | 43 Should have found and highlighted all: bar |
| 44 Normal search found 2 results in dom. |
| 45 CodeMirror search found 0 results in dom. |
| 46 |
| 47 Should have found and highlighted all: foo |
| 48 Normal search found 1 results in dom. |
| 49 CodeMirror search found 0 results in dom. |
| 50 |
| 51 Should have found and highlighted all: bar |
| 52 Normal search found 2 results in dom. |
| 53 CodeMirror search found 0 results in dom. |
| 54 |
| 55 |
| 56 Running: xmlSingleSearchTest |
| 57 Is Searchable: true |
| 58 Type: XMLView |
| 59 Should have found and highlighted all: bar |
| 60 Normal search found 1 results in dom. |
| 61 CodeMirror search found 0 results in dom. |
| 62 |
| 63 |
| 64 Running: xmlCommentSearchTest |
| 65 Is Searchable: true |
| 66 Type: XMLView |
| 67 Should have found and highlighted all: TEST |
| 68 Normal search found 0 results in dom. |
| 69 CodeMirror search found 0 results in dom. |
| 70 |
| 71 Should have found and highlighted all: /bar |
| 72 Normal search found 0 results in dom. |
| 73 CodeMirror search found 0 results in dom. |
| 74 |
| 75 Should have found and highlighted all: bar |
| 76 Normal search found 1 results in dom. |
| 77 CodeMirror search found 0 results in dom. |
| 78 |
| 79 |
| 80 Running: xmlCDATASearchTest |
| 81 Is Searchable: true |
| 82 Type: XMLView |
| 83 Should have found and highlighted all: GGG |
| 84 Normal search found 1 results in dom. |
| 85 CodeMirror search found 0 results in dom. |
| 86 |
| 87 Should have found and highlighted all: tee |
| 88 Normal search found 2 results in dom. |
| 89 CodeMirror search found 0 results in dom. |
| 90 |
| 91 Should have found and highlighted all: CDATA |
| 92 Normal search found 1 results in dom. |
| 93 CodeMirror search found 0 results in dom. |
| 94 |
| 95 |
| 96 Running: xmlMimeTypeJsonTest |
| 97 Is Searchable: true |
| 98 Type: JSONView |
| 37 Should have found and highlighted all: fooo | 99 Should have found and highlighted all: fooo |
| 38 <SPAN class=highlighted-search-result current-search-result > | 100 Normal search found 1 results in dom. |
| 39 fooo | 101 CodeMirror search found 0 results in dom. |
| 40 </SPAN> | 102 |
| 41 Should have found and highlighted all: bar | 103 Should have found and highlighted all: bar |
| 42 <SPAN class=highlighted-search-result current-search-result > | 104 Normal search found 2 results in dom. |
| 43 bar | 105 CodeMirror search found 0 results in dom. |
| 44 </SPAN> | |
| 45 <SPAN class=highlighted-search-result > | |
| 46 bar | |
| 47 </SPAN> | |
| 48 | 106 |
| 107 |
| OLD | NEW |