| 1 | /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
| 2 | * |
| 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 6 | |
| 7 | gTestfile = '9.2.1.8.js'; |
| 8 | |
| 9 | START("9.2.1.8 XMLList [[Descendants]]"); |
| 10 | |
| 11 | x = |
| 12 | <> |
| 13 | <alpha><bravo>one</bravo></alpha> |
| 14 | <charlie><delta><bravo>two</bravo></delta></charlie> |
| 15 | </>; |
| 16 | |
| 17 | correct = <><bravo>one</bravo><bravo>two</bravo></>; |
| 18 | TEST(1, correct, x..bravo); |
| 19 | |
| 20 | END(); |