Lock API - DomException should be AbortError? |
|||
Issue descriptionWhen the lock request is aborted via the AbortController, the promise is rejecting with DomException. Should that be a specific AbortError instead? Also for stealing, should that also be a special error LockStolenError?
,
Feb 14 2018
,
Feb 14 2018
So error.name will be set to 'AbortError'? As long as there is a way to differentiate a generic error from an abort that should be fine. We could punt on the steal error until we get more feedback about it.
,
Feb 14 2018
> So error.name will be set to 'AbortError'? Yes.
,
Mar 1 2018
I'll open a github issue for the "should we have a specific error for the stealing case?" question. |
|||
►
Sign in to add a comment |
|||
Comment 1 by jsb...@chromium.org
, Feb 14 2018