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

wasm: getElementById is changing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.15
    • 5.13.0 Alpha 1, 5.14, 5.15
    • QPA
    • None
    • WebAssembly
    • 945198fd237a83348feb4537d811565a2c2cd8e0 (qt/qtbase/dev) 7dd6d32657cb079f8b3e1ff6b1dc27248ec0a2d4 (qt/qtbase/dev)

      Get this warning when running app.

       

      Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See https://github.com/emscripten-core/emscripten/pull/7977 for more details.

        For Gerrit Dashboard: QTBUG-74601
        # Subject Branch Project Status CR V

            sorvig Morten Sørvig
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes