Closed Bug 1706066 Opened 4 years ago Closed 4 months ago

Calling setRDMPaneMaxTouchPoints does not set the orientation on iframes

Categories

(DevTools :: Responsive Design Mode, defect, P2)

defect

Tracking

(firefox147 fixed)

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: nchevobbe, Assigned: Sasha)

References

Details

Attachments

(2 files)

Steps to reproduce

  1. Go to https://firefox-rdm-max-touch-points.glitch.me/
  2. Enable RDM
  3. Hit the "enable touch simulation" button

Expected results

The input value is constantly updated and is set to the value of navigator.maxTouchPoints.
The 2 inputs should always have the same value as we simulate touch simulation.

Actual results

The input in the iframe is never changed, it's always 0.
This does not rely on Fission at all (the iframe in the demo page is on the same origin, setting a different origin results in the same broken behaviour).


Looks similar to Bug 1704830

Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9700371b499e https://hg.mozilla.org/integration/autoland/rev/52513e535046 Always use maxTouchPointsOverride for top level browsing context. r=dom-core,smaug https://github.com/mozilla-firefox/firefox/commit/975653d57082 https://hg.mozilla.org/integration/autoland/rev/3e162552821f [devtools] Extend mochitests to checks for maxTouchPoints in a iframe. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: