Promise.try is a new static method. `Promise.try(f)` is shorthand for `new Promise(resolve => resolve(f()))`.
None. This is a new static method on the Promise constructor.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
Test262: https://github.com/tc39/test262/tree/main/test/built-ins/Promise/try
DevTrial on desktop | 128 |
DevTrial on Android | 128 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneSpecification
https://tc39.es/proposal-promise-trySummary
Promise.try is a new static method. `Promise.try(f)` is shorthand for `new Promise(resolve => resolve(f()))`.
Blink component
Blink>JavaScript>LanguageTAG review
NoneTAG review status
Not applicableRisks
Interoperability and Compatibility
None. This is a new static method on the Promise constructor.
Gecko: Positive This is a Stage 3 TC39 proposal.
WebKit: Positive (https://bugs.webkit.org/show_bug.cgi?id=275359) This is a Stage 3 TC39 proposal.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN-e9e-DDG5a-Q1d0955b15kS-hSPx91vpHqrdv61yUAiCyarg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN-e9e-r2ioCiTrxf-7gjND69%2BE2XhQGye_%2BdL0Kvy5_7SnkYQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM0wra-PyA0K1dgF%2B9UcQnDJi6%2BBVo2R5pcZZkxCRA5pFJ1TyQ%40mail.gmail.com.