diff options
Diffstat (limited to 'dom/tests/mochitest/dom-level0/file_location.html')
-rw-r--r-- | dom/tests/mochitest/dom-level0/file_location.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/tests/mochitest/dom-level0/file_location.html b/dom/tests/mochitest/dom-level0/file_location.html new file mode 100644 index 000000000..3a74b32d1 --- /dev/null +++ b/dom/tests/mochitest/dom-level0/file_location.html @@ -0,0 +1,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> |