Skip to content
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
@ghost

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

  1. Disable third party cookies in your browser
  2. Load a page of your app with the ITP middleware
  3. 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)

Metadata

Metadata

Assignees

Labels

bugBug with the codecookiesStupid cookies... pre-v17fix-in-progressIn progress

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions