W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2016

[Bug 27732] DOMException lost some constants.

From: <bugzilla@jessica.w3.org>
Date: Tue, 01 Nov 2016 18:39:58 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27732-3890-rQC29vKtjS@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27732

Joshua Bell <jsbell@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsbell@google.com

--- Comment #6 from Joshua Bell <jsbell@google.com> ---
In the "entries API" (i.e. Chrome's directory upload, now being shipped by FF
and Edge) - https://wicg.github.io/entries-api - calling
dirEntry.getDirectory() with a path that resolves to a file, or
dirEntry.getFile() with a path that resolves to a directory, results in a
TypeMismatchError asynchronous result.

That's an odd one; it doesn't feel much like a TypeError to me, which is
usually related to script types. 

This is a legacy API we're trying to standardize so we have some wiggle room as
implementations converge; we managed to switch Chrome from FileError to
DOMException, for example, since the names matched and we'd deprecated `code`.
Noting it here for completeness, tracked in the spec as
https://wicg.github.io/entries-api/#issue-bfc3b40a

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 1 November 2016 18:40:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 November 2016 18:40:06 UTC