RESOLVED INVALID 58396
[Qt] http/tests/misc/favicon-loads-with-icon-loading-override.html fails
https://bugs.webkit.org/show_bug.cgi?id=58396
Summary [Qt] http/tests/misc/favicon-loads-with-icon-loading-override.html fails
Csaba Osztrogonác
Reported 2011-04-12 17:00:20 PDT
Attachments
patch (3.29 KB, patch)
2011-04-12 17:41 PDT, Alice Liu
vestbo: review-
vestbo: commit-queue-
Alice Liu
Comment 1 2011-04-12 17:01:25 PDT
looking...
Alice Liu
Comment 2 2011-04-12 17:19:16 PDT
For Webkit on mac and windows, the siteicon loading preference maps to "WebKitLoadSiteIconsKey", which is defined in WebPreferenceKeysPrivate.h. Another example is the automatic image loading preference, which maps to "WebKitDisplayImagesKey" on mac and windows. On qt, i don't know/see where this preference gets mapped to key. I don't see it in qwebsettings.cpp I'm assuming that somewhere in qt there is a preference key mapping, because otherwise layoutTestController. overridePreference() wouldn't work for any preference. Another question i have is: if the preference keys aren't cross-platform, how are any tests that override preference expected to work cross-platform?
Csaba Osztrogonác
Comment 3 2011-04-12 17:21:17 PDT
I added it to the Skipped list: http://trac.webkit.org/changeset/83670, because it seems we should add WebKitLoadSiteIconsKey somewhere to Qt layouttestcontroller.
Csaba Osztrogonác
Comment 4 2011-04-12 17:22:31 PDT
(In reply to comment #2) > For Webkit on mac and windows, the siteicon loading preference maps to "WebKitLoadSiteIconsKey", which is defined in WebPreferenceKeysPrivate.h. > > Another example is the automatic image loading preference, which maps to "WebKitDisplayImagesKey" on mac and windows. On qt, i don't know/see where this preference gets mapped to key. I don't see it in qwebsettings.cpp > > I'm assuming that somewhere in qt there is a preference key mapping, because otherwise layoutTestController. overridePreference() wouldn't work for any preference. Another question i have is: if the preference keys aren't cross-platform, how are any tests that override preference expected to work cross-platform? Thanks for your help, we will check it. But it's too late for me now. (2:22 am)
Alice Liu
Comment 5 2011-04-12 17:41:29 PDT
Created attachment 89320 [details] patch I think that'll fix it, but I can't be sure. If more tweaks need to be added then feel free to take the patch and change it. No need to wait for me.
Alice Liu
Comment 6 2011-04-12 17:42:51 PDT
oh and if that does fix the issue then the skipped list addition could be removed as well.
Tor Arne Vestbø
Comment 7 2011-04-26 16:04:29 PDT
Comment on attachment 89320 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=89320&action=review > Source/WebKit/qt/Api/qwebsettings.h:81 > + LoadSiteIcons The preference is only applicable if AutoLoadImages has been disabled, and the enum name should reflect that. AlwaysLoadSiteIcons perhaps?
Jocelyn Turcotte
Comment 8 2014-02-03 03:17:32 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.