Skip to content

google-ima.js causes leftover with error on tver.jp (Chromium only) #3883

@Yuki2718

Description

@Yuki2718

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

On tver.jp and seemingly only on Chrome, uBO version of google-ima.js sometimes causes ad leftover with "TypeError: Cannot read properties of undefined (reading 'getContentType')"

Image

AdGuard extension doesn't have this issue. getContentType is called in https://tver.jp/_next/static/chunks/2841-5411df673d933784.js.

A specific URL where the issue occurs.

https://tver.jp/ (may require a Japanese IP)

Steps to Reproduce

  1. Visit the page on Chrome with AdGuard Japanese enabled
  2. If not reproduced, hard-refresh several times

Expected behavior

No leftover or error

Actual behavior

Described

uBO version

1.67.0

Browser name and version

Chrome 142.0.7444.176

Operating System and version

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions