-
Notifications
You must be signed in to change notification settings - Fork 59
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 #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](#303).
- Loading branch information
Mikhail Pozdnyakov
committed
Oct 12, 2017
1 parent
e5b4325
commit 810d1a9
Showing
2 changed files
with
14 additions
and
16 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