mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
moebius#226: Consider blocking top level window data: URIs (part 2/2 without tests)
https://github.com/MoonchildProductions/moebius/pull/226
This commit is contained in:
parent
712d19e1b7
commit
73f89fe562
16 changed files with 194 additions and 66 deletions
14
dom/security/test/general/file_data_text_csv.html
Normal file
14
dom/security/test/general/file_data_text_csv.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test open data:text/csv</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="data:text/csv;foo,bar,foobar" id="testlink">test text/csv</a>
|
||||
<script>
|
||||
// click the link to have the downoad panel appear
|
||||
let testlink = document.getElementById("testlink");
|
||||
testlink.click();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue