1 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
3 [Qt] Fix crash when using Qt DRT with V8.
5 Reviewed by Csaba Osztrogonác.
7 Add missing handle scopes for the handles returned by mainWorldContext.
9 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
10 (DumpRenderTreeSupportQt::injectInternalsObject):
11 (DumpRenderTreeSupportQt::resetInternalsObject):
13 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
15 [Qt] Fix crashing layout tests
17 Reviewed by Kenneth Rohde Christiansen.
19 Fix ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX in ThreadIdentifierDataPthreads.cpp(65)
20 static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
22 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
23 (DumpRenderTreeSupportQt::initialize): Add missing WebCore::initializeWebCoreQt().
25 2011-11-30 Andrew Wason <rectalogic@rectalogic.com>
27 Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
28 https://bugs.webkit.org/show_bug.cgi?id=72155
30 Reviewed by Simon Hausmann.
32 Extract WebCore initialization out of QWebPagePrivate into a
33 separate initialization function. This also needs to be called
34 from public static QWebSettings methods that call into WebCore,
35 since those can be used before a QWebPage has been constructed.
38 (QWebPagePrivate::QWebPagePrivate):
39 * Api/qwebsettings.cpp:
40 (QWebSettings::globalSettings):
41 (QWebSettings::setIconDatabasePath):
42 (QWebSettings::iconDatabasePath):
43 (QWebSettings::clearIconDatabase):
44 (QWebSettings::iconForUrl):
45 (QWebSettings::setWebGraphic):
46 (QWebSettings::webGraphic):
47 (QWebSettings::clearMemoryCaches):
48 (QWebSettings::maximumPagesInCache):
49 (QWebSettings::setObjectCacheCapacities):
50 (QWebSettings::setOfflineStoragePath):
51 (QWebSettings::offlineStoragePath):
52 (QWebSettings::setOfflineWebApplicationCachePath):
53 (QWebSettings::offlineWebApplicationCachePath):
54 (QWebSettings::setOfflineWebApplicationCacheQuota):
55 (QWebSettings::offlineWebApplicationCacheQuota):
56 (QWebSettings::enablePersistentStorage):
57 * WebCoreSupport/InitWebCoreQt.cpp: Added.
58 (WebCore::initializeWebCoreQt):
59 * WebCoreSupport/InitWebCoreQt.h: Added.
61 2011-11-30 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
63 [Qt][WK2] Implement permission API for Qt port
64 https://bugs.webkit.org/show_bug.cgi?id=59200
66 Permission API hookup for Geolocation, it allows to receive in WebView
67 a signal when a permission request is done (e.g. to grant permission
68 for accessing geolocation information) and set it accordingly.
70 Reviewed by Simon Hausmann.
72 * declarative/plugin.cpp:
73 (WebKitQmlPlugin::registerTypes):
75 2011-11-29 Simon Hausmann <simon.hausmann@nokia.com>
77 [Qt] Make WebKit/qt build with V8 and Qt 5
78 https://bugs.webkit.org/show_bug.cgi?id=73315
80 Reviewed by Kenneth Rohde Christiansen.
82 * Api/qwebelement.cpp:
83 (QtWebElementRuntime::initialize): #ifdef JSC code
84 properly. There's no V8 equivalent just yet.
85 * Api/qwebelement.h: Get rid of old V8 cruft.
87 (QWebFrame::addToJavaScriptWindowObject): QScriptEngine -> QJSEngine.
88 (QWebFrame::evaluateJavaScript): Ditto.
89 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
90 (QtDRTNodeRuntime::initialize): #ifdef JSC code.
91 * WebCoreSupport/FrameLoaderClientQt.cpp:
92 (WebCore::FrameLoaderClientQt::didCreateScriptContext): Adapt to FrameLoaderClient
93 V8 API changes that happened long time ago.
94 (WebCore::FrameLoaderClientQt::willReleaseScriptContext): Ditto.
95 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
96 * WebCoreSupport/InspectorClientQt.cpp: Add missing include for V8 build.
98 2011-11-28 Jon Lee <jonlee@apple.com>
100 Create skeleton framework for notifications support in WK2
101 https://bugs.webkit.org/show_bug.cgi?id=73253
102 <rdar://problem/10356943>
104 Reviewed by Sam Weinig.
106 * Api/qwebpage.cpp: Add notification client to pageClients.
107 (QWebPagePrivate::QWebPagePrivate):
108 * WebCoreSupport/ChromeClientQt.cpp: Remove notification client from ChromeClient implementation.
109 * WebCoreSupport/ChromeClientQt.h:
110 * WebCoreSupport/NotificationPresenterClientQt.cpp: Refactor with change of NotificationContents to struct
111 (WebCore::NotificationWrapper::title):
112 (WebCore::NotificationWrapper::message):
113 (WebCore::NotificationPresenterClientQt::displayNotification):
114 (WebCore::NotificationPresenterClientQt::cancel):
115 (WebCore::NotificationPresenterClientQt::notificationClicked):
116 (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
117 (WebCore::NotificationPresenterClientQt::dumpShowText):
119 2011-11-28 Simon Hausmann <simon.hausmann@nokia.com>
121 [Qt] Build system fixes against V8.
123 Reviewed by Tor Arne Vestbø.
125 Add forwarding headers for building against Qt's v8 with
128 * v8/ForwardingHeaders/v8-debug.h: Added.
129 * v8/ForwardingHeaders/v8-preparser.h: Added.
130 * v8/ForwardingHeaders/v8-profiler.h: Added.
131 * v8/ForwardingHeaders/v8-testing.h: Added.
132 * v8/ForwardingHeaders/v8.h: Added.
133 * v8/ForwardingHeaders/v8stdint.h: Added.
135 2011-11-26 Pavel Feldman <pfeldman@google.com>
137 Web Inspector: remove disconnectFromBackend from the protocol.
138 https://bugs.webkit.org/show_bug.cgi?id=73127
140 Reviewed by Yury Semikhatsky.
142 * WebCoreSupport/InspectorClientQt.cpp:
143 (WebCore::InspectorClientQt::inspectorDestroyed):
144 (WebCore::InspectorClientQt::closeInspectorFrontend):
145 (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
146 * WebCoreSupport/InspectorClientQt.h:
148 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
150 Unreviewed, rolling out r101193.
151 http://trac.webkit.org/changeset/101193
152 https://bugs.webkit.org/show_bug.cgi?id=73158
154 Breaks Windows and Qt minimal. (Requested by pfeldman on
157 * WebCoreSupport/InspectorClientQt.cpp:
158 (WebCore::InspectorClientQt::inspectorDestroyed):
159 (WebCore::InspectorFrontendClientQt::disconnectFromBackend):
160 (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
161 * WebCoreSupport/InspectorClientQt.h:
163 2011-11-26 Pavel Feldman <pfeldman@google.com>
165 Web Inspector: remove disconnectFromBackend from the protocol.
166 https://bugs.webkit.org/show_bug.cgi?id=73127
168 Reviewed by Yury Semikhatsky.
170 * WebCoreSupport/InspectorClientQt.cpp:
171 (WebCore::InspectorClientQt::inspectorDestroyed):
172 (WebCore::InspectorClientQt::closeInspectorFrontend):
173 (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
174 * WebCoreSupport/InspectorClientQt.h:
176 2011-11-25 Alexis Menard <alexis.menard@openbossa.org>
178 [Qt][WK2] QWebDownloadItem should be registered in the experimental plugin.
179 https://bugs.webkit.org/show_bug.cgi?id=73132
181 Reviewed by Simon Hausmann.
183 Make sure QWebDownloadItem is registered in the right plugin.
185 * declarative/experimental/plugin.cpp:
186 * declarative/plugin.cpp:
187 (WebKitQmlPlugin::registerTypes):
189 2011-11-22 Pavel Feldman <pfeldman@google.com>
191 Web Inspector: remove Inspector::bringToFront from the protocol.
192 https://bugs.webkit.org/show_bug.cgi?id=72937
194 Reviewed by Yury Semikhatsky.
196 * WebCoreSupport/InspectorClientQt.cpp:
197 (WebCore::InspectorClientQt::bringFrontendToFront):
198 * WebCoreSupport/InspectorClientQt.h:
200 2011-10-17 Antonio Gomes <agomes@rim.com>
202 Pass a Frame* parameter in EditorClient::respondToChangedSelection
203 https://bugs.webkit.org/show_bug.cgi?id=70248
205 Reviewed by Ryosuke Niwa.
207 * WebCoreSupport/EditorClientQt.cpp: Make use of the newly added Frame* parameter.
208 (WebCore::EditorClientQt::respondToChangedSelection):
209 * WebCoreSupport/EditorClientQt.h:
211 2011-11-18 Yuta Kitamura <yutak@chromium.org>
213 [Qt] Enable WebSocket hybi tests
214 https://bugs.webkit.org/show_bug.cgi?id=72687
216 Reviewed by Simon Hausmann.
218 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
219 (DumpRenderTreeSupportQt::defaultHixie76WebSocketProtocolEnabled):
220 (DumpRenderTreeSupportQt::setHixie76WebSocketProtocolEnabled):
221 Call WebCore::Settings::setUseHixie76WebSocketProtocol() to switch WebSocket protocols.
222 * WebCoreSupport/DumpRenderTreeSupportQt.h:
224 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
226 [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
227 https://bugs.webkit.org/show_bug.cgi?id=72597
229 Reviewed by Kenneth Rohde Christiansen.
231 Implemented NetworkingContext::thirdPartyCookiePolicyPermission, which queries
232 the global QWebSettings.
234 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
235 (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows): Adapt to the
236 changed thirdPartyCookiePolicyPermits WebCore API that operates on a networking context.
237 * WebCoreSupport/DumpRenderTreeSupportQt.h:
238 * WebCoreSupport/FrameLoaderClientQt.cpp:
239 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Pass networking
240 context to ResourceRequest::toNetworkRequest.
241 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto.
242 (WebCore::FrameLoaderClientQt::startDownload): Ditto.
243 * WebCoreSupport/FrameNetworkingContextQt.cpp:
244 (WebCore::FrameNetworkingContextQt::thirdPartyCookiePolicyPermission): Implement.
245 * WebCoreSupport/FrameNetworkingContextQt.h:
246 * tests/qwebpage/tst_qwebpage.cpp:
247 (tst_QWebPage::thirdPartyCookiePolicy): Adapt to QtDRTSupport API change.
249 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
251 [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
252 https://bugs.webkit.org/show_bug.cgi?id=72595
254 Reviewed by Noam Rosenthal.
256 Move QWebElement and QtDRTNode JS bindings from WebCore to WebKit/qt.
258 * Api/qwebelement.cpp: Add QWebElement to JSValue and JSValue to QWebElement
259 conversion through intermediate QVariant.
260 (QtWebElementRuntime::create):
261 (QtWebElementRuntime::get):
262 (convertJSValueToWebElementVariant):
263 (convertWebElementVariantToJSValue):
264 (QtWebElementRuntime::initialize): Register conversion functions for QWebElement.
266 * Api/qwebelement_p.h: Added.
268 (QWebPagePrivate::QWebPagePrivate): Initialize QWebElement conversion functions for
270 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Add QtDRTNode to JSValue and JSValue to
271 QtDRTNode conversion through intermediate QVariant.
272 (QtDRTNodeRuntime::create):
273 (QtDRTNodeRuntime::get):
274 (convertJSValueToNodeVariant):
275 (convertNodeVariantToJSValue):
276 (QtDRTNodeRuntime::initialize):
277 (DumpRenderTreeSupportQt::initialize): Register conversion functions for QtDRTNode.
278 * WebCoreSupport/DumpRenderTreeSupportQt.h:
280 2011-11-17 Alexis Menard <alexis.menard@openbossa.org>
282 [Qt] The experimental plugin doesn't work after being renamed.
284 Reviewed by Tor Arne Vestbø.
286 It was renamed from private to experimental but the qmldir file
289 * declarative/experimental/qmldir:
291 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
293 [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
294 https://bugs.webkit.org/show_bug.cgi?id=72596
296 Reviewed by Kenneth Rohde Christiansen.
298 * Api/qwebsettings.cpp:
299 (QWebSettingsPrivate::apply): Propagate the DNS prefetch setting to WebCore::Settings.
301 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
303 [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
304 https://bugs.webkit.org/show_bug.cgi?id=72594
306 Reviewed by Kenneth Rohde Christiansen.
308 Move resource pixmap cache into ImageQt.cpp.
310 * Api/qwebsettings.cpp:
311 (resourceNameForWebGraphic): Helper function to translate between public API enums and
313 (QWebSettings::setWebGraphic): Call the new ImageQt::setPlatformResource setter.
314 (QWebSettings::webGraphic): Call Image::loadPlatformResource to read from the cache
317 2011-11-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
319 [Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that
321 A new extension object has been added to QQuickWebView (the same approach should be used
322 for other API classes that need experimental APIs). The QML extension mechanism is then
323 built on top of the experimental object.
325 https://bugs.webkit.org/show_bug.cgi?id=72522
327 Reviewed by Simon Hausmann.
329 * declarative/declarative.pro:
330 * declarative/experimental/experimental.pri: Renamed from Source/WebKit/qt/declarative/private/private.pro.
331 * declarative/experimental/plugin.cpp: Renamed from Source/WebKit/qt/declarative/private/plugin.cpp.
332 (QQuickWebViewExperimentalExtension::QQuickWebViewExperimentalExtension):
333 (QQuickWebViewExperimentalExtension::experimental):
334 * declarative/experimental/qmldir: Renamed from Source/WebKit/qt/declarative/private/qmldir.
335 * declarative/plugin.cpp:
336 * declarative/public.pri: Copied from Source/WebKit/qt/declarative/declarative.pro.
338 2011-11-16 Sheriff Bot <webkit.review.bot@gmail.com>
340 Unreviewed, rolling out r100448.
341 http://trac.webkit.org/changeset/100448
342 https://bugs.webkit.org/show_bug.cgi?id=72512
344 It caused a regression breaking LayoutTests/http/tests/loading
345 /text-content-type-with-binary-extension.html (Requested by
348 * WebCoreSupport/FrameLoaderClientQt.cpp:
349 (WebCore::FrameLoaderClientQt::canShowMIMEType):
351 2011-11-16 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
353 [Qt] FrameLoaderClientQt::canShowMIMEType should always return true
354 https://bugs.webkit.org/show_bug.cgi?id=72169
356 Reviewed by Simon Hausmann.
358 Currently FrameLoaderClientQt::canShowMIMEType is called after
359 dispatchDecidePolicyForResponse. If decidePolicyForResponse returns
360 PolicyUse and canShowMIMEType returns false, then we have a bug.
361 Therefore, FrameLoaderClientQt::canShowMIMEType now will always
362 return true, following the implemenation of WebKit2.
364 * WebCoreSupport/FrameLoaderClientQt.cpp:
365 (WebCore::FrameLoaderClientQt::canShowMIMEType):
367 2011-11-15 Huang Dongsung <luxtella@company100.net>
369 [TexMap][Qt] Start PageClientQ[Graphics]Widget::syncTimer only when the syncTimer
371 https://bugs.webkit.org/show_bug.cgi?id=70407
373 Make sure we only activate the synchronization timer in
374 PageClientQWidget/PageClientQGraphicsWidget if it's not already active,
375 otherwise syncLayers may be called redundantly.
377 Reviewed by Noam Rosenthal.
379 * WebCoreSupport/PageClientQt.cpp:
380 (WebCore::PageClientQWidget::markForSync):
381 (WebCore::PageClientQWidget::syncLayers):
382 (WebCore::PageClientQGraphicsWidget::syncLayers):
383 (WebCore::PageClientQGraphicsWidget::markForSync):
384 * WebCoreSupport/PageClientQt.h:
385 (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
387 2011-11-15 Jochen Eisinger <jochen@chromium.org>
389 Rename ReferrerPolicy to clarify its meaning
390 https://bugs.webkit.org/show_bug.cgi?id=72420
392 Reviewed by Nate Chapin.
396 (QWebPage::triggerAction):
398 2011-11-15 Anders Carlsson <andersca@apple.com>
400 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
401 https://bugs.webkit.org/show_bug.cgi?id=72397
403 Reviewed by Dan Bernstein.
405 * WebCoreSupport/ChromeClientQt.cpp:
406 (WebCore::ChromeClientQt::rootViewToScreen):
407 (WebCore::ChromeClientQt::screenToRootView):
408 * WebCoreSupport/ChromeClientQt.h:
410 2011-11-14 Anders Carlsson <andersca@apple.com>
412 HostWindow invalidation functions should use root view coordinates
413 https://bugs.webkit.org/show_bug.cgi?id=72338
415 Reviewed by Dan Bernstein.
417 * WebCoreSupport/ChromeClientQt.cpp:
418 (WebCore::ChromeClientQt::invalidateRootView):
419 (WebCore::ChromeClientQt::invalidateContentsAndRootView):
420 (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
421 * WebCoreSupport/ChromeClientQt.h:
423 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
425 [Qt] Remove the QStyle dependency in Qt's mobile theme
426 https://bugs.webkit.org/show_bug.cgi?id=67773
428 This refactoring splits up RenderThemeQt with two
429 subclasses, a QStyle-backed one, and a Mobile version
430 that uses the old mobile theme for now.
432 QStyle availability is detected at compile time, and
433 its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
434 environment variable.
436 Reviewed by Simon Hausmann.
439 (QWebPage::swallowContextMenuEvent):
442 2011-11-11 Luiz Agostini <luiz.agostini@palm.com>
444 [Qt] Removing unneeded #ifdef from PopupMenuQt.cpp
445 https://bugs.webkit.org/show_bug.cgi?id=72193
447 Reviewed by Noam Rosenthal.
449 Part of PopupMenuQt.cpp code is guarded by #ifndef QT_NO_COMBOBOX although that
450 code is not related to the class QComboBox.
452 * WebCoreSupport/PopupMenuQt.cpp:
453 (WebCore::PopupMenuQt::show):
455 2011-11-11 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
457 [Qt] Skip tests when no network is present
458 https://bugs.webkit.org/show_bug.cgi?id=72031
460 Reviewed by Simon Hausmann.
462 Some benchmark tests requires network connection (they fetch data from
463 external URL's) and so they fail if no network is present. These tests
464 should be skipped instead.
466 * tests/benchmarks/loading/tst_loading.cpp:
467 (tst_Loading::load): Skip test if no network is present.
468 * tests/benchmarks/painting/tst_painting.cpp:
469 (tst_Painting::paint): Skip test if no network is present.
471 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com>
473 Unreviewed, rolling out r99964.
474 http://trac.webkit.org/changeset/99964
475 https://bugs.webkit.org/show_bug.cgi?id=72124
477 Broke too many Qt tests (Requested by tronical_ on #webkit).
480 (QWebPage::swallowContextMenuEvent):
483 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
485 [Qt] Remove the QStyle dependency in Qt's mobile theme
486 https://bugs.webkit.org/show_bug.cgi?id=67773
488 This refactoring splits up RenderThemeQt with two
489 subclasses, a QStyle-backed one, and a Mobile version
490 that uses the old mobile theme for now.
492 QStyle availability is detected at compile time, and
493 its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
494 environment variable.
496 Reviewed by Simon Hausmann.
499 (QWebPage::swallowContextMenuEvent):
502 2011-11-11 Alexis Menard <alexis.menard@openbossa.org>
504 [Qt] Add a way to have experimental features in WebKit2
505 https://bugs.webkit.org/show_bug.cgi?id=67707
507 Reviewed by Kenneth Rohde Christiansen.
509 This patch is adding a new module for accessing private
510 method and property from the view. It requires an import
511 QtWebKit.private in QML to be used.
513 * declarative/private/plugin.cpp: Added.
514 (WebKitQmlPluginPrivate::registerTypes):
515 * declarative/private/private.pro: Added.
516 * declarative/private/qmldir: Added.
518 2011-11-11 Simon Hausmann <simon.hausmann@nokia.com>
520 [Qt][WK2] Remove QWebNavigationController
521 https://bugs.webkit.org/show_bug.cgi?id=72113
523 Reviewed by Andreas Kling.
525 * declarative/plugin.cpp:
526 (WebKitQmlPlugin::registerTypes): Don't register QWebNavigationController with qml.
528 2011-11-03 Luiz Agostini <luiz.agostini@palm.com>
530 [Qt] Adding methods setGeometry and setFont to QWebSelectMethod class.
531 https://bugs.webkit.org/show_bug.cgi?id=71530
533 Reviewed by Simon Hausmann.
535 Adding methods setGeometry and setFont so that users of platform plugin may show the
536 popup menus in proper position and using proper font.
538 * Api/qwebkitplatformplugin.h:
539 * WebCoreSupport/PopupMenuQt.cpp:
540 (WebCore::PopupMenuQt::show):
541 * examples/platformplugin/WebPlugin.h:
542 (WebPopup::setGeometry):
544 * examples/platformplugin/qwebkitplatformplugin.h:
546 2011-11-10 Alexis Menard <alexis.menard@openbossa.org>
548 [Qt] Merge QTouchWebView and QDesktopWebView into one class
549 https://bugs.webkit.org/show_bug.cgi?id=71355
551 Reviewed by Kenneth Rohde Christiansen.
553 Register only QQuickWebView and QQuickWebPage in the plugin.
555 * declarative/plugin.cpp:
556 (WebKitQmlPlugin::registerTypes):
558 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
560 [Qt] Enable exports and constructor functions in static libs
562 Reviewed by Tor Arne Vestbø.
565 (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
568 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
570 Unreviewed, rolling out r99701.
571 http://trac.webkit.org/changeset/99701
577 (QWebPagePrivate::QWebPagePrivate):
579 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
581 [Qt] Enable exports and constructor functions in static libs
583 Reviewed by Tor Arne Vestbø.
586 (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
589 2011-11-09 Deepak Sherveghar <bpwv64@motorola.com>
591 [Qt] 4 Layout test fail due to network error constant values clash with WebkitError enum values in FrameloaderclientQt
592 https://bugs.webkit.org/show_bug.cgi?id=71554
594 Reviewed by Simon Hausmann.
596 We should check the error domain when checking the error code in shouldFallBack()
598 * WebCoreSupport/FrameLoaderClientQt.cpp:
599 (WebCore::FrameLoaderClientQt::shouldFallBack): added error domain check
601 2011-11-08 Simon Hausmann <simon.hausmann@nokia.com>
603 [Qt] Replace use of QApplication with QGuiApplication
604 https://bugs.webkit.org/show_bug.cgi?id=71794
606 Reviewed by Andreas Kling.
608 * WebCoreSupport/QtWebComboBox.cpp:
609 (WebCore::QtWebComboBox::showPopupAtCursorPosition): Replace use of QApplication
610 with QCoreApplication.
612 2011-11-07 Adam Barth <abarth@webkit.org>
614 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
615 https://bugs.webkit.org/show_bug.cgi?id=71755
617 Reviewed by Eric Seidel.
620 (QWebPagePrivate::QWebPagePrivate):
621 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
622 (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
623 (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin):
624 (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
626 2011-11-08 Luiz Agostini <luiz.agostini@palm.com>
628 [Qt] Removing qwebkitglobal.h inclusion from qwebkitplatformplugin.h
629 https://bugs.webkit.org/show_bug.cgi?id=71759
631 Reviewed by Simon Hausmann.
633 qwebkitplatformplugin.h must not depend on qwebkitglobal.h.
635 * Api/qwebkitplatformplugin.h:
637 Updating the copy of qwebkitplatformplugin.h that is used by the example plugin. The previous
638 one was very outdated.
640 * examples/platformplugin/qwebkitplatformplugin.h:
642 2011-11-07 Adam Barth <abarth@webkit.org>
644 Move DomainRelaxationForbidden scheme registry to SchemeRegistry
645 https://bugs.webkit.org/show_bug.cgi?id=71750
647 Reviewed by Eric Seidel.
649 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
650 (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
652 2011-11-07 Michael Saboff <msaboff@apple.com>
654 Towards 8 Bit Strings: Templatize JSC::Lexer class by character type
655 https://bugs.webkit.org/show_bug.cgi?id=71331
657 Changed Identifier() constructor to use JSGlobalData*.
659 Reviewed by Darin Adler.
662 (QWebFrame::addToJavaScriptWindowObject):
664 2011-11-07 Simon Hausmann <simon.hausmann@nokia.com>
666 [Qt] Fix failing inspector tests after build system changes
667 https://bugs.webkit.org/show_bug.cgi?id=71677
669 Reviewed by Tor Arne Vestbø.
671 Ensure symbols from the qt resource system are referenced
672 from outside the static webcore library. One way of doing that is
673 to initialize the resources right away, as explained in the documentation
674 of th Qt resource system.
678 (QWebPagePrivate::QWebPagePrivate):
680 2011-11-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
682 [Qt] Refactor and clean up the qmake build system
684 The qmake build system has accumulated a bit of cruft and redundancy
685 over time. There's also a fairly tight coupling between how to build
686 the various targets, and _what_ to build, making it harder to add new
687 rules or sources. This patch aims to elevate these issues somewhat.
689 This is a short-list of the changes:
691 * The rules for how to build targets are now mostly contained as
692 prf-files in Tools/qmake/mkspecs/features. Using mkspecs also
693 allows us to do pre- and post-processing of each project file,
694 which helps to clean up the actual project files.
696 * Derived sources are no longer generated as a separate make-step
697 but is part of each target's project file as a subdir. Makefile
698 rules are used to ensure that we run make on the derived sources
699 before running qmake on the actual target makefile. This makes
700 it easier to keep a proper dependency between derived sources
703 * We use GNU make and the compiler to generate dependencies on
704 UNIX-based systems running Qt 5. This allows us to lessen the
705 need to run qmake, which should reduce compile time.
707 * WebKit2 is now build by default if building with Qt 5. It can
708 be disabled by passing --no-webkit2 to build-webkit.
710 The result of these changes are hopefully a cleaner and easier
711 build system to modify, and faster build times due to no longer
712 running qmake on every single build. It's also a first step
713 towards possibly generating the list of sources using another
716 https://bugs.webkit.org/show_bug.cgi?id=71222
718 Reviewed by Simon Hausmann.
720 * Api/DerivedSources.pro: Removed.
721 * Api/headers.pri: Removed.
723 (QWebPagePrivate::QWebPagePrivate):
724 * QtWebKit.pro: Removed.
725 * WebCoreSupport/FrameLoaderClientQt.h: Rename due to name clash with WK2 header
726 * WebCoreSupport/PlatformStrategiesQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp.
727 (PlatformStrategiesQt::initialize):
728 (PlatformStrategiesQt::PlatformStrategiesQt):
729 (PlatformStrategiesQt::createCookiesStrategy):
730 (PlatformStrategiesQt::createPluginStrategy):
731 (PlatformStrategiesQt::createLocalizationStrategy):
732 (PlatformStrategiesQt::createVisitedLinkStrategy):
733 (PlatformStrategiesQt::notifyCookiesChanged):
734 (PlatformStrategiesQt::refreshPlugins):
735 (PlatformStrategiesQt::getPluginInfo):
736 (PlatformStrategiesQt::inputElementAltText):
737 (PlatformStrategiesQt::resetButtonDefaultLabel):
738 (PlatformStrategiesQt::searchableIndexIntroduction):
739 (PlatformStrategiesQt::submitButtonDefaultLabel):
740 (PlatformStrategiesQt::fileButtonChooseFileLabel):
741 (PlatformStrategiesQt::fileButtonChooseMultipleFilesLabel):
742 (PlatformStrategiesQt::fileButtonNoFileSelectedLabel):
743 (PlatformStrategiesQt::fileButtonNoFilesSelectedLabel):
744 (PlatformStrategiesQt::defaultDetailsSummaryText):
745 (PlatformStrategiesQt::contextMenuItemTagOpenLinkInNewWindow):
746 (PlatformStrategiesQt::contextMenuItemTagDownloadLinkToDisk):
747 (PlatformStrategiesQt::contextMenuItemTagCopyLinkToClipboard):
748 (PlatformStrategiesQt::contextMenuItemTagOpenImageInNewWindow):
749 (PlatformStrategiesQt::contextMenuItemTagDownloadImageToDisk):
750 (PlatformStrategiesQt::contextMenuItemTagCopyImageToClipboard):
751 (PlatformStrategiesQt::contextMenuItemTagCopyImageUrlToClipboard):
752 (PlatformStrategiesQt::contextMenuItemTagOpenVideoInNewWindow):
753 (PlatformStrategiesQt::contextMenuItemTagOpenAudioInNewWindow):
754 (PlatformStrategiesQt::contextMenuItemTagCopyVideoLinkToClipboard):
755 (PlatformStrategiesQt::contextMenuItemTagCopyAudioLinkToClipboard):
756 (PlatformStrategiesQt::contextMenuItemTagToggleMediaControls):
757 (PlatformStrategiesQt::contextMenuItemTagToggleMediaLoop):
758 (PlatformStrategiesQt::contextMenuItemTagEnterVideoFullscreen):
759 (PlatformStrategiesQt::contextMenuItemTagMediaPlay):
760 (PlatformStrategiesQt::contextMenuItemTagMediaPause):
761 (PlatformStrategiesQt::contextMenuItemTagMediaMute):
762 (PlatformStrategiesQt::contextMenuItemTagOpenFrameInNewWindow):
763 (PlatformStrategiesQt::contextMenuItemTagCopy):
764 (PlatformStrategiesQt::contextMenuItemTagGoBack):
765 (PlatformStrategiesQt::contextMenuItemTagGoForward):
766 (PlatformStrategiesQt::contextMenuItemTagStop):
767 (PlatformStrategiesQt::contextMenuItemTagReload):
768 (PlatformStrategiesQt::contextMenuItemTagCut):
769 (PlatformStrategiesQt::contextMenuItemTagPaste):
770 (PlatformStrategiesQt::contextMenuItemTagSelectAll):
771 (PlatformStrategiesQt::contextMenuItemTagNoGuessesFound):
772 (PlatformStrategiesQt::contextMenuItemTagIgnoreSpelling):
773 (PlatformStrategiesQt::contextMenuItemTagLearnSpelling):
774 (PlatformStrategiesQt::contextMenuItemTagSearchWeb):
775 (PlatformStrategiesQt::contextMenuItemTagLookUpInDictionary):
776 (PlatformStrategiesQt::contextMenuItemTagOpenLink):
777 (PlatformStrategiesQt::contextMenuItemTagIgnoreGrammar):
778 (PlatformStrategiesQt::contextMenuItemTagSpellingMenu):
779 (PlatformStrategiesQt::contextMenuItemTagShowSpellingPanel):
780 (PlatformStrategiesQt::contextMenuItemTagCheckSpelling):
781 (PlatformStrategiesQt::contextMenuItemTagCheckSpellingWhileTyping):
782 (PlatformStrategiesQt::contextMenuItemTagCheckGrammarWithSpelling):
783 (PlatformStrategiesQt::contextMenuItemTagFontMenu):
784 (PlatformStrategiesQt::contextMenuItemTagBold):
785 (PlatformStrategiesQt::contextMenuItemTagItalic):
786 (PlatformStrategiesQt::contextMenuItemTagUnderline):
787 (PlatformStrategiesQt::contextMenuItemTagOutline):
788 (PlatformStrategiesQt::contextMenuItemTagWritingDirectionMenu):
789 (PlatformStrategiesQt::contextMenuItemTagTextDirectionMenu):
790 (PlatformStrategiesQt::contextMenuItemTagDefaultDirection):
791 (PlatformStrategiesQt::contextMenuItemTagLeftToRight):
792 (PlatformStrategiesQt::contextMenuItemTagRightToLeft):
793 (PlatformStrategiesQt::contextMenuItemTagInspectElement):
794 (PlatformStrategiesQt::searchMenuNoRecentSearchesText):
795 (PlatformStrategiesQt::searchMenuRecentSearchesText):
796 (PlatformStrategiesQt::searchMenuClearRecentSearchesText):
797 (PlatformStrategiesQt::AXWebAreaText):
798 (PlatformStrategiesQt::AXLinkText):
799 (PlatformStrategiesQt::AXListMarkerText):
800 (PlatformStrategiesQt::AXImageMapText):
801 (PlatformStrategiesQt::AXHeadingText):
802 (PlatformStrategiesQt::AXDefinitionListTermText):
803 (PlatformStrategiesQt::AXDefinitionListDefinitionText):
804 (PlatformStrategiesQt::AXButtonActionVerb):
805 (PlatformStrategiesQt::AXRadioButtonActionVerb):
806 (PlatformStrategiesQt::AXTextFieldActionVerb):
807 (PlatformStrategiesQt::AXCheckedCheckBoxActionVerb):
808 (PlatformStrategiesQt::AXUncheckedCheckBoxActionVerb):
809 (PlatformStrategiesQt::AXMenuListActionVerb):
810 (PlatformStrategiesQt::AXMenuListPopupActionVerb):
811 (PlatformStrategiesQt::AXLinkActionVerb):
812 (PlatformStrategiesQt::missingPluginText):
813 (PlatformStrategiesQt::crashedPluginText):
814 (PlatformStrategiesQt::multipleFileUploadText):
815 (PlatformStrategiesQt::unknownFileSizeText):
816 (PlatformStrategiesQt::imageTitle):
817 (PlatformStrategiesQt::mediaElementLoadingStateText):
818 (PlatformStrategiesQt::mediaElementLiveBroadcastStateText):
819 (PlatformStrategiesQt::localizedMediaControlElementString):
820 (PlatformStrategiesQt::localizedMediaControlElementHelpText):
821 (PlatformStrategiesQt::localizedMediaTimeDescription):
822 (PlatformStrategiesQt::validationMessageValueMissingText):
823 (PlatformStrategiesQt::validationMessageTypeMismatchText):
824 (PlatformStrategiesQt::validationMessagePatternMismatchText):
825 (PlatformStrategiesQt::validationMessageTooLongText):
826 (PlatformStrategiesQt::validationMessageRangeUnderflowText):
827 (PlatformStrategiesQt::validationMessageRangeOverflowText):
828 (PlatformStrategiesQt::validationMessageStepMismatchText):
829 (PlatformStrategiesQt::isLinkVisited):
830 (PlatformStrategiesQt::addVisitedLink):
831 * WebCoreSupport/PlatformStrategiesQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.h.
832 * declarative/declarative.pro:
834 * docs/webkitsnippets/webelement/webelement.pro:
835 * tests/MIMESniffing/MIMESniffing.pro:
836 * tests/benchmarks/loading/loading.pro:
837 * tests/benchmarks/painting/painting.pro:
838 * tests/benchmarks/webgl/webgl.pro:
839 * tests/hybridPixmap/hybridPixmap.pro:
840 * tests/qdeclarativewebview/qdeclarativewebview.pro:
841 * tests/qgraphicswebview/qgraphicswebview.pro:
842 * tests/qwebelement/qwebelement.pro:
843 * tests/qwebframe/qwebframe.pro:
844 * tests/qwebhistory/qwebhistory.pro:
845 * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
846 * tests/qwebinspector/qwebinspector.pro:
847 * tests/qwebpage/qwebpage.pro:
848 * tests/qwebplugindatabase/qwebplugindatabase.pro:
849 * tests/qwebview/qwebview.pro:
851 * tests/tests.pro: Removed.
853 2011-11-03 Rafael Brandao <rafael.lobo@openbossa.org>
855 Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
856 https://bugs.webkit.org/show_bug.cgi?id=61042
858 Reviewed by Simon Hausmann.
860 At some points we didn't have any guarantee that a favicon has been loaded, so now
861 it stops to wait for the IconChanged signal. It also had some file paths in wrong format,
862 making some files to not be resolved and comparing meaningless bitmaps.
864 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
865 (tst_QDeclarativeWebView::initTestCase):
866 (tst_QDeclarativeWebView::basicProperties):
867 (tst_QDeclarativeWebView::historyNav):
869 2011-11-03 Simon Hausmann <simon.hausmann@nokia.com>
871 [Qt] Remove Maemo specific code paths
872 https://bugs.webkit.org/show_bug.cgi?id=71476
874 Reviewed by Kenneth Rohde Christiansen.
877 (QWebPage::userAgentForUrl):
879 (QWebView::QWebView):
881 * WebCoreSupport/ChromeClientQt.cpp:
882 (WebCore::ChromeClientQt::createSelectPopup):
883 * WebCoreSupport/EditorClientQt.cpp:
884 (WebCore::EditorClientQt::setInputMethodState):
885 * WebCoreSupport/FrameLoaderClientQt.cpp:
886 (WebCore::FrameLoaderClientQt::createPlugin):
887 * WebCoreSupport/QtMaemoWebPopup.cpp: Removed.
888 * WebCoreSupport/QtMaemoWebPopup.h: Removed.
889 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
890 (tst_QGraphicsWebView::focusInputTypes):
891 * tests/qwebframe/tst_qwebframe.cpp:
892 * tests/qwebview/tst_qwebview.cpp:
893 (tst_QWebView::focusInputTypes):
895 2011-11-03 Jesus Sanchez-Palencia <jesus@webkit.org>
897 Reviewed by Kenneth Rohde Christiansen.
899 [Qt] QtWebKit should have documentation clarifying its mobile features usage
900 https://bugs.webkit.org/show_bug.cgi?id=41465
902 Add "QtWebKit Goes Mobile" documentation
904 * docs/qtwebkit-goes-mobile.qdoc: Added.
905 * docs/qtwebkit.qdoc: Linked to qtwebkit-goes-mobile documentation
906 * docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Added.
908 2011-11-03 Fady Samuel <fsamuel@chromium.org>
910 Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
911 https://bugs.webkit.org/show_bug.cgi?id=70609
913 Reviewed by Kenneth Rohde Christiansen.
916 (QWebPage::viewportAttributesForSize):
917 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
918 (DumpRenderTreeSupportQt::viewportAsText):
920 2011-11-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
922 [Qt][WK2] Download support and API in UIProcess
923 https://bugs.webkit.org/show_bug.cgi?id=68962
925 Reviewed by Simon Hausmann.
927 Registering new qml type QWebDownloadItem.
929 * declarative/plugin.cpp:
930 (WebKitQmlPlugin::registerTypes):
932 2011-11-02 Jon Lee <jonlee@apple.com>
934 Expand DragController to provide more information about the dragging session
935 https://bugs.webkit.org/show_bug.cgi?id=71324
936 <rdar://problem/10379175>
938 Reviewed by Darin Adler.
941 (QWebPagePrivate::dragEnterEvent): Minor refactoring because operation is stored in
942 new DragSession struct.
943 (QWebPagePrivate::dragMoveEvent): Ditto.
945 2011-11-02 Tom Sepez <tsepez@chromium.org>
948 https://bugs.webkit.org/show_bug.cgi?id=70973
950 Reviewed by Adam Barth.
952 * WebCoreSupport/FrameLoaderClientQt.cpp:
953 (WebCore::FrameLoaderClientQt::didDetectXSS):
954 * WebCoreSupport/FrameLoaderClientQt.h:
956 2011-11-02 Jon Lee <jonlee@apple.com>
958 <input=file multiple> default text uses singular instead of plural
959 https://bugs.webkit.org/show_bug.cgi?id=71319
960 <rdar://problem/10379021>
962 Reviewed by Darin Adler.
964 * WebCoreSupport/WebPlatformStrategies.cpp:
965 (WebPlatformStrategies::fileButtonNoFilesSelectedLabel):
966 * WebCoreSupport/WebPlatformStrategies.h:
968 2011-11-02 Deepak Sherveghar <bpwv64@motorola.com>
970 [Qt] Failing test media/video-document-types.html
971 https://bugs.webkit.org/show_bug.cgi?id=62108
973 Reviewed by Simon Hausmann.
975 Match what Mac has been doing since r36001: cancel the main load,
976 and handle failures caused by 'will be handled by plugin' errors.
978 * WebCoreSupport/FrameLoaderClientQt.cpp:
979 (WebCore::FrameLoaderClientQt::committedLoad):
980 (WebCore::FrameLoaderClientQt::shouldFallBack):
982 2011-11-01 Simon Hausmann <simon.hausmann@nokia.com>
984 [Qt][WK2] Fix build of WebKitTestRunner with ELF symbol visibility
985 https://bugs.webkit.org/show_bug.cgi?id=71299
987 Reviewed by Andreas Kling.
989 Export an overload of QtDRT::injectInternalsObjects that is used by
990 the WK2 injected bundle.
992 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
993 (DumpRenderTreeSupportQt::injectInternalsObject):
994 * WebCoreSupport/DumpRenderTreeSupportQt.h:
996 2011-11-01 Alexis Menard <alexis.menard@openbossa.org>
998 Unreviewed Qt documentation fix.
1000 This signal is Qt 4.8 material.
1004 2011-10-31 Mark Hahnenberg <mhahnenberg@apple.com>
1006 De-virtualize JSObject::defineGetter
1007 https://bugs.webkit.org/show_bug.cgi?id=71134
1009 Reviewed by Darin Adler.
1011 Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter
1012 with static versions. Replaced all call sites with lookups in the MethodTable.
1014 * Api/qwebframe.cpp:
1015 (QWebFramePrivate::addQtSenderToGlobalObject):
1017 2011-10-28 Jochen Eisinger <jochen@chromium.org>
1019 Rename a number of methods mentioning JavaScript to just Script instead
1020 https://bugs.webkit.org/show_bug.cgi?id=71105
1022 Reviewed by Adam Barth.
1024 * Api/qwebsettings.cpp:
1025 (QWebSettingsPrivate::apply):
1027 2011-10-28 Simon Hausmann <simon.hausmann@nokia.com>
1029 [Qt] Adapt to QSG* to QQuick* API change in qtdeclarative
1030 https://bugs.webkit.org/show_bug.cgi?id=70494
1032 Reviewed by Kenneth Christiansen.
1034 Use QQuick* instead of QSG* as well as QStandardPaths
1035 instead of QDesktopLocation.
1037 * Api/qwebsettings.cpp:
1038 (QWebSettings::enablePersistentStorage):
1040 2011-10-27 Helder Correia <helder.correia@palm.com>
1042 [Qt] Failure to build when QT_NO_MENU defined
1043 https://bugs.webkit.org/show_bug.cgi?id=70970
1045 Reviewed by Andreas Kling.
1047 iterateContextMenu() must be wrapped around #ifndef QT_NO_MENU.
1049 Build fix, no new tests.
1051 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1053 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
1055 Name viewport change event consistently.
1056 https://bugs.webkit.org/show_bug.cgi?id=70901
1058 Reviewed by Kenneth Rohde Christiansen.
1060 Use ViewportPropertiesDidChange term consistently throughout WebKit.
1062 * WebCoreSupport/ChromeClientQt.cpp:
1063 (WebCore::ChromeClientQt::dispatchViewportPropertiesDidChange):
1064 * WebCoreSupport/ChromeClientQt.h:
1066 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com>
1069 https://bugs.webkit.org/show_bug.cgi?id=70740
1071 Reviewed by Geoffrey Garen.
1073 Removed all declarations and definitions of putVirtual.
1074 Also replaced all call sites to putVirtual with a
1075 corresponding lookup in the MethodTable.
1077 * Api/qwebframe.cpp:
1078 (QWebFrame::addToJavaScriptWindowObject):
1080 2011-10-24 Deepak Sherveghar <bpwv64@motorola.com>
1082 [Qt] fast/events/media-focus-in-standalone-media-document.html fails
1083 https://bugs.webkit.org/show_bug.cgi?id=70110
1085 Reviewed by Simon Hausmann.
1087 We should check for supported media mime types as well in the MIMETypeRegistry.
1089 * WebCoreSupport/FrameLoaderClientQt.cpp:
1090 (WebCore::FrameLoaderClientQt::canShowMIMEType): check for supported media mime type.
1092 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
1094 [Qt] Remote debugging needs QWebInspector to work
1095 https://bugs.webkit.org/show_bug.cgi?id=70651
1097 Reviewed by Kenneth Rohde Christiansen.
1099 Removing QWebInspector dependency from remote inspector.
1101 * Api/qwebinspector.cpp:
1102 * Api/qwebinspector_p.h:
1103 (QWebInspectorPrivate::QWebInspectorPrivate):
1104 * WebCoreSupport/InspectorClientQt.cpp:
1105 (WebCore::InspectorClientQt::InspectorClientQt):
1106 (WebCore::InspectorClientQt::openInspectorFrontend):
1107 (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
1108 (WebCore::InspectorClientQt::detachRemoteFrontend):
1109 (WebCore::InspectorClientQt::sendMessageToFrontend):
1110 * WebCoreSupport/InspectorClientQt.h:
1111 * WebCoreSupport/InspectorServerQt.cpp:
1112 (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
1113 * WebCoreSupport/InspectorServerQt.h:
1115 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
1117 [Qt] Wrong type conversion in InspectorServerQt.cpp
1118 https://bugs.webkit.org/show_bug.cgi?id=70639
1120 Reviewed by Noam Rosenthal.
1122 Wrong type conversion causes WebSocket handshake failures for the remote inspector.
1124 * WebCoreSupport/InspectorServerQt.cpp:
1125 (WebCore::parseWebSocketChallengeNumber):
1127 2011-10-21 Zeno Albisser <zeno.albisser@nokia.com>
1129 [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
1130 https://bugs.webkit.org/show_bug.cgi?id=70596
1132 Instead of only relying on DARWIN_MAJOR_VERSION we also
1133 check QMAKE_MAC_SDK. In case QMAKE_MAC_SDK is not defined
1134 we are still falling back to DARWIN_MAJOR_VERSION.
1136 Patch by Andy Shaw <andy.shaw@digia.com>
1138 Reviewed by Noam Rosenthal.
1142 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
1148 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
1150 [Qt][WK2] Buildfix for newer Qt5. Remove duplicated defines.
1152 Reviewed by Simon Hausmann.
1156 2011-10-21 Sheriff Bot <webkit.review.bot@gmail.com>
1158 Unreviewed, rolling out r98085.
1159 http://trac.webkit.org/changeset/98085
1160 https://bugs.webkit.org/show_bug.cgi?id=70589
1162 It broke the build (Requested by Ossy on #webkit).
1166 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
1168 [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
1173 2011-10-20 Carol Szabo <carol@webkit.org>
1175 Tiled Backing Store does not regenerate tiles when it should
1176 https://bugs.webkit.org/show_bug.cgi?id=57798
1178 Reviewed by Darin Adler.
1180 Provided test for this bug. Changed the name of the resource I added
1181 for a previous test so that the name is descriptive such that it can
1182 be shared across several tests.
1184 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1185 (tst_QGraphicsWebView::bug57798):
1186 (tst_QGraphicsWebView::bug56929):
1187 * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
1189 2011-10-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1191 [Qt] Merge QML plugin for WebKit2 with the original WebKit1 plugin
1193 We don't need a separate plugin, as we no longer expose the WK2
1194 APIs under QtWebKit.experimental, but now use QtWebKit. The version
1195 was also changed to 3.0 instead of 5.0, as the original plugin was
1196 versioned 1.0, and bumping to 3.0 fits the scheme used by QtWebKit releases.
1198 Reviewed by Andreas Kling.
1200 * declarative/declarative.pro:
1201 * declarative/plugin.cpp:
1202 (WebKitQmlPlugin::registerTypes):
1204 2011-10-15 Adam Barth <abarth@webkit.org>
1206 Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
1207 https://bugs.webkit.org/show_bug.cgi?id=70194
1209 Reviewed by Daniel Bates.
1211 * Api/qgraphicswebview.cpp:
1212 (QGraphicsWebViewPrivate::_q_scaleChanged):
1213 (QGraphicsWebView::QGraphicsWebView):
1214 (QGraphicsWebView::paint):
1215 (QGraphicsWebView::isTiledBackingStoreFrozen):
1216 (QGraphicsWebView::setTiledBackingStoreFrozen):
1217 * Api/qwebframe.cpp:
1218 * Api/qwebframe_p.h:
1220 (QWebPagePrivate::dynamicPropertyChangeEvent):
1221 * Api/qwebsettings.cpp:
1222 (QWebSettingsPrivate::apply):
1223 * WebCoreSupport/ChromeClientQt.cpp:
1224 (WebCore::ChromeClientQt::invalidateWindow):
1225 * WebCoreSupport/ChromeClientQt.h:
1226 * WebCoreSupport/PageClientQt.cpp:
1227 (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
1228 * WebCoreSupport/PageClientQt.h:
1229 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1231 2011-10-15 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1233 [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
1234 https://bugs.webkit.org/show_bug.cgi?id=69920
1236 Reviewed by Kenneth Rohde Christiansen.
1238 * Api/qgraphicswebview.cpp:
1239 (QGraphicsWebView::setPage):
1241 (QWebPage::userAgentForUrl):
1243 (QWebView::QWebView):
1245 * WebCoreSupport/EditorClientQt.cpp:
1246 (WebCore::EditorClientQt::setInputMethodState):
1247 * WebCoreSupport/QtFallbackWebPopup.cpp:
1248 (WebCore::QtFallbackWebPopup::populate):
1249 * declarative/declarative.pro:
1250 * declarative/qdeclarativewebview.cpp:
1251 (QDeclarativeWebView::setPage):
1253 * symbian/backup_registration.xml: Removed.
1254 * symbian/bwins: Removed.
1255 * symbian/bwins/QtWebKitu.def: Removed.
1256 * symbian/eabi: Removed.
1257 * symbian/eabi/QtWebKitu.def: Removed.
1258 * symbian/platformplugin: Removed.
1259 * symbian/platformplugin/HTML5VideoPlugin.cpp: Removed.
1260 * symbian/platformplugin/HTML5VideoPlugin.h: Removed.
1261 * symbian/platformplugin/HTML5VideoWidget.cpp: Removed.
1262 * symbian/platformplugin/HTML5VideoWidget.h: Removed.
1263 * symbian/platformplugin/OverlayWidget.cpp: Removed.
1264 * symbian/platformplugin/OverlayWidget.h: Removed.
1265 * symbian/platformplugin/PlayerButton.cpp: Removed.
1266 * symbian/platformplugin/PlayerButton.h: Removed.
1267 * symbian/platformplugin/PlayerLabel.cpp: Removed.
1268 * symbian/platformplugin/PlayerLabel.h: Removed.
1269 * symbian/platformplugin/WebPlugin.cpp: Removed.
1270 * symbian/platformplugin/WebPlugin.h: Removed.
1271 * symbian/platformplugin/images: Removed.
1272 * symbian/platformplugin/images/button_cannotplay.png: Removed.
1273 * symbian/platformplugin/images/button_close.png: Removed.
1274 * symbian/platformplugin/images/button_pause.png: Removed.
1275 * symbian/platformplugin/images/button_play.png: Removed.
1276 * symbian/platformplugin/images/button_sound_off.png: Removed.
1277 * symbian/platformplugin/images/button_sound_on.png: Removed.
1278 * symbian/platformplugin/images/loading_buffering_1.png: Removed.
1279 * symbian/platformplugin/images/loading_buffering_2.png: Removed.
1280 * symbian/platformplugin/images/loading_buffering_3.png: Removed.
1281 * symbian/platformplugin/images/loading_buffering_4.png: Removed.
1282 * symbian/platformplugin/platformplugin.pro: Removed.
1283 * symbian/platformplugin/platformplugin.qrc: Removed.
1284 * symbian/platformplugin/qss: Removed.
1285 * symbian/platformplugin/qss/OverlayWidget.qss: Removed.
1286 * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
1287 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1288 (tst_QGraphicsWebView::focusInputTypes):
1289 * tests/qwebframe/qwebframe.pro:
1290 * tests/qwebframe/tst_qwebframe.cpp:
1291 * tests/qwebview/tst_qwebview.cpp:
1292 (tst_QWebView::focusInputTypes):
1295 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
1297 Rename virtual put to putVirtual
1298 https://bugs.webkit.org/show_bug.cgi?id=69851
1300 Reviewed by Darin Adler.
1302 Renamed virtual versions of put to putVirtual in prepration for
1303 adding the static put to the MethodTable in ClassInfo since the
1304 compiler gets mad if the virtual and static versions have the same
1307 * Api/qwebframe.cpp:
1308 (QWebFrame::addToJavaScriptWindowObject):
1310 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
1312 Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
1313 https://bugs.webkit.org/show_bug.cgi?id=69964
1315 Reviewed by Enrica Casucci.
1317 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1318 (DumpRenderTreeSupportQt::firstRectForCharacterRange):
1320 2011-10-13 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
1322 [Qt] GeolocationClient cleanups
1323 https://bugs.webkit.org/show_bug.cgi?id=69737
1325 Reviewed by Kenneth Rohde Christiansen.
1327 Qt5 has a location module, so no need to use an external
1328 library like Qt Mobility. This patch will allow the GeolocationClientQt
1329 to compile with both Qt5 and Qt4.
1332 * WebCoreSupport/GeolocationClientQt.cpp:
1333 (WebCore::GeolocationClientQt::positionUpdated):
1334 * WebCoreSupport/GeolocationClientQt.h:
1336 2011-10-11 Simon Fraser <simon.fraser@apple.com>
1338 Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
1339 https://bugs.webkit.org/show_bug.cgi?id=68134
1341 Reviewed by Darin Adler.
1343 Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
1345 Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
1346 that reads the setting, and returns the mock theme if set. All callers now use
1347 theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
1349 * WebCoreSupport/ChromeClientQt.cpp:
1350 (WebCore::ChromeClientQt::windowResizerRect):
1352 2011-10-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1354 [Qt] Remove all references to QTDIR_build and standalone_package
1356 Qt is now modularized, which means we no longer import WebKit into
1357 the Qt source tree. Instead we use git submodules, and building
1358 QtWebKit as "part of Qt" is really building QtWebKit as from trunk.
1360 To decrease the number of buildsystem configurations we also remove
1361 the standalone_package code-path used when we were providing tarballs
1362 with the derived sources pre-generated.
1364 Reviewed by Simon Hausmann.
1366 * Api/DerivedSources.pro:
1368 * declarative/declarative.pro:
1369 * docs/webkitsnippets/webelement/webelement.pro:
1372 2011-10-07 Chang Shu <cshu@webkit.org>
1374 Remove compile time flag ENABLE_PASSWORD_ECHO
1375 https://bugs.webkit.org/show_bug.cgi?id=69647
1377 As we have runtime flag in the page/Settings, we should remove this redundant compile time flag.
1379 Reviewed by Andreas Kling.
1381 * Api/qwebsettings.cpp:
1382 (QWebSettingsPrivate::apply):
1384 2011-10-06 Fady Samuel <fsamuel@chromium.org>
1386 Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
1387 https://bugs.webkit.org/show_bug.cgi?id=69009
1389 Reviewed by Simon Fraser.
1391 * Api/qwebframe.cpp:
1392 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1394 2011-10-06 Simon Hausmann <simon.hausmann@nokia.com>
1396 [Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
1397 https://bugs.webkit.org/show_bug.cgi?id=69520
1399 Reviewed by Csaba Osztrogonác.
1401 * QtWebKit.pro: Convenience, use qt5 scope.
1402 * declarative/declarative.pro: Ditto.
1403 * tests/tests.pri: Ditto.
1405 2011-10-03 Pierre Rossi <pierre.rossi@gmail.com>
1407 [Qt] Build fix: Qt::escape is deprecated in Qt5
1408 https://bugs.webkit.org/show_bug.cgi?id=69162
1410 Use QString::toHtmlEscaped in the Qt5 case.
1412 Reviewed by Andreas.
1415 (QWebPage::javaScriptAlert):
1416 (QWebPage::javaScriptConfirm):
1417 (QWebPage::javaScriptPrompt):
1418 * WebCoreSupport/ChromeClientQt.cpp:
1419 (WebCore::ChromeClientQt::setToolTip):
1421 2011-10-01 Sheriff Bot <webkit.review.bot@gmail.com>
1423 Unreviewed, rolling out r96421.
1424 http://trac.webkit.org/changeset/96421
1425 https://bugs.webkit.org/show_bug.cgi?id=69206
1427 It broke Qt-WK2 build (Requested by ossy on #webkit).
1430 (QWebPage::javaScriptAlert):
1431 (QWebPage::javaScriptConfirm):
1432 (QWebPage::javaScriptPrompt):
1433 * WebCoreSupport/ChromeClientQt.cpp:
1434 (WebCore::ChromeClientQt::setToolTip):
1436 2011-09-30 Pierre Rossi <pierre.rossi@gmail.com>
1438 [Qt] Build fix: Qt::escape is deprecated in Qt5
1439 https://bugs.webkit.org/show_bug.cgi?id=69162
1441 Use QString::toHtmlEscaped in the Qt5 case.
1443 Reviewed by Andreas Kling.
1446 (QWebPage::javaScriptAlert):
1447 (QWebPage::javaScriptConfirm):
1448 (QWebPage::javaScriptPrompt):
1449 * WebCoreSupport/ChromeClientQt.cpp:
1450 (WebCore::ChromeClientQt::setToolTip):
1452 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1454 [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
1456 QWidget and friends now live in the QtWidgets library. We update
1457 includes in implementation files and private headers to us the
1458 non-module-prefixed path, and leave the lookup for the include
1459 path. For public headers we have to ifdef the includes as the
1460 user might now have the modules we need in his QT config.
1462 Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
1463 have to update our code and use windowHandle() for setting the
1464 parent relationships.
1466 https://bugs.webkit.org/show_bug.cgi?id=68687
1468 Reviewed by Andreas Kling.
1470 * Api/qgraphicswebview.cpp:
1471 * Api/qgraphicswebview.h:
1473 * Api/qwebhistory.h:
1475 * Api/qwebsettings.h:
1478 * WebCoreSupport/PageClientQt.h:
1479 * WebCoreSupport/QtWebComboBox.cpp:
1480 * WebCoreSupport/QtWebComboBox.h:
1481 * declarative/qdeclarativewebview.cpp:
1482 * declarative/qdeclarativewebview_p.h:
1483 * docs/webkitsnippets/webpage/main.cpp:
1484 * examples/platformplugin/WebNotificationPresenter.h:
1486 2011-09-27 Sheriff Bot <webkit.review.bot@gmail.com>
1488 Unreviewed, rolling out r96108, r96111, r96113, and r96116.
1489 http://trac.webkit.org/changeset/96108
1490 http://trac.webkit.org/changeset/96111
1491 http://trac.webkit.org/changeset/96113
1492 http://trac.webkit.org/changeset/96116
1493 https://bugs.webkit.org/show_bug.cgi?id=68913
1495 Wait for working Qt5 (Requested by ossy on #webkit).
1497 * Api/qgraphicswebview.cpp:
1498 * Api/qgraphicswebview.h:
1500 * Api/qwebhistory.h:
1502 * Api/qwebsettings.h:
1505 * WebCoreSupport/PageClientQt.h:
1506 * WebCoreSupport/QtWebComboBox.cpp:
1507 * WebCoreSupport/QtWebComboBox.h:
1508 * declarative/declarative.pro:
1509 * declarative/qdeclarativewebview.cpp:
1510 * declarative/qdeclarativewebview_p.h:
1511 * docs/webkitsnippets/webpage/main.cpp:
1512 * examples/platformplugin/WebNotificationPresenter.h:
1515 2011-09-27 Csaba Osztrogonác <ossy@webkit.org>
1517 [Qt][WK2] Buildfix after r96108.
1519 Rubber-stamped by Andreas Kling.
1523 2011-09-27 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1525 [Qt] Fix build of declarative plugin against Qt5
1527 Reviewed by Andreas Kling.
1529 * declarative/declarative.pro:
1531 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1533 [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
1535 QWidget and friends now live in the QtWidgets library. We update
1536 includes in implementation files and private headers to us the
1537 non-module-prefixed path, and leave the lookup for the include
1538 path. For public headers we have to ifdef the includes as the
1539 user might now have the modules we need in his QT config.
1541 Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
1542 have to update our code and use windowHandle() for setting the
1543 parent relationships.
1545 https://bugs.webkit.org/show_bug.cgi?id=68687
1547 Reviewed by Andreas Kling.
1549 * Api/qgraphicswebview.cpp:
1550 * Api/qgraphicswebview.h:
1552 * Api/qwebhistory.h:
1554 * Api/qwebsettings.h:
1557 * WebCoreSupport/PageClientQt.h:
1558 * WebCoreSupport/QtWebComboBox.cpp:
1559 * WebCoreSupport/QtWebComboBox.h:
1560 * declarative/qdeclarativewebview.cpp:
1561 * declarative/qdeclarativewebview_p.h:
1562 * docs/webkitsnippets/webpage/main.cpp:
1563 * examples/platformplugin/WebNotificationPresenter.h:
1565 2011-09-24 Adam Barth <abarth@webkit.org>
1567 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
1568 https://bugs.webkit.org/show_bug.cgi?id=68767
1570 Reviewed by Eric Seidel.
1572 * Api/qwebsecurityorigin.cpp:
1573 (QWebSecurityOrigin::setApplicationCacheQuota):
1574 * Api/qwebsettings.cpp:
1575 (QWebSettings::setOfflineWebApplicationCachePath):
1576 (QWebSettings::offlineWebApplicationCachePath):
1577 (QWebSettings::setOfflineWebApplicationCacheQuota):
1578 (QWebSettings::offlineWebApplicationCacheQuota):
1579 * WebCoreSupport/ChromeClientQt.cpp:
1580 (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
1581 * WebCoreSupport/ChromeClientQt.h:
1582 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1583 (DumpRenderTreeSupportQt::clearAllApplicationCaches):
1585 2011-09-21 Andras Becsi <andras.becsi@nokia.com>
1587 [Qt] Remove Qt specific code from css/SelectorChecker.cpp
1588 https://bugs.webkit.org/show_bug.cgi?id=67702
1590 Reviewed by Csaba Osztrogonác.
1592 * WebCoreSupport/WebPlatformStrategies.cpp: Check the Qt global history here, instead of a platform independent file.
1593 (WebPlatformStrategies::isLinkVisited):
1594 * WebCoreSupport/WebPlatformStrategies.h:
1596 2011-09-20 Jarred Nicholls <jarred@sencha.com>
1598 [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
1599 https://bugs.webkit.org/show_bug.cgi?id=51159
1601 Permit any URL with a local scheme to set a user style sheet. Allow qrc
1602 resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
1604 New test case makes sure a qrc URL will properly load a user stylesheet.
1606 Reviewed by Kenneth Rohde Christiansen.
1608 (tst_QWebPage::userStyleSheetFromQrcUrl):
1609 * tests/qwebpage/tst_qwebpage.qrc:
1611 2011-09-20 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
1613 [Qt] resizeToContent seems to trigger infinite resize on some pages
1614 https://bugs.webkit.org/show_bug.cgi?id=43852
1616 Reviewed by Kenneth Rohde Christiansen.
1618 Test by Luiz Agostini.
1620 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1621 (ResizeSpy::receiveResize):
1623 (tst_QGraphicsWebView::windowResizeEvent):
1625 2011-09-17 Mihai Parparita <mihaip@chromium.org>
1627 FrameLoaderClient BackForwardList-related methods are unsued
1628 https://bugs.webkit.org/show_bug.cgi?id=68293
1630 Reviewed by Darin Adler.
1632 Remove FrameLoaderClient methods that were added by r51629, since only
1633 the old (since-deleted) Android port needed them.
1635 * WebCoreSupport/FrameLoaderClientQt.cpp:
1636 * WebCoreSupport/FrameLoaderClientQt.h:
1638 2011-09-15 Adam Barth <abarth@webkit.org>
1640 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
1641 https://bugs.webkit.org/show_bug.cgi?id=68205
1643 Reviewed by Eric Seidel.
1645 * Api/qwebdatabase.cpp:
1646 (QWebDatabase::displayName):
1647 (QWebDatabase::expectedSize):
1648 (QWebDatabase::size):
1649 (QWebDatabase::fileName):
1650 (QWebDatabase::removeDatabase):
1651 (QWebDatabase::removeAllDatabases):
1652 * Api/qwebsecurityorigin.cpp:
1653 (QWebSecurityOrigin::databaseUsage):
1654 (QWebSecurityOrigin::databaseQuota):
1655 (QWebSecurityOrigin::setDatabaseQuota):
1656 (QWebSecurityOrigin::allOrigins):
1657 (QWebSecurityOrigin::databases):
1658 * Api/qwebsettings.cpp:
1659 (QWebSettingsPrivate::apply):
1660 (QWebSettings::setOfflineStoragePath):
1661 (QWebSettings::offlineStoragePath):
1662 * WebCoreSupport/ChromeClientQt.cpp:
1663 * WebCoreSupport/ChromeClientQt.h:
1665 2011-09-13 Zeno Albisser <zeno.albisser@nokia.com>
1667 [Qt] Fix state of stop/reload actions in QWebPage
1668 https://bugs.webkit.org/show_bug.cgi?id=65977
1670 FrameLoader does ask its DocumentLoader to stop loading subresources before
1671 setting the state to FrameStateCommittedPage. But it does
1672 not check if the the DocumentLoader actually stopped loading before
1673 it changes the state.
1674 Therefore a subresourceLoader can still be active, when we receive the
1675 call to dispatchDidFinishLoad(). This leads to an inconsistent behavior
1676 of the stop/reload actions in QWebPage.
1677 This changeset fixes the inconsistent state by updating the action states
1678 also when frameLoadCompleted() is called.
1680 Reviewed by Chang Shu.
1682 * WebCoreSupport/FrameLoaderClientQt.cpp:
1683 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1685 2011-09-12 Csaba Osztrogonác <ossy@webkit.org>
1687 [Qt] Fix "Unmatched parentheses are deprecated." warnings
1688 https://bugs.webkit.org/show_bug.cgi?id=67775
1690 Reviewed by Zoltan Herczeg.
1692 Modify function declarations to single line to make qmake happier.
1695 * Api/qwebpluginfactory.h:
1698 2011-09-10 Jarred Nicholls <jarred@sencha.com>
1700 [Qt] QWebSettings::setUserStyleSheetUrl() does not work with windows paths that contain drive letters
1701 https://bugs.webkit.org/show_bug.cgi?id=34884
1703 KURL::path() alone does not handle removing the leading slash from a windows file path.
1704 Using QUrl::toLocalFile() will turn file:///C:/path into C:/path appropriately.
1706 New test case that ensures a user stylesheet from the file system will load correctly
1709 Reviewed by Andreas Kling.
1711 * tests/qwebpage/resources/user.css: Added.
1713 * tests/qwebpage/tst_qwebpage.cpp:
1714 (tst_QWebPage::userStyleSheetFromFile):
1716 2011-09-09 Fady Samuel <fsamuel@chromium.org>
1718 Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
1719 https://bugs.webkit.org/show_bug.cgi?id=67250
1721 Reviewed by Simon Fraser.
1723 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1724 (DumpRenderTreeSupportQt::scalePageBy):
1726 2011-09-09 Zeno Albisser <zeno.albisser@nokia.com>
1728 [Qt] QWebElement::encloseWith doesn't work at all
1729 https://bugs.webkit.org/show_bug.cgi?id=62464
1731 Enclosing an element means wrapping something around an element,
1732 not inserting something into an element. Therefore we need to check
1733 if the parent of the element allows insertion rather than checking
1736 Reviewed by Andreas Kling.
1738 * Api/qwebelement.cpp:
1739 (QWebElement::prependOutside):
1740 (QWebElement::appendOutside):
1741 (QWebElement::encloseWith):
1742 * tests/qwebelement/tst_qwebelement.cpp:
1743 (tst_QWebElement::appendAndPrepend):
1744 (tst_QWebElement::encloseWith):
1746 2011-09-08 Sam Weinig <sam@webkit.org>
1748 Remove the Completion object from JSC, I have never liked it
1749 https://bugs.webkit.org/show_bug.cgi?id=67755
1751 Reviewed by Gavin Barraclough.
1753 * Api/qwebelement.cpp:
1754 (QWebElement::evaluateJavaScript):
1756 2011-09-05 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1758 [Qt][WK2] Make TiledDrawingArea request tiles only in the direction the viewport is panned to.
1759 https://bugs.webkit.org/show_bug.cgi?id=67606
1761 TiledBackingStore previously used different values for horizontal and vertial multiplication
1762 to calculate the cover area.
1763 This patch replaces this mechanism, used to give a bigger panning range to vertical panning,
1764 with the possibility to use the motion vector of the viewport to request tiles ahead instead.
1765 This allows economies on rendering resources as tiles won't be rendered beside the trajectory
1769 (QWebPagePrivate::dynamicPropertyChangeEvent):
1771 2011-09-06 Csaba Osztrogonác <ossy@webkit.org>
1773 Unreviewed buildfix after r94620.
1775 * WebCoreSupport/FrameLoaderClientQt.cpp:
1776 (WebCore::FrameLoaderClientQt::createFrame):
1778 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
1780 [Qt] Move away from QPointer as it is slow and it has a replacement QWeakPointer.
1781 https://bugs.webkit.org/show_bug.cgi?id=67673
1783 Reviewed by Ariya Hidayat.
1785 Move away from QPointer as Qt provides a better and faster solution : QWeakPointer.
1787 * Api/qwebframe.cpp:
1788 (QWebHitTestResult::linkTargetFrame):
1789 (QWebHitTestResult::frame):
1790 * Api/qwebframe_p.h:
1792 (QWebPagePrivate::QWebPagePrivate):
1793 (QWebPagePrivate::~QWebPagePrivate):
1794 (QWebPagePrivate::acceptNavigationRequest):
1795 (QWebPagePrivate::createMainFrame):
1796 (QWebPagePrivate::updateAction):
1797 (QWebPagePrivate::mouseMoveEvent):
1798 (QWebPagePrivate::mousePressEvent):
1799 (QWebPagePrivate::mouseDoubleClickEvent):
1800 (QWebPagePrivate::mouseTripleClickEvent):
1801 (QWebPagePrivate::mouseReleaseEvent):
1802 (QWebPage::createStandardContextMenu):
1803 (QWebPagePrivate::wheelEvent):
1804 (QWebPagePrivate::focusInEvent):
1805 (QWebPage::setPalette):
1806 (QWebPagePrivate::touchEvent):
1807 (QWebPage::~QWebPage):
1808 (QWebPage::mainFrame):
1809 (QWebPage::viewportSize):
1810 (QWebPage::preferredContentsSize):
1811 (QWebPage::setContentEditable):
1812 (QWebPage::updatePositionDependentActions):
1815 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1816 (DumpRenderTreeSupportQt::contextMenu):
1817 * WebCoreSupport/FrameLoaderClientQt.cpp:
1818 (WebCore::FrameLoaderClientQt::createFrame):
1819 * tests/qwebframe/tst_qwebframe.cpp:
1820 (tst_QWebFrame::ownership):
1821 * tests/qwebpage/tst_qwebpage.cpp:
1822 (PluginCounterPage::PluginCounterPage):
1823 (PluginTracerPage::createPlugin):
1824 (tst_QWebPage::createViewlessPlugin):
1825 * tests/qwebview/tst_qwebview.cpp:
1826 (tst_QWebView::reusePage):
1828 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
1830 [Qt] Fix API test failure after r92823 and r93001.
1831 https://bugs.webkit.org/show_bug.cgi?id=67676
1833 Reviewed by Kenneth Rohde Christiansen.
1835 r92823 and r93001 make WebKit no longer produce wrapping style
1836 spans on copy and paste and class="Apple-style-span" anymore.
1837 Our expectations need to be updated.
1839 * tests/qwebpage/tst_qwebpage.cpp:
1840 (tst_QWebPage::cursorMovements):
1841 (tst_QWebPage::textSelection):
1842 (tst_QWebPage::findText):
1844 2011-09-06 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
1846 [Qt][Symbian] REGRESSION[94105] DumpRenderTree.exe doesn't build on Symbian
1847 https://bugs.webkit.org/show_bug.cgi?id=67644
1849 Reviewed by Csaba Osztrogonác.
1851 * symbian/eabi/QtWebKitu.def: add missing entry for
1852 FrameLoaderClientQt::dumpProgressFinishedCallback(bool)
1854 2011-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
1856 Logic from HTMLElement::deprecatedCreateContextualFragment moved into
1857 Range::createContextualFragment function.
1858 https://bugs.webkit.org/show_bug.cgi?id=67056
1860 Reviewed by Ryosuke Niwa.
1862 Code Refactoring for deprecatedCreateContextualFragment.
1864 * Api/qwebelement.cpp:
1865 (QWebElement::appendInside):
1866 (QWebElement::prependInside):
1867 (QWebElement::prependOutside):
1868 (QWebElement::appendOutside):
1869 (QWebElement::encloseContentsWith):
1870 (QWebElement::encloseWith):
1872 2011-09-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1874 REGRESSION (r86268): Fix for qt_networkAccessAllowed()
1875 https://bugs.webkit.org/show_bug.cgi?id=67570
1877 Reviewed by Noam Rosenthal.
1879 Replace the ENABLE(QT_BEARER) guard with
1880 !defined(QT_NO_BEARERMANAGEMENT) which is true by
1881 default in Qt 4.7 or later versions.
1883 * Api/qwebsettings.cpp:
1884 (qt_networkAccessAllowed):
1886 2011-09-02 Jade Han <jade.han@nokia.com>
1888 [Qt][Symbian] REGRESSION(93235) Missing .def update
1889 https://bugs.webkit.org/show_bug.cgi?id=67307
1891 Reviewed by Laszlo Gombos.
1893 * symbian/eabi/QtWebKitu.def:
1895 2011-09-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1897 [Qt] Transform QtFallbackWebPopupCombo into QtWebComboBox
1898 https://bugs.webkit.org/show_bug.cgi?id=67344
1900 Reviewed by Andreas Kling.
1902 Renamed QtFallbackWebPopup to QtWebComboBox and decoupled it from
1903 QtFallbackWebPopup. The new class is a QComboBox with the features that
1904 we need for QtWebKit: tracking when the popup is hidden (via the didHide()
1905 signal) and a convenience method to show its popup in the cursor position.
1907 An important change was made to the combobox: instead of hooking our actions in
1908 showPopup() and hidePopup(), as well as watching for popup visibility events, we
1909 now just watch for the visibility events. This allowed us to get rid of
1910 m_popupVisible and tracking the Show event.
1912 This commit also removed a workaround for input focus added in r40970 after
1913 reviewers request. See bug report for details.
1916 * WebCoreSupport/QtFallbackWebPopup.cpp:
1917 (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
1918 (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
1919 (WebCore::QtFallbackWebPopup::show):
1920 (WebCore::QtFallbackWebPopup::deleteComboBox):
1921 * WebCoreSupport/QtFallbackWebPopup.h:
1922 * WebCoreSupport/QtWebComboBox.cpp: Added.
1923 (WebCore::QtWebComboBox::QtWebComboBox):
1924 (WebCore::QtWebComboBox::showPopupAtCursorPosition):
1925 (WebCore::QtWebComboBox::eventFilter):
1926 * WebCoreSupport/QtWebComboBox.h: Added.
1928 * tests/qwebframe/tst_qwebframe.cpp:
1929 (tst_QWebFrame::popupFocus):
1930 Change the test to use QObject::findChild(). The old method couldn't find our
1931 new class because we defined a new metaclass for it.
1933 2011-08-31 Ryosuke Niwa <rniwa@webkit.org>
1935 Move text() and textWithHardLineBreaks() from RenderTextControl to HTMLTextFormControlElement
1936 https://bugs.webkit.org/show_bug.cgi?id=67320
1938 Reviewed by Darin Adler.
1940 Call HTMLTextFormControlElement::value() instead of RenderText::text()
1943 (QWebPage::inputMethodQuery):
1945 2011-08-31 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1947 [Qt] Unskip API test for load signals order
1948 https://bugs.webkit.org/show_bug.cgi?id=67285
1950 Reviewed by Andreas Kling.
1952 * tests/qwebpage/tst_qwebpage.cpp:
1953 (tst_QWebPage::loadSignalsOrder):
1955 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
1957 Unreviewed, rolling out r94142, r94144, r94145, and r94148.
1958 http://trac.webkit.org/changeset/94142
1959 http://trac.webkit.org/changeset/94144
1960 http://trac.webkit.org/changeset/94145
1961 http://trac.webkit.org/changeset/94148
1962 https://bugs.webkit.org/show_bug.cgi?id=67262
1964 Broke isindex element (Requested by rniwa on #webkit).
1966 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1967 (DumpRenderTreeSupportQt::setAutofilled):
1968 (DumpRenderTreeSupportQt::setValueForUser):
1969 (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
1971 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
1973 Get rid of toInputElement()
1974 https://bugs.webkit.org/show_bug.cgi?id=67175
1976 Reviewed by Darin Adler.
1978 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1979 (DumpRenderTreeSupportQt::setAutofilled):
1980 (DumpRenderTreeSupportQt::setValueForUser):
1981 (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
1983 2011-08-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1985 Emit last progress notification before calling dispatchDidFinishLoad
1986 https://bugs.webkit.org/show_bug.cgi?id=28851
1988 Reviewed by Adam Barth.
1990 Add infrastructure to dump progressFinishedNotification callback in DRT.
1992 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1993 (DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
1994 * WebCoreSupport/DumpRenderTreeSupportQt.h:
1995 * WebCoreSupport/FrameLoaderClientQt.cpp:
1996 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1997 * WebCoreSupport/FrameLoaderClientQt.h:
1999 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
2001 The unused ScrollView* argument can and should be removed from
2003 https://bugs.webkit.org/show_bug.cgi?id=67117
2005 Reviewed by Darin Adler.
2007 * WebCoreSupport/ChromeClientQt.h:
2008 (WebCore::ChromeClientQt::scrollRectIntoView):
2010 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
2012 Unreviewed QtWebKit.pro fix for when building inside Qt
2014 Patch by Simo Fält <simo.falt@nokia.com>
2016 The QtWebKit version was being overwritten by a global Qt version when
2017 QtWebKit was built inside Qt. Fixed by moving the version
2018 definition after the inclusion of qbase.pri.
2022 2011-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
2024 Unreviewed, rolling out r93783.
2025 http://trac.webkit.org/changeset/93783
2026 https://bugs.webkit.org/show_bug.cgi?id=66943
2028 Commited wrong stuff by accident. (Requested by ademar on
2033 (QWebView::setHtml):
2034 (QWebView::setContent):
2038 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
2040 Unreviewed QtWebKit.pro fix for when building inside Qt
2042 Patch by Simo Fält <simo.falt@nokia.com>
2044 The QtWebKit version was being overwritten by a global Qt version when
2045 QtWebKit was built inside Qt. Fixed by moving the version
2046 definition after the inclusion of qbase.pri.
2050 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2052 [Qt] Fix build on Lion
2054 https://bugs.webkit.org/show_bug.cgi?id=66770
2056 Reviewed by Andreas Kling.
2058 We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
2059 the Qt one, and building on Lion revealed this when a typedef for
2060 IOSurfaceRef was wrapped in PLATFORM(MAC).
2062 For now we fix this by including WebCoreSystemInterface using
2063 brackets, so that we'll pick up the right file based on the
2064 include paths. This also means exposing a few missing enums
2065 in our own version of the file, so those were added.
2067 Lasty, we need to link against the right system interface library
2072 2011-08-21 Lindsay Mathieson <lindsay.mathieson@gmail.com>
2074 [Qt] Fixes premature plugin unload bug
2075 https://bugs.webkit.org/show_bug.cgi?id=66628
2077 Reviewed by Benjamin Poulain.
2079 The QtPlatformPlugin was allocated on the stack, so its destructor is unloading the
2080 plugin at the end of the scope. This patch moves the local creation of QtPlatformPlugin
2081 to class member (TextCheckerClientQt::m_platformPlugin), preventing premature unloading
2084 * WebCoreSupport/TextCheckerClientQt.cpp:
2085 (WebCore::TextCheckerClientQt::loadSpellChecker):
2086 * WebCoreSupport/TextCheckerClientQt.h:
2088 2011-08-17 Adam Roben <aroben@apple.com>
2090 Make WebCore keep track of the current device scale factor
2092 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
2095 Reviewed by Darin Adler.
2098 (QWebPagePrivate::QWebPagePrivate): Removed pixelRatio.
2099 (QWebPage::viewportAttributesForSize): Now calls Page::setDeviceScaleFactor.
2101 * Api/qwebpage_p.h: Removed pixelRatio.
2103 * WebCoreSupport/ChromeClientQt.cpp:
2104 * WebCoreSupport/ChromeClientQt.h:
2105 Removed deviceScaleFactor.
2107 2011-08-18 Chang Shu <cshu@webkit.org>
2109 Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
2110 https://bugs.webkit.org/show_bug.cgi?id=66052
2112 Reviewed by Alexey Proskuryakov.
2114 Enable password echo under the build flag.
2116 * Api/qwebsettings.cpp:
2117 (QWebSettingsPrivate::apply):
2119 2011-08-16 Chang Shu <cshu@webkit.org>
2121 Support reset in WebCore::Internals
2122 https://bugs.webkit.org/show_bug.cgi?id=66307
2124 Reviewed by Dimitri Glazkov.
2126 Added framework code in WebKit.
2128 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2129 (DumpRenderTreeSupportQt::resetInternalsObject):
2130 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2132 2011-08-16 Lindsay Mathieson <lindsay.mathieson@gmail.com>
2134 [Qt] Missing spell check support
2135 https://bugs.webkit.org/show_bug.cgi?id=44114
2137 Reviewed by Benjamin Poulain.
2139 Added a platform plugin to allow spell and grammar check in QtWebKit.
2141 * Api/qwebkitplatformplugin.h:
2143 * WebCoreSupport/EditorClientQt.cpp:
2144 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2145 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2146 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2147 (WebCore::EditorClientQt::toggleGrammarChecking):
2148 * WebCoreSupport/EditorClientQt.h:
2149 (WebCore::EditorClientQt::textChecker):
2150 * WebCoreSupport/QtPlatformPlugin.cpp:
2151 (WebCore::QtPlatformPlugin::createSpellChecker):
2152 * WebCoreSupport/QtPlatformPlugin.h:
2153 * WebCoreSupport/TextCheckerClientQt.cpp: Added.
2154 (convertToVectorList):
2155 (WebCore::TextCheckerClientQt::ignoreWordInSpellDocument):
2156 (WebCore::TextCheckerClientQt::learnWord):
2157 (WebCore::TextCheckerClientQt::getAutoCorrectSuggestionForMisspelledWord):
2158 (WebCore::TextCheckerClientQt::checkSpellingOfString):
2159 (WebCore::TextCheckerClientQt::checkGrammarOfString):
2160 (WebCore::TextCheckerClientQt::getGuessesForWord):
2161 (WebCore::TextCheckerClientQt::isContinousSpellCheckingEnabled):
2162 (WebCore::TextCheckerClientQt::toggleContinousSpellChecking):
2163 (WebCore::TextCheckerClientQt::isGrammarCheckingEnabled):
2164 (WebCore::TextCheckerClientQt::toggleGrammarChecking):
2165 (WebCore::TextCheckerClientQt::loadSpellChecker):
2166 * WebCoreSupport/TextCheckerClientQt.h: Added.
2167 (WebCore::TextCheckerClientQt::requestCheckingOfString):
2169 2011-08-15 Dmitry Titov <dimich@chromium.org>
2171 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
2172 https://bugs.webkit.org/show_bug.cgi?id=66165
2174 Reviewed by Darin Fisher.
2176 * WebCoreSupport/FrameLoaderClientQt.cpp:
2177 (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
2178 * WebCoreSupport/FrameLoaderClientQt.h:
2180 2011-08-10 Adam Roben <aroben@apple.com>
2182 Clear up scale factor terminology
2184 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
2185 software is running, and one that is per-Page and can be controlled via API calls. This
2186 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
2187 code use those names. It should introduce no behavior changes.
2189 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
2192 Reviewed by Simon Fraser.
2194 * WebCoreSupport/ChromeClientQt.cpp:
2195 * WebCoreSupport/ChromeClientQt.h:
2197 2011-08-12 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2199 [Qt] Add test for correct order of load signals in QWebPage
2200 https://bugs.webkit.org/show_bug.cgi?id=66016
2202 Reviewed by Benjamin Poulain.
2204 Add API test to ensure the order of load signals: loadStarted() needs to be emitted
2205 first, then loadProgress(100), followed by loadFinished().
2207 The test is skipped since this right now is broken, the bug
2208 https://bugs.webkit.org/show_bug.cgi?id=28851 tracks one possible way to fix.
2210 * tests/qwebpage/tst_qwebpage.cpp:
2211 (SpyForLoadSignalsOrder::SpyForLoadSignalsOrder):
2212 (SpyForLoadSignalsOrder::isFinished):
2213 (SpyForLoadSignalsOrder::onLoadProgress):
2214 (tst_QWebPage::loadSignalsOrder_data):
2215 (tst_QWebPage::loadSignalsOrder):
2217 2011-08-12 Alexis Menard <alexis.menard@openbossa.org>
2219 [Qt] Make sure QtWebKit correctly compiles when building WebKit2 with Qt5.
2221 In order to build correctly the QtQuick1 plugin we need to explicitly
2222 link to the new library added in Qt5 "qtquick1".
2224 Reviewed by Simon Hausmann.
2226 * declarative/declarative.pro:
2228 2011-08-11 Andrew Wason <rectalogic@rectalogic.com>
2230 REGRESSION: Qt JavaScript bridge signal connection fails
2231 https://bugs.webkit.org/show_bug.cgi?id=66097
2233 Reviewed by Gavin Barraclough.
2235 Unmark tests as expected failures, they pass now.
2237 * tests/qwebframe/tst_qwebframe.cpp:
2238 (tst_QWebFrame::connectAndDisconnect):
2240 2011-08-09 Sheriff Bot <webkit.review.bot@gmail.com>
2242 Unreviewed, rolling out r92683.
2243 http://trac.webkit.org/changeset/92683
2244 https://bugs.webkit.org/show_bug.cgi?id=65921
2246 "Breaks Qt --minimal build. Revert pending update of the Qt
2247 minimal configuration" (Requested by simathur on #webkit).
2249 * Api/qwebsettings.cpp:
2250 (QWebSettings::enablePersistentStorage):
2252 2011-08-09 Siddharth Mathur <siddharth.mathur@nokia.com>
2254 [Qt] Simplify code by removing QT_NO_DESKTOPSERVICES and QT_NO_NETWORKDISKCACHE
2255 https://bugs.webkit.org/show_bug.cgi?id=65880
2257 Reviewed by Andreas Kling.
2259 QDesktopServices and QNetworkDiskCache have been around for a while now. Kill flags which
2260 check for their feature flags. Assume that any reasonable Qt build provides them.
2262 * Api/qwebsettings.cpp:
2263 (QWebSettings::enablePersistentStorage):
2265 2011-08-05 Dawit Alemayehu <adawit@kde.org>
2267 Reviewed by Andreas Kling.
2269 Reverted commit r87797, http://trac.webkit.org/changeset/87797, because it
2270 causes the regression reported under bug# 63582.
2272 [Qt] REGRESSION(r87797): Broke KDEWebKit's custom QNAM.
2273 https://bugs.webkit.org/show_bug.cgi?id=63582
2275 * WebCoreSupport/FrameLoaderClientQt.cpp:
2276 (WebCore::FrameLoaderClientQt::setFrame):
2278 2011-08-03 Pavel Feldman <pfeldman@google.com>
2280 Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
2281 https://bugs.webkit.org/show_bug.cgi?id=65510
2283 Reviewed by Yury Semikhatsky.
2285 * Api/qwebframe.cpp:
2286 (QWebFramePrivate::renderRelativeCoords):
2288 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
2290 Web Inspector: remove Node parameter from the InspectorClient::highlight
2291 https://bugs.webkit.org/show_bug.cgi?id=65549
2293 Reviewed by Yury Semikhatsky.
2295 * WebCoreSupport/InspectorClientQt.cpp:
2296 (WebCore::InspectorClientQt::highlight):
2297 * WebCoreSupport/InspectorClientQt.h:
2299 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2301 [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
2302 https://bugs.webkit.org/show_bug.cgi?id=61042
2303 Remove mark as expected fail where unexpected pass and mark failing test case as expected fail
2305 Reviewed by Csaba Osztrogonác.
2307 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
2308 (tst_QDeclarativeWebView::basicProperties):
2309 (tst_QDeclarativeWebView::historyNav):
2311 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2313 [Qt] Fix tst_QWebPage::viewModes() API test
2314 https://bugs.webkit.org/show_bug.cgi?id=65531
2316 Reviewed by Csaba Osztrogonác.
2318 * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
2319 (tst_QWebPage::viewModes):
2321 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2323 [Qt] Fix tst_QWebFrame::connectAndDisconnect() API test
2324 https://bugs.webkit.org/show_bug.cgi?id=65170
2326 Reviewed by Csaba Osztrogonác.
2328 * tests/qwebframe/tst_qwebframe.cpp: Mark failing test case as expected fail
2329 (tst_QWebFrame::connectAndDisconnect):
2331 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2333 [Qt] Fix tst_QWebElement::render() API test
2334 https://bugs.webkit.org/show_bug.cgi?id=65243
2336 Reviewed by Csaba Osztrogonác.
2338 * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
2339 (tst_QWebElement::render):
2341 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2343 [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
2344 https://bugs.webkit.org/show_bug.cgi?id=65244
2346 Reviewed by Csaba Osztrogonác.
2348 * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
2349 (tst_QWebElement::style):
2351 2011-08-01 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
2353 [Qt] Fix tst_QWebPage::loadHtml5Video() API test
2354 https://bugs.webkit.org/show_bug.cgi?id=65452
2356 Reviewed by Csaba Osztrogonác.
2358 * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
2359 (tst_QWebPage::loadHtml5Video):
2361 2011-07-30 Patrick Gansterer <paroga@webkit.org>
2363 Remove inclusion of MainThread.h from Threading.h
2364 https://bugs.webkit.org/show_bug.cgi?id=65081
2366 Reviewed by Darin Adler.
2368 Add missing include statements for MainThread.
2372 2011-07-27 Benjamin Poulain <benjamin@webkit.org>
2374 [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
2375 https://bugs.webkit.org/show_bug.cgi?id=62969
2377 Reviewed by Andreas Kling.
2379 Co-authored with Simon Hausmann <simon.hausmann@nokia.com>
2381 Add the declarative dependency to link WebKit.
2385 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2387 [Qt] QtWebkit never finishes loading sites when they are loaded after an initial QUrl fails to load.
2388 https://bugs.webkit.org/show_bug.cgi?id=61328
2390 Reviewed by Andreas Kling.
2392 Change the hooks in FrameLoaderClient we use for emitting signals. Instead of
2393 emitting signals in the progress notification functions, we use the
2394 dispatchDid{Start,Finish,Fail}* functions. The main reason behind this change is
2395 that loading code is prepared to handle load() when inside those functions.
2397 The crash was being caused by setUrl() (and load()) being called when
2398 loadFinished(false) was emitted. The problem here is that when
2399 postProgressFinishedNotification the FrameLoader wasn't ready for taking a load()
2400 call again, because it was still the ProvisionalLoadState but with the
2401 provisionalDocumentLoader already removed.
2403 To emulate the same behavior that QtWebKit had when using
2404 postProgressFinishedNotification, we now keep track of the frame originating the
2405 load, and emit the signals when this frame's client is called.
2407 The patch keeps the existing semantics for QWebPage signals, but we now emit the
2408 QWebFrame signals everytime, not only when they are the originating frame for
2411 * Api/qwebframe.cpp:
2412 (clearCoreFrame): Document our assumption that activeDocumentLoader will exist.
2414 * WebCoreSupport/FrameLoaderClientQt.h: Remove m_loadError, add a boolean to keep
2415 track whether the frame is originating the load. Remove the signals from
2416 FrameLoaderClientQt since we will emit QWebFrame and QWebPage signals directly.
2418 * WebCoreSupport/FrameLoaderClientQt.cpp:
2419 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Initialize m_isOriginatingLoad.
2421 (WebCore::FrameLoaderClientQt::setFrame): Do not connect QWebFrame and QWebPage
2422 signals to our signals for load/finished, signal emission will be done manually.
2424 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): Emit
2425 loadStarted() signal and make the first notification of estimation change, that
2426 Qt API tests expect to exist and notify 10%.
2428 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): Remove reference to
2429 m_loadError and emit loadFinished() signal.
2431 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): Remove signal
2432 emission and mark the originating load as true, since only the originating frame
2433 gets this call in its client.
2435 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): Remove signal
2438 (WebCore::FrameLoaderClientQt::callErrorPageExtension): Return whether the call
2439 was successful or not. This wasn't necessary before because a successful call for
2440 error page would lead to a load(), that cleared the m_loadError.
2441 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): Remove reference
2442 to m_loadError and emit finished signal indicating error if ErrorPage extension
2444 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): Ditto.
2446 (WebCore::FrameLoaderClientQt::emitLoadStarted): Emit the loadStarted() signal
2447 for the QWebFrame, and if the originating load also do for the QWebPage.
2449 (WebCore::FrameLoaderClientQt::emitLoadFinished): Same as before but for
2450 loadFinished(). Take care to reset the originating load flag before the signals
2451 are emitted, since they might want to set it back again.
2453 * tests/qwebframe/tst_qwebframe.cpp:
2454 (URLSetter::URLSetter): Object that sets the url using either load() or setUrl()
2455 when a certain signal is emitted in the frame.
2457 (URLSetter::execute):
2458 (tst_QWebFrame::loadInSignalHandlers_data):
2459 (tst_QWebFrame::loadInSignalHandlers): New test inspired by the bug test case. This test
2460 crashes without this patch applied.
2462 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2464 [Qt] Fix build in Qt 5 of QDeclarativeWebView
2465 https://bugs.webkit.org/show_bug.cgi?id=65258
2467 Reviewed by Andreas Kling.
2469 In Qt 5, the QGraphicsView-based classes for QtQuick are in the
2470 qtquick1 module, including QDeclarativeItem and QDeclarativeView.
2472 * declarative/qdeclarativewebview_p.h:
2473 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
2477 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
2479 Add support for download='filename' attribute in anchors.
2480 https://bugs.webkit.org/show_bug.cgi?id=64580
2482 Reviewed by Adam Barth.
2484 * WebCoreSupport/FrameLoaderClientQt.cpp:
2485 (WebCore::FrameLoaderClientQt::startDownload):
2486 * WebCoreSupport/FrameLoaderClientQt.h:
2488 2011-07-26 Alexis Menard <alexis.menard@openbossa.org>
2490 Reviewed by Andreas Kling.
2492 [Qt] Change default backend to use GStreamer on Linux and QuickTime on Mac.
2493 https://bugs.webkit.org/show_bug.cgi?id=63472
2495 Use the flag WTF_USE_QTKIT=1 rather than USE_QTKIT=1 because that flag doesn't
2496 exist anymore, it's the default. Ditto for GStreamer.
2500 2011-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2502 [Qt] Add more tests to cover the behavior of loadFinished() signal
2503 https://bugs.webkit.org/show_bug.cgi?id=63490
2505 Reviewed by Benjamin Poulain.
2507 * tests/qwebframe/tst_qwebframe.cpp:
2508 (FakeReply::FakeReply):
2509 (FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.
2511 (tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
2512 after a 404 error without contents.
2514 * tests/qwebpage/tst_qwebpage.cpp:
2515 (tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
2516 is true when we use error page extension to produce our own error pages.
2518 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2520 [Qt] Improve documentation of QWebView::setPage()
2521 https://bugs.webkit.org/show_bug.cgi?id=64827
2523 Reviewed by Noam Rosenthal.
2525 * Api/qwebview.cpp: Use the word 'page' to refer to a QWebPage instead of 'document'.
2527 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2529 [Qt] Fix leak of QWebPage in errorPageExtension tests
2530 https://bugs.webkit.org/show_bug.cgi?id=64814
2532 Reviewed by Noam Rosenthal.
2534 QWebView::setPage() doesn't take ownership, so the ErrorPages were leaking. So now
2535 allocate them on the stack. This shouldn't change any behavior.
2537 * tests/qwebpage/tst_qwebpage.cpp:
2538 (tst_QWebPage::errorPageExtension):
2539 (tst_QWebPage::errorPageExtensionInIFrames):
2540 (tst_QWebPage::errorPageExtensionInFrameset):
2542 2011-07-18 Hui Huang <hui.2.huang@nokia.com>
2544 [Qt] Compiling error in Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp with Qt 4.7 or older
2545 https://bugs.webkit.org/show_bug.cgi?id=64560
2547 Reviewed by Noam Rosenthal.
2549 * tests/qwebelement/tst_qwebelement.cpp:
2550 (tst_QWebElement::render):
2552 2011-07-15 Dan Bernstein <mitz@apple.com>
2554 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
2555 https://bugs.webkit.org/show_bug.cgi?id=64615
2557 Reviewed by Anders Carlsson.
2559 * WebCoreSupport/ChromeClientQt.h:
2560 (WebCore::ChromeClientQt::setCursorHiddenUntilMouseMoves): Added this stub.
2562 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
2564 REGRESSION(91064): Upstream QtWebKit/N9 changes related tovisibleContentRect
2566 Reviewed by Antonio Gomes.
2568 Only set setFixedVisibleContentRect when in resizesToContents mode.
2570 * WebCoreSupport/FrameLoaderClientQt.cpp:
2571 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2573 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
2575 Upstream QtWebKit/N9 changes related to visibleContentRect
2576 https://bugs.webkit.org/show_bug.cgi?id=64589
2578 Reviewed by Simon Hausmann.
2581 (QWebPage::setActualVisibleContentRect):
2582 Change to use setFixedVisibleContentRect.
2583 * WebCoreSupport/FrameLoaderClientQt.cpp:
2584 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2585 Only set fixedVisibleContentRect for the mainframe.
2586 * symbian/eabi/QtWebKitu.def:
2588 2011-07-13 Joseph Pecoraro <joepeck@webkit.org>
2590 Improve names of some ApplicationCacheStorage accessor methods
2591 https://bugs.webkit.org/show_bug.cgi?id=64433
2593 Reviewed by Alexey Proskuryakov.
2595 * WebCoreSupport/ChromeClientQt.cpp:
2596 (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
2599 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
2601 ApplicationCache update should not immediately fail when reaching per-origin quota
2602 https://bugs.webkit.org/show_bug.cgi?id=64177
2604 Reviewed by Alexey Proskuryakov.
2608 * WebCoreSupport/ChromeClientQt.cpp:
2609 (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
2610 * WebCoreSupport/ChromeClientQt.h:
2611 Pass the spaceNeeded value through to the applicationCacheQuotaExceeded signal.
2613 2011-07-11 Ryosuke Niwa <rniwa@webkit.org>
2615 Move selection related code from RenderTextControl to HTMLTextFormControlElement
2616 https://bugs.webkit.org/show_bug.cgi?id=64133
2618 Reviewed by Dimitri Glazkov.
2620 Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
2623 (QWebPagePrivate::inputMethodEvent):
2625 2011-07-08 Adam Barth <abarth@webkit.org>
2627 Unreviewed, rolling out r90662.
2628 http://trac.webkit.org/changeset/90662
2629 https://bugs.webkit.org/show_bug.cgi?id=64210
2631 Introduced regressions in Chromium browser tests (Requested by
2635 (QWebPagePrivate::inputMethodEvent):
2637 2011-07-08 Ryosuke Niwa <rniwa@webkit.org>
2639 Move selection related code from RenderTextControl to HTMLTextFormControlElement
2640 https://bugs.webkit.org/show_bug.cgi?id=64133
2642 Reviewed by Dimitri Glazkov.
2644 Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
2647 (QWebPagePrivate::inputMethodEvent):
2649 2011-07-05 Rafael Brandao <rafael.lobo@openbossa.org>
2651 [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
2652 https://bugs.webkit.org/show_bug.cgi?id=63235
2654 Modified baseUrl to be a local file in order to get a security origin
2655 that is allowed to request local resources. Removed QSignalSpy from it
2656 as loadFinished always happens, and the original test was split into two.
2658 Reviewed by Benjamin Poulain.
2660 * tests/qwebframe/tst_qwebframe.cpp:
2661 (tst_QWebFrame::setHtmlWithImageResource):
2662 (tst_QWebFrame::setHtmlWithStylesheetResource):
2663 (tst_QWebFrame::setHtmlWithBaseURL):
2665 2011-04-02 Robert Hogan <robert@webkit.org>
2667 Reviewed by Benjamin Poulain.
2669 [Qt] Support third-party cookie policy for Qt clients
2671 This adds new API to QWebSettings that allows clients to
2672 select one of three third-party cookie blocking policies:
2674 AlwaysAllowThirdPartyCookies
2675 AlwaysBlockThirdPartyCookies
2676 AllowThirdPartyWithExistingCookies
2678 The first two are self-explanatory, the third mimics Safari's
2679 default behaviour of permitting third-party cookies when the user
2680 already has cookies from the third-party site. This was
2681 introduced to allow third-party cookie blocking to play well with
2682 facebook sharing etc. AlwaysAllowThirdPartyCookies is the default.
2684 There is scope for adding an 'exceptions' list API and clients would
2685 struggle to implement it themselves given the paucity of information
2686 available from setCookiesForUrl().
2688 See also: http://gitorious.org/qt/qt/merge_requests/1205
2689 (commit 154402f56dcf8303a6ce601a52215226af8d31ba)
2690 http://bugreports.qt.nokia.com/browse/QTBUG-13601
2692 https://bugs.webkit.org/show_bug.cgi?id=45455
2694 * Api/qwebsettings.cpp:
2695 (QWebSettings::QWebSettings):
2696 (QWebSettings::setThirdPartyCookiePolicy):
2697 (QWebSettings::thirdPartyCookiePolicy):
2698 * Api/qwebsettings.h:
2700 2011-07-01 Jade Han <jade.han@nokia.com>
2702 [Qt][Symbian] Update .def file for Symbian to build Tools
2703 https://bugs.webkit.org/show_bug.cgi?id=61200
2705 Reviewed by Laszlo Gombos.
2707 Add newly introduced symbols to fix building the Tools directory for Symbian.
2709 * symbian/eabi/QtWebKitu.def:
2711 2011-07-01 Jade Han <jade.han@nokia.com>
2713 Reviewed by Laszlo Gombos.
2715 [Qt][Symbian] Update .def file for Symbian
2716 https://bugs.webkit.org/show_bug.cgi?id=61200
2718 Add newly introduced symbols to fix the Symbian build.
2720 * symbian/eabi/QtWebKitu.def:
2722 2011-06-30 Rafael Brandao <rafael.lobo@openbossa.org>
2724 Reviewed by Benjamin Poulain.
2726 [Qt] Fix tst_QWebFrame::renderGeometry() API test
2727 https://bugs.webkit.org/show_bug.cgi?id=63236
2729 This test required a security origin with granted permission to request local resources.
2730 By default, only local files can load local resources. So modified baseUrl to be a local file.
2732 * tests/qwebframe/tst_qwebframe.cpp:
2733 (tst_QWebFrame::renderGeometry):
2735 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
2737 Reviewed by Antonio Gomes.
2739 [Qt] DRT: Provide LayoutTestController::setDefersLoading and ::goBack support
2740 https://bugs.webkit.org/show_bug.cgi?id=63489
2743 loader/navigation-while-deferring-loads.html
2745 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2746 (DumpRenderTreeSupportQt::setDefersLoading):
2747 (DumpRenderTreeSupportQt::goBack):
2748 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2750 2011-06-30 Fabrizio Machado <fabrizio.machado@nokia.com>
2752 Reviewed by Benjamin Poulain.
2754 [Qt] QML Webview causes performance drops
2755 https://bugs.webkit.org/show_bug.cgi?id=57554
2757 Remove tiledBackingStoreEnabled from QML WebView.
2759 * declarative/qdeclarativewebview.cpp:
2760 (QDeclarativeWebView::setPage):
2762 2011-06-30 Kentaro Hara <haraken@google.com>
2764 Reviewed by Kent Tamura.
2766 Change the label of an HTML5 file chooser button to "Choose Files"
2767 https://bugs.webkit.org/show_bug.cgi?id=49245
2769 We should notify capability of multiple files to users.
2771 Test: fast/forms/input-file-label.html
2773 * WebCoreSupport/WebPlatformStrategies.cpp:
2774 (WebPlatformStrategies::fileButtonChooseFileLabel): Updated the description for "Choose File".
2775 (WebPlatformStrategies::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
2776 * WebCoreSupport/WebPlatformStrategies.h:
2778 2011-06-29 Alexis Menard <alexis.menard@openbossa.org>
2780 Reviewed by Benjamin Poulain.
2782 [Qt] Add Qt dependencies in QtWebKit's main pro file.
2783 https://bugs.webkit.org/show_bug.cgi?id=63639
2785 syncqt, the script which generates the headers inside Qt parses
2786 the main pro file of QtWebKit to check the Qt dependencies. It used
2787 to be WebCore.pro but after the build reorganization QtWebKit.pro is
2788 the new main pro file so we need to add the network dependency just like
2789 we did in WebCore.pro.
2793 2011-06-28 Ilya Sherman <isherman@chromium.org>
2795 Reviewed by Adam Barth.
2797 form.autocomplete="off" does not work
2798 https://bugs.webkit.org/show_bug.cgi?id=35823
2800 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2801 (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): Update callsite.
2803 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
2805 Reviewed by Kenneth Rohde Christiansen.
2807 [Qt] DRT support for setInteractiveFormValidationEnabled
2808 https://bugs.webkit.org/show_bug.cgi?id=63496
2811 fast/forms/interactive-validation-prevented.html
2812 fast/forms/interactive-validation-attach-assertion.html
2813 fast/forms/interactive-validation-assertion-by-validate-twice.html
2814 fast/forms/interactive-validation-select-crash.html
2815 fast/forms/interactive-validation-crash-by-style-override.html
2817 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2818 (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
2819 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2821 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
2823 Reviewed by Andreas Kling.
2825 [Qt] Use <QtX/x.h> style of headers for Qt tests which rely on it.
2826 https://bugs.webkit.org/show_bug.cgi?id=63562
2828 Some Qt auto-tests rely on <QtX/x.h> types of includes.
2830 * Api/qwebkitplatformplugin.h:
2831 * symbian/platformplugin/qwebkitplatformplugin.h:
2833 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
2835 Reviewed by Andreas Kling.
2837 [Qt] Use QtQuick imports in Api tests rather than old deprecated Qt 4.x imports.
2838 https://bugs.webkit.org/show_bug.cgi?id=63533
2840 We need to use the new QtQuick 1.x imports rather than the old deprecated
2843 * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml:
2844 * tests/qdeclarativewebview/resources/webviewtest.qml:
2845 * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
2847 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
2849 Reviewed by Darin Adler.
2851 Use specific headers includes rather than full system headers.
2852 https://bugs.webkit.org/show_bug.cgi?id=63475
2854 Use only needed headers rather than system headers.
2856 * WebCoreSupport/QTKitFullScreenVideoHandler.mm:
2858 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
2860 Reviewed by Kenneth Rohde Christiansen.
2862 [Qt] Remove Phonon MediaPlayer from the tree.
2863 https://bugs.webkit.org/show_bug.cgi?id=63448
2865 Remove Phonon related stuff.
2867 * docs/qtwebkit.qdocconf:
2868 * qt_webkit_version.pri:
2870 2011-06-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2872 Reviewed by Andreas Kling.
2874 [Qt] tst_QWebFrame::overloadedSlots() fails
2875 https://bugs.webkit.org/show_bug.cgi?id=37319
2877 * tests/qwebframe/tst_qwebframe.cpp:
2878 (tst_QWebFrame::overloadedSlots): Remove expected failure and
2881 2011-06-20 Robert Hogan <robert@webkit.org>
2883 Reviewed by Antonio Gomes.
2885 [Qt] Duplicate entry in context menu
2886 https://bugs.webkit.org/show_bug.cgi?id=62139
2888 contextMenuController()->populate() is called from
2889 ContextMenuController::handleContextMenuEvent() so
2890 QWebPage::updatePositionDependentActions() does not need
2891 to call it independently.
2894 http://trac.webkit.org/changeset/73535
2895 http://trac.webkit.org/changeset/32389
2898 (QWebPage::updatePositionDependentActions):
2899 * tests/qwebpage/tst_qwebpage.cpp:
2900 (tst_QWebPage::contextMenuCopy):
2901 (tst_QWebPage::contextMenuPopulatedOnce):
2903 2011-06-24 Dominic Cooney <dominicc@chromium.org>
2905 Reviewed by Dimitri Glazkov.
2907 Convert shadow-DOM related tests to use window.internals
2908 https://bugs.webkit.org/show_bug.cgi?id=61671
2910 Remove shadow-DOM related methods from Qt DRT API. These are not
2913 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2914 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2916 2011-06-23 Joe Wild <joseph.wild@nokia.com>
2918 Reviewed by Laszlo Gombos.
2920 [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
2921 https://bugs.webkit.org/show_bug.cgi?id=61200
2923 Revert r87060 as it broke compatibility with QtWebKit 2.1 release
2924 and add some newly introduce symbols.
2926 * symbian/eabi/QtWebKitu.def:
2928 2011-06-23 Alexis Menard <alexis.menard@openbossa.org>
2930 Reviewed by Eric Carlson.
2932 [Qt] Implement fullscreen support on Mac with the QuickTime backend.
2933 https://bugs.webkit.org/show_bug.cgi?id=61728
2935 Implement fullscreen support for Qt when using the QuickTime backend.
2936 We mostly use what is already done for the Mac port.
2939 * WebCoreSupport/ChromeClientQt.cpp:
2940 (WebCore::ChromeClientQt::ChromeClientQt):
2941 (WebCore::ChromeClientQt::~ChromeClientQt):
2942 * WebCoreSupport/ChromeClientQt.h:
2943 * WebCoreSupport/FullScreenVideoQt.cpp:
2944 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
2945 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
2946 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
2947 (WebCore::FullScreenVideoQt::exitFullScreenForNode):
2948 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
2949 (WebCore::FullScreenVideoQt::isValid):
2950 * WebCoreSupport/FullScreenVideoQt.h:
2951 * WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
2952 * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added.
2953 (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler):
2954 (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler):
2955 (QTKitFullScreenVideoHandler::enterFullScreen):
2956 (QTKitFullScreenVideoHandler::exitFullScreen):
2957 * WebCoreSupport/WebSystemInterface.mm:
2958 (InitWebCoreSystemInterface):
2960 2011-06-23 Yael Aharon <yael.aharon@nokia.com>
2962 Reviewed by Andreas Kling.
2964 [Qt] [WK2] Add drag and drop support
2965 https://bugs.webkit.org/show_bug.cgi?id=62838
2967 Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.
2969 * WebCoreSupport/DragClientQt.cpp:
2970 (WebCore::DragClientQt::startDrag):
2972 2011-06-23 Joe Wild <joseph.wild@nokia.com>
2974 Reviewed by Laszlo Gombos.
2976 [Qt] Export files under Symbian Qt WebKit build
2977 https://bugs.webkit.org/show_bug.cgi?id=61207
2979 Export files for the Symbian platform as this is needed by the
2980 production build system.
2982 Janne Koskinen provided the suggestion to use target_predeps,
2983 which is an improvement over the originally suggested patch.
2987 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
2989 Rubber-stamped by Andreas Kling.
2991 [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
2992 https://bugs.webkit.org/show_bug.cgi?id=63235
2994 [Qt] Fix tst_QWebFrame::renderGeometry() API test
2995 https://bugs.webkit.org/show_bug.cgi?id=63236
2997 [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
2998 https://bugs.webkit.org/show_bug.cgi?id=63237
3000 * tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
3001 (tst_QWebFrame::setHtmlWithResource):
3002 (tst_QWebFrame::renderGeometry):
3004 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
3006 Rubber-stamped by Andreas Kling.
3008 [Qt] Fix tst_QWebPage::showModalDialog() API test
3009 https://bugs.webkit.org/show_bug.cgi?id=63244
3011 [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
3012 https://bugs.webkit.org/show_bug.cgi?id=63245
3014 * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
3015 (tst_QWebPage::showModalDialog):
3016 (tst_QWebPage::testStopScheduledPageRefresh):
3018 2011-06-22 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
3020 Reviewed by Holger Freyther.
3022 [Qt] Fix Qt namespace on QDeclarativeWebView autotest
3023 https://bugs.webkit.org/show_bug.cgi?id=63147
3025 Applications (such as the test runner) are not supposed to be wrapped
3026 by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
3027 QtWebKit) with a specific namespace won't work (will result in main
3030 This was the only test wrapped by these macros, all others are fine.
3032 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
3035 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
3037 Reviewed by Kent Tamura.
3039 FileChooser should be only created when we need to choose files.
3040 https://bugs.webkit.org/show_bug.cgi?id=63039
3042 * WebCoreSupport/ChromeClientQt.cpp:
3043 (WebCore::ChromeClientQt::runOpenPanel): Changed to use settings.
3045 2011-06-21 Yael Aharon <yael.aharon@nokia.com>
3047 Reviewed by Andreas Kling.
3049 [Qt] Regression(60942) wrong default action for drag-and-drop.
3050 https://bugs.webkit.org/show_bug.cgi?id=63004
3052 Added special handling for the case that dragOperation is not initialized.
3053 Save the last dropOperation and pass it to the dropEvent, so that it can
3054 be accepted by QDrag.
3055 Call event->accepted() and not event->acceptProposedAction(), because the
3056 later ignores the dropAction specified in JavaScript.
3058 Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
3059 and did not see any issue.
3060 Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
3064 (dropActionToDragOp):
3065 (QWebPagePrivate::dragMoveEvent):
3066 (QWebPagePrivate::dropEvent):
3068 2011-06-20 Pavel Feldman <pfeldman@chromium.org>
3070 Reviewed by Yury Semikhatsky.
3072 Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
3073 https://bugs.webkit.org/show_bug.cgi?id=62994
3075 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3076 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3078 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
3080 Reviewed by Darin Adler.
3082 Separate concerns of loading file icons and choosing files.
3083 https://bugs.webkit.org/show_bug.cgi?id=62931
3085 * WebCoreSupport/ChromeClientQt.cpp:
3086 (WebCore::ChromeClientQt::loadIconForFiles): Renamed.
3087 * WebCoreSupport/ChromeClientQt.h:
3089 2011-06-17 Alexis Menard <alexis.menard@openbossa.org>
3091 Reviewed by Andreas Kling.
3093 [Qt] Fix wrong framework generation on MacOS when inside Qt 4.8.
3094 https://bugs.webkit.org/show_bug.cgi?id=62815
3096 Partially revert r85870 which assumed that QtWebKit will never be build inside Qt
3097 anymore. Everything inside !QTDIR_build condition is not needed in the Qt tree because
3098 qbase.pri is doing the job for us, i.e. using includes generated by syncqt to
3099 setup the mac framework. It also use a correct QMAKE_LFLAGS_SONAME making possible
3100 to actually run an application linked against QtWebKit.
3104 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
3106 Unreviewed, rolling out r88796.
3107 http://trac.webkit.org/changeset/88796
3108 https://bugs.webkit.org/show_bug.cgi?id=62790
3110 It made fast/dom/nodesFromRect-basic.html time out on Qt,
3111 64-bit, debug mode (Requested by Ossy on #webkit).
3113 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3114 (DumpRenderTreeSupportQt::plainText):
3115 (DumpRenderTreeSupportQt::nodesFromRect):
3116 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3117 * tests/qwebframe/tst_qwebframe.cpp:
3118 (tst_QWebFrame::overloadedSlots):
3119 (tst_QWebFrame::domCycles):
3121 2011-06-15 Diego Gonzalez <diegohcg@webkit.org>
3123 Reviewed by Kenneth Rohde Christiansen.
3125 [Qt] Inconsistent behavior on a form submit request...
3126 https://bugs.webkit.org/show_bug.cgi?id=45523
3128 The inconsistency occurs when a form submission requests a new window.
3129 Two windows are opened (instead of only one) and the first window is opened
3132 By default each page is put into their own unique page group, which affects popup windows
3133 and visited links. Page groups (per process only) is a feature making it possible to use
3134 separate settings for each group, so that for instance an integrated browser/email reader
3135 can use different settings for displaying HTML pages and HTML email. To make QtWebKit work
3136 as expected out of the box, we use a default group similar to what other ports are doing.
3140 2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3142 Reviewed by Andreas Kling.
3144 [Qt] tst_QWebFrame::overloadedSlots() fails
3145 https://bugs.webkit.org/show_bug.cgi?id=37319
3147 Since the implicit conversion was removed, change support functions of DRT to
3148 expect a QVariantMap instead of a QWebElement. This matches the exposed function
3149 in the controller, which takes 'document' and not 'document.documentElement'.
3151 And now that Element -> QWebElement is a perfect match, we must use QWebElement
3152 instead of QVariantMap, like in plainText().
3154 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3155 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3156 (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
3157 QVariantMap when getting the startContainer. Also use QVariantMap directly,
3158 bridge will do conversion for us now.
3160 (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
3161 QVariantMap that Qt bridge gives us when 'document' is passed from JS.
3163 (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.
3165 * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
3166 different tests. In practice, the original test just checked whether we could
3167 create a QVariantMap representing 'document' without infinite looping due to
3168 cycles in the DOM. This was more evident before since we haven't a conversion
3169 from JSElement to QWebElement, but from JSElement to QVariantMap.
3171 (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
3172 'documentElement' from it. Compares to QWebFrame::documentElement().
3174 (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
3175 the documentElement.
3177 (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
3179 2011-06-14 Andreas Kling <kling@webkit.org>
3181 Reviewed by Benjamin Poulain.
3183 [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
3184 https://bugs.webkit.org/show_bug.cgi?id=62632
3186 * WebCoreSupport/FrameNetworkingContextQt.cpp:
3188 2011-06-12 Adam Barth <abarth@webkit.org>
3190 Reviewed by Alexey Proskuryakov.
3192 Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
3193 https://bugs.webkit.org/show_bug.cgi?id=62516
3195 * WebCoreSupport/FrameLoaderClientQt.cpp:
3196 (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
3197 * WebCoreSupport/FrameLoaderClientQt.h:
3199 2011-06-12 Adam Barth <abarth@webkit.org>
3201 Attempt to fix Qt build.
3203 * WebCoreSupport/FrameLoaderClientQt.cpp:
3204 (drtPrintFrameUserGestureStatus):
3206 2011-06-12 Adam Barth <abarth@webkit.org>
3208 Reviewed by Eric Seidel.
3210 Remove FrameLoader::isProcessingUserGesture
3211 https://bugs.webkit.org/show_bug.cgi?id=62519
3213 * WebCoreSupport/FrameLoaderClientQt.cpp:
3214 (drtPrintFrameUserGestureStatus):
3216 2011-06-10 Andreas Kling <kling@webkit.org>
3218 Reviewed by Benjamin Poulain.
3220 [Qt] Fix 'headers' autotest when building inside Qt.
3221 https://bugs.webkit.org/show_bug.cgi?id=62449
3223 * Api/qwebkitplatformplugin.h:
3225 2011-06-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3227 Reviewed by Kenneth Rohde Christiansen.
3229 [Qt] Keep ORIENTATION_EVENTS independent from DEVICE_ORIENTATION
3230 https://bugs.webkit.org/show_bug.cgi?id=62420
3232 ORIENTATION_EVENTS and DEVICE_ORIENTATION features are very similar
3233 but they meant to be independent.
3235 * Api/qwebframe.cpp:
3236 (QWebFramePrivate::_q_orientationChanged):
3237 (QWebFrame::QWebFrame):
3238 * Api/qwebframe_p.h:
3240 2011-06-09 Andras Becsi <abecsi@webkit.org>
3242 Reviewed by Andreas Kling.
3244 [Qt] Fix the in-tree build on Linux
3245 https://bugs.webkit.org/show_bug.cgi?id=62378
3247 In case of an in-tree build qmake generates defect prl dependencies for
3248 the QtWebKit library, because the inclusion of qtbase.pri adds explicitlib to CONFIG.
3250 * QtWebKit.pro: Remove explicitlib and staticlib from CONFIG.
3252 2011-06-09 Robert Hogan <robert@webkit.org>
3254 Reviewed by Andreas Kling.
3256 Teach Qt about window.internals
3257 https://bugs.webkit.org/show_bug.cgi?id=61074
3259 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3260 (DumpRenderTreeSupportQt::injectInternalsObject):
3261 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3263 2011-06-08 Andreas Kling <kling@webkit.org>
3265 Reviewed by Benjamin Poulain.
3267 [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
3268 https://bugs.webkit.org/show_bug.cgi?id=62274
3270 Vector::find() returns size_t (which is unsigned), so we should check
3271 for WTF::notFound instead of -1.
3273 * WebCoreSupport/FrameLoaderClientQt.cpp:
3274 (WebCore::FrameLoaderClientQt::createPlugin):
3276 2011-06-07 Noam Rosenthal <noam.rosenthal@nokia.com>
3278 Reviewed by Andreas Kling.
3280 [Texmap][Qt] Enable TextureMapper by default
3281 https://bugs.webkit.org/show_bug.cgi?id=61740
3283 Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
3284 for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
3286 * WebCoreSupport/PageClientQt.cpp:
3287 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
3289 2011-06-07 Aravind Akella <aravind.akella@nokia.com>
3291 Reviewed by Laszlo Gombos.
3293 [Qt][Symbian] API test failure qdeclarativewebview
3294 https://bugs.webkit.org/show_bug.cgi?id=59481
3296 QML files cannot be loaded on Symbian due to difference
3297 in capabilities between qmlwebkitplugin.dll and Qtwebkit.dll.
3298 A PlatSec error that Qtwebkit.dll has "DRM AllFiles" capabilities
3299 missing is observed when dynamically loading the QML plugin.
3301 * declarative/declarative.pro: Match capabilities in QtWebKit.pro.
3302 * symbian/platformplugin/platformplugin.pro: Match capabilities with the other 2 DLLs.
3303 Also remove TARGET.VID from platformplugin, as it's not used in any other Qt WebKit DLL,
3304 and causes build warnings about undefined VENDOR_VID.
3305 * tests/tests.pri: Add WriteDeviceData capability for API tests.
3307 2011-06-04 Robert Hogan <robert@webkit.org>
3309 Reviewed by Andreas Kling.
3311 [Qt] Fix and unskip acid2
3312 https://bugs.webkit.org/show_bug.cgi?id=62089
3314 shouldFallBack() tells the DOM if it should attempt to render
3315 the next nested <object> if its parent fails to load.
3317 This fix is only required for the fast/css version of the ACID2
3318 test, which loads a non-existent file:// url. The HTTP version of the
3319 test already passes because the loader will render fallback content
3320 on a failed HTTP load without delegating the decision to the client
3321 ( see MainResourceLoader::continueAfterContentPolicy).
3323 Some ports also check for WebKitErrorPluginWillHandleLoad when deciding
3324 what to return. This error isn't currently set by Qt so we don't check
3325 it. (Other ports set it when the erring document is a MediaDocument, maybe
3326 we should do that too at some point).
3328 * WebCoreSupport/FrameLoaderClientQt.cpp:
3329 (WebCore::FrameLoaderClientQt::shouldFallBack):
3331 2011-06-03 Rafael Brandao <rafael.lobo@openbossa.org>
3333 Reviewed by Andreas Kling.
3335 [Qt] It made two Qt API tests fail
3336 https://bugs.webkit.org/show_bug.cgi?id=58847
3338 Modified failing test's base url so it could get a valid origin
3339 and make use of local storage. Also added another test that checks
3340 local storage visibility in both scenarios.
3342 * tests/qwebpage/tst_qwebpage.cpp:
3343 (tst_QWebPage::testOptionalJSObjects):
3344 (checkLocalStorageVisibility):
3345 (tst_QWebPage::testLocalStorageVisibility):
3347 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
3349 Reviewed by Andreas Kling.
3351 [Qt] Warning fixes on comparisons between a signed and an unsigned.
3353 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3354 (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
3355 (DumpRenderTreeSupportQt::nodesFromRect):
3357 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
3359 Reviewed by Andreas Kling.
3361 To support building namespaced Qt, we require that forward-declarations
3362 of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
3364 * WebCoreSupport/FrameLoaderClientQt.h:
3366 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
3368 Unreviewed build fix after r87902.
3370 To support building namespaced Qt, we require that forward-declarations
3371 of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
3372 only on classes inside Qt.
3374 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3376 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
3378 Reviewed by Benjamin Poulain.
3380 Some warning fixes. Values in switch not handled, and
3381 a comparison between a signed and an unsigned.
3384 (QWebPagePrivate::inputMethodEvent):
3385 (QWebPagePrivate::dynamicPropertyChangeEvent):
3388 2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3390 Reviewed by Andreas Kling.
3392 [Qt] Fix enum order in qwebpage.h public API header
3393 https://bugs.webkit.org/show_bug.cgi?id=61959
3395 Since qwebpage.h is a public header, we can't change the values of
3396 the enumerations. This patch moves the new enumeration to the end
3397 of the list. As a bonus, adds a missing entry in
3398 editorCommandWebActions table.
3403 2011-06-02 Andreas Kling <kling@webkit.org>
3405 Rubber-stamped by Simon Hausmann.
3407 Remove Qt's precompiled header hack as it was broken, and was not even
3408 used unless building WebKit inside a Qt tree.
3410 * WebKit_pch.h: Removed.
3412 2011-06-02 Andreas Kling <kling@webkit.org>
3414 Unreviewed build fix.
3416 To support building namespaced Qt, we require that forward-declarations
3417 of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
3419 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3421 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3423 Reviewed by Kenneth Rohde Christiansen.
3425 [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
3426 https://bugs.webkit.org/show_bug.cgi?id=59345
3428 KURL and QUrl disagree whether certain URLs are valid or not. The regression here
3429 was caused by the fact that now KURL accepts "http:/example.com" (note only one
3430 slash) and our test case used a strange edge case that's transformed into a
3431 "one-slash" URL that now KURL can handle.
3433 QtWebKit approach in this case is to do a best effort and accept the QUrl if KURL
3434 can understand it. So I've updated the test to use a more meaningful example and
3435 show that an invalid URL gets converted to a valid URL if possible.
3437 * tests/qwebframe/tst_qwebframe.cpp:
3438 (tst_QWebFrame::setUrlToInvalid):
3440 2011-06-01 Andreas Kling <kling@webkit.org>
3442 Reviewed by Benjamin Poulain.
3444 REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
3445 https://bugs.webkit.org/show_bug.cgi?id=49650
3447 Defer emission of QWebPage::unsupportedContent() until we're back in the event loop.
3448 This lets the QNAM backend finish with the reply without handing over ownership to the user code.
3450 No new tests since this doesn't fail for qrc:// or file:// URLs and our tests can't depend on http:// URLs.
3452 To correctly solve this issue, we need changes to Qt, tracked here:
3453 http://bugreports.qt.nokia.com/browse/QTBUG-18718
3455 * WebCoreSupport/FrameLoaderClientQt.cpp:
3456 (WebCore::FrameLoaderClientQt::setFrame):
3457 (WebCore::FrameLoaderClientQt::download):
3458 * WebCoreSupport/FrameLoaderClientQt.h:
3460 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3462 Reviewed by Tor Arne Vestbø.
3464 [Qt] Rewrite tst_QDeclarativeWebView::multipleWindows() to not depend on Grid internals
3465 https://bugs.webkit.org/show_bug.cgi?id=61739
3467 The skipped test was imported from Qt source repository, and used private headers
3468 to peek in the QML Grid element. This patch changes the QML used to expose the
3469 information we want to test: number of pages opened and the first page opened.
3471 * tests/qdeclarativewebview/resources/newwindows.html:
3472 Added <body> tags. We have no reason to not use them in the test.
3474 * tests/qdeclarativewebview/resources/newwindows.qml:
3475 Moved the timer out of the page component, used anchors for setting webview size,
3476 changed the way we count pages opened. Also changed coding style a bit.
3478 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
3479 (tst_QDeclarativeWebView::multipleWindows):
3480 We now look for properties with the information we want in the rootItem: pagesOpened and
3483 2011-05-31 Rafael Brandao <rafael.lobo@openbossa.org>
3485 Reviewed by Andreas Kling.
3487 [Qt] tst_QWebFrame::render() failing
3488 https://bugs.webkit.org/show_bug.cgi?id=60893
3490 The test was expecting the frame contents to be already loaded
3491 before rendering it into a QPicture. Renamed the test to fit
3492 its real purpose more accordingly.
3494 * tests/qwebframe/tst_qwebframe.cpp:
3495 (tst_QWebFrame::renderGeometry):
3497 2011-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3499 Reviewed by Andreas Kling.
3501 [Qt] Fix unnecessary wait in API autotest tst_QWebFrame::scrollbarsOff
3502 https://bugs.webkit.org/show_bug.cgi?id=61711
3504 The loadFinished() signal was emitted directly inside the call for setHtml, so
3505 the test was waiting the loadFinished() signal with a big timeout. Change this by
3506 a very small timeout and a verification with signal spy.
3508 In practice, setHtml() will either directly call loadFinished() or queue it to
3509 the next event loop run, and test will work for both situations.
3511 * tests/qwebframe/tst_qwebframe.cpp:
3512 (tst_QWebFrame::scrollbarsOff):
3514 2011-05-30 Noam Rosenthal <noam.rosenthal@nokia.com>
3516 Reviewed by Kenneth Rohde Christiansen.
3518 [Texmap][Qt] Disable accelerated plugins/media in until they're working.
3519 https://bugs.webkit.org/show_bug.cgi?id=61687
3521 Turn off accelerated compositing for media and plugins when in texture-mapper.
3523 * Api/qwebsettings.cpp:
3524 (QWebSettingsPrivate::apply):
3526 2011-05-28 Adam Barth <abarth@webkit.org>
3528 Reviewed by Alexey Proskuryakov.
3530 Audit all uses of KURL::prettyURL
3531 https://bugs.webkit.org/show_bug.cgi?id=61201
3533 Update callers of prettyURL to just call string.
3535 * WebCoreSupport/ChromeClientQt.cpp:
3536 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3537 * WebCoreSupport/FrameLoaderClientQt.cpp:
3538 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
3539 (WebCore::FrameLoaderClientQt::cancelledError):
3540 (WebCore::FrameLoaderClientQt::blockedError):
3541 (WebCore::FrameLoaderClientQt::objectContentType):
3542 (WebCore::FrameLoaderClientQt::createPlugin):
3544 2011-05-27 Alexis Menard <alexis.menard@openbossa.org>
3546 Reviewed by Csaba Osztrogonác.
3548 [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
3549 https://bugs.webkit.org/show_bug.cgi?id=61044
3551 Make sure to set the active window on the application too.
3553 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
3554 (tst_QGraphicsWebView::setPalette):
3556 2011-05-26 Alexis Menard <alexis.menard@openbossa.org>
3558 Unreviewed build fix for Qt and QuickTime backend.
3560 r87328 added a new system interface, we need to add it too.
3562 * WebCoreSupport/WebSystemInterface.mm:
3563 (InitWebCoreSystemInterface):
3565 2011-05-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3567 Reviewed by Andreas Kling.
3569 [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
3570 https://bugs.webkit.org/show_bug.cgi?id=61343
3572 Create a '__qt_sender__' property in the global object, that returns the top of
3573 the qtSenderStack. This is an alternative implementation for the feature of
3574 providing a way for a function (acting as a Qt 'slot') discover which object
3575 emitted the signal that caused it to be executed.
3577 This reduces the coupling of the Qt bridge and JSC internal implementation. The
3578 patch tries to use as much JSC public API as possible.
3580 This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.
3582 * WebCoreSupport/FrameLoaderClientQt.cpp:
3583 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
3584 Instead of emitting the QWebPage::javaScriptWindowObjectCleared() directly, calls
3585 a QWebPagePrivate function to do it.
3587 * Api/qwebframe_p.h:
3588 * Api/qwebframe.cpp:
3589 (QWebFramePrivate::didClearedWindowObject):
3590 Before emitting the signal mentioned, adds the '__qt_sender__' to the fresh
3594 Returns the JSObjectRef corresponding to the top of qtSenderStack.
3596 (QWebFramePrivate::addQtSenderToGlobalObject):
3597 Create a property with a qtSenderCallback as getter function in the global object.
3599 2011-05-25 Alexis Menard <alexis.menard@openbossa.org>
3601 Reviewed by Eric Carlson.
3603 [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
3604 https://bugs.webkit.org/show_bug.cgi?id=61279
3606 Enable the usage of QuickTime backend for the Qt port. It can be enabled by
3607 passing DEFINES+=USE_QTKIT=1 when calling build-webkit.
3610 (QWebPagePrivate::QWebPagePrivate):
3612 * WebCoreSupport/FullScreenVideoQt.cpp:
3613 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
3614 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
3615 (WebCore::FullScreenVideoQt::isValid):
3616 * WebCoreSupport/WebSystemInterface.h: Added.
3617 * WebCoreSupport/WebSystemInterface.mm: Added.
3618 (InitWebCoreSystemInterface):
3620 2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>
3622 Reviewed by Andreas Kling.
3624 [Qt] fast/css/disabled-author-styles.html failed
3625 https://bugs.webkit.org/show_bug.cgi?id=61438
3627 Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.
3629 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3630 (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
3631 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3633 2011-05-24 Adam Barth <abarth@webkit.org>
3635 Reviewed by Eric Seidel.
3637 Add FIXME comments about removing FrameLoader::isProcessingUserGesture
3638 https://bugs.webkit.org/show_bug.cgi?id=61395
3640 * WebCoreSupport/FrameLoaderClientQt.cpp:
3641 (drtPrintFrameUserGestureStatus):
3643 2011-05-23 Luiz Agostini <luiz.agostini@openbossa.org>
3645 Reviewed by Andreas Kling.
3647 [Qt] When opening a combo-box the popup renders badly.
3648 https://bugs.webkit.org/show_bug.cgi?id=61288
3650 Removing combobox palette changes from QtFallbackWebPopup::show() because they
3651 are causing rendering problems for some styles.
3653 The changes in palette are not needed because the background and foreground
3654 colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
3655 in method QtFallbackWebPopup::populate().
3657 * WebCoreSupport/QtFallbackWebPopup.cpp:
3658 (WebCore::QtFallbackWebPopup::show):
3660 2011-05-23 Joe Wild <joseph.wild@nokia.com>
3662 Reviewed by Andreas Kling.
3664 [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
3665 https://bugs.webkit.org/show_bug.cgi?id=61200
3667 * symbian/eabi/QtWebKitu.def:
3669 2011-05-22 Hui Huang <hui.2.huang@nokia.com>, Yi Shen <yi.4.shen@nokia.com>
3671 Reviewed by Laszlo Gombos.
3673 [Qt] Upstream Symbian platform plugin
3674 https://bugs.webkit.org/show_bug.cgi?id=58435
3676 Upstream Symbian platform plugin with html5 video player.
3678 * symbian/platformplugin/HTML5VideoPlugin.cpp: Added.
3679 (HTML5FullScreenVideoHandler::HTML5FullScreenVideoHandler):
3680 (HTML5FullScreenVideoHandler::enterFullScreen):
3681 (HTML5FullScreenVideoHandler::exitFullScreen):
3682 (HTML5FullScreenVideoHandler::onPlayerError):
3683 (HTML5FullScreenVideoHandler::onPlayerStateChanged):
3684 (HTML5FullScreenVideoHandler::onMediaStatusChanged):
3685 (HTML5VideoPlugin::supportsExtension):
3686 (HTML5VideoPlugin::createExtension):
3687 * symbian/platformplugin/HTML5VideoPlugin.h: Added.
3688 (HTML5FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
3689 (HTML5FullScreenVideoHandler::isFullScreen):
3690 (HTML5FullScreenVideoHandler::updateScreenRect):
3691 * symbian/platformplugin/HTML5VideoWidget.cpp: Added.
3692 (HTML5VideoWidget::HTML5VideoWidget):
3693 (HTML5VideoWidget::setDuration):
3694 (HTML5VideoWidget::mousePressEvent):
3695 (HTML5VideoWidget::onPlayerStopped):
3696 (HTML5VideoWidget::onPlayerError):
3697 (HTML5VideoWidget::onEndOfMedia):
3698 (HTML5VideoWidget::onBufferingMedia):
3699 (HTML5VideoWidget::onBufferedMedia):
3700 (HTML5VideoWidget::onControlClicked):
3701 (HTML5VideoWidget::onPositionChanged):
3702 (HTML5VideoWidget::onSliderMoved):
3703 (HTML5VideoWidget::onCloseClicked):
3704 (HTML5VideoWidget::showFullScreen):
3705 (HTML5VideoWidget::setVolume):
3706 * symbian/platformplugin/HTML5VideoWidget.h: Added.
3707 * symbian/platformplugin/OverlayWidget.cpp: Added.
3708 (OverlayWidget::OverlayWidget):
3709 (OverlayWidget::~OverlayWidget):
3710 (OverlayWidget::setDuration):
3711 (OverlayWidget::setPosition):
3712 (OverlayWidget::setVolume):
3713 (OverlayWidget::mousePressEvent):
3714 (OverlayWidget::onPlayerStopped):
3715 (OverlayWidget::onPlayerError):
3716 (OverlayWidget::onEndOfMedia):
3717 (OverlayWidget::onBufferingMedia):
3718 (OverlayWidget::onBufferedMedia):
3719 (OverlayWidget::timeToString):
3720 (OverlayWidget::applyStyleSheet):
3721 (OverlayWidget::onControlClicked):
3722 (OverlayWidget::onSliderMoved):
3723 (OverlayWidget::onSoundClicked):
3724 (OverlayWidget::onCloseClicked):
3725 (OverlayWidget::onVolumeSliderReleased):
3726 (OverlayWidget::onVolumeSliderMoved):
3727 (OverlayWidget::onTimerTimeout):
3728 (OverlayWidget::showFullScreen):
3729 * symbian/platformplugin/OverlayWidget.h: Added.
3730 * symbian/platformplugin/PlayerButton.cpp: Added.
3731 (PlayerButton::PlayerButton):
3732 (PlayerButton::event):
3733 * symbian/platformplugin/PlayerButton.h: Added.
3734 * symbian/platformplugin/PlayerLabel.cpp: Added.
3735 (PlayerLabel::PlayerLabel):
3736 (PlayerLabel::onPlayerError):
3737 (PlayerLabel::startBufferingAnimation):
3738 (PlayerLabel::stopBufferingAnimation):
3739 (PlayerLabel::onAnimationTimeout):
3740 * symbian/platformplugin/PlayerLabel.h: Added.
3741 * symbian/platformplugin/WebPlugin.cpp:
3742 (WebPlugin::createExtension):
3743 * symbian/platformplugin/images: Added.
3744 * symbian/platformplugin/images/button_cannotplay.png: Added.
3745 * symbian/platformplugin/images/button_close.png: Added.
3746 * symbian/platformplugin/images/button_pause.png: Added.
3747 * symbian/platformplugin/images/button_play.png: Added.
3748 * symbian/platformplugin/images/button_sound_off.png: Added.
3749 * symbian/platformplugin/images/button_sound_on.png: Added.
3750 * symbian/platformplugin/images/loading_buffering_1.png: Added.
3751 * symbian/platformplugin/images/loading_buffering_2.png: Added.
3752 * symbian/platformplugin/images/loading_buffering_3.png: Added.
3753 * symbian/platformplugin/images/loading_buffering_4.png: Added.
3754 * symbian/platformplugin/platformplugin.pro:
3755 * symbian/platformplugin/platformplugin.qrc: Added.
3756 * symbian/platformplugin/qss: Added.
3757 * symbian/platformplugin/qss/OverlayWidget.qss: Added.
3759 2011-05-22 Robert Hogan <robert@webkit.org>
3761 Reviewed by Kenneth Rohde Christiansen.
3763 Fix policyDelegate in Qt DRT
3765 https://bugs.webkit.org/show_bug.cgi?id=61247
3767 Use the 'policy delegate' implemented in FrameLoaderClient
3768 for layout tests. The partial implementation in DumpRenderTreeQt
3771 * WebCoreSupport/FrameLoaderClientQt.cpp:
3772 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3774 2011-05-22 Andrew Wason <rectalogic@rectalogic.com>
3776 Reviewed by Benjamin Poulain.
3778 [Qt] Implement toImageData() in QtWebKit Bridge
3779 https://bugs.webkit.org/show_bug.cgi?id=60897
3781 * docs/qtwebkit-bridge.qdoc:
3782 * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
3784 Document Qt bridge toImageData() feature.
3785 * tests/hybridPixmap/test.html:
3786 * tests/hybridPixmap/widget.cpp:
3789 * tests/hybridPixmap/widget.h:
3790 Add tests for Qt bridge toImageData() feature.
3792 2011-05-20 Simon Fraser <simon.fraser@apple.com>
3794 Reviewed by Sam Weinig.
3796 numberOfActiveAnimations() can include animations from documents in the page cache
3797 https://bugs.webkit.org/show_bug.cgi?id=53641
3799 Pass the Frame's document as the one to count animations on.
3801 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3802 (DumpRenderTreeSupportQt::numberOfActiveAnimations):
3804 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
3806 Reviewed by Benjamin Poulain.
3808 [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle doesn't work as expected
3809 https://bugs.webkit.org/show_bug.cgi?id=60372
3811 * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail.
3812 (tst_QWebElement::style):
3814 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
3816 Reviewed by Benjamin Poulain.
3818 [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
3819 https://bugs.webkit.org/show_bug.cgi?id=61042
3821 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Mark failing test cases as expected fails.
3822 (tst_QDeclarativeWebView::basicProperties):
3823 (tst_QDeclarativeWebView::historyNav):
3825 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
3827 Reviewed by Benjamin Poulain.
3829 [Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest
3830 https://bugs.webkit.org/show_bug.cgi?id=61045
3832 * tests/qwebpage/tst_qwebpage.cpp:
3833 (tst_QWebPage::testOptionalJSObjects): Mark failing test cases as expected fails.
3835 2011-05-20 Peter Varga <pvarga@webkit.org>
3837 Reviewed by Simon Hausmann.
3839 [Qt][V8] Use qtscript-staging's shipped version of V8 when building with --v8
3840 https://bugs.webkit.org/show_bug.cgi?id=56649
3842 Use the provided V8 and functionality of
3843 http://qt.gitorious.org/+qt-developers/qt/qtscript-staging to build QtWebKit+V8.
3844 Based on the original patch of Andras Becsi <abecsi@webkit.org>.
3846 * Api/qwebframe.cpp:
3847 (QWebFrame::addToJavaScriptWindowObject): Fix QString deprecated
3849 * QtWebKit.pro: Adding the V8 library should happen in the final build
3851 * WebCoreSupport/ChromeClientQt.cpp: Add missing head.
3852 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
3854 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
3856 Reviewed by Benjamin Poulain.
3858 [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
3859 https://bugs.webkit.org/show_bug.cgi?id=59345
3861 * tests/qwebframe/tst_qwebframe.cpp:
3862 (tst_QWebFrame::setUrlToInvalid): Mark failing test cases as expected fails.
3864 2011-05-19 Zsolt Fehér <h490267@stud.u-szeged.hu>
3866 Reviewed by Csaba Osztrogonác.
3868 [Qt] Implement eventSender.scalePageBy
3869 https://bugs.webkit.org/show_bug.cgi?id=60015
3871 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3872 (DumpRenderTreeSupportQt::scalePageBy):
3873 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3875 2011-05-18 Yi Shen <yi.4.shen@nokia.com>
3877 Reviewed by Andreas Kling.
3879 [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
3880 https://bugs.webkit.org/show_bug.cgi?id=33179
3882 Remove the implementation of the handleInputMethodKeydown, which introduces
3883 a regression(r82243) on Linux. Also, add more Api tests for the EnterKey event.
3885 * WebCoreSupport/EditorClientQt.cpp:
3886 (WebCore::EditorClientQt::handleInputMethodKeydown): Remove implementation.
3887 * tests/qwebpage/tst_qwebpage.cpp:
3888 (tst_QWebPage::inputMethods): Add more tests.
3890 2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
3892 Reviewed by Csaba Osztrogonác.
3894 [Qt] Implement layoutTestController.setValueForUser()
3895 https://bugs.webkit.org/show_bug.cgi?id=60956
3897 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3898 (DumpRenderTreeSupportQt::setValueForUser):
3899 * WebCoreSupport/DumpRenderTreeSupportQt.h:
3901 2011-05-16 Robert Hogan <robert@webkit.org>
3903 Reviewed by Kenneth Rohde Christiansen.
3905 plugins/invalidate_rect.html fails on linux ports
3907 Add ChromeClientQt::allowsAcceleratedCompositing().
3909 https://bugs.webkit.org/show_bug.cgi?id=54051
3911 * WebCoreSupport/ChromeClientQt.cpp:
3912 (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
3913 * WebCoreSupport/ChromeClientQt.h:
3915 2011-05-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3917 Reviewed by Andreas Kling.
3919 [Qt] Simplify syntax in test code to make prepare-ChangeLog less confused
3920 https://bugs.webkit.org/show_bug.cgi?id=60978
3922 Backslash to escape newlines was confusing both prepare-ChangeLog and the
3923 QtCreator highlight system.
3925 * tests/qwebframe/tst_qwebframe.cpp:
3926 (tst_QWebFrame::evalJSV):
3927 Remove usage of backslash to escape newlines in string literal.
3929 2011-05-17 Young Han Lee <joybro@company100.net>
3931 Reviewed by Csaba Osztrogonác.
3933 [Texmap][Qt] Enable strict PassOwnPtr for Qt with texmap enabled.
3934 https://bugs.webkit.org/show_bug.cgi?id=60947
3936 * WebCoreSupport/PageClientQt.cpp:
3937 (WebCore::PageClientQWidget::setRootGraphicsLayer):
3939 2011-05-16 Jon Lee <jonlee@apple.com>
3941 Reviewed by Simon Fraser.
3943 Can't horizontally scroll iframes and overflow because wheel events are always accepted
3944 https://bugs.webkit.org/show_bug.cgi?id=60779
3946 * WebCoreSupport/ChromeClientQt.h:
3947 (WebCore::ChromeClientQt::shouldRubberBandInDirection): Default impl of new ChromeClient method
3948 (WebCore::ChromeClientQt::numWheelEventHandlersChanged): Default impl of new ChromeClient method
3950 2011-05-16 Andreas Kling <kling@webkit.org>
3952 Reviewed by Kenneth Rohde Christiansen.
3954 REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
3955 https://bugs.webkit.org/show_bug.cgi?id=60892
3957 Don't set the ItemClipsChildrenToShape flag for the root platform layer,
3958 since that is now the overflow controls layer. The clip layer, which was
3959 previously the root platform layer, already gets the flag by way of
3960 the GraphicsLayer mask-to-bounds flag.
3962 * WebCoreSupport/PageClientQt.cpp:
3963 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
3965 2011-05-16 Adam Barth <abarth@webkit.org>
3967 Partial revert of r86537. FullScreenVideoQt.h can't depend on OwnPtr.h
3968 because moc_FullScreenVideoQt.cpp fails to include config.h.
3969 Apparently, having moc_FullScreenVideoQt.cpp properly include config.h
3970 is hard, so we're going back to manual new and delete for this class.
3973 * WebCoreSupport/FullScreenVideoQt.cpp:
3974 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
3975 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
3976 * WebCoreSupport/FullScreenVideoQt.h:
3978 2011-05-16 Adam Barth <abarth@webkit.org>
3980 Sigh. This code is somewhat crazy.
3982 * WebCoreSupport/InspectorClientQt.cpp:
3983 (WebCore::InspectorClientQt::openInspectorFrontend):
3985 2011-05-16 Adam Barth <abarth@webkit.org>
3987 Attempt to fix Qt build. (Strict PassOwnPtr fix.)
3989 This patch requires some slightly fancy footwork.
3991 * WebCoreSupport/InspectorClientQt.cpp:
3992 (WebCore::InspectorClientQt::openInspectorFrontend):
3993 (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
3995 2011-05-16 Adam Barth <abarth@webkit.org>
3999 * WebCoreSupport/PopupMenuQt.h:
4001 2011-05-16 Adam Barth <abarth@webkit.org>
4003 [Qt] QtPlatformPlugin create methods should use PassOwnPtr
4004 https://bugs.webkit.org/show_bug.cgi?id=60873
4006 This change is slightly more than a build fix because the patch kind of
4007 spidered a bit while I was trying to fix the build the "right way."
4008 Hopefully nothing here is controversial.
4011 (QWebPagePrivate::adjustPointForClicking):
4012 * WebCoreSupport/ChromeClientQt.cpp:
4013 (WebCore::ChromeClientQt::createSelectPopup):
4014 * WebCoreSupport/FullScreenVideoQt.cpp:
4015 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
4016 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
4017 * WebCoreSupport/FullScreenVideoQt.h:
4018 * WebCoreSupport/NotificationPresenterClientQt.cpp:
4019 (WebCore::NotificationWrapper::NotificationWrapper):
4020 (WebCore::NotificationPresenterClientQt::displayNotification):
4021 * WebCoreSupport/PopupMenuQt.cpp:
4022 (WebCore::PopupMenuQt::PopupMenuQt):
4023 (WebCore::PopupMenuQt::~PopupMenuQt):
4024 (WebCore::PopupMenuQt::show):
4025 * WebCoreSupport/PopupMenuQt.h:
4026 * WebCoreSupport/QtPlatformPlugin.cpp:
4027 (WebCore::QtPlatformPlugin::createSelectInputMethod):
4028 (WebCore::QtPlatformPlugin::createNotificationPresenter):
4029 (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):
4030 (WebCore::QtPlatformPlugin::createTouchModifier):
4031 (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
4032 * WebCoreSupport/QtPlatformPlugin.h:
4033 (WebCore::QtPlatformPlugin::QtPlatformPlugin):
4035 2011-05-15 Adam Barth <abarth@webkit.org>
4037 Attempt to fix the Qt build. (Strict PassOwnPtr fix.)
4039 * Api/qgraphicswebview.cpp:
4040 (QGraphicsWebViewPrivate::detachCurrentPage):
4041 (QGraphicsWebView::setPage):
4043 (QWebPage::setView):
4045 2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
4047 Unreviewed, rolling out r86504.
4048 http://trac.webkit.org/changeset/86504
4049 https://bugs.webkit.org/show_bug.cgi?id=60853
4051 "Broke Qt EventSender in editing/selection tests" (Requested
4052 by mwenge on #webkit).
4054 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4055 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4057 2011-05-12 Robert Hogan <robert@webkit.org>
4059 Reviewed by Benjamin Poulain.
4061 [Qt] fix http/tests/plugins/plugin-document-has-focus.html
4062 https://bugs.webkit.org/show_bug.cgi?id=60722
4064 QWebPage::setView() will display the browser window, so
4065 implement a private version that does just enough to
4066 satisfy EventSender's requirement to install an event
4067 filter on a page's web view.
4069 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4070 (DumpRenderTreeSupportQt::setView):
4071 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4073 2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
4075 Unreviewed, rolling out r86447.
4076 http://trac.webkit.org/changeset/86447
4077 https://bugs.webkit.org/show_bug.cgi?id=60809
4079 "Broke some uses of EventSender object on Qt" (Requested by
4082 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4083 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4085 2011-05-13 Sam Weinig <sam@webkit.org>
4087 Reviewed by Anders Carlsson.
4089 Prune #includes from FrameView.h (Part 2)
4090 https://bugs.webkit.org/show_bug.cgi?id=60748
4092 - Update files that were depending on FrameView.h #including Frame.h or
4095 * Api/qgraphicswebview.cpp:
4096 * WebCoreSupport/ChromeClientQt.cpp:
4098 2011-05-13 Robert Hogan <robert@webkit.org>
4100 Reviewed by Benjamin Poulain.
4102 [Qt] fix http/tests/plugins/plugin-document-has-focus.html
4103 https://bugs.webkit.org/show_bug.cgi?id=60722
4105 QWebPage::setView() will display the browser window, so
4106 implement a private version that does just enough to
4107 satisfy EventSender's requirement to install an event
4108 filter on a page's web view.
4110 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4111 (DumpRenderTreeSupportQt::setView):
4112 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4114 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
4116 Reviewed by nobody, build fix.
4118 [Qt] Fix build on MSVC.
4120 qobject_cast<> requires the class to be exported on MSVC,
4121 removing it since the code that needs it is commented out for
4124 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
4125 (tst_QDeclarativeWebView::elementAreaAt):
4127 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
4129 Reviewed by nobody, build fix.
4131 [Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
4135 2011-05-12 Young Han Lee <joybro@company100.net>
4137 Reviewed by Kenneth Rohde Christiansen.
4139 [Qt] Implement layoutTestController.layerTreeAsText()
4140 https://bugs.webkit.org/show_bug.cgi?id=60367
4142 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4143 (DumpRenderTreeSupportQt::layerTreeAsText):
4144 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4146 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
4148 Reviewed by Kenneth Rohde Christiansen.
4150 [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
4151 https://bugs.webkit.org/show_bug.cgi?id=60439
4153 Patch 10/12: Glue the TextureMapper refactoring into Webkit(1).
4154 1. Pass a GraphicsLayer* instead of a PlatformLayer* to the QWebPageClient.
4155 2. Set parameters in TextureMapper/TextureMapperNode instead of passing them in an options argument.
4156 3. Rename PlatformLayerProxyQt to TextureMapperNodeClient
4158 * Api/qwebframe.cpp:
4159 (QWebFramePrivate::renderCompositedLayers):
4161 * Api/qwebframe_p.h:
4162 (QWebFramePrivate::QWebFramePrivate):
4163 * WebCoreSupport/ChromeClientQt.cpp:
4164 (WebCore::ChromeClientQt::attachRootGraphicsLayer):
4165 * WebCoreSupport/PageClientQt.cpp:
4166 (WebCore::TextureMapperNodeClientQt::TextureMapperNodeClientQt):
4167 (WebCore::TextureMapperNodeClientQt::scroll):
4168 (WebCore::TextureMapperNodeClientQt::setTextureMapper):
4169 (WebCore::TextureMapperNodeClientQt::~TextureMapperNodeClientQt):
4170 (WebCore::TextureMapperNodeClientQt::computeLastModifiedRect):
4171 (WebCore::TextureMapperNodeClientQt::syncRootLayer):
4172 (WebCore::TextureMapperNodeClientQt::rootNode):
4173 (WebCore::PageClientQWidget::setRootGraphicsLayer):
4174 (WebCore::PageClientQWidget::syncLayers):
4175 (WebCore::PageClientQWidget::~PageClientQWidget):
4176 (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
4177 (WebCore::PageClientQGraphicsWidget::update):
4178 (WebCore::PageClientQGraphicsWidget::syncLayers):
4179 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
4180 (WebCore::PageClientQGraphicsWidget::markForSync):
4181 * WebCoreSupport/PageClientQt.h:
4182 (WebCore::PageClientQWidget::PageClientQWidget):
4183 (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
4184 (WebCore::PageClientQGraphicsWidget::syncLayersTimeout):
4187 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
4189 Reviewed by Kenneth Rohde Christiansen.
4191 [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
4192 https://bugs.webkit.org/show_bug.cgi?id=60439
4194 Patch 4/12: Update the settings to enable accelerated compositing for all the relevant settings
4197 * Api/qwebsettings.cpp:
4198 (qt_networkAccessAllowed):
4199 (QWebSettingsPrivate::apply):
4201 2011-05-11 Sam Weinig <sam@webkit.org>
4203 Reviewed by Eric Seidel.
4205 Stop including Console.h just to get Console enum types
4206 https://bugs.webkit.org/show_bug.cgi?id=60607
4208 Move MessageSource, MessageType and MessageLevel into its own
4209 header and cleanup surrounding classes.
4211 * Api/qwebelement.cpp:
4213 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
4215 Reviewed by Csaba Osztrogonác.
4217 [Qt] Increment QtWebKit trunk version to 4.10.0
4218 https://bugs.webkit.org/show_bug.cgi?id=60549
4220 QtWebKit-2.2 (branched) will be 4.9.0, so we need to
4221 increase the trunk version by 1.
4223 * qt_webkit_version.pri:
4225 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
4227 Reviewed by Csaba Osztrogonác.
4229 [Qt] tst_QWebPage creates temporary files in the current working dir
4230 https://bugs.webkit.org/show_bug.cgi?id=60497
4232 tst_QWebPage was using QDir::currentPath when creating temporary dirs
4233 and leaving them after the test was run. I basically borrowed the fix
4234 from tst_QDeclarativeWebView.
4236 * tests/qwebpage/tst_qwebpage.cpp:
4238 (tst_QWebPage::tmpDirPath):
4239 (tst_QWebPage::cleanupFiles):
4240 (tst_QWebPage::database):
4241 (tst_QWebPage::multiplePageGroupsAndLocalStorage):
4243 2011-05-09 Chang Shu <cshu@webkit.org>
4245 Reviewed by Kenneth Rohde Christiansen.
4247 [Qt] DumpRenderTreeQt needs an implementation of unmarkText
4248 https://bugs.webkit.org/show_bug.cgi?id=60499
4250 The implementation is similar to gtk.
4252 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4253 (DumpRenderTreeSupportQt::confirmComposition):
4254 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4256 2011-05-07 Joe Mason <jmason@rim.com>
4258 Reviewed by Daniel Bates.
4260 FrameLoader::isProcessingUserGesture is wrong in dispatchWillPerformClientRedirect
4261 https://bugs.webkit.org/show_bug.cgi?id=52211
4263 Dump isUserProcessingGesture in willPerformClientRedirect so that the layout tests can be extended.
4265 * WebCoreSupport/FrameLoaderClientQt.cpp:
4266 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
4268 2011-05-06 Kent Tamura <tkent@chromium.org>
4270 Reviewed by Ryosuke Niwa.
4272 Eliminate WebCore/dom/InputElement.{cpp,h}
4273 https://bugs.webkit.org/show_bug.cgi?id=60262
4276 (QWebPage::inputMethodQuery):
4277 Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
4278 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4279 (DumpRenderTreeSupportQt::setAutofilled):
4280 Follow the return type change of Node::toInputElement().
4282 2011-05-04 Philippe Normand <pnormand@igalia.com>
4284 Reviewed by Dimitri Glazkov.
4286 Implement LayoutTestController::pseudoShadowId()
4287 https://bugs.webkit.org/show_bug.cgi?id=60034
4289 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4290 (DumpRenderTreeSupportQt::shadowPseudoId):
4291 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4293 2011-05-05 Prasanth Ullattil <prasanth.ullattil@nokia.com>
4295 Reviewed by Simon Hausmann.
4297 Install correct header files for webkit.
4299 Since WebKit is no longer inside Qt, we can remove the detection for
4302 [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
4303 https://bugs.webkit.org/show_bug.cgi?id=57621
4307 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
4309 Reviewed by Eric Seidel.
4311 Rename SelectionController to FrameSelection
4312 https://bugs.webkit.org/show_bug.cgi?id=60234
4314 * Api/qwebframe.cpp:
4316 2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
4318 Reviewed by Andreas Kling.
4320 [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
4321 https://bugs.webkit.org/show_bug.cgi?id=60224
4323 We should use nullptr rather than 0. nullptr will be added in the new C++ standard
4324 but WebKit already has a nullptr class if there is no c++0x support.
4326 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4327 (DumpRenderTreeSupportQt::addUserStyleSheet):
4329 2011-05-04 Cris Neckar <cdn@chromium.org>
4331 Reviewed by Adam Barth.
4333 Expose WebView directly through ChromeClient.
4334 https://bugs.webkit.org/show_bug.cgi?id=49902
4336 * WebCoreSupport/ChromeClientQt.h:
4337 (WebCore::ChromeClientQt::webView):
4339 2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
4341 Unreviewed warning fix.
4343 The variable is just unused.
4345 * tests/qwebpage/tst_qwebpage.cpp:
4346 (tst_QWebPage::inputMethods):
4348 2011-05-04 Tao Bai <michaelbai@chromium.org>
4350 Reviewed by David Kilzer.
4352 Populate touch-icon url to FrameLoaderClient
4353 https://bugs.webkit.org/show_bug.cgi?id=59143
4355 Respect the interface change in FrameLoaderClient.
4357 * WebCoreSupport/FrameLoaderClientQt.cpp:
4358 (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
4359 * WebCoreSupport/FrameLoaderClientQt.h:
4361 2011-03-31 Luiz Agostini <luiz.agostini@openbossa.org>
4363 Reviewed by Kenneth Rohde Christiansen.
4365 [Qt] Qt WebKit updates view on HTTP 204 response
4366 https://bugs.webkit.org/show_bug.cgi?id=42529
4368 Ignoring http responses which have status code equal to 204 (No Content)
4369 or 205 (Reset Content).
4371 * WebCoreSupport/FrameLoaderClientQt.cpp:
4372 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
4374 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
4376 Reviewed by Benjamin Poulain.
4378 [Qt] Fix signals emitted in FakeReply used in autotests
4379 https://bugs.webkit.org/show_bug.cgi?id=60049
4381 The signals emitted for each case of FakeReply were swapped (error case
4382 emitting metaDataChanged() and redirect case emitting error()). Emitting
4383 readyRead() is not necessary.
4385 * tests/qwebframe/tst_qwebframe.cpp:
4386 (FakeReply::FakeReply):
4387 Choose the different continue function for each case of FakeReply. This removes
4388 the need of the if-statement in timeout() and let us replace timeout() with two
4391 (FakeReply::continueRedirect):
4392 (FakeReply::continueError):
4393 Continuation cases, emitting the minimal set of signals needed for each case.
4395 2011-05-03 Julien Chaffraix <jchaffraix@codeaurora.org>
4397 Reviewed by Dimitri Glazkov.
4399 Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
4400 https://bugs.webkit.org/show_bug.cgi?id=58703
4402 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4403 (DumpRenderTreeSupportQt::shadowRoot): Added #include for ShadowRoot.h.
4405 2011-05-03 Keith Kyzivat <keith.kyzivat@nokia.com>
4407 Reviewed by Andreas Kling.
4409 [Qt] QtDeclarative Webview element has a fixed white background
4410 https://bugs.webkit.org/show_bug.cgi?id=40918
4412 QProperty REVISION feature is not present in certain Qt Trunk clones.
4413 These builds report their version as 4.8.0, and therefore break on the
4414 prior #if QT_VERSION >= 0x040704. The proper fix is to check based on
4415 the existance of Q_REVISION.
4417 * declarative/plugin.cpp:
4418 (WebKitQmlPlugin::registerTypes):
4419 * declarative/qdeclarativewebview.cpp:
4420 * declarative/qdeclarativewebview_p.h:
4422 2011-05-01 Sam Weinig <sam@webkit.org>
4424 Reviewed by Anders Carlsson.
4426 Prune some unnecessary #includes
4427 https://bugs.webkit.org/show_bug.cgi?id=59895
4429 Start getting rid of unnecessary #includes and forward declares.
4431 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4433 2011-04-29 Csaba Osztrogonác <ossy@webkit.org>
4435 Reviewed by Adam Barth.
4437 Enable strict OwnPtr for Qt
4438 https://bugs.webkit.org/show_bug.cgi?id=59667
4441 (QWebPagePrivate::QWebPagePrivate):
4443 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4445 Reviewed by Simon Hausmann.
4447 ENABLE(QT_BEARER) -> USE(QT_BEARER)
4449 * Api/qwebsettings.cpp:
4451 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4453 Reviewed by Simon Hausmann.
4455 ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
4459 2011-04-28 Yael Aharon <yael.aharon@nokia.com>
4461 Reviewed by Andreas Kling.
4463 Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
4464 https://bugs.webkit.org/show_bug.cgi?id=59704
4466 * WebCoreSupport/QtFallbackWebPopup.cpp:
4467 (WebCore::QtFallbackWebPopup::show):
4468 * WebCoreSupport/QtFallbackWebPopup.h:
4470 2011-04-27 Yi Shen <yi.4.shen@nokia.com>
4472 Reviewed by Kenneth Rohde Christiansen.
4474 [Qt] Upstream Symbian platform plugin
4475 https://bugs.webkit.org/show_bug.cgi?id=58435
4477 Upstream Symbian platform plugin.
4479 * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
4480 * symbian/platformplugin: Added.
4481 * symbian/platformplugin/WebPlugin.cpp: Added.
4482 (ItemListDelegate::ItemListDelegate):
4483 (ItemListDelegate::paint):
4485 (Popup::resizeEvent):
4486 (Popup::populateList):
4487 (Popup::onItemSelected):
4488 (Popup::updateSelectionsBeforeDialogClosing):
4489 (Popup::updateAndClose):
4490 (WebPopup::WebPopup):
4491 (WebPopup::~WebPopup):
4492 (WebPopup::createSingleSelectionPopup):
4493 (WebPopup::createMultipleSelectionPopup):
4494 (WebPopup::createPopup):
4497 (WebPopup::popupClosed):
4498 (WebPopup::itemClicked):
4499 (SingleSelectionPopup::SingleSelectionPopup):
4500 (MultipleSelectionPopup::MultipleSelectionPopup):
4501 (WebNotificationPresenter::showNotification):
4502 (WebPlugin::supportsExtension):
4503 (WebPlugin::createExtension):
4504 * symbian/platformplugin/WebPlugin.h: Added.
4505 (Popup::preSelectedIndices):
4506 (Popup::listWidget):
4507 (WebNotificationPresenter::WebNotificationPresenter):
4508 (WebNotificationPresenter::~WebNotificationPresenter):
4509 * symbian/platformplugin/platformplugin.pro: Added.
4510 * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
4511 (QWebSelectData::~QWebSelectData):
4512 (QWebSelectMethod::~QWebSelectMethod):
4513 (QWebNotificationData::~QWebNotificationData):
4514 (QWebNotificationPresenter::QWebNotificationPresenter):
4515 (QWebNotificationPresenter::~QWebNotificationPresenter):
4516 (QWebTouchModifier::~QWebTouchModifier):
4517 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
4518 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
4519 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
4521 2011-04-26 Yi Shen <yi.4.shen@nokia.com>
4523 Reviewed by Tor Arne Vestbø.
4525 [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::setHtmlWithBaseURL
4526 https://bugs.webkit.org/show_bug.cgi?id=56946
4528 Deployed the missing resource for Symbian platform.
4530 * tests/qwebframe/qwebframe.pro:
4532 2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com>
4534 Reviewed by Andreas Kling.
4536 [Qt] Build fix: QtDeclarative Webview element has a fixed white background
4537 https://bugs.webkit.org/show_bug.cgi?id=40918
4539 Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.
4541 * declarative/plugin.cpp: Bump up required version to 4.7.4+
4542 (WebKitQmlPlugin::registerTypes):
4543 * declarative/qdeclarativewebview.cpp: ditto
4544 * declarative/qdeclarativewebview_p.h: ditto
4545 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto
4547 2011-04-26 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
4549 Reviewed by Csaba Osztrogonác.
4551 [Qt] Implement LayoutTestController::setAutofilled
4552 https://bugs.webkit.org/show_bug.cgi?id=59439
4554 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4555 (DumpRenderTreeSupportQt::setAutofilled):
4556 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4558 2011-04-22 Sheriff Bot <webkit.review.bot@gmail.com>
4560 Unreviewed, rolling out r84627.
4561 http://trac.webkit.org/changeset/84627
4562 https://bugs.webkit.org/show_bug.cgi?id=59271
4564 It broke Symbian build (Requested by Ossy on #webkit).
4567 * symbian/platformplugin/WebPlugin.cpp: Removed.
4568 * symbian/platformplugin/WebPlugin.h: Removed.
4569 * symbian/platformplugin/platformplugin.pro: Removed.
4570 * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
4572 2011-04-22 Sam Weinig <sam@webkit.org>
4576 * Api/qwebelement.cpp:
4577 (setupScriptContext):
4579 2011-04-22 Yi Shen <yi.4.shen@nokia.com>
4581 Reviewed by Kenneth Rohde Christiansen.
4583 [Qt] Upstream Symbian platform plugin
4584 https://bugs.webkit.org/show_bug.cgi?id=58435
4586 Upstream Symbian platform plugin.
4588 * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
4589 * symbian/platformplugin: Added.
4590 * symbian/platformplugin/WebPlugin.cpp: Added.
4591 (ItemListDelegate::ItemListDelegate):
4592 (ItemListDelegate::paint):
4594 (Popup::resizeEvent):
4595 (Popup::populateList):
4596 (Popup::onItemSelected):
4597 (Popup::updateSelectionsBeforeDialogClosing):
4598 (Popup::updateAndClose):
4599 (WebPopup::WebPopup):
4600 (WebPopup::~WebPopup):
4601 (WebPopup::createSingleSelectionPopup):
4602 (WebPopup::createMultipleSelectionPopup):
4603 (WebPopup::createPopup):
4606 (WebPopup::popupClosed):
4607 (WebPopup::itemClicked):
4608 (SingleSelectionPopup::SingleSelectionPopup):
4609 (MultipleSelectionPopup::MultipleSelectionPopup):
4610 (WebNotificationPresenter::showNotification):
4611 (WebPlugin::supportsExtension):
4612 (WebPlugin::createExtension):
4613 * symbian/platformplugin/WebPlugin.h: Added.
4614 (Popup::preSelectedIndices):
4615 (Popup::listWidget):
4616 (WebNotificationPresenter::WebNotificationPresenter):
4617 (WebNotificationPresenter::~WebNotificationPresenter):
4618 * symbian/platformplugin/platformplugin.pro: Added.
4619 * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
4620 (QWebSelectData::~QWebSelectData):
4621 (QWebSelectMethod::~QWebSelectMethod):
4622 (QWebNotificationData::~QWebNotificationData):
4623 (QWebNotificationPresenter::QWebNotificationPresenter):
4624 (QWebNotificationPresenter::~QWebNotificationPresenter):
4625 (QWebTouchModifier::~QWebTouchModifier):
4626 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
4627 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
4628 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
4630 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
4632 Reviewed by Sam Weinig.
4634 Add Frame* to the argument lists of canCopyCut and canPaste
4635 https://bugs.webkit.org/show_bug.cgi?id=59153
4637 * WebCoreSupport/EditorClientQt.cpp:
4638 (WebCore::EditorClientQt::canCopyCut):
4639 (WebCore::EditorClientQt::canPaste):
4640 * WebCoreSupport/EditorClientQt.h:
4642 2011-04-21 Yi Shen <yi.4.shen@nokia.com>
4644 Reviewed by Antonio Gomes.
4646 [Qt] Fix the style issue for Api/qwebkitplatformplugin.h
4647 https://bugs.webkit.org/show_bug.cgi?id=59097
4649 Fix the style issues for Api/qwebkitplatformplugin.h found by the webkit-check-style.
4651 * Api/qwebkitplatformplugin.h:
4653 2011-04-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
4655 Reviewed by Csaba Osztrogonác.
4657 [Qt] REGRESSION(84057): It made 4 API tests fail
4658 https://bugs.webkit.org/show_bug.cgi?id=58848
4660 After MIME sniffing support was added, some autotests are failing because
4661 the sniffer doesn't recognize our HTML pages.
4663 This fixes tst_QWebPage::backActionUpdate(), tst_QWebPage::errorPageExtensionInFrameset()
4664 and tst_QWebFrame::horizontalScrollAfterBack().
4666 * tests/qwebframe/resources/testiframe.html:
4667 * tests/qwebframe/resources/testiframe2.html:
4668 Remove spurious </html> in beginning of the document.
4670 * tests/qwebpage/resources/framedindex.html:
4671 * tests/qwebpage/resources/index.html:
4672 Add <html> (and </html>) tags, <frameset> is not recognized by the sniffer as a
4673 possible starting tag for HTML document.
4675 * tests/qwebpage/tst_qwebpage.cpp:
4676 (tst_QWebPage::errorPageExtensionInFrameset):
4677 Verify if we do have a main frame and the main frame has the children frames we
4678 expect. This will avoid crashing if for some reason children frames are not
4681 2011-04-20 Dominic Cooney <dominicc@chromium.org>
4683 Reviewed by Dimitri Glazkov.
4685 layoutTestController can create and destroy shadow DOM
4686 https://bugs.webkit.org/show_bug.cgi?id=59058
4688 Support for new methods in Qt DRT.
4690 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4691 (DumpRenderTreeSupportQt::ensureShadowRoot):
4692 (DumpRenderTreeSupportQt::removeShadowRoot):
4693 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4695 2011-04-20 Balazs Kelemen <kbalazs@webkit.org>
4697 Reviewed by Csaba Osztrogonác.
4699 [Qt] Cleanup includepath adjustment for generated files
4700 https://bugs.webkit.org/show_bug.cgi?id=58869
4702 * QtWebKit.pro: Revert the hacky fix in r84174. Remove
4705 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
4707 Reviewed by Andreas Kling.
4709 [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
4710 https://bugs.webkit.org/show_bug.cgi?id=57254
4712 Skip test for setPalette() which doesn't work
4713 when WTF_USE_QT_MOBILE_THEME is defined.
4715 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
4716 * tests/qwebview/tst_qwebview.cpp:
4719 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
4721 Reviewed by Laszlo Gombos.
4723 [Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
4724 https://bugs.webkit.org/show_bug.cgi?id=58044
4726 Fixing this test by disabling the scrollbars on the graphics view
4727 since QtWebKit handles scrolling and scrollbar automatically and correctly.
4729 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
4730 (tst_QGraphicsWebView::widgetsRenderingThroughCache):
4732 2011-04-19 Igor Oliveira <igor.oliveira@openbossa.org>
4734 Reviewed by Andreas Kling.
4736 [Qt] X11: Text selection is causing oncopy event to be called
4737 https://bugs.webkit.org/show_bug.cgi?id=58656
4739 Always when text is selected the oncopy event is fired, this behavior does
4740 not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
4741 is making multi part-copies (with rich text metadata), the multi-part
4742 data can be obtained by data transfer items interface when supported by QtWebKit.
4743 Also, copies to the clipboard of a selected image, is not supported by Chrome and
4744 Firefox and was removed from QtWebKit.
4748 (QWebPagePrivate::handleClipboard):
4750 2011-04-18 Csaba Osztrogonác <ossy@webkit.org>
4752 [Qt][WK2] Unreviewed buildfix after r84174.
4754 * QtWebKit.pro: Missing includepath added.
4756 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
4758 Reviewed by Laszlo Gombos.
4760 [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
4761 https://bugs.webkit.org/show_bug.cgi?id=57546
4763 Disable the fullscreen VKB when testing inputFieldFocus().
4765 * tests/qwebframe/tst_qwebframe.cpp:
4767 2011-04-18 Andreas Kling <kling@webkit.org>
4769 [Qt] DRT: Unreviewed test fix after r84168.
4771 Dump the original request KURL for blocked access attempts.
4772 Turns out converting it to a QUrl lower-cases the hostname.
4774 * WebCoreSupport/FrameLoaderClientQt.cpp:
4775 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
4777 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
4779 Reviewed by Laszlo Gombos.
4781 [Qt] Fix Api tests for QWebPage on Symbian
4782 https://bugs.webkit.org/show_bug.cgi?id=56924
4784 Ignores the style attribute that selectedHtml() returns.
4786 * tests/qwebpage/tst_qwebpage.cpp:
4787 (tst_QWebPage::cursorMovements):
4788 (tst_QWebPage::textSelection):
4789 (tst_QWebPage::findText):
4791 2011-04-18 Andreas Kling <kling@webkit.org>
4793 Reviewed by Adam Barth.
4795 REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
4796 https://bugs.webkit.org/show_bug.cgi?id=58779
4798 KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
4799 QUrl instead to match the behavior of other ports.
4801 * WebCoreSupport/FrameLoaderClientQt.cpp:
4802 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
4804 2011-04-18 Dominic Cooney <dominicc@chromium.org>
4806 Reviewed by Andreas Kling.
4808 Add layoutTestController.shadowRoot to Qt DRT.
4809 https://bugs.webkit.org/show_bug.cgi?id=58759
4811 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
4812 (DumpRenderTreeSupportQt::shadowRoot): Added.
4813 * WebCoreSupport/DumpRenderTreeSupportQt.h:
4815 2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
4817 Reviewed by Andreas Kling.
4819 [Qt] Autotest got missed in the handover of the QML WebView element
4820 https://bugs.webkit.org/show_bug.cgi?id=41449
4822 Importing WebView QML element test cases from Qt repository. I did some
4823 style modifications and simplifications in the original code but hopefully
4824 without changing the behavior.
4826 Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
4827 issues currently are:
4829 - pixelCache() test checked the usage of pixel cache by using a subclass of
4830 QDeclarativeWebView. We can't do that right now because this class is not
4831 exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
4833 - elementAtArea() test uses a function that is not exported. But in this case
4834 I think we should test it's user, the public method "heuristicZoom".
4836 * tests/qdeclarativewebview/resources/basic.html: Added.
4837 * tests/qdeclarativewebview/resources/basic.png: Added.
4838 * tests/qdeclarativewebview/resources/basic.qml: Added.
4839 * tests/qdeclarativewebview/resources/elements.html: Added.
4840 * tests/qdeclarativewebview/resources/elements.qml: Added.
4841 * tests/qdeclarativewebview/resources/forward.html: Added.
4842 * tests/qdeclarativewebview/resources/forward.png: Added.
4843 * tests/qdeclarativewebview/resources/javaScript.html: Added.
4844 * tests/qdeclarativewebview/resources/javaScript.qml: Added.
4845 * tests/qdeclarativewebview/resources/loadError.qml: Added.
4846 * tests/qdeclarativewebview/resources/newwindows.html: Added.
4847 * tests/qdeclarativewebview/resources/newwindows.qml: Added.
4848 * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
4849 * tests/qdeclarativewebview/resources/sethtml.qml: Added.
4850 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
4851 (tst_QDeclarativeWebView::tmpDir):
4855 (tst_QDeclarativeWebView::cleanupTestCase):
4856 (tst_QDeclarativeWebView::basicProperties):
4857 (tst_QDeclarativeWebView::elementAreaAt):
4858 (tst_QDeclarativeWebView::historyNav):
4859 (callEvaluateJavaScript):
4860 (tst_QDeclarativeWebView::javaScript):
4861 (tst_QDeclarativeWebView::loadError):
4862 (tst_QDeclarativeWebView::multipleWindows):
4863 (tst_QDeclarativeWebView::newWindowComponent):
4864 (tst_QDeclarativeWebView::newWindowParent):
4865 (tst_QDeclarativeWebView::pressGrabTime):
4866 (tst_QDeclarativeWebView::renderingEnabled):
4867 (tst_QDeclarativeWebView::setHtml):
4868 (tst_QDeclarativeWebView::settings):
4869 (tst_QDeclarativeWebView::checkNoErrors):
4870 * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
4872 2011-04-08 Luiz Agostini <luiz.agostini@openbossa.org>
4874 Reviewed by Kenneth Rohde Christiansen.
4876 [Qt] QWebPage MIME type handling inconsistency with other web browsers
4877 https://bugs.webkit.org/show_bug.cgi?id=46968
4879 Implementing mime type sniffing based on
4880 http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
4882 * WebCoreSupport/FrameLoaderClientQt.cpp:
4883 (WebCore::FrameLoaderClientQt::createNetworkingContext):
4884 * WebCoreSupport/FrameNetworkingContextQt.cpp:
4885 (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
4886 (WebCore::FrameNetworkingContextQt::create):
4887 (WebCore::FrameNetworkingContextQt::MIMESniffingEnabled):
4888 * WebCoreSupport/FrameNetworkingContextQt.h:
4889 * tests/MIMESniffing/MIMESniffing.pro: Added.
4890 * tests/MIMESniffing/TestData.h: Added.
4891 * tests/MIMESniffing/resources.qrc: Added.
4892 * tests/MIMESniffing/resources/application_atom+xml: Added.
4893 * tests/MIMESniffing/resources/application_ogg: Added.
4894 * tests/MIMESniffing/resources/application_pdf: Added.
4895 * tests/MIMESniffing/resources/application_postscript: Added.
4896 * tests/MIMESniffing/resources/application_rdf+xml: Added.
4897 * tests/MIMESniffing/resources/application_rss+xml: Added.
4898 * tests/MIMESniffing/resources/application_x-gzip: Added.
4899 * tests/MIMESniffing/resources/application_x-rar-compressed: Added.
4900 * tests/MIMESniffing/resources/application_zip: Added.
4901 * tests/MIMESniffing/resources/audio_x-wave: Added.
4902 * tests/MIMESniffing/resources/image_bmp: Added.
4903 * tests/MIMESniffing/resources/image_gif: Added.
4904 * tests/MIMESniffing/resources/image_jpeg: Added.
4905 * tests/MIMESniffing/resources/image_png: Added.
4906 * tests/MIMESniffing/resources/image_vnd.microsoft.icon: Added.
4907 * tests/MIMESniffing/resources/image_webp: Added.
4908 * tests/MIMESniffing/resources/text_html: Added.
4909 * tests/MIMESniffing/resources/text_xml: Added.
4910 * tests/MIMESniffing/resources/video_webm: Added.
4911 * tests/MIMESniffing/tst_MIMESniffing.cpp: Added.
4912 (tst_MIMESniffing::tst_MIMESniffing):
4914 (tst_MIMESniffing::testCase1):
4917 2011-04-15 Andreas Kling <kling@webkit.org>
4919 Reviewed by Antonio Gomes.
4921 [Qt] DRT: Block access to external URLs.
4923 Implement the "Blocked access to external URL" behavior for Qt's DRT,
4924 based on what other ports are doing.
4926 Fixes <http://webkit.org/b/57306> and <http://webkit.org/b/58523>.
4928 * WebCoreSupport/FrameLoaderClientQt.cpp:
4929 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
4931 2011-01-26 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
4933 Reviewed by Antonio Gomes.
4935 [Qt] Web Inspector does not highlight elements
4936 https://bugs.webkit.org/show_bug.cgi?id=35125
4938 Adjust Web inspector to highlight elements on the page when the mouse
4939 hovers the element on DOM inspector.
4941 * Api/qwebframe.cpp:
4942 (QWebFramePrivate::renderRelativeCoords):
4943 * WebCoreSupport/InspectorClientQt.cpp:
4944 (WebCore::InspectorClientQt::highlight):
4945 (WebCore::InspectorClientQt::hideHighlight):
4947 2011-04-12 George Guo <George.Guo@nokia.com>
4949 Reviewed by Laszlo Gombos.
4951 [Qt] On Symbian got "Update Error" when installing QtWebkit.sis
4952 http://bugs.webkit.org/show_bug.cgi?id=58141
4954 If QtWebKit is already in Symbian ROM, we need package to be
4959 2011-04-12 Alexis Menard <alexis.menard@openbossa.org>
4961 Reviewed by Andreas Kling.
4963 [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
4964 https://bugs.webkit.org/show_bug.cgi?id=58251
4966 Fix an issue with slot names after http://trac.webkit.org/changeset/83512.
4968 * Api/qwebframe.cpp:
4969 (QWebFrame::QWebFrame):
4971 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
4973 Reviewed by Benjamin Poulain.
4975 [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
4976 https://bugs.webkit.org/show_bug.cgi?id=58251
4978 Qt coding conventions states that private slots should be located in private implementation of
4979 the class. This allows us to rename/delete the slots in the future without breaking anything.
4981 No new tests added, just a simple refactoring.
4983 * Api/qwebframe.cpp:
4984 (QWebFramePrivate::_q_orientationChanged):
4986 * Api/qwebframe_p.h:
4988 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
4990 Reviewed by Kenneth Rohde Christiansen.
4992 [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
4993 https://bugs.webkit.org/show_bug.cgi?id=50373
4995 Make sure that we invalidate the backing store when using TILED_BACKING_STORE
4996 and the page contains sub frames. This bug appears only when frame flattening is
4997 disabled and scrollable subframes.
4999 Original patch from Thomas Thrainer.
5001 * WebCoreSupport/ChromeClientQt.cpp:
5002 (WebCore::ChromeClientQt::invalidateWindow):
5004 2011-04-11 Benjamin Poulain <benjamin.poulain@nokia.com>
5006 Reviewed by Andreas Kling.
5008 [Qt] HTML5 Drag and Drop demos not working
5009 https://bugs.webkit.org/show_bug.cgi?id=56486
5011 Handling the drop with JavaScript was not working with Qt because if the action is ignored
5012 in response to DragEnter, no further events are sent to the view.
5014 Drag and drop is defined and used differently by webpages. The drag move events are determining
5015 what action should take place. To adopt this behavior for Qt, we always accept drag enter events
5019 (QWebPagePrivate::dragEnterEvent):
5021 2011-04-11 Andras Becsi <abecsi@webkit.org>
5023 Reviewed by Andreas Kling.
5025 [Qt] REGRESSION(83122): tst_QWebElement::style() fails
5026 https://bugs.webkit.org/show_bug.cgi?id=58032
5028 According to the documentation of QWebElement the styleProperty method should
5029 not respect style inheritance and other CSS rules for the InlineStyle enum.
5031 r83122 fixed this behaviour.
5033 * tests/qwebelement/tst_qwebelement.cpp:
5034 (tst_QWebElement::style): Fix the expected color for QWebElement::InlineStyle.
5036 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
5038 Build fix after r83436.
5040 * WebCoreSupport/FrameLoaderClientQt.cpp:
5041 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
5043 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
5045 Reviewed by Benjamin Poulain.
5047 [Qt] dumpResourceResponseMIMETypes shouldn't strip URL query string.
5049 * WebCoreSupport/FrameLoaderClientQt.cpp:
5050 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): Use KURL::lastPathComponent()
5051 for the dumpResourceResponseMIMETypes display string instead of QFileInfo::fileName().
5052 This is in line with the Mac port.
5054 2011-04-08 Sheriff Bot <webkit.review.bot@gmail.com>
5056 Unreviewed, rolling out r83295.
5057 http://trac.webkit.org/changeset/83295
5058 https://bugs.webkit.org/show_bug.cgi?id=58144
5060 Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
5062 * WebCoreSupport/EditorClientQt.cpp:
5063 (WebCore::EditorClientQt::handleInputMethodKeydown):
5065 2011-04-08 Yi Shen <yi.4.shen@nokia.com>
5067 Reviewed by Antonio Gomes.
5069 [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
5070 https://bugs.webkit.org/show_bug.cgi?id=57472
5072 Avoid to insert new line for both keydown event & keypress event.
5074 * WebCoreSupport/EditorClientQt.cpp:
5075 (WebCore::EditorClientQt::handleInputMethodKeydown):
5077 2011-04-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
5079 Reviewed by Benjamin Poulain.
5081 [Qt] QWebFrame::setUrl works only from second time if url fragment is present
5082 https://bugs.webkit.org/show_bug.cgi?id=32723
5084 When clearing the frame, instead of using the URL passed to QWebFrame::setUrl(),
5085 use an invalid URL (the begin() without arguments). Clearing the document
5086 with the same URL was causing problems when we had a fragment because it assume that
5087 only scrolling was enough and did not loaded the document again.
5089 When setUrl() is called but fails, url() is expected to return the requested value. The
5090 begin(url) guaranteed that before. This patch adds a member to track the URL, which is
5091 updated when the URL changes and also when setUrl() is called.
5093 KURL was used for the member so that when setUrl() is called, and then url() is checked
5094 before the page gets loaded, we perform the same conversion that will be performed by a
5095 successful load, e.g. add trailing '/' to an address. This behavior is checked by
5096 tst_QWebFrame::requestedUrl() test.
5098 For the record: the second QWebPage::setUrl() worked because the load was considered a
5099 FrameLoadTypeSame, and because of that, was not fit for just scrolling, a reload was
5100 needed. See FrameLoader::shouldScrollToAnchor() for details on this classification.
5102 * Api/qwebframe.cpp:
5103 (QWebFramePrivate::emitUrlChanged): update our URL member and emit the signal.
5106 (QWebFrame::setUrl):
5108 (QWebFrame::baseUrl): look in the document for the baseURL since its contents can change
5109 the baseURL, e.g. by using the <base> tag.
5110 * Api/qwebframe_p.h:
5112 * WebCoreSupport/FrameLoaderClientQt.cpp:
5113 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
5114 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
5116 * tests/qwebframe/tst_qwebframe.cpp:
5117 (tst_QWebFrame::setUrlWithFragment): unskip test.
5119 2011-04-07 Alexis Menard <alexis.menard@openbossa.org>
5121 Reviewed by Kenneth Rohde Christiansen.
5123 Build fix when using Phonon as a backend for the multimedia support.
5125 * WebCoreSupport/ChromeClientQt.cpp:
5126 (WebCore::ChromeClientQt::ChromeClientQt):
5127 (WebCore::ChromeClientQt::~ChromeClientQt):
5128 * WebCoreSupport/ChromeClientQt.h:
5130 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
5132 Reviewed by Kenneth Rohde Christiansen.
5134 [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
5135 https://bugs.webkit.org/show_bug.cgi?id=56086
5137 Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests()
5138 from the LayoutTestController.
5140 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
5141 (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
5142 * WebCoreSupport/DumpRenderTreeSupportQt.h:
5144 2011-04-06 Anders Bakken <agbakken@gmail.com>
5146 Reviewed by Kenneth Rohde Christiansen.
5148 [Qt] FrameLoaderClientQt.cpp has coding-style errors
5149 https://bugs.webkit.org/show_bug.cgi?id=40254
5151 * WebCoreSupport/FrameLoaderClientQt.cpp:
5152 (drtDescriptionSuitableForTestResult):
5153 (WebCore::FrameLoaderClientQt::hasWebView):
5154 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
5155 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
5156 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
5157 (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
5158 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
5159 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
5160 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
5161 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
5162 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
5163 (WebCore::FrameLoaderClientQt::willChangeTitle):
5164 (WebCore::FrameLoaderClientQt::didChangeTitle):
5165 (WebCore::FrameLoaderClientQt::finishedLoading):
5166 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
5167 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
5168 (WebCore::FrameLoaderClientQt::didFinishLoad):
5169 (WebCore::FrameLoaderClientQt::setTitle):
5170 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
5171 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
5172 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
5173 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
5174 (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
5175 (WebCore::FrameLoaderClientQt::committedLoad):
5176 (WebCore::FrameLoaderClientQt::download):
5177 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
5178 (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
5179 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
5180 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
5181 (WebCore::FrameLoaderClientQt::createFrame):
5182 (WebCore::FrameLoaderClientQt::objectContentType):
5183 (WebCore::FrameLoaderClientQt::createPlugin):
5185 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
5187 Reviewed by Andreas Kling.
5189 [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
5190 https://bugs.webkit.org/show_bug.cgi?id=57974
5192 We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
5194 No new tests needed, just a config flag rename.
5196 * Api/qwebkitplatformplugin.h:
5197 * WebCoreSupport/ChromeClientQt.cpp:
5198 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
5199 (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
5200 * WebCoreSupport/FullScreenVideoQt.cpp:
5201 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
5202 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
5203 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
5204 (WebCore::FullScreenVideoQt::exitFullScreenForNode):
5205 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
5206 (WebCore::FullScreenVideoQt::isValid):
5207 * WebCoreSupport/FullScreenVideoQt.h:
5208 * WebCoreSupport/QtPlatformPlugin.cpp:
5209 * WebCoreSupport/QtPlatformPlugin.h:
5210 * examples/platformplugin/WebPlugin.cpp:
5211 (WebPlugin::supportsExtension):
5212 (WebPlugin::createExtension):
5213 * examples/platformplugin/WebPlugin.h:
5214 * examples/platformplugin/platformplugin.pro:
5215 * examples/platformplugin/qwebkitplatformplugin.h:
5216 * tests/qwebpage/tst_qwebpage.cpp:
5217 (tst_QWebPage::loadHtml5Video):
5220 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
5222 Reviewed by Andreas Kling.
5224 [Qt] Implement fullscreen playback for the GStreamer backend.
5225 https://bugs.webkit.org/show_bug.cgi?id=56826
5227 Implement support for fullscreen playback when building the
5228 Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
5229 The implementation is done in FullScreenVideoQt alongside with
5230 the Qt Multimedia support.
5232 No new tests because layout tests cover it. They are not yet activated
5233 but will be any time soon.
5236 * WebCoreSupport/ChromeClientQt.cpp:
5237 (WebCore::ChromeClientQt::ChromeClientQt):
5238 (WebCore::ChromeClientQt::~ChromeClientQt):
5239 (WebCore::ChromeClientQt::enterFullscreenForNode):
5240 (WebCore::ChromeClientQt::exitFullscreenForNode):
5241 * WebCoreSupport/ChromeClientQt.h:
5242 * WebCoreSupport/FullScreenVideoQt.cpp:
5243 (WebCore::GStreamerFullScreenVideoHandler::GStreamerFullScreenVideoHandler):
5244 (WebCore::GStreamerFullScreenVideoHandler::setVideoElement):
5245 (WebCore::GStreamerFullScreenVideoHandler::enterFullScreen):
5246 (WebCore::GStreamerFullScreenVideoHandler::windowClosed):
5247 (WebCore::GStreamerFullScreenVideoHandler::exitFullScreen):
5248 (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
5249 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
5250 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
5251 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
5252 (WebCore::FullScreenVideoQt::exitFullScreenForNode):
5253 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
5254 (WebCore::FullScreenVideoQt::isValid):
5255 * WebCoreSupport/FullScreenVideoQt.h:
5256 (WebCore::GStreamerFullScreenVideoHandler::~GStreamerFullScreenVideoHandler):
5258 2011-04-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
5260 Reviewed by Kenneth Rohde Christiansen.
5262 [Qt] Improve tests for QWebFrame::url() and related methods
5263 https://bugs.webkit.org/show_bug.cgi?id=57865
5265 * tests/qwebframe/tst_qwebframe.cpp:
5266 (FakeReply::FakeReply): make more URLs reply HostNotFound. We needed two different URLs in the test.
5267 (tst_QWebFrame::requestedUrlAfterSetAndLoadFailures): check the properties after an setUrl()
5268 that fails and a load() that fails (for a different URL).
5270 (tst_QWebFrame::setUrlWithFragment_data):
5271 (tst_QWebFrame::setUrlWithFragment): add other test cases similar to the original, but changing
5272 the URL in the frame before the test starts.
5274 (tst_QWebFrame::setUrlSameUrl): document existing behavior of calling setUrl() twice with
5275 the same URL as argument.
5278 (tst_QWebFrame::setUrlThenLoads_data):
5279 (tst_QWebFrame::setUrlThenLoads): check the URL related properties of the frame after a
5280 sequence of set and loads. Those tests are interesting because the properties
5281 react different to setUrl() and load(): 'requestedUrl' always change, 'url' only when setUrl()
5282 is used or after the load() is committed and baseUrl() is similar to url() but also depends
5283 on the contents of the page when it loads.
5285 2011-04-04 MORITA Hajime <morrita@google.com>
5287 Reviewed by Ryosuke Niwa.
5289 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
5290 https://bugs.webkit.org/show_bug.cgi?id=56085
5292 * WebCoreSupport/EditorClientQt.h:
5293 (WebCore::EditorClientQt::requestCheckingOfString):
5295 2011-04-04 Chang Shu <cshu@webkit.org>
5297 Reviewed by Ryosuke Niwa.
5299 setContentEditable with true/false/inherit string is not working properly
5300 https://bugs.webkit.org/show_bug.cgi?id=52058
5302 Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
5303 as rendererIsEditable is for WebCore internal use.
5305 * WebCoreSupport/EditorClientQt.cpp:
5306 (WebCore::EditorClientQt::handleKeyboardEvent):
5308 2011-04-01 Carol Szabo <carol.szabo@nokia.com>
5310 Reviewed by Benjamin Poulain.
5312 Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
5313 Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.
5315 Tiled painting still causes synchronous layout when
5316 accelerated compositing and texture mapper are enabled
5317 https://bugs.webkit.org/show_bug.cgi?id=56929
5319 * Api/qwebframe.cpp:
5320 (QWebFramePrivate::renderFromTiledBackingStore):
5321 (QWebFramePrivate::renderRelativeCoords):
5322 (QWebFramePrivate::renderFrameWidgets):
5323 * Api/qwebframe_p.h:
5325 2011-04-01 Nancy Piedra <nancy.piedra@nokia.com>
5327 Reviewed by Benjamin Poulain.
5329 [Qt] DragClientQt.h has coding-style errors
5330 https://bugs.webkit.org/show_bug.cgi?id=40425
5332 * WebCoreSupport/DragClientQt.h:
5334 2011-03-31 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
5336 Reviewed by Kenneth Rohde Christiansen.
5338 [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
5339 https://bugs.webkit.org/show_bug.cgi?id=57017
5341 Build fix. No new tests.
5345 2011-03-31 Evan Martin <evan@chromium.org>
5349 * WebCoreSupport/FrameLoaderClientQt.cpp:
5350 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
5352 2011-03-31 Nancy Piedra <nancy.piedra@nokia.com>
5354 Reviewed by Benjamin Poulain.
5356 [Qt] ChromeClientQt.h has coding-style errors
5357 https://bugs.webkit.org/show_bug.cgi?id=40239
5359 * WebCoreSupport/ChromeClientQt.h:
5360 (WebCore::ChromeClientQt::scrollbarsModeDidChange):
5361 (WebCore::ChromeClientQt::needTouchEvents):
5362 (WebCore::ChromeClientQt::formStateDidChange):
5363 (WebCore::ChromeClientQt::scrollRectIntoView):
5364 (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
5365 (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
5367 2011-03-31 Evan Martin <evan@chromium.org>
5369 Build fix from previous change.
5371 * Api/qwebframe.cpp:
5374 2011-03-31 Evan Martin <evan@chromium.org>
5376 Reviewed by Eric Seidel.
5378 <title> should support dir attribute
5379 https://bugs.webkit.org/show_bug.cgi?id=50961
5381 Update to new FrameLoaderClient interface.
5383 * WebCoreSupport/FrameLoaderClientQt.cpp:
5384 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
5385 (WebCore::FrameLoaderClientQt::setTitle):
5386 * WebCoreSupport/FrameLoaderClientQt.h:
5388 2011-03-30 Yi Shen <yi.4.shen@nokia.com>
5390 Reviewed by Kenneth Rohde Christiansen.
5392 [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
5393 https://bugs.webkit.org/show_bug.cgi?id=57020
5395 Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().
5397 * tests/qwebview/tst_qwebview.cpp:
5398 (tst_QWebView::focusInputTypes):
5400 2011-03-30 Robert Hogan <robert@webkit.org>
5402 Reviewed by Antonio Gomes.
5404 [Qt] Fix LoadHTMLStringItem::invoke() after r75966
5406 Add DRT support for loading an alternate HTML string
5407 for error pages. This allows Qt to unskip
5408 http/tests/navigation/go-back-to-error-page.html.
5410 https://bugs.webkit.org/show_bug.cgi?id=52614
5412 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
5413 (DumpRenderTreeSupportQt::setAlternateHtml):
5414 * WebCoreSupport/DumpRenderTreeSupportQt.h:
5416 2011-03-29 Alexis Menard <alexis.menard@openbossa.org>
5418 Unreviewed build fix for build-webkit -minimal.
5420 Breakage introduced by http://trac.webkit.org/changeset/82238.
5421 The minimal option has no support for shortcuts.
5423 * WebCoreSupport/EditorClientQt.cpp:
5424 (WebCore::EditorClientQt::handleInputMethodKeydown):
5426 2011-03-29 Janne Koskinen <janne.p.koskinen@digia.com>
5428 Reviewed by Kenneth Rohde Christiansen.
5430 [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
5431 https://bugs.webkit.org/show_bug.cgi?id=33179
5433 Fixed newline generation from Qt::Key_Enter when editting text area using InputMethods.
5435 * WebCoreSupport/EditorClientQt.cpp:
5436 (WebCore::EditorClientQt::handleInputMethodKeydown):
5437 * tests/qwebpage/tst_qwebpage.cpp:
5438 (tst_QWebPage::inputMethods):
5440 2011-03-29 Andreas Kling <kling@webkit.org>
5442 Reviewed by Simon Hausmann.
5444 [Qt] Fix documentation for QWebPage::repaintRequested()
5446 This signal is always emitted when the page is dirtied, so remove
5447 reference to old behavior where we would only emit the signal for
5452 2011-03-28 Andreas Kling <kling@webkit.org>
5454 Reviewed by Benjamin Poulain.
5456 [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads.
5458 * WebCoreSupport/FrameLoaderClientQt.cpp:
5459 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
5461 2011-03-28 Andreas Kling <kling@webkit.org>
5463 Reviewed by Benjamin Poulain.
5465 [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
5466 https://bugs.webkit.org/show_bug.cgi?id=52629
5468 * WebCoreSupport/ChromeClientQt.cpp:
5469 (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
5470 QWebPage::repaintRequested() use a Qt::QueuedConnection.
5472 * tests/qwebpage/tst_qwebpage.cpp:
5473 (RepaintRequestedRenderer::RepaintRequestedRenderer):
5474 (RepaintRequestedRenderer::onRepaintRequested):
5475 (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
5476 QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
5477 doesn't cause recursive signal emissions.
5479 2011-03-28 Benjamin Poulain <benjamin.poulain@nokia.com>
5481 Reviewed by Andreas Kling.
5483 [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
5484 https://bugs.webkit.org/show_bug.cgi?id=57087
5486 * QtWebKit.pro: we can now enable QT_ASCII_CAST_WARNINGS
5487 * tests/tests.pri: we do not require QT_ASCII_CAST_WARNINGS for tests
5488 since they are applications, not libraries.
5490 2011-03-28 Andras Becsi <abecsi@webkit.org>
5492 Reviewed by Csaba Osztrogonác.
5494 [Qt] QtWebKit does not link with --3d-canvas using MinGW
5495 https://bugs.webkit.org/show_bug.cgi?id=57225
5497 * QtWebKit.pro: Append the OpenGL libraries on MinGW so it can resolve symbols.
5499 2011-03-28 Csaba Osztrogonác <ossy@webkit.org>
5501 Reviewed by Andreas Kling.
5503 REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
5504 https://bugs.webkit.org/show_bug.cgi?id=57183
5506 Windows buildfix after r82065.
5508 * Api/DerivedSources.pro: Readding escaping on Windows platforms.
5510 2011-03-27 Andreas Kling <kling@webkit.org>
5512 Fix build warning about IconDatabaseClient.h (wrong path.)
5516 2011-03-27 Andreas Kling <kling@webkit.org>
5518 Reviewed by Kenneth Rohde Christiansen.
5520 [Qt] Support for CSS color and background-color properties on select element's dropdown list
5521 https://bugs.webkit.org/show_bug.cgi?id=51627
5523 Extend the QWebSelectData interface with background and foreground colors
5524 for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle
5525 getters in RenderMenuList.
5527 * Api/qwebkitplatformplugin.h:
5528 * WebCoreSupport/PopupMenuQt.cpp:
5529 (SelectData::backgroundColor):
5530 (SelectData::foregroundColor):
5531 (SelectData::itemBackgroundColor):
5532 (SelectData::itemForegroundColor):
5533 * WebCoreSupport/QtFallbackWebPopup.cpp:
5534 (WebCore::QtFallbackWebPopup::show):
5535 (WebCore::QtFallbackWebPopup::populate):
5537 2011-03-27 Yi Shen <yi.4.shen@nokia.com>
5539 Reviewed by Andreas Kling.
5541 [Qt][Symbian] Fix Api test failure -- microFocusCoordinates
5542 https://bugs.webkit.org/show_bug.cgi?id=57108
5544 Since the canvas is not self-closing tag, we need to add '</canvas>'.
5546 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
5547 (tst_QGraphicsWebView::microFocusCoordinates):
5548 * tests/qwebview/tst_qwebview.cpp:
5549 (tst_QWebView::microFocusCoordinates):
5551 2011-03-27 Kwang Yul Seo <skyul@company100.net>
5553 Reviewed by Eric Seidel.
5555 [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap.
5556 https://bugs.webkit.org/show_bug.cgi?id=57143
5558 Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and
5559 define WTF_USE_TEXTURE_MAPPER=1.
5563 2011-03-27 Andreas Kling <kling@webkit.org>
5565 Reviewed by Benjamin Poulain.
5567 REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
5568 https://bugs.webkit.org/show_bug.cgi?id=57183
5570 The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
5571 which was due to the outputting code previously being wrapped in eval().
5573 * Api/DerivedSources.pro:
5575 2011-03-27 Benjamin Poulain <benjamin.poulain@nokia.com>
5577 Reviewed by Andreas Kling.
5579 [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
5580 https://bugs.webkit.org/show_bug.cgi?id=57087
5582 Use explicit conversion for string to avoid depending on the default codec
5583 installed by the user code.
5585 * Api/qwebkitversion.cpp:
5588 (QWebPagePrivate::dynamicPropertyChangeEvent):
5589 (QWebPage::javaScriptConsoleMessage):
5590 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
5591 (convertToPropertyName):
5592 (DumpRenderTreeSupportQt::setEditingBehavior):
5593 (DumpRenderTreeSupportQt::plainText):
5594 * WebCoreSupport/EditorClientQt.cpp:
5596 * WebCoreSupport/FrameLoaderClientQt.cpp:
5597 (drtDescriptionSuitableForTestResult):
5598 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
5599 * WebCoreSupport/InspectorClientQt.cpp:
5600 (WebCore::InspectorClientQt::openInspectorFrontend):
5601 * WebCoreSupport/InspectorServerQt.cpp:
5602 (WebCore::parseWebSocketChallengeNumber):
5603 (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
5605 2011-03-26 Andreas Kling <kling@webkit.org>
5607 Reviewed by Kenneth Rohde Christiansen.
5609 [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
5610 https://bugs.webkit.org/show_bug.cgi?id=57157
5612 Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
5613 is always emitted when appropriate.
5615 * QtWebKit.pro: Add new files.
5617 * WebCoreSupport/IconDatabaseClientQt.h: Added.
5618 * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
5619 (WebCore::IconDatabaseClientQt::instance):
5620 (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
5621 (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
5622 (WebCore::IconDatabaseClientQt::performImport):
5623 (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
5624 (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
5625 (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
5626 (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
5627 (WebCore::IconDatabaseClientQt::didFinishURLImport):
5629 * WebCoreSupport/FrameLoaderClientQt.h:
5630 * WebCoreSupport/FrameLoaderClientQt.cpp:
5631 (WebCore::FrameLoaderClientQt::registerForIconNotification):
5632 (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
5633 to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
5634 QWebFrame::iconChanged() signal when the IconDatabases finishes loading
5635 a cached favicon for the frame's URL.
5637 * Api/qwebsettings.cpp:
5638 (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
5639 instantiated. An IconDatabaseClient has to be registered before the IconDatabase
5640 spawns its reader thread.
5642 2011-03-25 Andy Estes <aestes@apple.com>
5644 Reviewed by Adele Peterson.
5646 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
5647 https://bugs.webkit.org/show_bug.cgi?id=49016
5649 Update objectContentType() implementation to handle the
5650 shouldPreferPlugInsForImages flag.
5652 * WebCoreSupport/FrameLoaderClientQt.cpp:
5653 (WebCore::FrameLoaderClientQt::objectContentType):
5654 * WebCoreSupport/FrameLoaderClientQt.h:
5656 2011-03-25 Chang Shu <cshu@webkit.org>
5658 Reviewed by Ryosuke Niwa.
5660 rename Node::isContentEditable and all call sites to rendererIsEditable
5661 https://bugs.webkit.org/show_bug.cgi?id=54290
5663 This is part of the effort to separate JS API HTMLElement isContentEditable from
5664 internal Node::rendererIsEditable.
5666 * WebCoreSupport/EditorClientQt.cpp:
5667 (WebCore::EditorClientQt::handleKeyboardEvent):
5669 2011-03-25 Alexis Menard <alexis.menard@openbossa.org>
5671 Reviewed by Andreas Kling.
5673 [Qt] The keyboard shortcuts during fullscreen playback do not work.
5674 https://bugs.webkit.org/show_bug.cgi?id=57095
5676 We need to explicitely set the focus on the widget in order to receive the keyboard events.
5678 * WebCoreSupport/FullScreenVideoWidget.cpp:
5679 (WebCore::FullScreenVideoWidget::show):
5681 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
5683 Unreviewed, rolling out r81916 and r81917.
5684 http://trac.webkit.org/changeset/81916
5685 http://trac.webkit.org/changeset/81917
5686 https://bugs.webkit.org/show_bug.cgi?id=57071
5688 broke a test on platforms that do not have QuickTime installed
5689 (Requested by estes on #webkit).
5691 * WebCoreSupport/FrameLoaderClientQt.cpp:
5692 (WebCore::FrameLoaderClientQt::objectContentType):
5693 * WebCoreSupport/FrameLoaderClientQt.h:
5695 2011-03-24 Andy Estes <aestes@apple.com>
5697 Reviewed by Darin Adler.
5699 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
5700 https://bugs.webkit.org/show_bug.cgi?id=49016
5702 Update objectContentType() implementation to handle the
5703 shouldPreferPlugInsForImages flag.
5705 * WebCoreSupport/FrameLoaderClientQt.cpp:
5706 (WebCore::FrameLoaderClientQt::objectContentType):
5707 * WebCoreSupport/FrameLoaderClientQt.h:
5709 2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
5711 Reviewed by Kenneth Rohde Christiansen.
5713 [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
5714 https://bugs.webkit.org/show_bug.cgi?id=40884
5716 Add tests and benchmarks for the software fallback of WebGL.
5718 * tests/benchmarks/webgl/10000_triangles.html: Added.
5719 * tests/benchmarks/webgl/tst_webgl.cpp: Added.
5720 (GraphicsView::GraphicsView):
5721 (GraphicsView::resizeEvent):
5722 (tst_WebGlPerformance::init):
5723 (tst_WebGlPerformance::cleanup):
5724 (tst_WebGlPerformance::benchSoftwareFallbackRgb16):
5725 (tst_WebGlPerformance::benchSoftwareFallbackRgb32):
5726 (tst_WebGlPerformance::benchSoftwareFallbackArgb32):
5727 (tst_WebGlPerformance::benchSoftwareFallbackArgb32Premultiplied):
5728 (tst_WebGlPerformance::benchmarkFrameRenderingOnImage):
5729 * tests/benchmarks/webgl/tst_webgl.qrc: Added.
5730 * tests/benchmarks/webgl/webgl.pro: Added.
5731 * tests/qgraphicswebview/qgraphicswebview.pro:
5732 * tests/qgraphicswebview/resources/pointing_right.html: Added.
5733 * tests/qgraphicswebview/resources/pointing_up.html: Added.
5734 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
5735 (compareImagesFuzzyPixelCount):
5736 (GraphicsView::GraphicsView):
5737 (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
5738 (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
5739 (tst_QGraphicsWebView::compareCanvasToImage):
5740 * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
5743 2011-03-24 Kristian Amlie <kristian.amlie@nokia.com>
5745 Reviewed by Benjamin Poulain.
5747 Avoided ASCII-cast warnings for WebKit.
5749 Normally they won't be enabled anyway, but if you build webkit from
5750 within the Qt mother repository it will pick up Qt's default build
5751 settings, which do enable it. We need to disable them because
5752 warnings are treated as errors and there are way too many of them in
5755 [Qt] Avoid ASCII-cast warnings for WebKit.
5756 https://bugs.webkit.org/show_bug.cgi?id=57016
5760 2011-03-24 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
5762 Reviewed by Benjamin Poulain.
5764 [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL
5765 https://bugs.webkit.org/show_bug.cgi?id=29595
5767 Qt Designer resets the URL by setting it to QUrl(). The bug was caused by
5768 ensureAbsoluteUrl() helper function treating the empty URL as a relative URL, and
5769 prepending the current directory.
5771 By fixing this, now we can pass QUrl() invalid and empty URLs to WebCore layer, which
5772 will end up loading "about:blank", but keeping it as a requested URL.
5774 This patch also simplifies the logic for requestedUrl(), since m_lastRequestedUrl
5775 is filled for the loaded URLs as well, we can use it in every case.
5777 Three new autotests were added, to better cover the expected behavior of setting
5778 the QUrl() in a QWebFrame.
5780 * Api/qwebframe.cpp:
5781 (ensureAbsoluteUrl): do not treat invalid URLs (empty included) as relative.
5782 (QWebFrame::requestedUrl): always use m_lastRequestedUrl.
5784 * WebCoreSupport/FrameLoaderClientQt.cpp:
5785 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): do not clear m_lastRequestedUrl
5786 anymore, since we always rely on it even for loaded frames.
5788 * tests/qwebframe/tst_qwebframe.cpp:
5789 (tst_QWebFrame::setUrlToEmpty): verify the behavior of setting empty URLs. This includes
5790 the reduction of the bug report.
5791 (tst_QWebFrame::setUrlToInvalid): setting invalid, but not necessarily empty, URLs.
5792 (tst_QWebFrame::setUrlHistory): to verify how setting empty URLs affect history.
5794 2011-03-23 Brady Eidson <beidson@apple.com>
5796 Reviewed by Sam Weinig.
5798 Change IconDatabase opening to allow for arbitrary filenames
5799 https://bugs.webkit.org/show_bug.cgi?id=56977
5801 * Api/qwebsettings.cpp:
5802 (QWebSettings::setIconDatabasePath):
5804 2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
5806 Reviewed by Andreas Kling.
5808 [Qt] QtWebKit rendering problem when maximizing and doing a back
5809 https://bugs.webkit.org/show_bug.cgi?id=56669
5812 Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21
5814 * tests/qwebview/tst_qwebview.cpp:
5815 (tst_QWebView::rendering):
5817 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
5819 Reviewed by Pavel Feldman.
5821 [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
5822 https://bugs.webkit.org/show_bug.cgi?id=56843
5824 * WebCoreSupport/InspectorClientQt.cpp:
5825 (WebCore::InspectorClientQt::openInspectorFrontend):
5827 2011-03-22 Andrew Wason <rectalogic@rectalogic.com>
5829 Reviewed by Benjamin Poulain.
5831 [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
5832 https://bugs.webkit.org/show_bug.cgi?id=54138
5834 * tests/qwebpage/tst_qwebpage.cpp:
5835 (webGLScreenshotWithoutView):
5836 (tst_QWebPage::acceleratedWebGLScreenshotWithoutView):
5837 (tst_QWebPage::unacceleratedWebGLScreenshotWithoutView):
5838 Render a QWebPage (with and without accelerated compositing)
5839 with a WebGL context that has no owning view. Shouldn't crash.
5841 2011-03-21 Chang Shu <cshu@webkit.org>
5843 Reviewed by Alexey Proskuryakov.
5845 REGRESSION (r79953): Can't type in MS Outlook 2011
5846 https://bugs.webkit.org/show_bug.cgi?id=56665
5848 r79953 removed the WebView level editablity which is persistent no matter whether
5849 underlying document itself is changed and editability gets lost. The resolution is to
5850 set this WebView editable value to WebCore. This avoids the callback from WebCore to
5851 WebKit which was the main goal in r79953 to improve performance.
5854 (QWebPage::setContentEditable):
5855 (QWebPage::isContentEditable):
5857 2011-03-19 Andreas Kling <kling@webkit.org>
5859 Reviewed by Benjamin Poulain.
5861 [Qt] Remove support for Qt 4.6
5862 https://bugs.webkit.org/show_bug.cgi?id=56712
5864 * Api/qwebframe.cpp:
5867 (QWebPagePrivate::QWebPagePrivate):
5868 * Api/qwebsettings.cpp:
5869 (QWebSettings::QWebSettings):
5870 * WebCoreSupport/GeolocationClientQt.cpp:
5871 (WebCore::GeolocationClientQt::positionUpdated):
5873 2011-03-19 Andreas Kling <kling@webkit.org>
5875 Reviewed by Antonio Gomes.
5877 [Qt][Doc] QWebPage::unsupportedContent() passes ownership of the QNetworkReply
5878 https://bugs.webkit.org/show_bug.cgi?id=56711
5880 Document the fact that when unsupportedContent(QNetworkReply*) is emitted,
5881 ownership of the reply is transferred to the receiving slot.
5885 2011-03-17 Brady Eidson <beidson@apple.com>
5887 Reviewed by Sam Weinig.
5889 https://bugs.webkit.org/show_bug.cgi?id=56425
5890 More groundwork for WebKit2 IconDatabase
5892 Update already-used function names:
5893 * Api/qwebhistory.cpp:
5894 (QWebHistoryItem::icon):
5895 * Api/qwebsettings.cpp:
5896 (QWebSettings::iconForUrl):
5898 2011-03-18 Alexis Menard <alexis.menard@openbossa.org>
5900 Reviewed by Benjamin Poulain.
5902 [Qt] console.log not being exposed to QmlViewer
5903 https://bugs.webkit.org/show_bug.cgi?id=56536
5905 The documentation is bogus the feature does not exist.
5907 * declarative/qdeclarativewebview.cpp:
5909 2011-03-17 Andreas Kling <kling@webkit.org>
5911 Reviewed by Kenneth Rohde Christiansen.
5913 [Qt] QML WebView emits iconChanged() when the page title changes
5914 https://bugs.webkit.org/show_bug.cgi?id=56570
5916 * declarative/qdeclarativewebview.cpp:
5917 (QDeclarativeWebView::setPage): Don't forward the frame's titleChanged
5918 signal to the view's iconChanged signal.
5920 2011-03-17 Alexis Menard <alexis.menard@openbossa.org>
5922 Reviewed by Benjamin Poulain.
5924 [Qt] Videos look ugly when using QGraphicsWebView.
5925 https://bugs.webkit.org/show_bug.cgi?id=56580
5927 We need to set QPainter::SmoothPixmapTransform on the painter for a proper rendering of the video.
5928 QWebView does it but not QGraphicsWebView because the API does not exist. This patch is fixing it
5929 by introducing the same API as QWebView to control the renderHints of the item. Unlike QWebView
5930 QGraphicsWebView inherits the painter from QGraphicsScene and those flags are not set. This patch
5931 ensure that before rendering the item we add QPainter::SmoothPixmapTransform and QPainter::TextAntialiasing
5932 in addition of what could be set on the painter. In order to not break the rendering of all the items in the
5933 scene we set back the painter to its original state when QGraphicsWebView is rendered.
5935 * Api/qgraphicswebview.cpp:
5936 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
5937 (QGraphicsWebView::paint):
5938 (QGraphicsWebView::renderHints):
5939 (QGraphicsWebView::setRenderHints):
5940 (QGraphicsWebView::setRenderHint):
5941 * Api/qgraphicswebview.h:
5942 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
5943 (tst_QGraphicsWebView::renderHints):
5945 2011-03-16 Joseph Pecoraro <joepeck@webkit.org>
5947 Reviewed by Kenneth Rohde Christiansen.
5949 Viewport no longer allows an auto value for "user-scalable"
5950 https://bugs.webkit.org/show_bug.cgi?id=55416
5952 Make the default value for userScalable be true.
5955 (QWebPage::viewportAttributesForSize):
5956 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
5957 (DumpRenderTreeSupportQt::viewportAsText): update test output to include userScalable.
5959 2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
5961 Reviewed by Darin Adler.
5963 Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
5964 info into the headers rather than in export symbol definition files, but disable it on
5965 all platforms initially so we can deal with port build issues one port at a time.
5967 https://bugs.webkit.org/show_bug.cgi?id=27551
5969 * WebCoreSupport/GeolocationClientQt.cpp:
5970 * WebCoreSupport/PopupMenuQt.cpp:
5972 2011-03-14 Brady Eidson <beidson@apple.com>
5974 Reviewed by Anders Carlsson.
5976 https://bugs.webkit.org/show_bug.cgi?id=56320
5977 Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
5979 * Api/qwebhistory.cpp:
5980 (QWebHistoryItem::icon): Use IconDatabase directly.
5982 2011-03-11 Brady Eidson <beidson@apple.com>
5984 Reviewed by attempt at build fix!
5986 https://bugs.webkit.org/show_bug.cgi?id=56216
5987 Fix the Qt build following the same pattern of the patch.
5989 * Api/qwebsettings.cpp:
5990 (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
5992 2011-03-11 Alexis Menard <alexis.menard@openbossa.org>
5994 Reviewed by Ariya Hidayat.
5996 [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
5997 https://bugs.webkit.org/show_bug.cgi?id=56181
5999 We need to stop the auto hide cursor timer when closing the widget otherwise the timer
6000 might get fired and therefore hide the cursor even when the fullscreen widget is closed.
6002 * WebCoreSupport/FullScreenVideoWidget.cpp:
6003 (WebCore::FullScreenVideoWidget::closeEvent):
6005 2011-03-10 David Boddie <david.boddie@nokia.com>
6007 Reviewed by Andreas Kling.
6009 Fixed a qdoc warning and terminology (WebKit instead of Webkit).
6010 https://bugs.webkit.org/show_bug.cgi?id=55756
6012 * Api/qwebhistoryinterface.cpp:
6014 2011-03-10 Andreas Kling <kling@webkit.org>
6016 Unreviewed build fix after r80774.
6018 QML property versioning is introduced in Qt 4.7.3, not 4.7.2.
6019 See also: http://bugreports.qt.nokia.com/browse/QTBUG-13451
6021 * declarative/plugin.cpp:
6022 (WebKitQmlPlugin::registerTypes):
6023 * declarative/qdeclarativewebview.cpp:
6024 * declarative/qdeclarativewebview_p.h:
6025 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
6027 2011-03-10 Alexis Menard <alexis.menard@openbossa.org>
6029 Reviewed by Andreas Kling.
6031 [Qt] QtDeclarative Webview element has a fixed white background
6032 https://bugs.webkit.org/show_bug.cgi?id=40918
6034 Implement a way to change the background color of the WebView QML element.
6035 This feature is activated for QtWebKit 1.1 version of the plugin.
6037 * declarative/plugin.cpp:
6038 (WebKitQmlPlugin::registerTypes):
6039 * declarative/qdeclarativewebview.cpp:
6040 (QDeclarativeWebView::backgroundColor):
6041 (QDeclarativeWebView::setBackgroundColor):
6042 * declarative/qdeclarativewebview_p.h:
6043 * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Added.
6044 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
6045 (tst_QDeclarativeWebView::backgroundColor):
6046 * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
6048 2011-03-10 Stanislav Paltis <Stanislav.Paltis@nokia.com>
6050 Reviewed by Laszlo Gombos.
6052 [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
6053 https://bugs.webkit.org/show_bug.cgi?id=55945
6055 Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to
6056 set interval used to trigger when decoded data in dead list of object cache will
6057 be purged from object cache.
6060 (QWebPagePrivate::dynamicPropertyChangeEvent):
6062 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
6064 Reviewed by Antonio Gomes.
6066 Simplify how QWebFrame::requestedUrl() is obtained
6067 https://bugs.webkit.org/show_bug.cgi?id=55842
6069 When a load starts, store the requested URL until we know that it'll be
6070 available for us in the document loader -- after load finished.
6072 The existing auto tests cover the three different code paths in
6073 requestedUrl() and the new code passes the autotests. In each of those
6074 cases, we looked for the information in a different place, but in all
6075 of them, dispatchDidStartProvisionalLoad was called.
6077 This simplification will be useful to fix bug 32723. The way requestedUrl()
6078 is implementent, we can't use it as a fallback for url() when the setUrl()
6079 was called with an invalid URL.
6081 * Api/qwebframe.cpp:
6082 (QWebFrame::requestedUrl):
6083 * WebCoreSupport/FrameLoaderClientQt.cpp:
6084 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
6085 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
6086 * WebCoreSupport/FrameLoaderClientQt.h:
6087 (WebCore::FrameLoaderClientQt::lastRequestedUrl):
6089 2011-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
6091 Reviewed by Kenneth Rohde Christiansen.
6093 Tiled backing store's delegated scroll request uses incorrect convention
6094 https://bugs.webkit.org/show_bug.cgi?id=56011
6096 Adapt internal API to match the change from delta to point on the
6097 WebCore side, and convert the point to a delta for the public API.
6099 * WebCoreSupport/ChromeClientQt.cpp:
6100 (WebCore::ChromeClientQt::delegatedScrollRequested):
6101 * WebCoreSupport/ChromeClientQt.h:
6103 2011-03-09 Peter Kasting <pkasting@google.com>
6105 Reviewed by Mihai Parparita.
6107 Unify Windows version checks.
6108 https://bugs.webkit.org/show_bug.cgi?id=55979
6111 (QWebPage::userAgentForUrl):
6113 2011-03-07 Sam Weinig <sam@webkit.org>
6115 Reviewed by Anders Carlsson.
6117 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
6118 https://bugs.webkit.org/show_bug.cgi?id=55827
6120 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
6121 and pass the entire response, instead of just the MIMEType.
6123 * WebCoreSupport/FrameLoaderClientQt.cpp:
6124 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
6125 * WebCoreSupport/FrameLoaderClientQt.h:
6127 2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
6129 Reviewed by Laszlo Gombos.
6131 [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
6132 https://bugs.webkit.org/show_bug.cgi?id=48636
6134 Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
6137 (QWebPage::userAgentForUrl):
6139 2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
6141 Reviewed by Kenneth Rohde Christiansen.
6143 [QT] Implement mock client-based geolocation for layout testing
6144 https://bugs.webkit.org/show_bug.cgi?id=54334
6146 Implement layout testing for Client-Based geolocation. If drt_run is set
6147 then create mock geolocationClient and update the same with controller.
6150 (QWebPagePrivate::QWebPagePrivate):
6151 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6152 (DumpRenderTreeSupportQt::mockGeolocationReset):
6153 (DumpRenderTreeSupportQt::setMockGeolocationPermission):
6154 (DumpRenderTreeSupportQt::setMockGeolocationPosition):
6155 (DumpRenderTreeSupportQt::setMockGeolocationError):
6156 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6157 * WebCoreSupport/GeolocationClientQt.cpp:
6158 (WebCore::GeolocationClientQt::GeolocationClientQt):
6159 * WebCoreSupport/GeolocationClientQt.h:
6161 2011-03-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
6163 Reviewed by Kenneth Rohde Christiansen.
6165 [Qt] QWebFrame::setUrl works only from second time if url fragment is present
6166 https://bugs.webkit.org/show_bug.cgi?id=32723
6168 Create an auto-test for Qt based on the bug description.
6170 * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
6172 2011-03-03 Brady Eidson <beidson@apple.com>
6174 Reviewed by Darin Adler.
6176 https://bugs.webkit.org/show_bug.cgi?id=55721
6177 Global IconDatabase should be returned by reference, not as a pointer
6179 * Api/qwebsettings.cpp:
6180 (QWebSettings::setIconDatabasePath):
6181 (QWebSettings::iconDatabasePath):
6182 (QWebSettings::clearIconDatabase):
6183 (QWebSettings::iconForUrl):
6185 2011-03-03 Alexey Proskuryakov <ap@apple.com>
6187 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
6190 * WebCoreSupport/ChromeClientQt.h:
6192 2011-03-02 Alexey Proskuryakov <ap@apple.com>
6194 Reviewed by Darin Adler.
6196 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
6197 https://bugs.webkit.org/show_bug.cgi?id=55633
6198 <rdar://problem/8963023>
6200 * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
6201 * WebCoreSupport/ChromeClientQt.h:
6202 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
6203 this platform doesn't observe or have full keyboard access state.
6205 2011-03-03 Alexis Menard <alexis.menard@openbossa.org>
6207 Reviewed by Andreas Kling.
6209 [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
6210 https://bugs.webkit.org/show_bug.cgi?id=55568
6212 We should use updateMicroFocus() from QGraphicsItem rather than the implementation
6213 in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
6214 In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
6217 * Api/qgraphicswebview.cpp:
6218 (QGraphicsWebView::setPage):
6219 * Api/qgraphicswebview.h:
6221 2011-03-03 Peter Kasting <pkasting@google.com>
6223 Reviewed by James Robinson.
6225 Drop redundant "Windows; " from the Windows-specific User Agent string.
6226 https://bugs.webkit.org/show_bug.cgi?id=54567
6229 (QWebPage::userAgentForUrl):
6231 2011-03-01 Brian Weinstein <bweinstein@apple.com>
6233 Reviewed by Adam Roben.
6235 Part of WebKit2: Need a way to send notifications to client when cookies change
6236 https://bugs.webkit.org/show_bug.cgi?id=55427
6237 <rdar://problem/9056027>
6239 Add stubs for CookiesStrategy on Qt WebKit1.
6241 * WebCoreSupport/WebPlatformStrategies.cpp:
6242 (WebPlatformStrategies::createCookiesStrategy):
6243 (WebPlatformStrategies::notifyCookiesChanged):
6244 * WebCoreSupport/WebPlatformStrategies.h:
6246 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
6248 Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
6251 (QWebPage::viewportAttributesForSize):
6252 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6253 (DumpRenderTreeSupportQt::viewportAsText):
6255 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
6257 Reviewed by Kenneth Rohde Christiansen.
6259 Viewport Warning/Error Messages Are Now Inaccurate
6260 https://bugs.webkit.org/show_bug.cgi?id=53707
6263 (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
6264 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6265 (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
6267 2011-03-01 Andras Becsi <abecsi@webkit.org>
6269 Reviewed by Csaba Osztrogonác.
6271 [Qt] Clean up the project files and move common options to WebKit.pri.
6273 * QtWebKit.pro: Move common options to WebKit.pri.
6275 2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>
6277 Reviewed by Simon Hausmann.
6279 [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
6280 https://bugs.webkit.org/show_bug.cgi?id=55319
6282 The test case required internet connection to be able to connect to
6283 google.com. Added new html file which refers to local html file.
6285 * tests/qwebpage/resources/content.html: Added.
6286 * tests/qwebpage/resources/frame_c.html: Added.
6287 * tests/qwebpage/resources/framedindex.html: Added.
6288 * tests/qwebpage/tst_qwebpage.cpp:
6289 (tst_QWebPage::backActionUpdate):
6290 * tests/qwebpage/tst_qwebpage.qrc:
6292 2011-02-25 Steve Block <steveblock@google.com>
6294 Reviewed by Jeremy Orlow.
6296 Bridge.h should not include BridgeJSC.h
6297 https://bugs.webkit.org/show_bug.cgi?id=55212
6299 Include BridgeJSC.h directly instead.
6301 * Api/qwebframe.cpp:
6303 2011-02-28 Chang Shu <cshu@webkit.org>
6305 Reviewed by Ryosuke Niwa.
6307 Remove the support of Frame::isContentEditable and its dependencies.
6308 https://bugs.webkit.org/show_bug.cgi?id=54292
6310 Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
6313 (QWebPagePrivate::QWebPagePrivate):
6314 (QWebPage::setContentEditable):
6315 (QWebPage::isContentEditable):
6317 * WebCoreSupport/EditorClientQt.cpp:
6318 * WebCoreSupport/EditorClientQt.h:
6320 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
6322 Reviewed by Oliver Hunt.
6324 Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
6326 * Api/qwebelement.cpp:
6327 (QWebElement::evaluateJavaScript):
6329 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
6331 Reviewed by Andreas Kling.
6333 [Qt]tst_QDeclarativeWebView - 8 test cases fail
6334 https://bugs.webkit.org/show_bug.cgi?id=55214
6336 Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
6337 if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
6338 I also refactored the tests so we don't use the network but instead a local html file.
6339 QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
6341 * tests/qdeclarativewebview/resources/sample.html: Added.
6342 * tests/qdeclarativewebview/resources/webviewtest.qml:
6343 * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
6344 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
6345 (tst_QDeclarativeWebView::preferredWidthTest):
6346 (tst_QDeclarativeWebView::preferredHeightTest):
6347 (tst_QDeclarativeWebView::preferredWidthDefaultTest):
6348 (tst_QDeclarativeWebView::preferredHeightDefaultTest):
6349 * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
6351 2011-02-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
6353 Reviewed by Andreas Kling.
6355 [Qt] Add clipped version of QWebElement::render method.
6356 Allows faster rendering of web element part.
6357 https://bugs.webkit.org/show_bug.cgi?id=50311
6359 * Api/qwebelement.cpp:
6360 (QWebElement::render):
6361 * Api/qwebelement.h:
6362 * tests/qwebelement/tst_qwebelement.cpp:
6363 (tst_QWebElement::render):
6365 2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>
6367 Reviewed by Andreas Kling.
6369 Added full webkit module profile and a syncqt profile.
6371 This is for modularized Qt.
6373 [Qt] WebKit patches required to work with a modularized version of Qt
6374 https://bugs.webkit.org/show_bug.cgi?id=53916
6376 * qt_webkit_version.pri:
6378 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com>
6380 Reviewed by Antonio Gomes.
6382 [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
6383 https://bugs.webkit.org/show_bug.cgi?id=53917
6385 Adding test case to check the scenario to avoid regressions in the
6388 * tests/qwebframe/tst_qwebframe.cpp:
6390 2011-02-27 Benjamin Poulain <benjamin.poulain@nokia.com>
6392 Reviewed by Andreas Kling.
6394 [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
6395 https://bugs.webkit.org/show_bug.cgi?id=55322
6397 Documentation update, add a reference to the QtWebKit bridge page.
6399 * Api/qwebframe.cpp:
6401 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
6403 Reviewed by Pavel Feldman.
6405 DumpRenderTree should reset frame opener between tests.
6406 https://bugs.webkit.org/show_bug.cgi?id=54874
6408 Added clearOpener method to DumpRenderTreeSupportQT.
6410 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6411 (DumpRenderTreeSupportQt::clearOpener):
6412 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6414 2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
6416 Reviewed by Andreas Kling.
6418 Make it possible to test the targetdensity-dpi support
6419 https://bugs.webkit.org/show_bug.cgi?id=55142
6421 Test the viewport meta tag feature targetdensity-dpi by
6422 adding extra arguments to dumpConfigurationForViewport
6424 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6425 (DumpRenderTreeSupportQt::viewportAsText):
6426 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6428 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
6430 Unreviewed, rolling out r79764.
6431 http://trac.webkit.org/changeset/79764
6432 https://bugs.webkit.org/show_bug.cgi?id=55295
6434 "broke Chromium builds" (Requested by rniwa on #webkit).
6436 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6437 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6439 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
6441 Reviewed by Pavel Feldman.
6443 DumpRenderTree should reset frame opener between tests.
6444 https://bugs.webkit.org/show_bug.cgi?id=54874
6446 Added clearOpener method to DumpRenderTreeSupportQT.
6448 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6449 (DumpRenderTreeSupportQt::clearOpener):
6450 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6452 2011-02-25 Andras Becsi <abecsi@webkit.org>
6454 Reviewed by Csaba Osztrogonác.
6456 [Qt] Make the WebKit2 build system less confusing for non-Qt developers
6457 https://bugs.webkit.org/show_bug.cgi?id=55213
6459 * QtWebKit.pro: Move the WebKit2 API into a project include file
6460 in the WebKit2 directory and include the pri file here.
6462 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
6464 Unreviewed build fix for Intel ICC and MSVC.
6466 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
6467 (tst_QGraphicsWebView::setPalette):
6468 * tests/qwebview/tst_qwebview.cpp:
6469 (tst_QWebView::setPalette):
6471 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
6473 Reviewed by Kenneth Rohde Christiansen.
6475 [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
6476 https://bugs.webkit.org/show_bug.cgi?id=31742
6478 Discovered while looking at 31742. When we set a palette on the
6479 QGraphicsWebView we need to propagate it to the page like QWebView.
6480 I have added the same tests as QWebView to be sure to catch potential
6481 regressions as well as two extras QVERIFY to check the palette propagation.
6483 * Api/qgraphicswebview.cpp:
6484 (QGraphicsWebView::event):
6485 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
6486 (tst_QGraphicsWebView::setPalette_data):
6487 (tst_QGraphicsWebView::setPalette):
6489 2011-02-25 Csaba Osztrogonác <ossy@webkit.org>
6491 Unreviewed buildfix after r79672.
6493 [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
6498 2011-02-25 Gopal Raghavan <gopal.1.raghavan@nokia.com>
6500 Reviewed by Kenneth Rohde Christiansen.
6502 [Qt] QML WebView inside a Flickable shows checkers pattern at startup
6503 https://bugs.webkit.org/show_bug.cgi?id=50222.
6505 This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
6507 * declarative/qdeclarativewebview.cpp:
6508 (QDeclarativeWebView::init):
6509 * tests/qdeclarativewebview: Added.
6510 * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
6511 * tests/qdeclarativewebview/resources: Added.
6512 * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
6513 * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
6514 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
6515 (tst_QDeclarativeWebView::initTestCase):
6516 (tst_QDeclarativeWebView::cleanupTestCase):
6517 (tst_QDeclarativeWebView::init):
6518 (tst_QDeclarativeWebView::cleanup):
6519 (tst_QDeclarativeWebView::preferredWidthTest):
6520 (tst_QDeclarativeWebView::preferredHeightTest):
6521 (tst_QDeclarativeWebView::preferredWidthDefaultTest):
6522 (tst_QDeclarativeWebView::preferredHeightDefaultTest):
6523 (tst_QDeclarativeWebView::checkNoErrors):
6527 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
6529 Reviewed by Andreas Kling.
6531 [Qt] Revert the support for QNAM affined to a different thread.
6532 https://bugs.webkit.org/show_bug.cgi?id=55149
6534 Qt 4.8 will have QNAM use its own thread internally by default,
6535 no need to keep this complexity in WebKit.
6537 This mainly reverts:
6538 http://trac.webkit.org/changeset/73710
6539 http://trac.webkit.org/changeset/73712
6541 * WebCoreSupport/FrameLoaderClientQt.cpp:
6542 (WebCore::FrameLoaderClientQt::download):
6543 * tests/qwebpage/tst_qwebpage.cpp:
6545 2011-02-24 Sam Weinig <sam@webkit.org>
6547 Try to fix the Qt build.
6551 2011-02-24 Peter Kasting <pkasting@google.com>
6553 Reviewed by Eric Seidel.
6555 Drop the "U; " encryption level from the User Agent string.
6556 https://bugs.webkit.org/show_bug.cgi?id=54566
6559 (QWebPage::userAgentForUrl):
6561 2011-02-24 Andrew Wilson <atwilson@chromium.org>
6563 Unreviewed, rolling out r79570.
6564 http://trac.webkit.org/changeset/79570
6565 https://bugs.webkit.org/show_bug.cgi?id=54874
6567 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
6570 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6571 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6573 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
6575 Reviewed by Alexey Proskuryakov.
6577 DumpRenderTree should reset frame opener between tests.
6578 https://bugs.webkit.org/show_bug.cgi?id=54874
6580 Added clearOpener method to DumpRenderTreeSupportQT.
6582 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6583 (DumpRenderTreeSupportQt::clearOpener):
6584 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6586 2011-02-24 Alexis Menard <alexis.menard@openbossa.org>
6588 Reviewed by Andreas Kling.
6590 [Qt] tst_QWebView::setPalette(activeFG) fails
6591 https://bugs.webkit.org/show_bug.cgi?id=55029
6593 This time it should be the proper fix. The window needs to be shown before we
6594 call activateWindow() otherwise there is no active windows for the application.
6596 * tests/qwebview/tst_qwebview.cpp:
6597 (tst_QWebView::setPalette):
6599 2011-02-24 Andras Becsi <abecsi@webkit.org>
6601 Reviewed by Laszlo Gombos.
6603 [Qt] MinGW build fails to link
6604 https://bugs.webkit.org/show_bug.cgi?id=55050
6606 Prepend the libraries of subcomponents instead of appending them
6607 to fix the library order according to the dependency of the libraries
6609 * QtWebKit.pro: prepend libraries in the correct order
6611 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
6613 Reviewed by Ariya Hidayat.
6615 [Qt] tst_QWebView::setPalette(activeFG) fails
6616 https://bugs.webkit.org/show_bug.cgi?id=55029
6618 Attempt to make the test more robust. By investigating with the bot virtual machine
6619 I discovered that the activation can take some time. In this patch we make sure that
6620 the active window we want to have is the same as the QApplication.
6622 * tests/qwebview/tst_qwebview.cpp:
6623 (tst_QWebView::setPalette):
6625 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
6627 Reviewed by Dan Bernstein.
6629 [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
6630 http://trac.webkit.org/changeset/79167 refactored the way the bound size of
6631 the frame is handled. A new API setBoundsSize was added, we need to call it
6632 in addition to setFrameRect. I could call setBoundSize after setFrameRect but
6633 I thought It would be more elegant to use the resize method.
6636 (QWebPage::setViewportSize):
6638 2011-02-22 Fabrizio Machado <fabrizio.machado@nokia.com>
6640 Reviewed by Laszlo Gombos.
6642 [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
6643 https://bugs.webkit.org/show_bug.cgi?id=54976
6647 * WebCoreSupport/InspectorClientQt.cpp:
6649 2011-02-22 Alexis Menard <alexis.menard@openbossa.org>
6651 Reviewed by Andreas Kling.
6653 [Qt] QWebView ignores a palette set with QWebView::setPalette()
6654 https://bugs.webkit.org/show_bug.cgi?id=31742
6656 Test case to check that the palette sets on the QWebView is taken
6659 * tests/qwebview/tst_qwebview.cpp:
6660 (tst_QWebView::setPalette_data):
6661 (tst_QWebView::setPalette):
6663 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
6665 Reviewed by Alexey Proskuryakov.
6667 Drop the language tag part from the User Agent string
6668 https://bugs.webkit.org/show_bug.cgi?id=54560
6671 (QWebPage::userAgentForUrl):
6673 * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
6676 2011-02-22 Chang Shu <cshu@webkit.org>
6678 Reviewed by Csaba Osztrogonác.
6680 [Qt] editing/deleting/5408255.html fails
6681 https://bugs.webkit.org/show_bug.cgi?id=54964
6683 Move WebCore resource file to QtWebKit since they are referred in WebKit.
6687 2011-02-22 Andras Becsi <abecsi@webkit.org>
6689 Reviewed by Csaba Osztrogonác.
6691 [Qt] Redesign the build system
6692 https://bugs.webkit.org/show_bug.cgi?id=51339
6694 Move inspector's resource files into the final build step to fix the layout test regression.
6696 * QtWebKit.pro: Add inspector's reaource files.
6698 2011-02-22 Andras Becsi <abecsi@webkit.org>
6700 Reviewed by Laszlo Gombos.
6701 Rubber-stamped by Csaba Osztrogonác.
6703 [Qt] Redesign the build system
6704 https://bugs.webkit.org/show_bug.cgi?id=51339
6706 The patch landed in r79320 didn't contain the cleanup
6707 which was already addressed in the last attachment.
6709 * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
6711 2011-02-22 Andras Becsi <abecsi@webkit.org>
6713 Reviewed by Laszlo Gombos.
6715 [Qt] Redesign the build system
6716 https://bugs.webkit.org/show_bug.cgi?id=51339
6720 Build WebCore as a static library, compile the WebKit API and WebKit2 API
6721 in a final step and link to WebKit2, WebCore and JSC libraries to fix
6722 linking issues resulting from stripped away symbols.
6724 * QtWebKit.pro: Added.
6725 Project file for the final build step.
6727 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
6729 Reviewed by Kent Tamura.
6731 Rename Position::node() to Position::deprecatedNode()
6732 https://bugs.webkit.org/show_bug.cgi?id=54622
6734 Replaced the call to node() by a call to containerNode() because the returned node is
6735 used to determine whether or not the selected contents are editable and such a check
6736 must be done against the container node.
6738 * WebCoreSupport/EditorClientQt.cpp:
6739 (WebCore::EditorClientQt::handleKeyboardEvent):
6741 2011-02-19 Charlie Reis <creis@chromium.org>
6743 Reviewed by Mihai Parparita.
6745 Ensure loading has stopped in HistoryController::goToItem
6746 https://bugs.webkit.org/show_bug.cgi?id=54517
6748 Add a FrameLoaderClient callback for whether to stop loading before goToItem.
6750 Test: http/tests/navigation/forward-to-fragment-fires-onload.html
6752 * WebCoreSupport/FrameLoaderClientQt.cpp:
6753 (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
6754 * WebCoreSupport/FrameLoaderClientQt.h:
6756 2011-02-18 Fabrizio Machado <fabrizio.machado@nokia.com>
6758 Reviewed by Eric Seidel.
6760 Remove reduntant checks.
6761 https://bugs.webkit.org/show_bug.cgi?id=54764
6764 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6765 (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
6766 * WebCoreSupport/NotificationPresenterClientQt.cpp:
6767 (WebCore::NotificationPresenterClientQt::toPage):
6769 2011-02-18 Csaba Osztrogonác <ossy@webkit.org>
6773 [Qt] Buildfix for platforms with geolocation disabled.
6775 * Api/qwebpage.cpp: Add the missing guard.
6777 2011-02-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
6779 Reviewed by Kenneth Rohde Christiansen.
6781 [Qt] Implement client based geolocation for qtport
6782 https://bugs.webkit.org/show_bug.cgi?id=42629
6784 Implements client based geolocation for qtwebkit.
6785 New client based geolocation contains permission API's as well,
6786 so removed the implementation from ChromeClientQt.cpp.
6789 (QWebPagePrivate::QWebPagePrivate):
6790 * WebCoreSupport/ChromeClientQt.cpp:
6791 * WebCoreSupport/ChromeClientQt.h:
6792 (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
6793 (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
6794 * WebCoreSupport/GeolocationClientQt.cpp: Added.
6795 (WebCore::GeolocationClientQt::GeolocationClientQt):
6796 (WebCore::GeolocationClientQt::~GeolocationClientQt):
6797 (WebCore::GeolocationClientQt::geolocationDestroyed):
6798 (WebCore::GeolocationClientQt::positionUpdated):
6799 (WebCore::GeolocationClientQt::startUpdating):
6800 (WebCore::GeolocationClientQt::stopUpdating):
6801 (WebCore::GeolocationClientQt::setEnableHighAccuracy):
6802 (WebCore::GeolocationClientQt::requestPermission):
6803 (WebCore::GeolocationClientQt::cancelPermissionRequest):
6804 * WebCoreSupport/GeolocationClientQt.h: Added.
6805 (WebCore::GeolocationClientQt::lastPosition):
6807 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
6809 Reviewed by Adam Roben.
6811 HTML5 <details> and <summary>: localized text
6812 https://bugs.webkit.org/show_bug.cgi?id=54260
6814 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
6815 provide the default label to be used by a <details> tag that has no <summary> child.
6817 * WebCoreSupport/WebPlatformStrategies.cpp:
6818 (WebPlatformStrategies::defaultDetailsSummaryText):
6819 * WebCoreSupport/WebPlatformStrategies.h:
6821 2011-02-17 Hui Huang <hui.2.huang@nokia.com>
6823 Reviewed by Laszlo Gombos.
6825 The URL of HTML5 Video Element is percent encoded at websites such as youtube.
6826 It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
6827 the HTTP GET request for the video to be rejected by the service provider.
6828 https://bugs.webkit.org/show_bug.cgi?id=53973.
6830 The bug is fixed by constructing QUrl from the encoded URL in
6831 MediaPlayerPrivateQt::commitLoad.
6833 New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
6834 HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
6835 is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
6836 A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
6837 is skipped if Qt Multimedia is not available.
6839 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
6840 (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
6841 * WebCoreSupport/DumpRenderTreeSupportQt.h:
6842 * tests/qwebpage/tst_qwebpage.cpp:
6843 (tst_QWebPage::loadHtml5Video):
6846 2011-02-17 Andreas Kling <kling@webkit.org>
6848 Reviewed by Antti Koivisto.
6850 [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
6851 https://bugs.webkit.org/show_bug.cgi?id=49216
6853 * tests/qwebframe/tst_qwebframe.cpp:
6855 == Rolled over to ChangeLog-2011-02-16 ==