summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/dom-level0/file_location.html
blob: 3a74b32d188544eb77fceef776fd08a32f7fabc4 (plain)
1
2
3
4
5
6
7
8
9
10
<html>
    <script>
        try {
            parent.SimpleTest.ok(!("existingprop" in location), "got a new location object in the iframe");
        } catch (e) {
        }

        location.iframeprop = 42;
    </script>
</html>