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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/components/parsed-url-expected.txt

Issue 2422803002: DevTools: prefix node.js scripts's sourceURL with "file://" to make them a valid url (Closed)
Patch Set: WI.ParsedURL.platformPathToURL Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 Tests inspector ParsedURL class 1 Tests inspector ParsedURL class
2 2
3 Parsing url: http://example.com/?queryParam1=value1&queryParam2=value2#fragmentW ith/Many//Slashes 3 Parsing url: http://example.com/?queryParam1=value1&queryParam2=value2#fragmentW ith/Many//Slashes
4 isValid: true 4 isValid: true
5 scheme: http 5 scheme: http
6 host: example.com 6 host: example.com
7 port: undefined 7 port: undefined
8 path: / 8 path: /
9 queryParams: queryParam1=value1&queryParam2=value2 9 queryParams: queryParam1=value1&queryParam2=value2
10 fragment: fragmentWith/Many//Slashes 10 fragment: fragmentWith/Many//Slashes
11 folderPathComponents: 11 folderPathComponents:
12 lastPathComponent: 12 lastPathComponent:
13 splittedURL: ["http://example.com","?queryParam1=value1&queryParam2=value2"]
14 Parsing url: http://example.com/foo.html?queryParam1=value1&queryParam2=value2#f ragmentWith/Many//Slashes 13 Parsing url: http://example.com/foo.html?queryParam1=value1&queryParam2=value2#f ragmentWith/Many//Slashes
15 isValid: true 14 isValid: true
16 scheme: http 15 scheme: http
17 host: example.com 16 host: example.com
18 port: undefined 17 port: undefined
19 path: /foo.html 18 path: /foo.html
20 queryParams: queryParam1=value1&queryParam2=value2 19 queryParams: queryParam1=value1&queryParam2=value2
21 fragment: fragmentWith/Many//Slashes 20 fragment: fragmentWith/Many//Slashes
22 folderPathComponents: 21 folderPathComponents:
23 lastPathComponent: foo.html 22 lastPathComponent: foo.html
24 splittedURL: ["http://example.com","foo.html?queryParam1=value1&queryParam2=va lue2"]
25 Parsing url: http://example.com/foo/bar.html?queryParam1=value1&queryParam2=valu e2#fragmentWith/Many//Slashes 23 Parsing url: http://example.com/foo/bar.html?queryParam1=value1&queryParam2=valu e2#fragmentWith/Many//Slashes
26 isValid: true 24 isValid: true
27 scheme: http 25 scheme: http
28 host: example.com 26 host: example.com
29 port: undefined 27 port: undefined
30 path: /foo/bar.html 28 path: /foo/bar.html
31 queryParams: queryParam1=value1&queryParam2=value2 29 queryParams: queryParam1=value1&queryParam2=value2
32 fragment: fragmentWith/Many//Slashes 30 fragment: fragmentWith/Many//Slashes
33 folderPathComponents: /foo 31 folderPathComponents: /foo
34 lastPathComponent: bar.html 32 lastPathComponent: bar.html
35 splittedURL: ["http://example.com","foo","bar.html?queryParam1=value1&queryPar am2=value2"]
36 Parsing url: http://example.com/foo/bar/baz.html?queryParam1=value1&queryParam2= value2#fragmentWith/Many//Slashes 33 Parsing url: http://example.com/foo/bar/baz.html?queryParam1=value1&queryParam2= value2#fragmentWith/Many//Slashes
37 isValid: true 34 isValid: true
38 scheme: http 35 scheme: http
39 host: example.com 36 host: example.com
40 port: undefined 37 port: undefined
41 path: /foo/bar/baz.html 38 path: /foo/bar/baz.html
42 queryParams: queryParam1=value1&queryParam2=value2 39 queryParams: queryParam1=value1&queryParam2=value2
43 fragment: fragmentWith/Many//Slashes 40 fragment: fragmentWith/Many//Slashes
44 folderPathComponents: /foo/bar 41 folderPathComponents: /foo/bar
45 lastPathComponent: baz.html 42 lastPathComponent: baz.html
46 splittedURL: ["http://example.com","foo","bar","baz.html?queryParam1=value1&qu eryParam2=value2"]
47 Parsing url: http://example.com//?queryParam1=value1 43 Parsing url: http://example.com//?queryParam1=value1
48 isValid: true 44 isValid: true
49 scheme: http 45 scheme: http
50 host: example.com 46 host: example.com
51 port: undefined 47 port: undefined
52 path: // 48 path: //
53 queryParams: queryParam1=value1 49 queryParams: queryParam1=value1
54 fragment: undefined 50 fragment: undefined
55 folderPathComponents: / 51 folderPathComponents: /
56 lastPathComponent: 52 lastPathComponent:
57 splittedURL: ["http://example.com","?queryParam1=value1"]
58 Parsing url: http://example.com//foo.html 53 Parsing url: http://example.com//foo.html
59 isValid: true 54 isValid: true
60 scheme: http 55 scheme: http
61 host: example.com 56 host: example.com
62 port: undefined 57 port: undefined
63 path: //foo.html 58 path: //foo.html
64 queryParams: 59 queryParams:
65 fragment: undefined 60 fragment: undefined
66 folderPathComponents: / 61 folderPathComponents: /
67 lastPathComponent: foo.html 62 lastPathComponent: foo.html
68 splittedURL: ["http://example.com","foo.html"]
69 Parsing url: http://example.com//foo/bar.html 63 Parsing url: http://example.com//foo/bar.html
70 isValid: true 64 isValid: true
71 scheme: http 65 scheme: http
72 host: example.com 66 host: example.com
73 port: undefined 67 port: undefined
74 path: //foo/bar.html 68 path: //foo/bar.html
75 queryParams: 69 queryParams:
76 fragment: undefined 70 fragment: undefined
77 folderPathComponents: //foo 71 folderPathComponents: //foo
78 lastPathComponent: bar.html 72 lastPathComponent: bar.html
79 splittedURL: ["http://example.com","foo","bar.html"]
80 Parsing url: http://example.com/foo//bar.html 73 Parsing url: http://example.com/foo//bar.html
81 isValid: true 74 isValid: true
82 scheme: http 75 scheme: http
83 host: example.com 76 host: example.com
84 port: undefined 77 port: undefined
85 path: /foo//bar.html 78 path: /foo//bar.html
86 queryParams: 79 queryParams:
87 fragment: undefined 80 fragment: undefined
88 folderPathComponents: /foo/ 81 folderPathComponents: /foo/
89 lastPathComponent: bar.html 82 lastPathComponent: bar.html
90 splittedURL: ["http://example.com","foo","bar.html"]
91 Parsing url: http://example.com//foo//bar.html 83 Parsing url: http://example.com//foo//bar.html
92 isValid: true 84 isValid: true
93 scheme: http 85 scheme: http
94 host: example.com 86 host: example.com
95 port: undefined 87 port: undefined
96 path: //foo//bar.html 88 path: //foo//bar.html
97 queryParams: 89 queryParams:
98 fragment: undefined 90 fragment: undefined
99 folderPathComponents: //foo/ 91 folderPathComponents: //foo/
100 lastPathComponent: bar.html 92 lastPathComponent: bar.html
101 splittedURL: ["http://example.com","foo","bar.html"]
102 Parsing url: http://example.com//foo/bar/baz.html 93 Parsing url: http://example.com//foo/bar/baz.html
103 isValid: true 94 isValid: true
104 scheme: http 95 scheme: http
105 host: example.com 96 host: example.com
106 port: undefined 97 port: undefined
107 path: //foo/bar/baz.html 98 path: //foo/bar/baz.html
108 queryParams: 99 queryParams:
109 fragment: undefined 100 fragment: undefined
110 folderPathComponents: //foo/bar 101 folderPathComponents: //foo/bar
111 lastPathComponent: baz.html 102 lastPathComponent: baz.html
112 splittedURL: ["http://example.com","foo","bar","baz.html"]
113 Parsing url: http://example.com/foo//bar/baz.html 103 Parsing url: http://example.com/foo//bar/baz.html
114 isValid: true 104 isValid: true
115 scheme: http 105 scheme: http
116 host: example.com 106 host: example.com
117 port: undefined 107 port: undefined
118 path: /foo//bar/baz.html 108 path: /foo//bar/baz.html
119 queryParams: 109 queryParams:
120 fragment: undefined 110 fragment: undefined
121 folderPathComponents: /foo//bar 111 folderPathComponents: /foo//bar
122 lastPathComponent: baz.html 112 lastPathComponent: baz.html
123 splittedURL: ["http://example.com","foo","bar","baz.html"]
124 Parsing url: http://example.com/foo/bar//baz.html 113 Parsing url: http://example.com/foo/bar//baz.html
125 isValid: true 114 isValid: true
126 scheme: http 115 scheme: http
127 host: example.com 116 host: example.com
128 port: undefined 117 port: undefined
129 path: /foo/bar//baz.html 118 path: /foo/bar//baz.html
130 queryParams: 119 queryParams:
131 fragment: undefined 120 fragment: undefined
132 folderPathComponents: /foo/bar/ 121 folderPathComponents: /foo/bar/
133 lastPathComponent: baz.html 122 lastPathComponent: baz.html
134 splittedURL: ["http://example.com","foo","bar","baz.html"]
135 Parsing url: http://example.com///foo/bar/baz.html 123 Parsing url: http://example.com///foo/bar/baz.html
136 isValid: true 124 isValid: true
137 scheme: http 125 scheme: http
138 host: example.com 126 host: example.com
139 port: undefined 127 port: undefined
140 path: ///foo/bar/baz.html 128 path: ///foo/bar/baz.html
141 queryParams: 129 queryParams:
142 fragment: undefined 130 fragment: undefined
143 folderPathComponents: ///foo/bar 131 folderPathComponents: ///foo/bar
144 lastPathComponent: baz.html 132 lastPathComponent: baz.html
145 splittedURL: ["http://example.com","foo","bar","baz.html"]
146 Parsing url: http://example.com/foo////bar/baz.html 133 Parsing url: http://example.com/foo////bar/baz.html
147 isValid: true 134 isValid: true
148 scheme: http 135 scheme: http
149 host: example.com 136 host: example.com
150 port: undefined 137 port: undefined
151 path: /foo////bar/baz.html 138 path: /foo////bar/baz.html
152 queryParams: 139 queryParams:
153 fragment: undefined 140 fragment: undefined
154 folderPathComponents: /foo////bar 141 folderPathComponents: /foo////bar
155 lastPathComponent: baz.html 142 lastPathComponent: baz.html
156 splittedURL: ["http://example.com","foo","bar","baz.html"]
157 Parsing url: http://example.com/foo/bar/////baz.html 143 Parsing url: http://example.com/foo/bar/////baz.html
158 isValid: true 144 isValid: true
159 scheme: http 145 scheme: http
160 host: example.com 146 host: example.com
161 port: undefined 147 port: undefined
162 path: /foo/bar/////baz.html 148 path: /foo/bar/////baz.html
163 queryParams: 149 queryParams:
164 fragment: undefined 150 fragment: undefined
165 folderPathComponents: /foo/bar//// 151 folderPathComponents: /foo/bar////
166 lastPathComponent: baz.html 152 lastPathComponent: baz.html
167 splittedURL: ["http://example.com","foo","bar","baz.html"]
168 153
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698