Skip to content

fix: 2.3.3.3.4.1: be specific about what to ignore#265

Open
mightyiam wants to merge 1 commit intopromises-aplus:masterfrom
mightyiam:the-exception
Open

fix: 2.3.3.3.4.1: be specific about what to ignore#265
mightyiam wants to merge 1 commit intopromises-aplus:masterfrom
mightyiam:the-exception

Conversation

@mightyiam
Copy link
Copy Markdown

No description provided.

@mightyiam
Copy link
Copy Markdown
Author

This would have prevented my confusion in #264 .

@benjamingr
Copy link
Copy Markdown

benjamingr commented Apr 17, 2018

I think this change is unnecessary.

I'm also generally -1 on making any further changes to the aplus spec at this point except if a serious vulnerability is involved.

The aplus spec was/is an important cornerstone in unifying promise usage in the web - we should focus on native promises and the ECMAScript spec at this point.

Lots of new specs could use love and parts of the web platform - I suggest we focus there.

@mightyiam
Copy link
Copy Markdown
Author

@benjamingr unnecessary, certainly. Possibly slightly helpful, I think so. Harmful in any way, certainly not. Easy math, don't you agree?

Comment thread README.md
1. If both `resolvePromise` and `rejectPromise` are called, or multiple calls to the same argument are made, the first call takes precedence, and any further calls are ignored.
1. If calling `then` throws an exception `e`,
1. If `resolvePromise` or `rejectPromise` have been called, ignore it.
1. If `resolvePromise` or `rejectPromise` have been called, ignore the exception `e`.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I read "it", I wrongly thought "it" refers to either resolvePromise or rejectPromise. This change should prevent the next possible confusion.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think it's perfectly reasonable to change "it" to "e" here.

mightyiam added a commit to mightyiam/promises-spec that referenced this pull request Apr 23, 2018
When I read "it", I wrongly thought "it" refers to either
`resolvePromise` or `rejectPromise`.

This change should prevent the next possible confusion.

Closes promises-aplus#265
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.

3 participants