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

Side by Side Diff: LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt

Issue 163883006: Add context to generated named and indexed property operations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ugh. Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLSelectElement/exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests the indexed setter and getter for HTMLOptionsCollection. 1 Tests the indexed setter and getter for HTMLOptionsCollection.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 1) getting options by index or by getElementById 6 1) getting options by index or by getElementById
7 PASS get_options[0] is document.getElementById("one") 7 PASS get_options[0] is document.getElementById("one")
8 PASS get_options[1] is document.getElementById("two") 8 PASS get_options[1] is document.getElementById("two")
9 2) setting a few elements to Option values 9 2) setting a few elements to Option values
10 PASS set_options.length is 3 10 PASS set_options.length is 3
11 3) trying to set an element to a non-Option value: undefined 11 3) trying to set an element to a non-Option value: undefined
12 PASS set_options.length is 3 12 PASS set_options.length is 3
13 4) trying to set an element to a non-Option value: null 13 4) trying to set an element to a non-Option value: null
14 PASS set_options.length is 3 14 PASS set_options.length is 3
15 5) trying to set an element to a non-Option value: form (object of incorrect typ e) 15 5) trying to set an element to a non-Option value: form (object of incorrect typ e)
16 PASS set_options[10] = my_form threw exception TypeError: The provided value is not of type 'HTMLOptionElement'.. 16 PASS set_options[10] = my_form threw exception TypeError: Failed to set an index ed property on 'HTMLOptionsCollection': The provided value is not of type 'HTMLO ptionElement'..
17 PASS set_options.length is 3 17 PASS set_options.length is 3
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLSelectElement/exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698