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

When retrieving an empty string from LocalStorage it will be seen as a null object and not an empty string

    XMLWordPrintable

Details

    • macOS

    Description

      When retrieving an empty string from LocalStorage it will be seen as a null object and not an empty string. Since the string is not null then it should be respecting the fact that it is a string still and thus be seen as such.

      Example attached shows 4 different use-cases, the empty string case is the one that is incorrect as typeof(val) returns object and not string.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes