1. 16 Oct, 2009 1 commit
    • eric@webkit.org's avatar
      2009-10-15 Yuzo Fujishima <yuzo@google.com> · b66f65b2
      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
      b66f65b2
  2. 15 Oct, 2009 8 commits
  3. 14 Oct, 2009 4 commits
    • beidson@apple.com's avatar
      WebKitTools: Don't set the history delegate on new windows that are opened... · eb71e54a
      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
      eb71e54a
    • kevino@webkit.org's avatar
      wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify · 319dfc24
      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
      319dfc24
    • beidson@apple.com's avatar
      WebKit Win API should provide a delegate interface for global history. · b3d1d6e9
      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
      b3d1d6e9
    • eric@webkit.org's avatar
      2009-10-14 Shu Chang <Chang.Shu@nokia.com> · 5af71de5
      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
      5af71de5
  4. 13 Oct, 2009 8 commits
    • slewis@apple.com's avatar
      Unreviewed, adding myself to reviewers list. · bb436185
      slewis@apple.com authored
      * Scripts/modules/committers.py:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb436185
    • slewis@apple.com's avatar
      Fix null assignment so root tests work again. · 2540ce4d
      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
      2540ce4d
    • hyatt@apple.com's avatar
      29fec526
    • eric@webkit.org's avatar
      2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu> · c3c24b7a
      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
      c3c24b7a
    • dimich@chromium.org's avatar
      Not reviewed, adding myself to the list of reviewers. · 6f85f4a2
      dimich@chromium.org authored
      * Scripts/modules/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f85f4a2
    • andersca@apple.com's avatar
      <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API · c912076a
      andersca@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
      c912076a
    • pfeldman@chromium.org's avatar
      2009-10-13 Pavel Feldman <pfeldman@chromium.org> · 2bbb4fb6
      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
      2bbb4fb6
    • pfeldman@chromium.org's avatar
      2009-10-12 Pavel Feldman <pfeldman@chromium.org> · b13d607a
      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
      b13d607a
  5. 12 Oct, 2009 4 commits
  6. 11 Oct, 2009 2 commits
  7. 09 Oct, 2009 1 commit
    • mrowe@apple.com's avatar
      WebKit/mac: <rdar://problem/7290671> Crash after navigating away from a page... · f044181c
      mrowe@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
      f044181c
  8. 08 Oct, 2009 6 commits
    • beidson@apple.com's avatar
      Ask the History Delegate to populate the visited links hash. · 0cf83964
      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
      0cf83964
    • dbates@webkit.org's avatar
      2009-10-08 Daniel Bates <dbates@webkit.org> · 96f7b3a9
      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
      96f7b3a9
    • eric@webkit.org's avatar
      2009-10-08 Alejandro G. Castro <alex@igalia.com> · 83aa31e1
      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
      83aa31e1
    • eric@webkit.org's avatar
      2009-10-08 Alejandro G. Castro <alex@igalia.com> · 05ab5119
      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
      05ab5119
    • aroben@apple.com's avatar
      Make IWebInspectorPrivate be accessed in a more standard way · 6adc5ded
      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
      6adc5ded
    • aroben@apple.com's avatar
      Expose origin whitelisting in the WebKit API on Windows · 262d7c6e
      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
      262d7c6e
  9. 07 Oct, 2009 6 commits