1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 ChromeUtils.import("resource://test/recursive_importA.jsm", scope);
9 // A imported correctly
10 Assert.ok(scope.foo() == "foo");
12 // Symbols from B are visible through A
13 Assert.ok(scope.bar.baz() == "baz");
15 // Symbols from A are visible through A, B, A.
16 Assert.ok(scope.bar.qux.foo() == "foo");