Skip to content

WindowProxy [[Set]] doesn't quite make sense #4064

@bzbarsky

Description

@bzbarsky

In the same-origin case, https://html.spec.whatwg.org/multipage/window-object.html#windowproxy-set does:

OrdinarySet(W, this, Receiver)

but https://tc39.github.io/ecma262/#sec-ordinaryset takes 4 arguments: An object, a property name, a property value, and a receiver.

Presumably this should be:

OrdinarySet(this, P, V, W)

or

OrdinarySet(W, P, V, Receiver)

or something? What if Receiver == this? Should we unwrap it to the Window in that case?

@domenic @annevk

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions