MessageRequester does not run in WebView with macOS

Just starting out? Need help? Post your questions and find answers here.
Joshua
Posts: 10
Joined: Mon Apr 18, 2022 12:17 am

MessageRequester does not run in WebView with macOS

Post by Joshua »

Hello!

For reviews and next corrections....

Testing the WebView, I see that MessageRequester(..) does not run in this WebView in SpiderBasic for macOS, but it runs successfully in SpiderBasic for Windows.

I tested in macOS Monterey with intel i5, and in macOS Tahoe with M3.

Regards.
User avatar
Peter
Posts: 1202
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: MessageRequester does not run in WebView with macOS

Post by Peter »

I can't reproduce that.

Do you have a working code snippet for us?
Joshua
Posts: 10
Joined: Mon Apr 18, 2022 12:17 am

Re: MessageRequester does not run in WebView with macOS

Post by Joshua »

Thanks for your response, the code is very simple:

Code: Select all


MessageRequester("Hello", #PB_MessageRequester_Ok)

User avatar
Peter
Posts: 1202
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: MessageRequester does not run in WebView with macOS

Post by Peter »

Unfortunately, I still can't reproduce it.

Image
munfraid
Posts: 139
Joined: Sat Mar 24, 2018 1:33 pm

Re: MessageRequester does not run in WebView with macOS

Post by munfraid »

I can confirm it . Doesn't run with Tools/WebView activated on my device with macOs 26.2.
User avatar
Peter
Posts: 1202
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: MessageRequester does not run in WebView with macOS

Post by Peter »

Ah, now I understand and can reproduce it. :idea:
criptopher
Posts: 2
Joined: Wed Dec 24, 2025 6:12 am

Re: MessageRequester does not run in WebView with macOS

Post by criptopher »

Hi,

In macOS Monterey with micro intel i5 this problem occurs, too.

Thanks.
Fred
Site Admin
Posts: 1853
Joined: Mon Feb 24, 2014 10:51 am

Re: MessageRequester does not run in WebView with macOS

Post by Fred »

I don't think it's a SB issue, as it's just calling alert(). May be the dev tool disable the alerts
Post Reply