Pocket / extension-save-to-pocket

Save to Pocket is a browser extension that is used to save pages to a connected Pocket account
https://getpocket.com
MIT License
273 stars 48 forks source link

Opening an SVG URL shows an error in DevTools console #224

Closed nevcos closed 2 years ago

nevcos commented 3 years ago

Expected Behavior

Open an SVG file in a new tab, in DevTools console there should be no errors

Actual Behavior

When opening an SVG in new tab, a console error shows in DevTools:

react-dom.production.min.js:764 Uncaught TypeError: Cannot use 'in' operator to search for 'animation' in undefined
    at Be (react-dom.production.min.js:764)
    at Object.<anonymous> (react-dom.production.min.js:770)
    at n (bootstrap:19)
    at Object.<anonymous> (index.js:34)
    at n (bootstrap:19)
    at Module.<anonymous> (inject.js:2)
    at n (bootstrap:19)
    at Object.<anonymous> (inject.js:2)
    at n (bootstrap:19)
    at bootstrap:83

Steps to Reproduce the Problem

  1. Open Chrome with Save to Pocket extension installed
  2. Open an SVG URL such as https://upload.wikimedia.org/wikipedia/commons/6/67/Firefox_Logo%2C_2017.svg
  3. Open DevTools console and confirm there's an error

Specifications

anthony-liddle commented 2 years ago

This no longer seems to be an issue as of extension version 4.0.0