[Bug 23450] Add Specification Note Describing "Save As" Behavior for File Objects


Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |simonp@opera.com
         Resolution|FIXED                       |---

--- Comment #6 from Simon Pieters <simonp@opera.com> ---
If a resource identified with a blob: URL is a File object, user agents must
use that file's name attribute, as if the response had a Content-Disposition
header with the filename parameter set to the File's name attribute [RFC6266].

This seems good.

In particular, "File Save As" behavior must use the File's name attribute as
the default name to save the file as.

This seems bad. It's a different requirement than the first, but we actually
only want the first, I think. If you intended this sentence to be non-normative
describing the implications of the first requirement, then don't use 'must'

I suggest you remove the second sentence and maybe add a note like "This means
that 'File Save As' takes the File's name attribute into account for the
default name to save the file as." or some such.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 18 November 2013 12:33:44 UTC