Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123492

Reg [6.3->6.6.2] Wasm unable to connect

    XMLWordPrintable

Details

    • WebAssembly

    Description

      The  very same Webassembly application which works good with Qt6.3 does not work with Qt6.6.2.
      To see please  Please set  your figma tokens "Set your user account token and project token.
      To get project token open your Figma Document on the browser and see the URL: The token after file.
      For example: if the URL is "https://www.figma.com/file/bPWNMoKnXkXgf71S9cFX7G/…", the requested token is "bPWNMoKnXkXgf71S9cFX7G" (without quotes)
      " (from https://github.com/mmertama/FigmaQML)

       

      https://mmertama.github.io/FigmaQML/FigmaQML.html

      Press 'update' and in Chrome Developer console you get an error as:

      "Uncaught DOMException: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': '' is not a valid HTTP header field name.
      at fetchXHR (https://mmertama.github.io/FigmaQML/FigmaQML.js:11398:8)
      at performUncachedXhr (https://mmertama.github.io/FigmaQML/FigmaQML.js:11643:3)
      at getRequest.onsuccess (https://mmertama.github.io/FigmaQML/FigmaQML.js:11551:5)
      fetchXHR @ FigmaQML.js:11398
      performUncachedXhr @ FigmaQML.js:11643
      getRequest.onsuccess @ FigmaQML.js:11551
      IndexedDB (async)
      fetchLoadCachedData @ FigmaQML.js:11532
      _emscripten_start_fetch @ FigmaQML.js:11667
      imports.<computed> @ FigmaQML.js:5492
      $emscripten_fetch @ FigmaQML.wasm:0x3da5685
      $std::__2::__function::__func<QNetworkReplyWasmImplPrivate::doSendRequest()::$_0, std::__2::allocator<QNetworkReplyWasmImplPrivate::doSendRequest()::$_0>, void ()>::operator()() @ FigmaQML.wasm:0x7ad48d
      $(anonymous namespace)::trampoline(void*)::$_0::__invoke(void*) @ FigmaQML.wasm:0x6fb1b9
      $dynCall_vi @ FigmaQML.wasm:0x3e52b5b
      ret.<computed> @ FigmaQML.js:5514
      (anonymous) @ FigmaQML.js:604
      (anonymous) @ FigmaQML.js:7265
      wrapper @ FigmaQML.js:7265
      callUserCallback @ FigmaQML.js:5442
      (anonymous) @ FigmaQML.js:6592
      setTimeout (async)
      safeSetTimeout @ FigmaQML.js:6591
      _emscripten_async_call @ FigmaQML.js:7268
      imports.<computed> @ FigmaQML.js:5492
      $QEventDispatcherWasm::runOnMainThreadAsync(std::__2::function<void ()>) @ FigmaQML.wasm:0x6fb3ec
      $QNetworkReplyWasmImplPrivate::doSendRequest() @ FigmaQML.wasm:0x7aa97a
      $QNetworkReplyWasmImplPrivate::setup(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) @ FigmaQML.wasm:0x7a91cc
      $QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) @ FigmaQML.wasm:0x744531
      $QNetworkAccessManager::get(QNetworkRequest const&) @ FigmaQML.wasm:0x743108
      $FigmaGet::update() @ FigmaQML.wasm:0x1069ad
      $FigmaGet::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x4719f
      $FigmaGet::qt_metacall(QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x49b43
      $QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x4206d5
      $QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const @ FigmaQML.wasm:0x30d2944
      $QV4::CallMethod(QQmlObjectOrGadget const&, int, QMetaType, int, QMetaType const*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) @ FigmaQML.wasm:0x2dc3d27
      $QV4::CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) @ FigmaQML.wasm:0x2dbdbae
      $QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const @ FigmaQML.wasm:0x2db914a
      $QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) @ FigmaQML.wasm:0x2db804e
      $QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) @ FigmaQML.wasm:0x2e909a9
      $QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) @ FigmaQML.wasm:0x2e8da73
      $QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d1a48e
      $QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d1958b
      $QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d18ffe
      $QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) @ FigmaQML.wasm:0x305d69e
      $QQmlBoundSignalExpression::evaluate(void**) @ FigmaQML.wasm:0x2f65737
      $QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) @ FigmaQML.wasm:0x2f663a1
      $QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) @ FigmaQML.wasm:0x30b3eed
      $QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) @ FigmaQML.wasm:0x2fb99b8
      $void doActivate<false>(QObject*, int, void**) @ FigmaQML.wasm:0x47e54f
      $QMetaObject::activate(QObject*, QMetaObject const*, int, void**) @ FigmaQML.wasm:0x48cdda
      $QQmlTimer::event(QEvent*) @ FigmaQML.wasm:0x326d68a
      $QApplicationPrivate::notify_helper(QObject*, QEvent*) @ FigmaQML.wasm:0x7d4e1c
      $QApplication::notify(QObject*, QEvent*) @ FigmaQML.wasm:0x7d9a50
      $QCoreApplication::notifyInternal2(QObject*, QEvent*) @ FigmaQML.wasm:0x40dff0
      $QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) @ FigmaQML.wasm:0x40f6d9
      $QCoreApplication::sendPostedEvents(QObject*, int) @ FigmaQML.wasm:0x40f9c2
      $QEventDispatcherWasm::processPostedEvents() @ FigmaQML.wasm:0x6fb46b
      $QWasmEventDispatcher::processPostedEvents() @ FigmaQML.wasm:0x1eca0ca
      $std::__2::__function::__func<QEventDispatcherWasm::wakeUp()::$_0, std::__2::allocator<QEventDispatcherWasm::wakeUp()::$_0>, void ()>::operator()() @ FigmaQML.wasm:0x6fcd75
      $(anonymous namespace)::trampoline(void*)::$_0::__invoke(void*) @ FigmaQML.wasm:0x6fb1b9
      $dynCall_vi @ FigmaQML.wasm:0x3e52b5b
      ret.<computed> @ FigmaQML.js:5514
      (anonymous) @ FigmaQML.js:604
      (anonymous) @ FigmaQML.js:7265
      wrapper @ FigmaQML.js:7265
      callUserCallback @ FigmaQML.js:5442
      (anonymous) @ FigmaQML.js:6592
      setTimeout (async)
      safeSetTimeout @ FigmaQML.js:6591
      _emscripten_async_call @ FigmaQML.js:7268
      imports.<computed> @ FigmaQML.js:5492
      $QEventDispatcherWasm::wakeUp() @ FigmaQML.wasm:0x6fb058
      $QCoreApplication::postEvent(QObject*, QEvent*, int) @ FigmaQML.wasm:0x410225
      $QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, int, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) @ FigmaQML.wasm:0x41f404
      $QMetaObject::invokeMethodImpl(QObject*, char const*, Qt::ConnectionType, int, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) @ FigmaQML.wasm:0x428732
      $QQmlAnimationTimer::registerAnimation(QAbstractAnimationJob*, bool) @ FigmaQML.wasm:0x32624df
      $QAbstractAnimationJob::setState(QAbstractAnimationJob::State) @ FigmaQML.wasm:0x3261584
      $QAbstractAnimationJob::start() @ FigmaQML.wasm:0x32642cf
      $QQmlTimer::update() @ FigmaQML.wasm:0x326cf93
      $QQmlTimer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x326e09b
      $QQmlTimer::qt_metacall(QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x326e35c
      $QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x31f63cf
      $QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) @ FigmaQML.wasm:0x42068b
      $QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const @ FigmaQML.wasm:0x30d2944
      $QV4::CallMethod(QQmlObjectOrGadget const&, int, QMetaType, int, QMetaType const*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) @ FigmaQML.wasm:0x2dc3d27
      $QV4::CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) @ FigmaQML.wasm:0x2dbdbae
      $QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const @ FigmaQML.wasm:0x2db914a
      $QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) @ FigmaQML.wasm:0x2db804e
      $QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) @ FigmaQML.wasm:0x2e909a9
      $QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) @ FigmaQML.wasm:0x2e8da73
      $QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d1a48e
      $QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d1958b
      $QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) @ FigmaQML.wasm:0x2d18ffe
      $QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) @ FigmaQML.wasm:0x305d69e
      $QQmlBoundSignalExpression::evaluate(void**) @ FigmaQML.wasm:0x2f65737
      $QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) @ FigmaQML.wasm:0x2f663a1
      $QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) @ FigmaQML.wasm:0x30b3eed
      $QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) @ FigmaQML.wasm:0x2fb99b8
      $void doActivate<false>(QObject*, int, void**) @ FigmaQML.wasm:0x47e54f
      $QMetaObject::activate(QObject*, QMetaObject const*, int, void**) @ FigmaQML.wasm:0x48cdda
      $QQuickAbstractButtonPrivate::trigger(bool) @ FigmaQML.wasm:0x2833954
      $QQuickAbstractButtonPrivate::handleRelease(QPointF const&, unsigned long) @ FigmaQML.wasm:0x2833515
      $QQuickControl::mouseReleaseEvent(QMouseEvent*) @ FigmaQML.wasm:0x287bcca
      $QQuickItem::event(QEvent*) @ FigmaQML.wasm:0x125c036
      $QQuickAbstractButton::event(QEvent*) @ FigmaQML.wasm:0x283a96b
      $QApplicationPrivate::notify_helper(QObject*, QEvent*) @ FigmaQML.wasm:0x7d4e1c
      $QApplication::notify(QObject*, QEvent*) @ FigmaQML.wasm:0x7d9a50
      $QCoreApplication::notifyInternal2(QObject*, QEvent*) @ FigmaQML.wasm:0x40dff0
      $QCoreApplication::sendEvent(QObject*, QEvent*) @ FigmaQML.wasm:0x40fdca
      $QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) @ FigmaQML.wasm:0x1196774
      $QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) @ FigmaQML.wasm:0x118cf7f
      $QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) @ FigmaQML.wasm:0x1185477
      $QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) @ FigmaQML.wasm:0x1180b35
      $QQuickDeliveryAgent::event(QEvent*) @ FigmaQML.wasm:0x117febe
      $QQuickWindow::event(QEvent*) @ FigmaQML.wasm:0x106cebc
      $QApplicationPrivate::notify_helper(QObject*, QEvent*) @ FigmaQML.wasm:0x7d4e1c
      $QApplication::notify(QObject*, QEvent*) @ FigmaQML.wasm:0x7d9a50
      $QCoreApplication::notifyInternal2(QObject*, QEvent*) @ FigmaQML.wasm:0x40dff0
      $QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) @ FigmaQML.wasm:0x40fe91
      $QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) @ FigmaQML.wasm:0x349a452
      $QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) @ FigmaQML.wasm:0x34985b6
      $bool QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::MouseEvent, QWindow*, unsigned long, QPointF, QPointF, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, Qt::MouseButton, QEvent::Type, Qt::MouseEventSource, bool, QPointingDevice const*>(QWindow*, unsigned long, QPointF, QPointF, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, Qt::MouseButton, QEvent::Type, Qt::MouseEventSource, bool, QPointingDevice const*) @ FigmaQML.wasm:0x3540e74
      $bool QWindowSystemHelper<QWindowSystemInterface::DefaultDelivery>::handleEvent<QWindowSystemInterfacePrivate::MouseEvent, QWindow*, unsigned long, QPointF, QPointF, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, Qt::MouseButton, QEvent::Type, Qt::MouseEventSource, bool, QPointingDevice const*>(QWindow*, unsigned long, QPointF, QPointF, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, Qt::MouseButton, QEvent::Type, Qt::MouseEventSource, bool, QPointingDevice const*) @ FigmaQML.wasm:0x3540878
      $bool QWindowSystemInterface::handleMouseEvent<QWindowSystemInterface::DefaultDelivery>(QWindow*, unsigned long, QPointingDevice const*, QPointF const&, QPointF const&, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type, QFlags<Qt::KeyboardModifier>, Qt::MouseEventSource) @ FigmaQML.wasm:0x354042d
      $bool QWindowSystemInterface::handleMouseEvent<QWindowSystemInterface::DefaultDelivery>(QWindow*, unsigned long, QPointF const&, QPointF const&, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type, QFlags<Qt::KeyboardModifier>, Qt::MouseEventSource) @ FigmaQML.wasm:0x354062d
      $ClientArea::deliverEvent(PointerEvent const&) @ FigmaQML.wasm:0x1eee0d0
      $ClientArea::processPointer(PointerEvent const&) @ FigmaQML.wasm:0x1eedc81
      $std::__2::__function::__func<ClientArea::ClientArea(QWasmWindow*, QWasmScreen*, emscripten::val)::$_0, std::__2::allocator<ClientArea::ClientArea(QWasmWindow*, QWasmScreen*, emscripten::val)::$_0>, void (emscripten::val)>::operator()(emscripten::val&&) @ FigmaQML.wasm:0x1ef172f
      $qstdweb::EventCallback::activate(emscripten::val) @ FigmaQML.wasm:0x6dded0
      $emscripten::internal::Invoker<void, emscripten::val>::invoke(void (*)(emscripten::val), emscripten::_EM_VAL*) @ FigmaQML.wasm:0x6d4ae9
      $dynCall_vii @ FigmaQML.wasm:0x3e529e8
      ret.<computed> @ FigmaQML.js:5514
      (anonymous) @ FigmaQML.js:604
      dynCallLegacy @ FigmaQML.js:5794
      dynCall @ FigmaQML.js:5802
      (anonymous) @ FigmaQML.js:5810
      qtStdWebEventCallbackActivate @ VM25:8" 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            piwierci Piotr Wierciński
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes