Descriptionbinding: Fixes the fallback mechanism of Document's named properties.
The old implementation only works for
a) there is a hidden prototype, and documentWrapper->GetPrototype()
actually returns itself, or
b) fallbacked attributes are data-type properties.
Since we made attributes be accessor-type properties _and_ removed
the hidden prototype, the old implementation no longer works.
Fixed the issue using V8's GetRealNamedPropertyInPrototypeChain().
BUG=619036
Committed: https://crrev.com/cccf8630bac25057f6afd30febf8c428cd486b8c
Cr-Commit-Position: refs/heads/master@{#399461}
Patch Set 1 #Patch Set 2 : Synced. #
Messages
Total messages: 17 (8 generated)
|