Closed Bug 1664493 Opened 5 years ago Closed 5 years ago

Add a test for logging in Responsive Design Mode

Categories

(DevTools :: Console, task, P3)

Firefox 81
task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: cgatesman, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Firefox 81.0b9 on macOS

  1. Open a webpage in a new tab
  2. Switch to Responsive Design Mode
  3. Open DevTools Console
  4. Enter "console.log('test');" in the Console
  5. Note there is no output.

Note, this test will work if you have the Console open before turning on Responsive Design Mode.

Actual results:

console.log(), console.warn(), console.error() calls produce no output in the console.

Expected results:

You should see console.log() ouput.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Console
Product: Firefox → DevTools

I can reproduce this on 81.
Note that error messages aren't displayed either.

Severity: -- → S2
Priority: -- → P2
Assignee: nobody → nchevobbe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

So, it looks like this was fixed by Bug 1661569, which landed in Firefox 82.
I'll use this bug to add a test for logging while RDM is enabled

Type: defect → task
Priority: P2 → P3
Summary: Console logging not working in Responsive Design Mode → Add a test for logging in Responsive Design Mode

This wasn't tested before, and a regression slipped through (that was luckily
fixed by Bug 1664493).
This should prevent future breakages.

Regressed by: 1642295
See Also: → 1661569
Has Regression Range: --- → yes
Keywords: regression
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/726dc76332b4 Add a test for logging in RDM. r=bradwerth.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: