W3C home > Mailing lists > Public > public-webrtc@w3.org > March 2017

[webrtc-pc] Pull Request: Switching to new, consistent terminology when talking about exceptions.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Mar 2017 23:57:07 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-109377216-1488844625-sysbot+gh@w3.org>
taylor-b has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Switching to new, consistent terminology when talking about exceptions. ==
Fixes #845.

Throwing exceptions will use the phrase "throw a FooError", which
implies that the current steps will be aborted, making it unnecessary
to clarify that.

Rejecting a promise with an exception will use the phrase "reject p
with a newly created FooError and abort these steps."

Each place where these phrases are used links to the "Terminology"
section, which links to where these terms are defined in WebIDL.

See https://github.com/w3c/webrtc-pc/pull/1056
Received on Monday, 6 March 2017 23:57:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC