Closed Bug 1321534 Opened 8 years ago Closed 8 years ago

File::Constructor should normalize the filename

Categories

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

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

Attached patch wpt5.patchSplinter Review
If the string contains '/', we should replace this char with ':'
Attachment #8816107 - Flags: review?(bugs)
Is this what other browsers do? There isn't any wpt tests for this?
Yes, there is a WPT. Chrome doesn't do this. The issue here is that we could have bugs when this fileName is used by the Entries API.
Comment on attachment 8816107 [details] [diff] [review] wpt5.patch ok, Safari has this behavior
Attachment #8816107 - Flags: review?(bugs) → review+
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1857e763332c File::Constructor should normalize the filename, r=smaug
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
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: