Javascript incompatibility with Major league browsers (Chrome and Firefox) Topic is solved

Discussions about the development and maturation of the platform code (UXP).
Warning: may contain highly-technical topics.

Moderators: trava90, athenian200

User avatar
ThumbOne
Newbie
Newbie
Posts: 3
Joined: 2022-12-24, 06:07

Javascript incompatibility with Major league browsers (Chrome and Firefox)

Unread post by ThumbOne » 2022-12-24, 06:16

I quite like Pale Moon, and have it running most of the time with a few dashboards I use up.

Just went to add a new one that has some graphs on it, which surprisingly didn't render. I see them on Firefox and Chrome and Chromium no drama.

Checking the console, it relates to alleged JavaScript Syntax and Type Errors in these files:

https://cdn.bokeh.org/bokeh/release/bokeh-3.0.3.js
https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.0.3.js

I say 'allegedly' as clearly this seems to work in Firefox (Gecko based) and might be that it JS syntax supported in versions of Gecko after Goanna forked and Goanna has not kept up?

Anyhow, just flagging it. I won't lose sleep over it, but it might suggest broader JS compatibility issue son the horizon.
Last edited by Moonchild on 2022-12-30, 08:59, edited 1 time in total.
Reason: Fixed typo

User avatar
Sajadi
Board Warrior
Board Warrior
Posts: 1164
Joined: 2013-04-19, 00:46

Re: Javascript incompatibility with Major league browsers (Crhome and Firefox)

Unread post by Sajadi » 2022-12-24, 17:55

If there is a certain new "standard or draft" incoming... it would be for sure informative to know which one, that would help the developers/contributers a lot for sure.

User avatar
ThumbOne
Newbie
Newbie
Posts: 3
Joined: 2022-12-24, 06:07

Re: Javascript incompatibility with Major league browsers (Crhome and Firefox)

Unread post by ThumbOne » 2022-12-29, 08:05

Sadly, not sure what you mean, or how I can help. Just found errors on the console is all and reported them.

Alas, "Edit post" is not enabled here, or I'd fix the embarrassing typo in the title (Chrome, not Crhome)

User avatar
jobbautista9
Contributing developer
Contributing developer
Posts: 627
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Javascript incompatibility with Major league browsers (Crhome and Firefox)

Unread post by jobbautista9 » 2022-12-30, 08:41

I think he meant that you should paste the error output you see from the Error Console here in the forum.

You can only edit your post 12 or 24 hours after you submitted it, I believe, which is why you can't see the edit post option.
Image

Mima world

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

My PGP public key (My copy on rw.rs)

Mima avatar by 累々るい of pixiv: https://www.pixiv.net/en/artworks/103784502

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

Re: Javascript incompatibility with Major league browsers (Chrome and Firefox)

Unread post by Moonchild » 2022-12-30, 09:03

Off-topic:
ThumbOne wrote:
2022-12-29, 08:05
Alas, "Edit post" is not enabled here, or I'd fix the embarrassing typo
Fixed it for you :)
jobbautista9 wrote:
2022-12-30, 08:41
You can only edit your post 12 or 24 hours after you submitted it, I believe, which is why you can't see the edit post option.
Correct, post editing time is limited because of past bad experiences with users doing the following, among other things:
  • Deleting entire post contents breaking dialog flow
  • Rewriting narrative history
  • Using necro-editing to slip in spam/SEO links
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb

User avatar
ThumbOne
Newbie
Newbie
Posts: 3
Joined: 2022-12-24, 06:07

Re: Javascript incompatibility with Major league browsers (Chrome and Firefox)

Unread post by ThumbOne » 2023-01-08, 01:35

OK, finally back to this (while reviewing tabs left open ;-).

Copy Paste from console:

Code: Select all

SyntaxError: invalid regexp group  bokeh-3.0.3.js:4250:23
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-gl-3.0.3.js:38:14
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-widgets-3.0.3.js:38:14
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-tables-3.0.3.js:38:14
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-mathjax-3.0.3.js:38:14
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:30:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:65:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:100:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:135:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:170:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:205:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:240:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:275:5
and same with all items expanded:

Code: Select all

SyntaxError: invalid regexp group  bokeh-3.0.3.js:4250:23
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-gl-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.0.3.js:35:11
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.0.3.js:32:3
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.0.3.js:31:2
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-widgets-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.0.3.js:35:11
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.0.3.js:32:3
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.0.3.js:31:2
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-tables-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.0.3.js:35:11
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.0.3.js:32:3
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.0.3.js:31:2
TypeError: bokeh.register_plugin is not a function[Learn More]  bokeh-mathjax-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.0.3.js:38:14
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.0.3.js:35:11
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.0.3.js:32:3
	<anonymous> https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.0.3.js:31:2
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:30:5
	fn http://127.0.0.1:8000/:30:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:65:5
	fn http://127.0.0.1:8000/:65:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:100:5
	fn http://127.0.0.1:8000/:100:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:135:5
	fn http://127.0.0.1:8000/:135:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:170:5
	fn http://127.0.0.1:8000/:170:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:205:5
	fn http://127.0.0.1:8000/:205:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:240:5
	fn http://127.0.0.1:8000/:240:5
ReferenceError: Bokeh is not defined[Learn More]  127.0.0.1:8000:275:5
	fn http://127.0.0.1:8000/:275:5
And all the source code lines on the CDN can be read as needed.

Aside: Shame the forum has such abusers. Most place can maintain edit for the life of the item, including the SO sites, and most social media. But c'est la vie. Forums do indeed have a history of abuse and poor behaviour. We used to run one, and even with a captcha could cone keep the spam accounts from polluting it. So we threw the towel in. Lots of folk have today, I sense, and just run with directing support queries to SO sites (and responding to them there ;-).

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2046
Joined: 2018-05-05, 13:29

Re: Javascript incompatibility with Major league browsers (Chrome and Firefox)

Unread post by vannilla » 2023-01-08, 23:02

Good news then. The invalid regex group issue mentioned has been recently fixed and will be available in one of the upcoming releases.

Post Reply