New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 647675 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 510994



Sign in to add a comment

The named property visibility algorithm has got changed in the spec.

Project Member Reported by yukishiino@chromium.org, Sep 16 2016

Issue description

https://github.com/heycam/webidl/issues/152 got closed with agreement to change the order of property look-up.  The spec[1] got updated accordingly.  V8 needs to follow the change accordingly.

[1] http://heycam.github.io/webidl/#dfn-named-property-visibility

The new order of property look-up is as follows:

1. Indexed properties.
2. Own properties, including unforgeable attributes and operations.
3. Then, if [OverrideBuiltins]:
   3-1. Named properties.
   3-2. Properties from the prototype chain.
4. Otherwise, if not [OverrideBuiltins]:
   4-1. Properties from the prototype chain.
   4-2. Named properties.

 

Comment 1 by jochen@chromium.org, Sep 16 2016

Cc: fran...@chromium.org verwa...@chromium.org
sounds a bit like the difference between override builtins or not could be realized by having a masking or non-masking interceptor on the prototype, no?
Cc: adamk@chromium.org
Components: -Blink>Bindings -Blink>JavaScript -Infra>Client>V8 Blink>JavaScript>Language
Status: Available (was: Untriaged)
If prototype chains wouldn't be first-class, yes. But no, we can't work around it like that.
Cc: ishell@chromium.org
Blocking: 510994

Comment 6 by adamk@chromium.org, Aug 8 2017

Is this a V8 internals, V8 API, or Blink Bindings bug? Whichever it is the current component doesn't look right.

Comment 7 by peria@chromium.org, Aug 9 2017

Owner: cbruni@chromium.org
cbruni@, could you set a right component, or move the issue to crbug.com/v8?

Comment 8 by adamk@chromium.org, Aug 9 2017

Cc: cbruni@chromium.org
Components: -Blink>JavaScript>Language Blink>JavaScript>Runtime
Owner: ----
Project Member

Comment 9 by sheriffbot@chromium.org, Aug 9

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Hotlist-Interop
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Sign in to add a comment