- 16 Oct, 2009 1 commit
-
-
eric@webkit.org authored
Reviewed by David Levin. Add mod_pywebsocket to test Web Sockets. http://code.google.com/p/pywebsocket/ https://bugs.webkit.org/show_bug.cgi?id=27490 * pywebsocket/COPYING: Added. * pywebsocket/MANIFEST.in: Added. * pywebsocket/README: Added. * pywebsocket/example/echo_client.py: Added. * pywebsocket/example/echo_wsh.py: Added. * pywebsocket/mod_pywebsocket/__init__.py: Added. * pywebsocket/mod_pywebsocket/dispatch.py: Added. * pywebsocket/mod_pywebsocket/handshake.py: Added. * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added. * pywebsocket/mod_pywebsocket/msgutil.py: Added. * pywebsocket/mod_pywebsocket/standalone.py: Added. * pywebsocket/mod_pywebsocket/util.py: Added. * pywebsocket/setup.py: Added. * pywebsocket/test/config.py: Added. * pywebsocket/test/mock.py: Added. * pywebsocket/test/run_all.py: Added. * pywebsocket/test/test_dispatch.py: Added. * pywebsocket/test/test_handshake.py: Added. * pywebsocket/test/test_mock.py: Added. * pywebsocket/test/test_msgutil.py: Added. * pywebsocket/test/test_util.py: Added. * pywebsocket/test/testdata/handlers/blank_wsh.py: Added. * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added. * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added. * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added. * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added. * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added. * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added. * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Oct, 2009 8 commits
-
-
eric@webkit.org authored
Reviewed by David Levin. Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file. https://bugs.webkit.org/show_bug.cgi?id=30426 * Scripts/modules/cpp_style.py: * Scripts/modules/cpp_style_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://webkit.org/b/30411bweinstein@apple.com authored
REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows. Reviewed by Adam Roben. Added a check for isChromium() in pdevenv, and pass /useenv if we are not building Chromium. * Scripts/pdevenv: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
Add Mac package building scripts for wx. https://bugs.webkit.org/show_bug.cgi?id=30405 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
2009-10-15 Zan Dobersek <zandobersek@gmail.com> Reviewed by Gustavo Noronha. Add a settings to enable support for experimental Web Sockets. Currently this comes in handy in layout tests. * webkit/webkitwebsettings.cpp: (webkit_web_settings_class_init): (webkit_web_settings_set_property): (webkit_web_settings_get_property): (webkit_web_settings_copy): * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): (webkit_web_view_settings_notify): WebKitTools 2009-10-15 Zan Dobersek <zandobersek@gmail.com> Reviewed by Gustavo Noronha. Enable Web Sockets support when running layout tests. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. Need to initialize event.button.button, since in most cases a button number is not passed as an argument. * DumpRenderTree/gtk/EventSender.cpp: (mouseDownCallback): (mouseUpCallback): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
the OS if none was explicitly set. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: enable developers extras within inspector layout tests. https://bugs.webkit.org/show_bug.cgi?id=30014 * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::showWebInspector): (LayoutTestController::closeWebInspector): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::showWebInspector): (LayoutTestController::closeWebInspector): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Jan Alonzo. GtkLauncher is using a deprecated signal https://bugs.webkit.org/show_bug.cgi?id=30364 Modified GtkLauncher to use notify::title signal instead of deprecated title-changed signal * GtkLauncher/main.c: (notify_title_cb): (create_browser): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Oct, 2009 4 commits
-
-
beidson@apple.com authored
WebKitTools: Don't set the history delegate on new windows that are opened during a test, as the history delegate: 1 - Disables WebHistory 2 - Doesn't make sense in that context anyway. Reviewed by Sam Weinig. * DumpRenderTree/win/DumpRenderTree.cpp: (createWebViewAndOffscreenWindow): LayoutTests: Un-skip a test that now passes. Reviewed by Sam Weinig. * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29905 Reviewed by Sam Weinig. WebKit/win: -Add IWebHistoryDelegate for clients to implement. -Add (I)WebNavigationData for the history delegate's use. -When it exists, call the history delegate instead of using WebHistory. * Interfaces/IWebHistoryDelegate.idl: Added. * Interfaces/IWebHistoryPrivate.idl: * Interfaces/IWebNavigationData.idl: Added. * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.vcproj: * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::populateVisitedLinks): * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory): (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): (WebFrameLoaderClient::setTitle): * WebView.cpp: (WebView::close): (WebView::mainFrameURL): (WebView::setHistoryDelegate): (WebView::historyDelegate): (WebView::addVisitedLinks): * WebView.h: * WebHistory.cpp: (WebHistory::setVisitedLinkTrackingEnabled): (WebHistory::removeAllVisitedLinks): * WebHistory.h: * WebNavigationData.cpp: Added. (WebNavigationData::QueryInterface): (WebNavigationData::AddRef): (WebNavigationData::Release): (WebNavigationData::WebNavigationData): (WebNavigationData::~WebNavigationData): (WebNavigationData::createInstance): (WebNavigationData::url): (WebNavigationData::title): (WebNavigationData::originalRequest): (WebNavigationData::response): (WebNavigationData::hasSubstituteData): (WebNavigationData::clientRedirectSource): * WebNavigationData.h: Added. WebKitTools: * DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): * DumpRenderTree/LayoutTestController.h: (LayoutTestController::dumpHistoryDelegateCallbacks): (LayoutTestController::setDumpHistoryDelegateCallbacks): * DumpRenderTree/win/DumpRenderTree.cpp: (shouldLogHistoryDelegates): (runTest): (createWebViewAndOffscreenWindow): (main): * DumpRenderTree/win/DumpRenderTree.vcproj: Add the IWebHistoryDelegate to DRT Windows: * DumpRenderTree/win/HistoryDelegate.cpp: Added. (wstringFromBSTR): (HistoryDelegate::HistoryDelegate): (HistoryDelegate::~HistoryDelegate): (HistoryDelegate::QueryInterface): (HistoryDelegate::AddRef): (HistoryDelegate::Release): (HistoryDelegate::didNavigateWithNavigationData): (HistoryDelegate::didPerformClientRedirectFromURL): (HistoryDelegate::didPerformServerRedirectFromURL): (HistoryDelegate::updateHistoryTitle): (HistoryDelegate::populateVisitedLinksForWebView): * DumpRenderTree/win/HistoryDelegate.h: Added. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::removeAllVisitedLinks): LayoutTests: * platform/win/Skipped: Enable globalhistory tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Implement support for setPOSIXLocale on Qt. https://bugs.webkit.org/show_bug.cgi?id=30268 * DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setPOSIXLocale): * DumpRenderTree/qt/LayoutTestControllerQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Oct, 2009 8 commits
-
-
slewis@apple.com authored
* Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
Reviewed by Mark Rowe. * Scripts/webkitdirs.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes out of jsobjects into separate files to get a more structured DumpRenderTree implementation. This is done in preparation of implementing missing features in DRT. No functionality changes made yet. * DumpRenderTree/qt/DumpRenderTree.cpp: * DumpRenderTree/qt/DumpRenderTree.pro: * DumpRenderTree/qt/EventSenderQt.cpp: Added. (EventSender::EventSender): (EventSender::mouseDown): (EventSender::mouseUp): (EventSender::mouseMoveTo): (EventSender::leapForward): (EventSender::keyDown): (EventSender::contextClick): (EventSender::scheduleAsynchronousClick): (EventSender::frameUnderMouse): * DumpRenderTree/qt/EventSenderQt.h: Added. (EventSender::clearKillRing): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added. (LayoutTestController::LayoutTestController): (LayoutTestController::reset): (LayoutTestController::processWork): (LayoutTestController::maybeDump): (LayoutTestController::waitUntilDone): (LayoutTestController::notifyDone): (LayoutTestController::windowCount): (LayoutTestController::clearBackForwardList): (LayoutTestController::dumpEditingCallbacks): (LayoutTestController::dumpResourceLoadCallbacks): (LayoutTestController::queueBackNavigation): (LayoutTestController::queueForwardNavigation): (LayoutTestController::queueLoad): (LayoutTestController::queueReload): (LayoutTestController::queueScript): (LayoutTestController::provisionalLoad): (LayoutTestController::timerEvent): (LayoutTestController::encodeHostName): (LayoutTestController::decodeHostName): (LayoutTestController::setJavaScriptProfilingEnabled): (LayoutTestController::setFixedContentsSize): (LayoutTestController::setPrivateBrowsingEnabled): (LayoutTestController::setPopupBlockingEnabled): (LayoutTestController::pauseAnimationAtTimeOnElementWithId): (LayoutTestController::pauseTransitionAtTimeOnElementWithId): (LayoutTestController::numberOfActiveAnimations): (LayoutTestController::disableImageLoading): (LayoutTestController::dispatchPendingLoadRequests): (LayoutTestController::setDatabaseQuota): (LayoutTestController::clearAllDatabases): (LayoutTestController::whiteListAccessFromOrigin): (LayoutTestController::waitForPolicyDelegate): (LayoutTestController::overridePreference): * DumpRenderTree/qt/LayoutTestControllerQt.h: Added. (LayoutTestController::isLoading): (LayoutTestController::setLoading): (LayoutTestController::shouldDumpAsText): (LayoutTestController::shouldDumpBackForwardList): (LayoutTestController::shouldDumpChildrenAsText): (LayoutTestController::shouldDumpDatabaseCallbacks): (LayoutTestController::shouldDumpStatusCallbacks): (LayoutTestController::shouldWaitUntilDone): (LayoutTestController::canOpenWindows): (LayoutTestController::shouldDumpTitleChanges): (LayoutTestController::waitForPolicy): (LayoutTestController::dumpAsText): (LayoutTestController::dumpChildFramesAsText): (LayoutTestController::dumpDatabaseCallbacks): (LayoutTestController::dumpStatusCallbacks): (LayoutTestController::setCanOpenWindows): (LayoutTestController::dumpBackForwardList): (LayoutTestController::setCloseRemainingWindowsWhenComplete): (LayoutTestController::display): (LayoutTestController::dumpTitleChanges): (LayoutTestController::dumpSelectionRect): * DumpRenderTree/qt/TextInputControllerQt.cpp: Added. (TextInputController::TextInputController): (TextInputController::doCommand): * DumpRenderTree/qt/TextInputControllerQt.h: Added. * DumpRenderTree/qt/WorkQueue.cpp: * DumpRenderTree/qt/WorkQueue.h: * DumpRenderTree/qt/WorkQueueItem.h: * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added. (findFrameNamed): (LoadItem::invoke): (ReloadItem::invoke): (ScriptItem::invoke): (BackForwardItem::invoke): * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files * DumpRenderTree/qt/jsobjects.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dimich@chromium.org authored
* Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/6660507andersca@apple.com authored
Reviewed by Sam Weinig. WebKit/mac: Listen for WebPreferences notifications and update the _isPrivateBrowsingEnabled ivar when the value changes. Also call -[WebBaseNetscapePluginView privateBrowsingModeDidChange] when the value changes. In process this just calls NPP_SetValue, and OOP it sends a MIG message to the plug-in host. * Plugins/Hosted/NetscapePluginHostManager.h: * Plugins/Hosted/NetscapePluginHostManager.mm: (WebKit::NetscapePluginHostManager::instantiatePlugin): * Plugins/Hosted/NetscapePluginInstanceProxy.h: * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::privateBrowsingModeDidChange): * Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView createPlugin]): (-[WebHostedNetscapePluginView privateBrowsingModeDidChange]): * Plugins/Hosted/WebKitPluginHost.defs: * Plugins/WebBaseNetscapePluginView.h: * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView privateBrowsingModeDidChange]): (-[WebBaseNetscapePluginView viewDidMoveToWindow]): (-[WebBaseNetscapePluginView preferencesHaveChanged:]): * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView privateBrowsingModeDidChange]): (-[WebNetscapePluginView getVariable:value:]): WebKitTools: Make the private browsing mode testable by the test plug-in. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginGetProperty): * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): (NPP_SetValue): LayoutTests: Add test. * platform/mac-snowleopard/Skipped: Remove now passing tests that was fixed by https://bugs.webkit.org/show_bug.cgi?id=30295. * plugins/private-browsing-mode-expected.txt: Added. * plugins/private-browsing-mode.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
No review, just adding self to the list of reviewers. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Adam Roben. Web Inspector: Use proper web view in inspector layout tests for windows. https://bugs.webkit.org/show_bug.cgi?id=30298 * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::showWebInspector): (LayoutTestController::closeWebInspector): (LayoutTestController::evaluateInWebInspector): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Oct, 2009 4 commits
-
-
ukai@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=29841 Patch by Fumitoshi Ukai <ukai@chromium.org> on 2009-10-06 Reviewed by NOBODY (OOPS!). Test: fast/websockets/websocket-event-target.html * bindings/js/JSWebSocketCustom.cpp: (WebCore::JSWebSocket::addEventListener): (WebCore::JSWebSocket::removeEventListener): * bindings/v8/custom/V8CustomBinding.h: * bindings/v8/custom/V8WebSocketCustom.cpp: (WebCore::CALLBACK_FUNC_DECL): * websockets/WebSocket.idl: WebKitTools: Enable experimentalWebSocket in DumpRenderTree for LayoutTest. https://bugs.webkit.org/show_bug.cgi?id=29841 Patch by Fumitoshi Ukai <ukai@chromium.org> on 2009-10-06 Reviewed by NOBODY (OOPS!). * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/win/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): LayoutTests: Add a test to verify WebSocket's EventTarget methods. https://bugs.webkit.org/show_bug.cgi?id=29841 Patch by Fumitoshi Ukai <ukai@chromium.org> on 2009-10-06 Reviewed by NOBODY (OOPS!). * fast/websockets/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/canvas/script-tests/TEMPLATE.html. * fast/websockets/script-tests/websocket-event-target.js: Added. (openListener): (messageListener): (closeListener): * fast/websockets/websocket-event-target-expected.txt: Added. * fast/websockets/websocket-event-target.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. Chromium Port - Windows https://bugs.webkit.org/show_bug.cgi?id=29969 * chromium/DEPS: Added gtest dep required by windows and incremented some of the deps revisions. 2009-10-12 Yaar Schnitman <yaar@chromium.org> Reviewed by Dimitri Glazkov. Chromium Port - Windows https://bugs.webkit.org/show_bug.cgi?id=29969 * Scripts/pdevenv: removed msvc's /useenv for chromium builds * Scripts/webkitdirs.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=30288 Patch by Csaba Osztrogonac <ossy@webkit.org> on 2009-10-12 Reviewed by Darin Adler. Duplicated jscPath() moved to webkitdirs.pm. New jscProductDir() added to webkitdirs.pm instead of duplicated codes. Configuration added (release/debug) to path for Qt-port on Windows. * Scripts/run-javascriptcore-tests: * Scripts/run-jsc: * Scripts/run-sunspider: * Scripts/sunspider-compare-results: * Scripts/webkitdirs.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
Unreviewed. Added myself to committers.py. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Oct, 2009 2 commits
-
-
abarth@webkit.org authored
Unreviewed. Add Collin to committers.py. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Oct, 2009 1 commit
-
-
rdar://problem/7290671mrowe@apple.com authored
WebKit/mac: <rdar://problem/7290671> Crash after navigating away from a page with subframe containing plug-in Reviewed by Brady Eidson. At the time that -stop is called on a WebBaseNetscapePluginView that is contained within a subframe the WebFrame's data source has been zeroed out. This was causing -[WebBaseNetscapePluginView webFrame] to return nil during -stop, preventing the plug-in view from unregistering itself from the PluginHalter. We fix this by having -webFrame retrieve the frame directly rather than retrieving it from the data source. * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView dataSource]): Get the data source from the WebFrame. (-[WebBaseNetscapePluginView webFrame]): Get the Frame directly from the element's document rather than taking a windy route through the WebDataSource. WebKitTools: Enable plug-in halting in DumpRenderTree. We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins. This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs. * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:shouldHaltPlugin:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Oct, 2009 6 commits
-
-
beidson@apple.com authored
<rdar://problem/7285293> and https://webkit.org/b/29904 Reviewed by Dan Bernstein. WebKit/mac: * History/WebHistory.mm: (+[WebHistory _removeAllVisitedLinks]): * History/WebHistoryPrivate.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::populateVisitedLinks): * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: (CallHistoryDelegate): * WebView/WebHistoryDelegate.h: * WebView/WebView.mm: (-[WebView _cacheHistoryDelegateImplementations]): (-[WebView addVisitedLinks:]): * WebView/WebViewPrivate.h: WebKitTools: Add the ability for LayoutTestController to clear all visited links. Also lets the History Delegate dump visited links, but only if this test specifically cleared them. * DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (removeAllVisitedLinksCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::removeAllVisitedLinks): * DumpRenderTree/mac/HistoryDelegate.mm: (-[HistoryDelegate populateVisitedLinksForWebView:]): * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::removeAllVisitedLinks): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::removeAllVisitedLinks): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::removeAllVisitedLinks): LayoutTests: * http/tests/globalhistory/history-delegate-basic-visited-links-expected.txt: Added. * http/tests/globalhistory/history-delegate-basic-visited-links.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dbates@webkit.org authored
Reviewed by Adam Roben. https://bugs.webkit.org/show_bug.cgi?id=30175 The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return the OLE drag-and-drop return value like the function it emulates. Currently, UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine whether the drag-and-drop operation was successful or was cancelled. This patch fixes this issue by having UIDelegate::doDragDrop return the OLE drag-and-drop return value according to whether the drop operation was successful or not. * DumpRenderTree/win/EventSender.cpp: (doMouseUp): Added parameter oleDragAndDropReturnValue. (replaySavedEvents): Ditto. * DumpRenderTree/win/EventSender.h: * DumpRenderTree/win/UIDelegate.cpp: (UIDelegate::doDragDrop): Modified to return OLE drag-and-drop return value. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Xan Lopez. [GTK] Added support for a parameter setting the button that was pressed in the mouseDown function. https://bugs.webkit.org/show_bug.cgi?id=30220 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Xan Lopez. [GTK] Added a line to the bottom of the expected result to match the output of the test. https://bugs.webkit.org/show_bug.cgi?id=30220 * LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste- expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be accessed in a more standard way Reviewed by John Sullivan and Tim Hatcher. WebKit/win: IWebViewPrivate::inspectorPrivate has been removed. Callers should instead use IWebViewPrivate::inspector and then use QueryInterface to get the IWebInspectorPrivate interface. This matches how our other COM classes work. * Interfaces/IWebViewPrivate.idl: Removed inspectorPrivate. * WebInspector.cpp: (WebInspector::QueryInterface): Support querying to IWebInspectorPrivate. * WebView.cpp: * WebView.h: Removed inspectorPrivate. WebKitTools: Use QueryInterface to get IWebInspectorPrivate * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::evaluateInWebInspector): Get the IWebInspector by calling IWebViewPrivate::inspector, then use QueryInterface to get to the IWebInspectorPrivate interface. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/30185>. Reviewed by Eric Seidel. WebKit/win: * Interfaces/IWebViewPrivate.idl: Added whiteListAccessFromOrigin and resetOriginAccessWhiteLists, to match the Mac SPI. * WebView.cpp: (WebView::whiteListAccessFromOrigin): (WebView::resetOriginAccessWhiteLists): * WebView.h: Added. These just call through to SecurityOrigin. WebKitTools: Implement DRT support for origin whitelisting * DumpRenderTree/win/DumpRenderTree.cpp: (resetWebViewToConsistentStateBeforeTesting): Reset any origin whitelist, to match Mac DRT. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::whiteListAccessFromOrigin): Call through to IWebViewPrivate::whiteListAccessFromOrigin. LayoutTests: Start running origin whitelist tests on Windows * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Oct, 2009 6 commits
-
-
beidson@apple.com authored
<rdar://problem/7285293> and https://webkit.org/b/29904 Reviewed by Darin Adler. WebKit/mac: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::setTitle): * WebView/WebDelegateImplementationCaching.h: * WebView/WebHistoryDelegate.h: * WebView/WebView.mm: (-[WebView _cacheHistoryDelegateImplementations]): WebKitTools: * DumpRenderTree/mac/HistoryDelegate.mm: (-[HistoryDelegate webView:updateHistoryTitle:forURL:]): LayoutTests: * http/tests/globalhistory/history-delegate-basic-title-expected.txt: Added. * http/tests/globalhistory/history-delegate-basic-title.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Unreviewed. Remove some folks from committers.py who were listed on the WebKit Team wiki page but who weren't actually listed as commit+. At some point, we should coorelate this list with the committers mailing list. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Unreviewed. Import a bunch of committers from the WebKit Team page on the wiki into committers.py. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Unreviewed. Added Aaron Boodman to committers.py. * Scripts/modules/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Layout test for verifying that LC_NUMERIC setting doesn't affect the way CSS properties are stringified. https://bugs.webkit.org/show_bug.cgi?id=18994 * fast/css/opacity-float-expected.txt: Added. * fast/css/opacity-float.html: Added. 2009-10-07 Evan Martin <evan@chromium.org> Reviewed by Darin Adler. Add API to LayoutTestController for re/setting the system locale. https://bugs.webkit.org/show_bug.cgi?id=18994 * DumpRenderTree/LayoutTestController.cpp: (setLocaleCallback): (LayoutTestController::staticFunctions): (LayoutTestController::setLocale): * DumpRenderTree/LayoutTestController.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hamaji@chromium.org authored
Reviewed by Jan Alonzo. [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts https://bugs.webkit.org/show_bug.cgi?id=29689 Build fix by adding -lfontconfig for DumpRenderTree. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-