Skip to content

JS error thrown in console on all pages: TypeError: setting getter-only property "name" #15617

Closed
@wolfbeast

Description

@wolfbeast

Description

Browser: Pale Moon 29.1.1 x64
Error thrown in console:

16:15:37.848 error { target: SharedWorker, isTrusted: true, message: "TypeError: setting getter-only property "name"", filename: "https://try.gitea.io/js/eventsource.sharedworker.js", lineno: 1, colno: 35, srcElement: SharedWorker, currentTarget: SharedWorker, eventPhase: 2, bubbles: false, cancelable: true } 1 index.js:150:2396
	Jh/</< https://try.gitea.io/js/index.js:150:2396

The code in question is:

self.name="eventsource.sharedworker.js";

I'm not sure what self in this context is, but it obviously doesn't seem to have a setter defined.

Note: it doesn't seem to affect functionality in a major way that I know of; it is also present on our production system running 1.12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions