Closed
Bug 1667563
Opened 5 years ago
Closed 5 years ago
storage broken for local file URIs with cookieBehavior=1
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1663192
People
(Reporter: earthlng, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
starting in FF81, network.cookie.cookieBehavior
= 1 (= block all 3rd-party cookies/site data) incorrectly blocks 1st party storage access in file:/// URIs.
STR:
- set
network.cookie.cookieBehavior
to 1 - save the following demo code as an HTML file and open it as a file:/// URI
<!DOCTYPE HTML>
<html>
<body>
<script>
try {
document.body.innerText = 'typeof window.indexedDB: ' + typeof window.indexedDB;
} catch (e) {
if (e instanceof DOMException) document.body.innerText = 'DOMException: ' + e.message + ' (' + e.name + ')';
}
</script>
</body>
</html>
Actual results:
DOMException and a console message:
Request to access cookie or storage on “file:///.../test.htm” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
Expected results:
1st party storage access shouldn't be blocked.
Comment 1•5 years ago
|
||
Thanks for the detailed report, this a duplicate of bug 1663192.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•