1
0
Fork 0
firefox/devtools/client/webconsole/test/browser/test-csp-violation-form-action.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
445 B
HTML

<html>
<head>
<title>CSP Base-URI Violation Test </title>
<base href="https://evil.com/">
</head>
<body>
<form action="evil.com" >
<input type="text" value="test" name="test" />
<button type="submit">Submit Button</button>
</form>
</body>
<script>
"use strict";
document.querySelector("form").submit();
</script>
</html>