| Index: chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
|
| diff --git a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
|
| index 215f67e00fe0fd89f4b88c26266fa173d748be90..5efab4cb342de3f677290d981d1ce7ab855fb61e 100644
|
| --- a/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
|
| +++ b/chrome/test/data/webui/settings/settings_passwords_section_browsertest.js
|
| @@ -92,10 +92,8 @@ SettingsPasswordSectionBrowserTest.prototype = {
|
| * @private
|
| */
|
| getDomRepeatChildren_: function(element) {
|
| - var template = element.children[element.children.length - 1];
|
| - assertEquals('TEMPLATE', template.tagName);
|
| - // The template is at the end of the list of children and should be skipped.
|
| - return Array.prototype.slice.call(element.children, 0, -1);
|
| + var nodes = element.querySelectorAll('.list-item:not([id])');
|
| + return nodes;
|
| },
|
|
|
| /**
|
|
|