Closed Bug 1623090 Opened 4 years ago Closed 4 years ago

Wrong User-Agent header in Responsive Design Mode when mobile device is set

Categories

(DevTools :: Responsive Design Mode, defect)

74 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1595017

People

(Reporter: kasper.moskwiak, Unassigned)

Details

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

Steps to reproduce:

  1. Open website (e.g. www.mozilla.org ) and turn on DevTools
  2. Turn on Responsive Design Mode and choose mobile device (e.g. iPhone X)
  3. Reload Page

Actual results:

Request header "User Agent" should reflect mobile device. Should be to:
"Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/12.0 Mobile/15A372 Safari/604.1"

Expected results:

Request header "User Agent" is equal: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0

I have put actual / expected results in wrong order. Here are fixed:

Actual results:
Request header "User Agent" is equal: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0

Expected results:
Request header "User Agent" should reflect mobile device. Should be to:
"Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/12.0 Mobile/15A372 Safari/604.1"

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

Component: Untriaged → Responsive Design Mode
Product: Firefox → DevTools

Looks to be a duplicate of Bug 1595017. Feel free to re-open if that's not the case.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.