Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DOMException instead of Error in SensorErrorEvent #307

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

pozdnyakov
Copy link

@pozdnyakov pozdnyakov commented Oct 11, 2017

Rationals:

This patch is a part of the effort for fixing the TAG review issues.


Preview | Diff

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).
@pozdnyakov pozdnyakov merged commit 22ca7e5 into w3c:master Oct 12, 2017
@pozdnyakov pozdnyakov deleted the use_DOMException_in_events branch November 29, 2017 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants