Closed Bug 1429642 Opened 7 years ago Closed 7 years ago

Some type errors occur when enable/disable the Responsive Design Mode

Categories

(DevTools :: Responsive Design Mode, defect)

defect
Not set
normal

Tracking

(firefox59 affected)

RESOLVED DUPLICATE of bug 1273721
Tracking Status
firefox59 --- affected

People

(Reporter: magicp.jp, Unassigned)

Details

Steps to reproduce:
1. Launch Nightly
2. Go to any sites (e.g. https://www.mozilla.org )
3. Open the Browser Console (Ctrl+Shift+J)
4. Enable the Responsive Design Mode (Ctrl+Shift+M)
5. Zoom in (Ctrl++)
6. Disable the Responsive Design Mode
7. Go to about:home
8. Enable the Responsive Design Mode

Actual results:
The following errors are logged in the Browser Console.

In step 4:
TypeError: zoom is undefined  viewZoomOverlay.js:45:5
TypeError: win.gBrowser is undefined  ZoomUI.jsm:69:1

In step 5:
TypeError: aBrowser is null  ZoomUI.jsm:68:7

In step 6:
TypeError: win.gBrowser is undefined  ZoomUI.jsm:69:1

In step 8:
TypeError: zoom is undefined  viewZoomOverlay.js:45:5
TypeError: win.gBrowser is undefined  ZoomUI.jsm:69:1
TypeError: highlighter is null  UITour.jsm:1226:5


Expected results:
No errors.
Thanks for reporting!  I agree these errors are noisy and annoying.  Bug 1273721 hopes to remove them.

The errors reported there don't appear to block functionality, but still it would be better to fix them of course.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.