Open Bug 1553847 Opened 4 years ago Updated 5 months ago

Implement DOM.setFileInputFiles

Categories

(Remote Protocol :: CDP, enhancement, P3)

enhancement

Tracking

(Not tracked)

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"/>.

Priority: -- → P2

<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

Priority: P2 → P3
Whiteboard: [puppeteer-alp
Whiteboard: [puppeteer-alp → [puppeteer-alpha]
Priority: P3 → P2

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.

Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: P2 → P1

I need to look at bug 1526364 first.

Assignee: ato → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Priority: P2 → P3
Whiteboard: [puppeteer-alpha] → [puppeteer-alpha-reserve]
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.

Priority: P2 → P3
Whiteboard: [puppeteer-beta-mvp] → [puppeteer-beta-reserve]
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Component: CDP: DOM → CDP
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.