Skip to content

[🐞] Deprecation Warnings: SharedStorage and AttributionReporting in Partytown when running PageSpeed Insights #693

@wlans

Description

@wlans

Describe the bug

When running an audit via https://pagespeed.web.dev/ , deprecation warnings appear in the browser console related to APIs that are scheduled for removal.

⚠️ Deprecation / Warning

File:

/~partytown/partytown-sandbox-sw.html?... 

Location: :2:11622

Affected APIs

  • SharedStorage
  • AttributionReporting

Context

The warnings originate from the Partytown sandbox service worker:

/~partytown/partytown-sandbox-sw.html

This occurs during a PageSpeed Insights / Lighthouse run.

It is unclear whether:

  • Partytown directly references these APIs, or
  • A third-party script executed within the Partytown sandbox is triggering them.

Expected Behavior

No deprecated API warnings during Lighthouse/PageSpeed audits.

Actual Behavior

Console logs deprecation warnings for:

  • SharedStorage
  • AttributionReporting

Impact

Although functionality does not appear to break, deprecated APIs may be removed in future browser versions and could potentially impact analytics or third-party scripts running inside Partytown.

Reproduction

https://github.com/QwikDev/partytown

Steps to reproduce

Run lighthouse on latest version of webapp using partytown

Browser Info

Chrome

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions