Chrome: bad news

107 views
Skip to first unread message

Bruce Sherwood

unread,
Jan 2, 2023, 7:25:13 PM1/2/23
to Glowscript Users
The following very simple program and other simple programs that contain errors should and do display an error in Edge, Firefox, and Safari:

Web VPython 3.2
a = 3m
print(a)

Alas, at the moment it gives a blank screen when using Chrome on Windows. If the console is turned on (ctrl-shift-j), you get this message:

run.js:76 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://sandbox.glowscript.org') does not match the recipient window's origin ('https://www.glowscript.org').

Evidently there has been some major change in Chrome on Windows. I have no idea whether this is a new bug in Chrome or new rules that we somehow have to follow.

Bruce


Joe Heafner

unread,
Jan 2, 2023, 7:48:30 PM1/2/23
to Web VPython Users
FWIW, it generates a syntax error in Chrome on macOS.

Joe Heafner
Sent from one of my Macs


Steve Spicklemire

unread,
Jan 2, 2023, 8:04:01 PM1/2/23
to glowscri...@googlegroups.com, Steve Spicklemire
Yes, I get a syntax error on MacOS, Chrome Version 108.0.5359.124 (Official Build) (x86_64)

Bruce, what version do you have on Windows?

Harlan Gilbert

unread,
Jan 2, 2023, 8:17:06 PM1/2/23
to glowscri...@googlegroups.com
I get a normal error message in both Chrome and Firefox:

Error: Invalid syntax: 3m at line 2: a = 3m



--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glowscript-users/A46CE1FB-1B64-4774-B1AE-307528A53C4E%40gmail.com.


--
Harlan Gilbert, Ph.D.
High School Chair and Math, Physics, Computer Science, and Philosophy Teacher
Green Meadow Waldorf High School
Chestnut Ridge, NY 10977

Bruce Sherwood

unread,
Jan 2, 2023, 8:46:30 PM1/2/23
to glowscri...@googlegroups.com
Steve, I have  Version 108.0.5359.125 (Official Build) (64-bit) on my Windows 10 machine.

Harlan, what do you have? At the 3 dots in the upper right corner, click Help -> About Google Chrome.

Bruce

Bruce Sherwood

unread,
Jan 2, 2023, 8:52:16 PM1/2/23
to glowscri...@googlegroups.com
I'll add that Chrome on my Mac is  108.0.5359.124 (Official Build) (x86_64), which gives a blank screen. The console shows the same stuff that I see on Windows.

Bruce

Bruce Sherwood

unread,
Jan 2, 2023, 9:07:04 PM1/2/23
to Glowscript Users
Huh. Chrome now fails intermittently on my Windows machine. It works properly on about half the tries.

Bruce

Harlan Gilbert

unread,
Jan 2, 2023, 9:11:53 PM1/2/23
to glowscri...@googlegroups.com
My Chrome version is  108.0.5359.125 (Official Build) (64-bit)
(Windows 11)


On Mon, Jan 2, 2023 at 9:07 PM Bruce Sherwood <bruce.s...@gmail.com> wrote:
Huh. Chrome now fails intermittently on my Windows machine. It works properly on about half the tries.

Bruce

--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.

Joe Heafner

unread,
Jan 2, 2023, 9:20:39 PM1/2/23
to Web VPython Users

> On Jan 2, 2023, at 20:52, Bruce Sherwood <bruce.s...@gmail.com> wrote:
>
> I'll add that Chrome on my Mac is 108.0.5359.124 (Official Build) (x86_64), which gives a blank screen. The console shows the same stuff that I see on Windows.

I have the same macOS version. Very strange.

Paul Camp

unread,
Jan 3, 2023, 2:06:43 PM1/3/23
to glowscri...@googlegroups.com
Are you using extensions? Tried safe mode?

On Mon, 2 Jan 2023 at 21:07, Bruce Sherwood <bruce.s...@gmail.com> wrote:
Huh. Chrome now fails intermittently on my Windows machine. It works properly on about half the tries.

Bruce

--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.


--
Dr. Paul J. Camp

"The beauty of the cosmos derives not only from unity in variety
       but also from variety in unity"
                 -- Umberto Eco
                     The Name of the Rose
Reply all
Reply to author
Forward
0 new messages