Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QtWebkit 2.3.3 crash when document.all is compared to null in javascript
Forum Update on Monday, May 27th 2025

QtWebkit 2.3.3 crash when document.all is compared to null in javascript

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 900 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    flo2014
    wrote on 15 May 2014, 13:02 last edited by
    #1

    I am using qtwebkit 2.3.3 built from git against qt 4.8.5 (Windows 7 and Visual Studio 2008). I get a crash with the release version (works in debug) using the previewer example from Qt and loading a simple webpage like this:

    @<html>
    <head>
    <script language="javascript" type="text/javascript">
    var isDocAllNull = document.all == null;
    </script>

    </head>
    <body>
    Test page with document.all compared to null.
    </body>
    </html>@

    The problem does not appear in the older Qt 4.8.5.
    I am able to reproduce this error in Qt 5.1.1 (also using the Previewer example).
    The problem is fixed in Qt 5.2.1.

    I would need a patch for qtwebkit 2.3.3 if anyone can help. Some suggestions on how to debug this (considering that the error does not occur in debug mode) would also be very helpful.

    Thanks.

    1 Reply Last reply
    0

    1/1

    15 May 2014, 13:02

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved