Skip to content

TypeError Cannot set property 'display' of undefined in Qt WebEngine #65

@capital-G

Description

@capital-G

Hi,

I took a look at if Temml could work under a Qt WebEngine browser and it works, although setting display mode to true generates an error and does not generate an output.

*** JavaScript Message: "Uncaught TypeError: Cannot set property 'display' of undefined"
* line: 608
* source ID: "file:///Users/scheiba/Library/Application%20Support/SuperCollider/Help/lib/temml-0.10.27/temml.js"

I commented out said line

node.style[style] = this.style[style];

and then it started working.

The qt version I used was 5.15.10. which has the navigator.userAgent

Mozilla/5.0 (Macintosh; Intel Mac OS X 13_6_6)
AppleWebKit/537.36 (KHTML, like Gecko)
QtWebEngine/5.15.11
Chrome/87.0.4280.144
Safari/537.36

I used the temml-0.10.27.

Do you have an idea what could be the problem in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions