Closed
Bug 1797053
Opened 2 years ago
Closed 2 years ago
touch-simulator.js is using deprecated Element.setCapture()
Categories
(DevTools :: Responsive Design Mode, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1739820
People
(Reporter: johan.lajili, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Steps to reproduce:
Open resource://devtools/server/actors/emulation/touch-simulator.js
The code makes reference to
evt.target.setCapture(false);
Actual results:
When that part of the code is used, Firefox throws a Warning
"Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture"
Expected results:
The code should be updated to use setPointerCapture instead
Updated•2 years ago
|
Blocks: dt-polish-debt
Status: UNCONFIRMED → NEW
Component: Untriaged → Responsive Design Mode
Ever confirmed: true
OS: Unspecified → Linux
Product: Firefox → DevTools
Hardware: Unspecified → x86_64
Comment 1•2 years ago
|
||
This is a duplicate of Bug 1739820, let's assign a priority / severity during triage and close one of the two.
Note that there was an unsuccessful attempt to fix this at https://phabricator.services.mozilla.com/D132859
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•