In a twist of irony, a cancelable promises capability has been cancelled as a planned addition to JavaScript itself.

The proposal had been championed by Google’s Dominic Denicola but had remained in an early stage of development, according to Mozilla. Denicola declined to comment on the proposal’s withdrawal except to say it was a “difficult subject.” In recent comments in GitHub repo, he said the proposal had met “significant opposition from within Google.”

The feature would have given developers the ability to abort a promise, a Mozilla representative said. “A prominent use case is to be able to cancel possibly longstanding requests, such as fetch requests.” Cancelable promises had been proposed to the ECMA TC-39 committee overseeing the standardization of JavaScript.

To read this article in full or to leave a comment, please click here