BUG: Window.domainChanged event not firing


#1

The Window.domainChanged JavaScript event doesn’t fire if you teleport to a domain hosted on your PC.

Not tested: Whether or not it fires if you teleport to a domain on your local network.

function onDomainChanged() {
    print("domain changed");
}
Window.domainChanged.connect(onDomainChanged);