Skip to content

Setters for generated bindings aren't being called #660

@jdm

Description

@jdm

If some printfs are added to HTMLDocument::SetCookie and Document::SetTitle, the following produces no output:

window.document.cookie = "hi";
window.document.title = "hiiiiiiiii";

However, the following does:

Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(document)), "title").set.call(document, "hi");
Object.getOwnPropertyDescriptor(Object.getPrototypeOf(document), "cookie").set.call(document, "hi");

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