17 lines
343 B
HTML
17 lines
343 B
HTML
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<pre id="output"></pre>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
if (navigator.canShare({ url: "file:///bin/sh" }))
|
|
output.innerText = "FAIL: Allowed to share file URL.";
|
|
else
|
|
output.innerText = "PASS: Not allowed to share file URL.";
|
|
</script>
|
|
</body>
|
|
</html>
|