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

Side by Side Diff: LayoutTests/fast/dom/domstring-attribute-reflection-expected.txt

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 4 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 Reflected DOMString attribute test for button/@name 1 Reflected DOMString attribute test for button/@name
2 Initial value: 2 Initial value:
3 PASS element.name is "" 3 PASS element.name is ""
4 PASS element.getAttribute("name") is null 4 PASS element.getAttribute("name") is null
5 Setting a value via the IDL attribute: 5 Setting a value via the IDL attribute:
6 PASS element.name = "foo"; element.name is "foo" 6 PASS element.name = "foo"; element.name is "foo"
7 PASS element.getAttribute("name") is "foo" 7 PASS element.getAttribute("name") is "foo"
8 Setting a value via the content attribute: 8 Setting a value via the content attribute:
9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" 9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
10 PASS element.getAttribute("name") is " bar\n" 10 PASS element.getAttribute("name") is " bar\n"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 PASS element.setAttribute("name", undefined); element.name is "undefined" 171 PASS element.setAttribute("name", undefined); element.name is "undefined"
172 PASS element.getAttribute("name") is "undefined" 172 PASS element.getAttribute("name") is "undefined"
173 Setting non-string via the IDL attribute: 173 Setting non-string via the IDL attribute:
174 PASS element.name = 123; element.name is "123" 174 PASS element.name = 123; element.name is "123"
175 PASS element.getAttribute("name") is "123" 175 PASS element.getAttribute("name") is "123"
176 Setting non-string via the content attribute: 176 Setting non-string via the content attribute:
177 PASS element.setAttribute("name", 456); element.name is "456" 177 PASS element.setAttribute("name", 456); element.name is "456"
178 PASS element.getAttribute("name") is "456" 178 PASS element.getAttribute("name") is "456"
179 179
180 180
181 Reflected DOMString attribute test for menu/@type
182 Initial value:
183 PASS element.type is ""
184 PASS element.getAttribute("type") is null
185 Setting a value via the IDL attribute:
186 PASS element.type = "foo"; element.type is "foo"
187 PASS element.getAttribute("type") is "foo"
188 Setting a value via the content attribute:
189 PASS element.setAttribute("type", " bar\n"); element.type is " bar\n"
190 PASS element.getAttribute("type") is " bar\n"
191 Setting null via the IDL attribute:
192 PASS element.type = null; element.type is "null"
193 PASS element.getAttribute("type") is "null"
194 Setting null via the content attribute:
195 PASS element.setAttribute("type", null); element.type is "null"
196 PASS element.getAttribute("type") is "null"
197 Setting undefined via the IDL attribute:
198 PASS element.type = undefined; element.type is "undefined"
199 PASS element.getAttribute("type") is "undefined"
200 Setting undefined via the content attribute:
201 PASS element.setAttribute("type", undefined); element.type is "undefined"
202 PASS element.getAttribute("type") is "undefined"
203 Setting non-string via the IDL attribute:
204 PASS element.type = 123; element.type is "123"
205 PASS element.getAttribute("type") is "123"
206 Setting non-string via the content attribute:
207 PASS element.setAttribute("type", 456); element.type is "456"
208 PASS element.getAttribute("type") is "456"
209
210
211 Reflected DOMString attribute test for menu/@label
212 Initial value:
213 PASS element.label is ""
214 PASS element.getAttribute("label") is null
215 Setting a value via the IDL attribute:
216 PASS element.label = "foo"; element.label is "foo"
217 PASS element.getAttribute("label") is "foo"
218 Setting a value via the content attribute:
219 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n"
220 PASS element.getAttribute("label") is " bar\n"
221 Setting null via the IDL attribute:
222 PASS element.label = null; element.label is "null"
223 PASS element.getAttribute("label") is "null"
224 Setting null via the content attribute:
225 PASS element.setAttribute("label", null); element.label is "null"
226 PASS element.getAttribute("label") is "null"
227 Setting undefined via the IDL attribute:
228 PASS element.label = undefined; element.label is "undefined"
229 PASS element.getAttribute("label") is "undefined"
230 Setting undefined via the content attribute:
231 PASS element.setAttribute("label", undefined); element.label is "undefined"
232 PASS element.getAttribute("label") is "undefined"
233 Setting non-string via the IDL attribute:
234 PASS element.label = 123; element.label is "123"
235 PASS element.getAttribute("label") is "123"
236 Setting non-string via the content attribute:
237 PASS element.setAttribute("label", 456); element.label is "456"
238 PASS element.getAttribute("label") is "456"
239
240
241 Reflected DOMString attribute test for menuitem/@type
242 Initial value:
243 PASS element.type is ""
244 PASS element.getAttribute("type") is null
245 Setting a value via the IDL attribute:
246 PASS element.type = "foo"; element.type is "foo"
247 PASS element.getAttribute("type") is "foo"
248 Setting a value via the content attribute:
249 PASS element.setAttribute("type", " bar\n"); element.type is " bar\n"
250 PASS element.getAttribute("type") is " bar\n"
251 Setting null via the IDL attribute:
252 PASS element.type = null; element.type is "null"
253 PASS element.getAttribute("type") is "null"
254 Setting null via the content attribute:
255 PASS element.setAttribute("type", null); element.type is "null"
256 PASS element.getAttribute("type") is "null"
257 Setting undefined via the IDL attribute:
258 PASS element.type = undefined; element.type is "undefined"
259 PASS element.getAttribute("type") is "undefined"
260 Setting undefined via the content attribute:
261 PASS element.setAttribute("type", undefined); element.type is "undefined"
262 PASS element.getAttribute("type") is "undefined"
263 Setting non-string via the IDL attribute:
264 PASS element.type = 123; element.type is "123"
265 PASS element.getAttribute("type") is "123"
266 Setting non-string via the content attribute:
267 PASS element.setAttribute("type", 456); element.type is "456"
268 PASS element.getAttribute("type") is "456"
269
270
271 Reflected DOMString attribute test for menuitem/@label
272 Initial value:
273 PASS element.label is ""
274 PASS element.getAttribute("label") is null
275 Setting a value via the IDL attribute:
276 PASS element.label = "foo"; element.label is "foo"
277 PASS element.getAttribute("label") is "foo"
278 Setting a value via the content attribute:
279 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n"
280 PASS element.getAttribute("label") is " bar\n"
281 Setting null via the IDL attribute:
282 PASS element.label = null; element.label is "null"
283 PASS element.getAttribute("label") is "null"
284 Setting null via the content attribute:
285 PASS element.setAttribute("label", null); element.label is "null"
286 PASS element.getAttribute("label") is "null"
287 Setting undefined via the IDL attribute:
288 PASS element.label = undefined; element.label is "undefined"
289 PASS element.getAttribute("label") is "undefined"
290 Setting undefined via the content attribute:
291 PASS element.setAttribute("label", undefined); element.label is "undefined"
292 PASS element.getAttribute("label") is "undefined"
293 Setting non-string via the IDL attribute:
294 PASS element.label = 123; element.label is "123"
295 PASS element.getAttribute("label") is "123"
296 Setting non-string via the content attribute:
297 PASS element.setAttribute("label", 456); element.label is "456"
298 PASS element.getAttribute("label") is "456"
299
300
181 Reflected DOMString attribute test for object/@name 301 Reflected DOMString attribute test for object/@name
182 Initial value: 302 Initial value:
183 PASS element.name is "" 303 PASS element.name is ""
184 PASS element.getAttribute("name") is null 304 PASS element.getAttribute("name") is null
185 Setting a value via the IDL attribute: 305 Setting a value via the IDL attribute:
186 PASS element.name = "foo"; element.name is "foo" 306 PASS element.name = "foo"; element.name is "foo"
187 PASS element.getAttribute("name") is "foo" 307 PASS element.getAttribute("name") is "foo"
188 Setting a value via the content attribute: 308 Setting a value via the content attribute:
189 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" 309 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
190 PASS element.getAttribute("name") is " bar\n" 310 PASS element.getAttribute("name") is " bar\n"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 PASS element.getAttribute("bgcolor") is "123" 955 PASS element.getAttribute("bgcolor") is "123"
836 Setting non-string via the content attribute: 956 Setting non-string via the content attribute:
837 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456" 957 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
838 PASS element.getAttribute("bgcolor") is "456" 958 PASS element.getAttribute("bgcolor") is "456"
839 959
840 960
841 PASS successfullyParsed is true 961 PASS successfullyParsed is true
842 962
843 TEST COMPLETE 963 TEST COMPLETE
844 964
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698