Intent to Ship: Object.hasOwn

125 views
Skip to first unread message

Victor Gomes

unread,
Jun 22, 2021, 10:47:52 AM6/22/21
to blin...@chromium.org

Contact emails

s...@chromium.orgvicto...@chromium.org

Explainer

https://github.com/tc39/proposal-accessible-object-hasownproperty

Specification

https://tc39.es/proposal-accessible-object-hasownproperty/

Summary

Object.hasOwn provides an easier-to-use, static method version of Object.prototype.hasOwnProperty. For example, Object.hasOwn({ prop:42 }, 'prop') returns true.



Blink component

Blink>JavaScript

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Very low, this is a Stage 3 TC39 proposal.



Gecko: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1711872)

WebKit: No signal (https://bugs.webkit.org/show_bug.cgi?id=226291)

Web developers: No signals


Is this feature fully tested by web-platform-tests?

Yes

Flag name

--harmony-object-has-own

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1213927

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5662263404920832

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Jun 22, 2021, 12:26:39 PM6/22/21
to Victor Gomes, blink-dev
On Tue, Jun 22, 2021 at 4:47 PM 'Victor Gomes' via blink-dev <blin...@chromium.org> wrote:

Contact emails

s...@chromium.orgvicto...@chromium.org

Explainer

https://github.com/tc39/proposal-accessible-object-hasownproperty

Specification

https://tc39.es/proposal-accessible-object-hasownproperty/

Summary

Object.hasOwn provides an easier-to-use, static method version of Object.prototype.hasOwnProperty. For example, Object.hasOwn({ prop:42 }, 'prop') returns true.



Blink component

Blink>JavaScript

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Very low, this is a Stage 3 TC39 proposal.



Gecko: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1711872)

WebKit: No signal (https://bugs.webkit.org/show_bug.cgi?id=226291)

Web developers: No signals

Would be good to get such signals: https://goo.gle/developer-signals
 


Is this feature fully tested by web-platform-tests?

Yes

Flag name

--harmony-object-has-own

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1213927

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5662263404920832

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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGFuzY3v9a__2UOS9UTgkC4srdFtEC295KU4QRyytGGO8BPQQQ%40mail.gmail.com.

Yoav Weiss

unread,
Jun 25, 2021, 3:18:12 AM6/25/21
to blink-dev, Yoav Weiss, blink-dev, Victor Gomes
LGTM1

On Tuesday, June 22, 2021 at 6:26:39 PM UTC+2 Yoav Weiss wrote:
On Tue, Jun 22, 2021 at 4:47 PM 'Victor Gomes' via blink-dev <blin...@chromium.org> wrote:


Explainer

https://github.com/tc39/proposal-accessible-object-hasownproperty

Specification

https://tc39.es/proposal-accessible-object-hasownproperty/

Summary

Object.hasOwn provides an easier-to-use, static method version of Object.prototype.hasOwnProperty. For example, Object.hasOwn({ prop:42 }, 'prop') returns true.



Blink component

Blink>JavaScript

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Very low, this is a Stage 3 TC39 proposal.



Gecko: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1711872)

WebKit: No signal (https://bugs.webkit.org/show_bug.cgi?id=226291)

Web developers: No signals
Would be good to get such signals: https://goo.gle/developer-signals

As pointed out, there's precedent of counting TC39 stage 3 as a positive developer signals, since the group already includes developer representation.
We're in the process of changing our documentation accordingly.
 
 


Is this feature fully tested by web-platform-tests?

Yes

Flag name

--harmony-object-has-own

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1213927

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5662263404920832

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+unsubscribe@chromium.org.

Manuel Rego Casasnovas

unread,
Jun 25, 2021, 3:35:28 AM6/25/21
to Yoav Weiss, blink-dev, Victor Gomes
LGTM2

On 25/06/2021 09:18, Yoav Weiss wrote:
> LGTM1
>
> On Tuesday, June 22, 2021 at 6:26:39 PM UTC+2 Yoav Weiss wrote:
>
> On Tue, Jun 22, 2021 at 4:47 PM 'Victor Gomes' via blink-dev
> <blin...@chromium.org <mailto:blin...@chromium.org>> wrote:
>
>
> Contact emails
>
> s...@chromium.org
> <mailto:s...@chromium.org>, victo...@chromium.org
> <mailto:victo...@chromium.org>
>
>
> Explainer
>
> https://github.com/tc39/proposal-accessible-object-hasownproperty <https://github.com/tc39/proposal-accessible-object-hasownproperty>
>
>
> Specification
>
> https://tc39.es/proposal-accessible-object-hasownproperty/
> <https://tc39.es/proposal-accessible-object-hasownproperty/>
>
>
> Summary
>
> Object.hasOwn provides an easier-to-use, static method version
> of Object.prototype.hasOwnProperty. For example, Object.hasOwn({
> prop:42 }, 'prop') returns true.
>
>
>
> Blink component
>
> Blink>JavaScript
> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EJavaScript>
>
>
> TAG review
>
> None
>
>
> TAG review status
>
> Not applicable
>
>
> Risks
>
>
>
> Interoperability and Compatibility
>
> Very low, this is a Stage 3 TC39 proposal.
>
>
>
> Gecko: In development
> (https://bugzilla.mozilla.org/show_bug.cgi?id=1711872
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1711872>)
>
> WebKit: No signal
> (https://bugs.webkit.org/show_bug.cgi?id=226291
> <https://bugs.webkit.org/show_bug.cgi?id=226291>)
>
> Web developers: No signals
>
>
> Would be good to get such signals: https://goo.gle/developer-signals
> <https://goo.gle/developer-signals>
>
>
> As pointed out, there's precedent
> <https://groups.google.com/a/chromium.org/g/blink-dev/c/qJIix3x5xY8/m/vcRMykGIAAAJ>
> of counting TC39 stage 3 as a positive developer signals, since the
> group already includes developer representation.
> We're in the process of changing our documentation accordingly.
>  
>
>  
>
>
>
> Is this feature fully tested by web-platform-tests
> <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>?
>
> Yes
>
>
> Flag name
>
> --harmony-object-has-own
>
>
> Tracking bug
>
> https://bugs.chromium.org/p/chromium/issues/detail?id=1213927
> <https://bugs.chromium.org/p/chromium/issues/detail?id=1213927>
>
>
> Link to entry on the Chrome Platform Status
>
> https://chromestatus.com/feature/5662263404920832
> <https://chromestatus.com/feature/5662263404920832>
>
> This intent message was generated by Chrome Platform Status
> <https://www.chromestatus.com/>.
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGFuzY3v9a__2UOS9UTgkC4srdFtEC295KU4QRyytGGO8BPQQQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e94eb8ab-a211-4b17-a3d3-d1a8229c1babn%40chromium.org
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e94eb8ab-a211-4b17-a3d3-d1a8229c1babn%40chromium.org?utm_medium=email&utm_source=footer>.

Mike West

unread,
Jun 25, 2021, 8:25:57 AM6/25/21
to Manuel Rego Casasnovas, Yoav Weiss, blink-dev, Victor Gomes
LGTM3.

-mike


To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0d2f8aec-09a4-8490-2d6c-85395ae4ba16%40igalia.com.

Victor Gomes

unread,
Jun 25, 2021, 8:31:30 AM6/25/21
to Mike West, Manuel Rego Casasnovas, Yoav Weiss, blink-dev
Thanks everyone!
--
Victor
Reply all
Reply to author
Forward
0 new messages