Afficher les questions étiquetées : Afficher toutes les questions

network.http.referer.disallowCrossSiteRelaxingDefault not working

a website im using is trin to call an api with referer header and policy of "origin-when-cross-origin", but firefox overides it to "Same Origin Policy" with console msg: … (lire la suite)

a website im using is trin to call an api with referer header and policy of "origin-when-cross-origin", but firefox overides it to "Same Origin Policy" with console msg: Referrer Policy: Less restricted policies, including ‘no-referrer-when-downgrade’, ‘origin-when-cross-origin’ and ‘unsafe-url’, will be ignored soon for the cross-site request

After a lot of search, i found that network.http.referer.disallowCrossSiteRelaxingDefault config setting should be set to false to allow any policy, but toggling between false or true has no affect. The request still fails with a cors error "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at..."

Is there a way to make this work? Or a way to allow the request to have this referer policy.

Demandé par reliancesaransh il y a 3 mois

Dernière réponse par jscher2000 - Support Volunteer il y a 3 mois

Webassembly.compile() doesn't support SharedArrayBuffer in 138

Hello, as per description I noticed that firefox version 138 requires an ArrayBuffer as the argument of WebAssembly.compile() and doesn't allow anymore (like in 137) a S… (lire la suite)

Hello,

as per description I noticed that firefox version 138 requires an ArrayBuffer as the argument of WebAssembly.compile() and doesn't allow anymore (like in 137) a SharedArrayBuffer, is this intended or it will be fixed in the future? Follows a simple test case. Kind reagards.


--- index.html --- <title>Example</title> <script> let instance = undefined; async function loadWasm() { try { const response = await fetch('./sum.wasm'); const buffer = await response.arrayBuffer(); const sharedBuffer = new SharedArrayBuffer(buffer.byteLength); const tmpView = new Uint8Array(sharedBuffer); tmpView.set(new Uint8Array(buffer)); const module = await WebAssembly.compile(sharedBuffer); instance = await WebAssembly.instantiate(module); } catch (error) { alert(`failed to compile in wasm: ${error.message}`); } } loadWasm(); function testWasm() { if (instance) alert(`sum 1 + 2 = ${instance.exports.add(1, 2)}`); else alert('invalid instance, failed to compile'); } </script> <button onclick="testWasm()">Press to run wasm function (sum)</button> --- ---

--- sum.wat --- (to convert into .wasm using: wat2wasm sum.wat -o sum.wasm) (module (func $add (param $lhs i32) (param $rhs i32) (result i32) local.get $lhs local.get $rhs i32.add) (export "add" (func $add)) ) --- ---

Demandé par Fra il y a 1 mois

Dernière réponse par TyDraniu il y a 1 mois

alert about firefox 78.15.0esr 64-bit for mac el capitan 10.11.6

Hello, I have old 15 year old mac el capitan -10.11.r with outdated firefox 78.15.0esr 64-bit.... in perfect condition. Unfortunately I can not make updates on browser a… (lire la suite)

Hello,

I have old 15 year old mac el capitan -10.11.r with outdated firefox 78.15.0esr 64-bit.... in perfect condition. Unfortunately I can not make updates on browser anymore. Online banking websites does not allow me to use this outdated browser. Would you be so kind to make even paid update for me? Or at least let me know what settings I should change under about:config

Waiting to hear from you! [edited email from public]

Demandé par Paul Hyski il y a 1 mois

Dernière réponse par James (On Leave) il y a 1 mois