Closed Bug 1207570 Opened 10 years ago Closed 10 years ago

Make HTMLInputElement::GetFilesAndDirectories throw when the type is not file

Categories

(Core :: DOM: Core & HTML, defect)

37 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

The Directory Upload spec now says that HTMLInputElement.getFilesAndDirectories() should throw InvalidStateError if the input's type is not 'file'.
Attached patch patchSplinter Review
Attachment #8664820 - Flags: review?(amarchesini)
Attachment #8664820 - Flags: review?(amarchesini) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: