Closed Bug 1799605 Opened 2 years ago Closed 2 years ago

Element.setCapture() is deprecated and failsto work for simulated touch events

Categories

(DevTools :: Responsive Design Mode, defect)

Firefox 106
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1713545

People

(Reporter: sailfish, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

Open a webpage on desktop Fx then start Responsive Design Mode with "simulated touch" enabled.

Actual results:

When I use mousedown on website console.log reports the following:

Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture

/setPointerCapture touch-simulator.js:217:19

Expected results:

UA: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
20100101

It should simulate the touch process as does Chrome.

The Bugbug bot thinks this bug should belong to the 'DevTools::Responsive Design Mode' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

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

Thanks for the report. This looks like Bug 1713545, so I'm going to close this one.

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