Contact emails
s...@chromium.org

Explainer
None


Specification
https://tc39.es/proposal-is-error


Summary

Adds the Error.isError(obj) static method. It returns true for JS native errors 
and DOMExceptions, and false otherwise.



Blink component
Blink>JavaScript>Language


TAG review
None


TAG review status
Not applicable


Risks




Interoperability and Compatibility

None


Gecko: Positive This is a Stage 3 TC39 proposal.

WebKit: Positive This is a Stage 3 TC39 proposal.

Web developers: No signals

Other signals:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it 
has potentially high risk for Android WebView-based applications?

None




Debuggability

None. It is a new static method on Error.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, 
ChromeOS, Android, and Android WebView)?
Yes


Is this feature fully tested by web-platform-tests?
Yes
https://github.com/tc39/test262/pull/4266 
https://github.com/web-platform-tests/wpt/pull/49133



Flag name on about://flags
--js-error-iserror


Finch feature name
V8Flag_js_error_iserror


Requires code in //chrome?
False


Measurement
WebDXFeature::kErrorIserror


Estimated milestones


Shipping on desktop 134

DevTrial on desktop 133

Shipping on Android 134

DevTrial on Android 133

Shipping on WebView 134




Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop 
issues. Please list open issues (eg links to known github issues in the project 
for the feature specification) whose resolution may introduce web 
compat/interop risk (eg, changing to naming or structure of the API in a 
non-backward-compatible way).
None


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5847855083028480?gate=6156767049023488


This intent message was generated by Chrome Platform Status.

-- 
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 blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/677c181c.2b0a0220.2e82a8.0090.GAE%40google.com.

Reply via email to