DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th August 2023
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,134
Default Chrome and WebAssembly .....

Last Friday I wanted to do a OS upgrade for daemonforums. I could not because Hetzner, our hosting provider, put some anti-robot protection in place (simplified webpage):
Code:
Security Check

Checking that you are not a robot
This process is performed automatically. You will be redirected shortly.

Verifying...

Useful information
This process is fully GDPR-compliant and respects your privacy.

Heray is a security product powered by Hetzner
I did a tcpdump but could not find anything. With the chrome web developer tool I found that the page tried to load a WebAssembly thingy:
Code:
Uncaught ReferenceError: WebAssembly is not defined
Googling showed that on OpenBSD WebAssembly has been disabled ......
Nothing about this in the man page and also not in the pkg readme.

The following script starts chrome with WebAssembly enabled:
Code:
#!/bin/sh

# Run chrome with WebAssembly enabled .....

env ENABLE_WASM=1 chrome --enable-wasm &
With that I could login to my Hetzner cloud console, but then it was too late to do the planned system upgrade ,,,,,,,,,
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #2   (View Single Post)  
Old 10th August 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,993
Default

Looking at the commit log for ports/www/chromium/Makefile, I can see that WebAssembly was disabled by default in April, 2019, "because it is a disaster," and in July, 2020, the ENABLE_WASM environment variable was tested to see if it was set, and provisioning WebAssembly if it was. This change was due to Zoom being dependent upon WebAssembly.

Since you've noticed this lack of WebAssembly documentation, and as it caused you some grief, you might want to consider proposing a patch to ports/www/chromium/pkg/README.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam not working w/ Chrome AlfaGTA OpenBSD Packages and Ports 15 24th March 2022 04:52 PM
Chrome or Firefox stanl OpenBSD Packages and Ports 21 4th August 2021 09:51 AM
[6.6] Chrome and webcam CiotBSD OpenBSD Packages and Ports 1 23rd March 2020 11:25 AM
Chrome is the most secured browser - new study J65nko News 2 6th April 2012 10:26 PM
Google Chrome browser drhowarddrfine General software and network 63 15th September 2008 11:09 PM


All times are GMT. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick