Description
Very similar to QTBUG-48891 (which has been fixed): when opening a new page (ctrl+click or middle click) from HTML form button, the custom user agent of the source page is not kept.
To reproduce this issue:
- compile and run QtWebEngine demobrowser example,
- setup a custom UA (Edit > Preferences > Advanced),
- download and load the attached index.html in demobrowser,
- ctrl+click on the link, the reported UA is correct,
- ctrl+click on the button, the reported UA is wrong,
- click (no new page) on the button, the UA is correct.
Attachments
Issue Links
- relates to
-
QTBUG-76249 [Reg 5.9->5.11]Custom UserAgent ignored if page opened with window.open or _blank
-
- Closed
-
-
QTBUG-61174 Clicking on a link that opens with a _blank target will cause it to not pick up a customized user agent string
-
- Closed
-
For Gerrit Dashboard: QTBUG-50876 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
149293,1 | Carry over user-agent override when opening new windows | 47-based | qt/qtwebengine-chromium | Status: ABANDONED | 0 | 0 |
198371,3 | Carry over user-agent override when opening new windows | 56-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
202304,3 | Carry over user-agent override when opening new windows | 60-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |