Skip to content
Snippets Groups Projects
Select Git revision
  • 82472c705389f68fdbd3e7b9960577cfc8fbb7b1
  • release default
  • master protected
  • feature/xx-4717/logLevel
  • XX-4626/SingleUsePackage
  • josh/DmPackage
  • xx-4437/no-registration
  • feature/project/DM
  • project/channels
  • feature/ctidh
  • Jakub/rootless-CI
  • jono/wasmDemo
  • feature/XX-4108/updateProtoc
  • feature/hotfix/unsafe_send_to_self
  • Anne/OldSessionTesting
  • hotfix/groupChat
  • josh/groupCreationScript
  • feature/XX-3797/restore
  • feature/XX-3789/DeleteIndividualRequests
  • dev
  • feature/debugSendCMIX
21 results

e2eReport.py

Blame
  • logFileWorker.js 1002 B
    ////////////////////////////////////////////////////////////////////////////////
    // Copyright © 2022 xx foundation                                             //
    //                                                                            //
    // Use of this source code is governed by a license that can be found in the  //
    // LICENSE file.                                                              //
    ////////////////////////////////////////////////////////////////////////////////
    
    // NOTE: wasm_exec.js must always be in the same directory as this script.
    importScripts('wasm_exec.js');
    // NOTE: This relative path must be preserved in distribution.
    const binPath = '../wasm/xxdk-logFileWorker.wasm'
    
    const isReady = new Promise((resolve) => {
        self.onWasmInitialized = resolve;
    });
    
    const go = new Go();
    WebAssembly.instantiateStreaming(fetch(binPath), go.importObject).then(async (result) => {
        go.run(result.instance);
        await isReady;
    }).catch((err) => {
        console.error(err);
    });