Changeset 95545 in webkit
- Timestamp:
- Sep 20, 2011 9:08:20 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r95542 r95545 1 2011-09-20 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt][WK2] Export QNetworkReply in the QtWebKit QML module. 4 https://bugs.webkit.org/show_bug.cgi?id=68401 5 6 Reviewed by Simon Hausmann. 7 8 Add QNetworkReply in the QtWebKit module. We use the enum QNetworkReply::NetworkError 9 as the error code when the load fails. It is not used in the QtQuick module therefore 10 the QML team thinks it should belong here. Also added some auto-tests to cover the 11 loading errors. 12 13 * UIProcess/API/qt/qmlplugin/plugin.cpp: 14 (WebKit2QmlPlugin::registerTypes): 15 * UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_loadFail.qml: Added. 16 * UIProcess/API/qt/tests/qmltests/TouchWebView/tst_loadFail.qml: Added. 17 1 18 2011-09-20 Csaba Osztrogonác <ossy@webkit.org> 2 19 -
trunk/Source/WebKit2/UIProcess/API/qt/qmlplugin/plugin.cpp
r92373 r95545 25 25 #include <QtDeclarative/qdeclarative.h> 26 26 #include <QtDeclarative/qdeclarativeextensionplugin.h> 27 #include <QtNetwork/qnetworkreply.h> 27 28 28 29 QT_BEGIN_NAMESPACE … … 38 39 qmlRegisterUncreatableType<QWebNavigationController>(uri, 5, 0, "NavigationController", QObject::tr("Cannot create separate instance of NavigationController")); 39 40 qmlRegisterUncreatableType<QTouchWebPage>(uri, 5, 0, "TouchWebPage", QObject::tr("Cannot create separate instance of TouchWebPage, use TouchWebView")); 41 qmlRegisterUncreatableType<QNetworkReply>(uri, 5, 0, "NetworkReply", QObject::tr("Cannot create separate instance of NetworkReply")); 40 42 } 41 43 };
Note: See TracChangeset
for help on using the changeset viewer.