forked from w3c/sensors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
DOMException
instead of Error
in SensorErrorEvent
Rationals: - `Error` is often confused with `DOMError` (pls. see w3ctag/design-reviews#110 (comment) "Should Error type rather be DOMException? (w3ctag#88)?" or w3c#142 (comment)) - In practice `DOMException` is (and probably will be) sufficient to represent the errors. - the `Error` type is not quite popular within the specs so browser vendors are reluctant to support it: https://bugs.chromium.org/p/chromium/issues/detail?id=674576 This patch is a part of the effort for fixing the [TAG review issues](w3c#303).
- Loading branch information
Mikhail Pozdnyakov
committed
Oct 11, 2017
1 parent
6a72cc3
commit d3427f2
Showing
2 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters