mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Pass the receiver to get_property_on_prototype (fixes #11600)
This commit is contained in:
parent
f70fa98954
commit
6c1167b1e2
3 changed files with 4 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue