diff options
Diffstat (limited to 'dom/plugins/test/mochitest/file_bug738396.html')
-rw-r--r-- | dom/plugins/test/mochitest/file_bug738396.html | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/dom/plugins/test/mochitest/file_bug738396.html b/dom/plugins/test/mochitest/file_bug738396.html new file mode 100644 index 0000000000..f91f8f3d9b --- /dev/null +++ b/dom/plugins/test/mochitest/file_bug738396.html @@ -0,0 +1,87 @@ +<!DOCTYPE html> +<html> +<head> + <title>Helper for test_bug738396.html</title> + <meta charset="utf-8"> +</head> +<body> + <!-- Test that the plugin sees "good" in each of these cases --> + <div id="codebasevis"> + <applet codebase="good" codebase="bad" ></applet> + + <applet codebase="bad"> + <param name="codebase" value="good"> + </applet> + + <applet codebase="bad"> + <param name="codebase" value="stillbad"> + <param name="codebase" value="good"> + </applet> + + <applet> + <param name="codebase" value="good"> + </applet> + + <object type="application/x-java-test" codebase="good" codebase="bad"></object> + + <object type="application/x-java-test" codebase="bad"> + <param name="codebase" value="good"> + </object> + + <object type="application/x-java-test" codebase="bad"> + <param name="codebase" value="stillbad"> + <param name="codebase" value="good"> + </object> + + <object type="application/x-java-test"> + <param name="codebase" value="good"> + </object> + + <embed type="application/x-java-test" codebase="good" codebase="bad"> + </div> + <div id="blockedcodebase"> + <!-- Test that none of these are allowed to load --> + <applet codebase="file:///" codebase="notused"></applet> + + <applet codebase="notused"> + <param name="codebase" value="file:///"> + </applet> + + <applet codebase="notused"> + <param name="codebase" value="notused"> + <param name="codebase" value="file:///"> + </applet> + + <applet> + <param name="codebase" value="file:///"> + </applet> + + <object type="application/x-java-test" codebase="file:///" codebase="notused"></object> + + <object type="application/x-java-test" codebase="notused"> + <param name="codebase" value="file:///"> + </object> + + <object type="application/x-java-test" codebase="notused"> + <param name="codebase" value="notused"> + <param name="codebase" value="file:///"> + </object> + + <object type="application/x-java-test"> + <param name="codebase" value="file:///"> + </object> + + <embed type="application/x-java-test" codebase="file:///" codebase="notused"> + </div> + <div id="nocodebase"> + <applet></applet> + <object type="application/x-java-test"></object> + <embed type="application/x-java-test"> + </div> + <div id="emptycodebase"> + <applet codebase=""></applet> + <object type="application/x-java-test" codebase=""></object> + <embed type="application/x-java-test" codebase=""> + </div> +</body> +</html> |