Summary: | [Qt] tst_QWebPage::createPlugin() fails | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Hausmann <hausmann> | ||||
Component: | Tools / Tests | Assignee: | Robert Hogan <robert> | ||||
Status: | CLOSED FIXED | ||||||
Severity: | Blocker | CC: | kling, robert | ||||
Priority: | P1 | Keywords: | Qt | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 35784 | ||||||
Attachments: |
|
Description
Simon Hausmann
2010-04-09 03:03:15 PDT
This regression is caused by https://bugs.webkit.org/show_bug.cgi?id=32196 Robert, any ideas? :) (In reply to comment #2) > Robert, any ideas? :) Guilty as charged. The test is now invalid: // plugins not enabled by default, so the plugin shouldn't be loaded m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>")); QTRY_COMPARE(loadSpy.count(), 1); QCOMPARE(newPage->calls.count(), 0); m_view->settings()->setAttribute(QWebSettings::PluginsEnabled, true); OK to remove it presumably. Created attachment 53879 [details]
Patch
Updated Docs too..
|