Open Bug 1524513 Opened 7 years ago Updated 3 years ago

browser.tabs.onZoomChange listener throws exception on about: pages

Categories

(WebExtensions :: Compatibility, defect, P3)

defect

Tracking

(firefox65 affected, firefox66 affected, firefox67 affected)

Tracking Status
firefox65 --- affected
firefox66 --- affected
firefox67 --- affected

People

(Reporter: dw-dev, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Using Nightly 67.0a1 (2019-01-30) with my Zoom Page WE extension installed (which adds a browser.tabs.onZoomChange listener).

  1. Navigate to 'about:preferences'.
  2. Change the zoom level using Firefox's zoom controls on the 3-bar menu or using Ctrl + -/+.

Actual results:

An exception is thrown in the Browser Console for each zoom level change:

TypeError: browser.docShell is undefined      ext-tabs.js:1050:17

Expected results:

The onZoomChange listener should not throw an exception and should report the zoom level change to Zoom Page WE.

I was able to reproduce this issue using Firefox 65 and Firefox 67.0a1.
I'm going to set a component in order to involve the development team in reviewing this issue.

Thank you for reporting!

Status: UNCONFIRMED → NEW
Component: Untriaged → Compatibility
Ever confirmed: true
Product: Firefox → WebExtensions
Version: 67 Branch → Trunk
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.