Closed
Bug 1549438
Opened 6 years ago
Closed 11 months ago
[meta] Emulation.setTouchEmulationEnabled
Categories
(Remote Protocol :: CDP, task)
Remote Protocol
CDP
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ato, Unassigned)
References
()
Details
(Keywords: meta, Whiteboard: [method=Emulation.setTouchEmulationEnabled])
No description provided.
Reporter | ||
Updated•6 years ago
|
Updated•5 years ago
|
Blocks: puppeteer-gutenberg, puppeteer-examples
Updated•5 years ago
|
Whiteboard: [method=Emulation.setTouchEmulationEnabled] → [puppeteer-alpha]
Updated•5 years ago
|
Whiteboard: [puppeteer-alpha] → [puppeteer-alpha] [method=Emulation.setTouchEmulationEnabled]
Comment 1•5 years ago
|
||
This API is part of Puppeteer's EmulationManager.emulateViewport()
method, which is at least in use by Page.setViewport()
. This latter method is in use for screenshots specifically, or when creating an instance of a Page with a defaultViewport
.
While it doesn't seem to be directly used with Gutenberg the logs contain a not that small number of instances:
636 Emulation.setTouchEmulationEnabled
I have no idea where those are coming from. So it might need a bit more investigation.
Beside that we clearly need it for puppeteer-examples, where the screenshots rely on it.
Comment 2•5 years ago
|
||
Btw Juggler uses the following code here:
docShell.touchEventsOverride = hasTouch ? Ci.nsIDocShell.TOUCHEVENTS_OVERRIDE_ENABLED : Ci.nsIDocShell.TOUCHEVENTS_OVERRIDE_NONE;
Updated•5 years ago
|
No longer blocks: puppeteer-gutenberg, puppeteer-examples
Whiteboard: [puppeteer-alpha] [method=Emulation.setTouchEmulationEnabled] → [method=Emulation.setTouchEmulationEnabled]
Assignee | ||
Updated•4 years ago
|
Component: CDP: Emulation → CDP
Updated•2 years ago
|
Severity: normal → S3
Comment 3•11 months ago
|
||
All that we could do for this API has been done.
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•