Webassembly and asm.js

Bug reports and enhancement requests
Post Reply
jawz101
Senior Member
Posts: 71
Joined: Sun Jul 10, 2011 11:13 pm

Webassembly and asm.js

Post by jawz101 »

Hello, I was wondering if/how NoScript addresses webassembly and asm.js? From what I understand, both are powerful and complement javascript. I also gather they are both currently popular for cryptomining.

If NoScript ever supports blocking webassembly and/or asm.js would it be treated as script or other? And, if javascript, would it be separate but equal to javascript? Like, if I allow 1st party javascript I may not necessarily want to allow 1st party webassembly.

Thanks!
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Webassembly and asm.js

Post by Giorgio Maone »

They're currently treated as equal because a webpage needs to run JavaScript in order to launch webassembly programs (which, BTW, are far from being "more powerful", providing just a subset of the JavaScript-accessible brower features: they're just faster).
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Post Reply