W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

[Bug 25457] Adding "AutocompleteError" to error names table

From: <bugzilla@jessica.w3.org>
Date: Mon, 19 May 2014 20:48:47 +0000
To: public-script-coord@w3.org
Message-ID: <bug-25457-3890-Wx0t0mEfqK@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25457

Elliott Sprehn <esprehn@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slightlyoff@chromium.org

--- Comment #16 from Elliott Sprehn <esprehn@gmail.com> ---
What Error do new APIs throw when a user disabled an API or dismisses the
permission prompt? How do developers correctly take action?

We either need to add a bunch of new Error types or we need to add a bunch of
Result objects and make developers put error handling in _both_ the resolve and
reject branches.

It seems really unfortunate for the correct use of an API to require error
handling on both sides.

slightlyoff@ What are we supposed to do here?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 19 May 2014 20:48:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:21 UTC