[webkit-qt] infinite loop while rendering this url
Alexis Menard
alexis.menard at openbossa.org
Tue Apr 26 08:01:52 PDT 2011
On Apr 25, 2011, at 7:22 PM, Tarandeep Singh wrote:
> I think webkit is entering into infinite loop while rendering this url-
> http://nzonlinemall.com/home.html
>
> I am using qt+webkit (qt-4.6.2) on Ubuntu 9.10
> My set up is simple-
>
> - create a webpage object
> - load this url
> - once load is finished, get the html and print it
> - delete the webpage
>
> it looks like loop happens when I try to delete the webpage. Webpage settings that I am using-
>
> page = new WebPage( );
> page->setViewportSize( QSize( 64000, 40000));
I haven't looked more but without WebPage code I'm not sure what we can do.
Also setting such sizes to the viewport is not very nice looking code :D.
> page->setNetworkAccessManager( nwManager);
>
> QWebHistory* history = page->history( );
> history->setMaximumItemCount( 0);
>
> QWebSettings* settings = page->settings( );
> settings->setAttribute( QWebSettings::JavaEnabled, false);
> settings->setAttribute( QWebSettings::JavascriptEnabled, true);
> settings->setAttribute( QWebSettings::JavascriptCanOpenWindows, false);
> settings->setAttribute( QWebSettings::JavascriptCanAccessClipboard, false);
> settings->setAttribute( QWebSettings::PrivateBrowsingEnabled, true);
> settings->setAttribute( QWebSettings::AutoLoadImages, false);
> settings->setAttribute( QWebSettings::PluginsEnabled, false);
> settings->setAttribute( QWebSettings::DeveloperExtrasEnabled, false);
> settings->setAttribute( QWebSettings::DnsPrefetchEnabled, true);
> settings->setAttribute( QWebSettings::DeveloperExtrasEnabled, false);
> settings->setMaximumPagesInCache( 0);
> settings->setObjectCacheCapacities( 0, 0, 0);
> settings->setOfflineStorageDefaultQuota( 0);
> settings->setOfflineWebApplicationCacheQuota( 0);
> settings->setIconDatabasePath( "");
>
> Can someone please check and confirm.
>
> Thanks,
> Tarandeep
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110426/6c6e3300/attachment.html>
More information about the webkit-qt
mailing list