2008-03-07 Simon Hausmann <hausmann@webkit.org>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Mar 2008 11:52:27 +0000 (11:52 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Mar 2008 11:52:27 +0000 (11:52 +0000)
commit148eba472f8d0e586e23b3a51a77941efabb5aec
tree5d05c9f446c9e21d05ac204bd1a9c24c0a54943e
parente11088b9ac78a52caac5d8c32a3b83ab0e38c327
2008-03-07  Simon Hausmann  <hausmann@webkit.org>

        http://bugs.webkit.org/show_bug.cgi?id=16815

        Reviewed by Darin.

        Done with Lars.

WebCore:

        Ported the manually written JS bindings of window.navigator,
        window.navigator.plugins and window.navigator.mimeTypes to
        auto-generated bindings.

        Moved the globally cached plugin and mimetype information to a
        per WebCore::Page shared PluginData structure.

        Implemented window.navigator.plugins.refresh() in a
        platform-independent way.

LayoutTests:

        Added a testcase for http://bugs.webkit.org/show_bug.cgi?id=16815

WebKit/qt:

        Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.

WebKit/mac:

        Simplified WebViewFactory's refreshPlugins method to only refresh the
        plugins and not reload the frames anymore since that's now done in a
        platform independent manner by WebCore::Page.

        Also removed the now unused pluginNameForMIMEType and
        pluginSupportsMIMEType methods.

WebKitTools/DumpRenderTree/qt:

        Ported the netscape test plugin to QWebPluginFactory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/js/navigator-plugins-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/navigator-plugins-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/GNUmakefile.am
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSDOMWindowBase.cpp
WebCore/bindings/js/JSMimeTypeArrayCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSNavigatorCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSPluginArrayCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSPluginCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/kjs_navigator.cpp [deleted file]
WebCore/bindings/js/kjs_navigator.h [deleted file]
WebCore/dom/Clipboard.cpp
WebCore/dom/DOMImplementation.cpp
WebCore/loader/FrameLoader.cpp
WebCore/page/DOMWindow.cpp
WebCore/page/DOMWindow.h
WebCore/page/DOMWindow.idl
WebCore/page/DragController.cpp
WebCore/page/Frame.cpp
WebCore/page/Frame.h
WebCore/page/Navigator.cpp [new file with mode: 0644]
WebCore/page/Navigator.h [new file with mode: 0644]
WebCore/page/Navigator.idl [new file with mode: 0644]
WebCore/page/Page.cpp
WebCore/page/Page.h
WebCore/page/Plugin.h [deleted file]
WebCore/page/mac/FrameMac.mm
WebCore/page/mac/WebCoreFrameBridge.mm
WebCore/page/mac/WebCoreViewFactory.h
WebCore/page/qt/FrameQt.cpp
WebCore/page/win/FrameWin.cpp
WebCore/platform/gtk/TemporaryLinkStubs.cpp
WebCore/platform/mac/PlugInInfoStoreMac.mm [deleted file]
WebCore/platform/qt/MIMETypeRegistryQt.cpp
WebCore/plugins/MimeType.cpp [new file with mode: 0644]
WebCore/plugins/MimeType.h [new file with mode: 0644]
WebCore/plugins/MimeType.idl [new file with mode: 0644]
WebCore/plugins/MimeTypeArray.cpp [new file with mode: 0644]
WebCore/plugins/MimeTypeArray.h [new file with mode: 0644]
WebCore/plugins/MimeTypeArray.idl [new file with mode: 0644]
WebCore/plugins/Plugin.cpp [new file with mode: 0644]
WebCore/plugins/Plugin.h [new file with mode: 0644]
WebCore/plugins/Plugin.idl [new file with mode: 0644]
WebCore/plugins/PluginArray.cpp [new file with mode: 0644]
WebCore/plugins/PluginArray.h [new file with mode: 0644]
WebCore/plugins/PluginArray.idl [new file with mode: 0644]
WebCore/plugins/PluginData.cpp [new file with mode: 0644]
WebCore/plugins/PluginData.h [new file with mode: 0644]
WebCore/plugins/mac/PluginDataMac.mm [new file with mode: 0644]
WebCore/plugins/qt/PluginDataQt.cpp [new file with mode: 0644]
WebCore/plugins/win/PluginDataWin.cpp [new file with mode: 0644]
WebKit.pri
WebKit/mac/ChangeLog
WebKit/mac/WebCoreSupport/WebViewFactory.mm
WebKit/mac/WebView/WebFrame.mm
WebKit/mac/WebView/WebFrameInternal.h
WebKit/mac/WebView/WebView.mm
WebKit/qt/Api/qwebnetworkinterface.cpp
WebKit/qt/Api/qwebnetworkinterface_p.h
WebKit/qt/Api/qwebobjectplugin.cpp [deleted file]
WebKit/qt/Api/qwebobjectplugin.h [deleted file]
WebKit/qt/Api/qwebobjectplugin_p.h [deleted file]
WebKit/qt/Api/qwebobjectpluginconnector.cpp [deleted file]
WebKit/qt/Api/qwebobjectpluginconnector.h [deleted file]
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/Api/qwebpage.h
WebKit/qt/Api/qwebpage_p.h
WebKit/qt/Api/qwebpluginfactory.cpp [new file with mode: 0644]
WebKit/qt/Api/qwebpluginfactory.h [new file with mode: 0644]
WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
WebKitTools/DumpRenderTree/qt/main.cpp
WebKitTools/DumpRenderTree/qt/testplugin.cpp
WebKitTools/DumpRenderTree/qt/testplugin.h