Produce a web console log message when a local file is not accessed due to security restrictions
Categories
(Core :: DOM: Security, defect, P3)
Tracking
()
People
(Reporter: timwi, Unassigned)
Details
(Whiteboard: [domsecurity-backlog3])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
Open a file containing the following HTML code from the local filesystem:
<html>
<head>
<meta charset='utf-8' />
<link rel="stylesheet" type="text/css" href="../css/font.css">
<style>
body {
font-family: 'Fantasy';
}
</style>
</head>
<body>
</body>
</html>
Actual results:
No access to ../css/font.css is made and no log message appears in the console.
Expected results:
If a file is referenced that will not be accessed due to security restrictions, a console log message should appear to inform the user of that fact.
Comment 1•6 years ago
|
||
Hi,
in fact i see the error message in Chrome but not on nightly 68.0a01(2019-05-20) or release. I'll mark the bug as new and assign a component. Feel free to change it if you consider it wrong.
Regards
David
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Blocked file:/// messages currently get put on the Browser Console rather than the Web Console. We should fix that.
Updated•3 years ago
|
Description
•