Pass the receiver to get_property_on_prototype (fixes #11600)

This commit is contained in:
Anthony Ramine 2016-08-24 15:34:35 +02:00
parent f70fa98954
commit 6c1167b1e2
3 changed files with 4 additions and 9 deletions

View file

@ -5050,7 +5050,7 @@ if !expando.is_null() {
%s
let mut found = false;
if !get_property_on_prototype(cx, proxy, id, &mut found, vp) {
if !get_property_on_prototype(cx, proxy, receiver, id, &mut found, vp) {
return false;
}