This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
ITP Middleware : requestStorageAccess is not a function (JS error) #677
Closed

Description
Expected Behavior
When using the ITP middleware with third party cookies disabled, clicking on "Continue" should prompt the dialog to enable third party cookies... Or redirect me to the page to do it manually.
Current Behavior
Currently, I get the following JS error in my console when I click on "continue" :
ask:422 Uncaught TypeError: document.requestStorageAccess is not a function at HTMLButtonElement.handleStorageAccess (ask:422)
Failure Information
I'm using Chrome 88.0.4324.96 (last update) and Chrome Dev 90.0.4400.10. Both versions have the issue.
Steps to Reproduce
- Disable third party cookies in your browser
- Load a page of your app with the ITP middleware
- Click on "Continue"
Context
- Package Version: v16.0.0
- Laravel Version: v7.0
- PHP Version: v7.2.5
Failure Logs
ask:422 Uncaught TypeError: document.requestStorageAccess is not a function at HTMLButtonElement.handleStorageAccess (ask:422)