An invalid default file extension is sometimes passed into WinRT file picker causing an exception

RESOLVED FIXED

Status

()

Core
Widget: Win32
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: bbondy, Assigned: bbondy)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: completed-elm)

(Assignee)

Description

6 years ago
Sometimes the value passed into SetDefaultExtension isn't a valid file extension.

It may contain invalid chars which causes an exception when trying to set the save file picker's default file extension.

You can reproduce such a case with the following:
1. Go to a stackoverflow profile page (e.g. http://stackoverflow.com/users/3153/brian-r-bondy)
2. Right click on the image and Save Image As...

Actual results:
File picker is not shown

Expected results:
File picker should be shown

We should ignore such exceptions and have no default in that case.
(Assignee)

Comment 2

5 years ago
elm -> m-c
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.