1 This test case ensures that nameNodeListCache should be invalidate when name attribute changes.
3 PASS createTwoElements('a'); document.getElementsByName('fullname').length is 2
4 PASS document.querySelector('a').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
6 PASS createTwoElements('applet'); document.getElementsByName('fullname').length is 2
7 PASS document.querySelector('applet').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
9 PASS createTwoElements('embed'); document.getElementsByName('fullname').length is 2
10 PASS document.querySelector('embed').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
12 PASS createTwoElements('section'); document.getElementsByName('fullname').length is 2
13 PASS document.querySelector('section').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
15 PASS createTwoElements('frame'); document.getElementsByName('fullname').length is 2
16 PASS document.querySelector('frame').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
18 PASS createTwoElements('form'); document.getElementsByName('fullname').length is 2
19 PASS document.querySelector('form').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
21 PASS createTwoElements('iframe'); document.getElementsByName('fullname').length is 2
22 PASS document.querySelector('iframe').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
24 PASS createTwoElements('img'); document.getElementsByName('fullname').length is 2
25 PASS document.querySelector('img').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
27 PASS createTwoElements('map'); document.getElementsByName('fullname').length is 2
28 PASS document.querySelector('map').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
30 PASS createTwoElements('meta'); document.getElementsByName('fullname').length is 2
31 PASS document.querySelector('meta').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
33 PASS createTwoElements('object'); document.getElementsByName('fullname').length is 2
34 PASS document.querySelector('object').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
36 PASS createTwoElements('param'); document.getElementsByName('fullname').length is 2
37 PASS document.querySelector('param').setAttribute('name', 'changed-name'); document.getElementsByName('fullname').length is 1
39 PASS successfullyParsed is true