Website not working (draw.io)

The place to report Pale Moon specific bugs on the Windows operating system.
Locked
Lawand

Website not working (draw.io)

Post by Lawand » 2016-03-14, 23:00

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.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1627
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Website not working (draw.io)

Post by trava90 » 2016-03-15, 16:36

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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29243
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Website not working (draw.io)

Post by Moonchild » 2016-03-17, 10:55

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Lawand

Re: Website not working (draw.io)

Post by Lawand » 2016-03-17, 11:04

Thanks for the workaround :D

Locked