OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 function test() | 6 function test() |
7 { | 7 { |
8 var value = "Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters."; | 8 var value = "Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters."; |
9 var parameterElement = WebInspector.ResourceHeadersView.prototype._formatPar
ameter(value, "", true); | 9 var parameterElement = WebInspector.ResourceHeadersView.prototype._formatPar
ameter(value, "", true); |
10 InspectorTest.addResult("Original value: " + value); | 10 InspectorTest.addResult("Original value: " + value); |
11 InspectorTest.addResult("Decoded value: " + parameterElement.textContent); | 11 InspectorTest.addResult("Decoded value: " + parameterElement.textContent); |
12 InspectorTest.completeTest(); | 12 InspectorTest.completeTest(); |
13 } | 13 } |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body onload="runTest()"> | 16 <body onload="runTest()"> |
17 <p>Tests how request headers are decoded in network item view.</p> | 17 <p>Tests how request headers are decoded in network item view.</p> |
18 <a href="https://bugs.webkit.org/show_bug.cgi?id=61205">Bug 74422</a> | 18 <a href="https://bugs.webkit.org/show_bug.cgi?id=61205">Bug 74422</a> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |