nextjs - 💡(How to fix) Fix Unable to delete dlp-id on ol webkit

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

The application will error with this message

Fix Action

Fix / Workaround

It was confirmed by a local patch that we deployed

Code Example

<img width="263" height="307" alt="Image" src="https://github.com/user-attachments/assets/32c0df77-4cac-43a7-9a6a-ed5b98ce3cdb" />

### Current vs. Expected behavior

The expectation is that the application run on an old webkit browser.

### Provide environment information

---

### Which area(s) are affected? (Select all that apply)

Not sure

### Which stage(s) are affected? (Select all that apply)

Other (Deployed), next dev (local)

### Additional context

We narrow down the problem to this line

---

in
RAW_BUFFERClick to expand / collapse

Link to the code that reproduces this issue

https://github.com/kyamaz99/next.js

To Reproduce

Start a next application after 16.2.0 in a safari 9 which is used in playstation 4. The application will error with this message TypeError: Unable to delete property

<img width="263" height="307" alt="Image" src="https://github.com/user-attachments/assets/32c0df77-4cac-43a7-9a6a-ed5b98ce3cdb" />

Current vs. Expected behavior

The expectation is that the application run on an old webkit browser.

Provide environment information

Safari 9

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

Other (Deployed), next dev (local)

Additional context

We narrow down the problem to this line delete document.documentElement.dataset.dplId in packages/next/src/shared/lib/deployment-id.ts

It seems to be related of how webkit implemented dataset, as discussed in this thread

It was confirmed by a local patch that we deployed

<img width="528" height="98" alt="Image" src="https://github.com/user-attachments/assets/a6aab79a-4347-423e-8631-6dd317535576" />

This single changes enable us to use [email protected] on old playstation 4.

The same fix was applied in this fork

It's a very niche edge case but as the fix involved just using a different method with no regression, we thought it would worse creating an issue with a fix

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING