Page 1 of 1

Website not working (draw.io)

Posted: 2016-03-14, 23:00
by Lawand
Hi.

A website (http://draw.io/) was working fine with pale moon but after a recent upgrade to the browser, it's no longer working with it.

When I visit the website, I get a page that says "Loading" and "Please ensure JavaScript is enabled" and stays like that without redirecting to the actual site's main page. Perhaps this is a Javascript problem?

Here are some details:

OS: Ubuntu Linux 15.10
Current Pale Moon version: Desktop 26.1.1 (x64)

Thanks for the work on this great browser BTW.
Cheers.

Re: Website not working (draw.io)

Posted: 2016-03-15, 16:36
by trava90
Confirmed. The error console displays the following:

Code: Select all

Timestamp: 03/15/2016 11:35:21 AM
Error: NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMLocation.host]
Source File: http://draw.io/
Line: 303

Code: Select all

Timestamp: 03/15/2016 11:35:21 AM
Error: ReferenceError: mxClient is not defined
Source File: http://draw.io/
Line: 753

Re: Website not working (draw.io)

Posted: 2016-03-17, 10:55
by Moonchild
This ties in with the following about window.location:
The Window.location read-only property returns a Location object with information about the current location of the document.
I don't think a recent update to the browser is the problem here, this seems to be a recent update to draw.io

Since I've been working on expanding the URLutils module and URL() Web API which would expand on managing locations and URLs, I'll have to give this a test in 26.2-dev (work branch for this feature) when I have time to make a new build. This should potentially solve this problem. It's strange that they want to do redirection in JS instead of in the webserver, though ;P

Workaround: use www.draw.io instead of the raw domain.

Re: Website not working (draw.io)

Posted: 2016-03-17, 11:04
by Lawand
Thanks for the workaround :D