Open
Bug 1553847
Opened 4 years ago
Updated 5 months ago
Implement DOM.setFileInputFiles
Categories
(Remote Protocol :: CDP, enhancement, P3)
Remote Protocol
CDP
Tracking
(Not tracked)
NEW
People
(Reporter: ochameau, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [puppeteer-beta2-mvp])
This is used by 3 gutenberg tests (search for uploadFile function usages) in order to attach a file to a <input type="file"/>
.
Updated•4 years ago
|
Priority: -- → P2
Comment 1•4 years ago
|
||
<input type=file>
’s value is protected which means content frame
scripts, even with the system privilege, can’t update it. We should
however have access to mozSetFileArray
.
See this code from Marionette how to do it:
https://searchfox.org/mozilla-central/rev/952521e6164ddffa3f34bc8cfa5a81afc5b859c4/testing/marionette/interaction.js#469-508
Updated•4 years ago
|
Priority: P2 → P3
Updated•4 years ago
|
Whiteboard: [puppeteer-alp
Updated•4 years ago
|
Whiteboard: [puppeteer-alp → [puppeteer-alpha]
Updated•4 years ago
|
Priority: P3 → P2
Comment 2•3 years ago
|
||
Gutenberg tests for file uploads use a Puppeteer method which make use of this CDP endpoint. As such we need it for the alpha release.
Updated•3 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Updated•3 years ago
|
Priority: P2 → P1
Comment 3•3 years ago
|
||
I need to look at bug 1526364 first.
Assignee: ato → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Updated•3 years ago
|
Priority: P2 → P3
Whiteboard: [puppeteer-alpha] → [puppeteer-alpha-reserve]
Updated•3 years ago
|
Priority: P3 → P2
Whiteboard: [puppeteer-alpha-reserve] → [puppeteer-beta-mvp]
Given that this isn't used in gutenberg test setup, I think we can consider it relatively low priority.
Updated•3 years ago
|
Priority: P2 → P3
Whiteboard: [puppeteer-beta-mvp] → [puppeteer-beta-reserve]
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Assignee | ||
Updated•2 years ago
|
Component: CDP: DOM → CDP
Updated•5 months ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•