Closed Bug 628298 Opened 13 years ago Closed 9 years ago

Implementing [[GetOwnProperty]] semantics

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1122293
Tracking Status
blocking2.0 --- .x+

People

(Reporter: igor, Unassigned)

Details

Currently in many places we have a pattern like:

obj->lookupProperty(&pobj);
if (not_found || obj != pobj) {
  ....
}

That is, we do the full prototype chain lookup only to treat the result as not-found if the property was not found in the original object. We should optimize that to avoid the useless prototype lookup.
blocking2.0: betaN+ → ?
blocking2.0: ? → ---
blocking2.0: --- → .x
Assignee: igor → general
Assignee: general → nobody
Methods for GetOwnProperty are now present and non-own property lookups are almost removed (bug 1122293).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.