Changeset 140326 in webkit


Ignore:
Timestamp:
Jan 21, 2013 5:40:06 AM (11 years ago)
Author:
jocelyn.turcotte@digia.com
Message:

[Qt] Update the documentation about the storage of inspector settings
https://bugs.webkit.org/show_bug.cgi?id=106777

Reviewed by Allan Sandfeld Jensen.

Since r76770, QSettings isn't queried anymore to persist inspector
settings like whether or not the debugger is enabled by default.
It still seems to be used for the default attach height.

Update the documentation accordingly.

  • WidgetApi/qwebinspector.cpp:
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r140322 r140326  
     12013-01-21  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
     2
     3        [Qt] Update the documentation about the storage of inspector settings
     4        https://bugs.webkit.org/show_bug.cgi?id=106777
     5
     6        Reviewed by Allan Sandfeld Jensen.
     7
     8        Since r76770, QSettings isn't queried anymore to persist inspector
     9        settings like whether or not the debugger is enabled by default.
     10        It still seems to be used for the default attach height.
     11
     12        Update the documentation accordingly.
     13
     14        * WidgetApi/qwebinspector.cpp:
     15
    1162013-01-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
    217
  • trunk/Source/WebKit/qt/WidgetApi/qwebinspector.cpp

    r136235 r140326  
    6767    The inspector allows the user to configure some options through its
    6868    user interface (e.g. the resource tracking "Always enable" option).
    69     These settings will be persisted automatically by QtWebKit only if
    70     your application previously called QCoreApplication::setOrganizationName()
    71     and QCoreApplication::setApplicationName().
    72     See QSettings's default constructor documentation for an explanation
    73     of why this is necessary.
     69    The inspector UI is itself a web page and is using HTML local storage
     70    to persist those settings.
     71    Since the internal QWebPage used by the inspector isn't exposed in the API,
     72    the only way to enable those settings to be persisted is currently to enable
     73    local storage globally through QWebSettings::globalSettings().
     74
     75    \sa QWebSettings::localStoragePath(), QWebSettings::LocalStorageEnabled
    7476*/
    7577
Note: See TracChangeset for help on using the changeset viewer.