Skip to content

Privacy: ResizeObserver polyfill not downloaded #5902

@finnlueth

Description

@finnlueth

Context

No response

Bug description

Privacy Plugin misses built-in JS package.
The package in question is https://unpkg.com/resize-observer-polyfill

I believe the issue is in mkdocs-material-insiders/src/assets/javascripts/browser/element/size/_ /index.ts on line 79:
? watchScript("https://unpkg.com/resize-observer-polyfill")

Related links

Reproduction

basic_test_project.zip

Steps to reproduce

  1. activatre venv
  2. run python -m venv venv and activate
  3. install mkdocs-material-insiders
  4. run mkdocs serve --watch-theme --strict
  5. check bundled JS assets/javascripts/bundle.6fc684e3.min.js includes https://unpkg.com/resize-observer-polyfill even though privacy is enabled

Browser

Chrome, Other

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions