Bug 34077 - [Qt] Add phone backup support for QtWebkit for Symbian
Summary: [Qt] Add phone backup support for QtWebkit for Symbian
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: S60 Hardware S60 3rd edition
: P1 Normal
Assignee: Janne Koskinen
URL:
Keywords: Qt
Depends on:
Blocks: 27065
  Show dependency treegraph
 
Reported: 2010-01-25 01:16 PST by Janne Koskinen
Modified: 2010-01-25 05:52 PST (History)
2 users (show)

See Also:


Attachments
proposed patch to enable backup support (2.27 KB, patch)
2010-01-25 03:09 PST, Janne Koskinen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Koskinen 2010-01-25 01:16:02 PST
Backup of QtWebkit installation is required otherwise installation is lost on restore.
Backup/restore support is simple registration file.
Comment 1 Janne Koskinen 2010-01-25 03:09:08 PST
Created attachment 47333 [details]
proposed patch to enable backup support
Comment 2 Simon Hausmann 2010-01-25 04:47:07 PST
Comment on attachment 47333 [details]
proposed patch to enable backup support

Magic stuff :)

For reference, the equivalent inside Qt was tracked in http://bugreports.qt.nokia.com/browse/QTBUG-7518
Comment 3 Janne Koskinen 2010-01-25 05:10:48 PST
To clarify the magic number a bit.

http://library.forum.nokia.com/index.jsp?topic=/S60_5th_Edition_Cpp_Developers_Library/GUID-35228542-8C95-4849-A73F-2B4F082F0C44/sdk/doc_source/guide/Connectivity-subsystem-guide/Connectivity/PC_Connectivity_How-To_Write_Backup_Aware_Software.html

"An additional mechanism exists to specify backup registration files for data
owners that do not have private directories - this is to be used for DLLs which
are installed as part of a package. To use this method, the backup registration
file must be placed in a special location under the Secure Backup Engine’s
private directory:

\private\10202D56\import\packages\<package-id>\backup_registration.xml

(10202D56 is the SID of the Secure Backup Engine, and <package-id> should be
replaced with the ID of the package containing the DLL)"
Comment 4 WebKit Commit Bot 2010-01-25 05:14:30 PST
Comment on attachment 47333 [details]
proposed patch to enable backup support

Clearing flags on attachment: 47333

Committed r53799: <http://trac.webkit.org/changeset/53799>
Comment 5 WebKit Commit Bot 2010-01-25 05:14:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Simon Hausmann 2010-01-25 05:52:33 PST
(In reply to comment #1)
> Created an attachment (id=47333) [details]
> proposed patch to enable backup support

Cherry-picked into qtwebkit-4.6 with commit 0bc66e2d86149e0fb6a33428e4f23ebfe83bfde4