1. 16 Sep, 2010 40 commits
    • darin@apple.com's avatar
      Mac results for recently-added test. · 462ba4b7
      darin@apple.com authored
      * platform/mac/fast/images/gif-large-checkerboard-expected.checksum: Added.
      * platform/mac/fast/images/gif-large-checkerboard-expected.png: Added.
      * platform/mac/fast/images/gif-large-checkerboard-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      462ba4b7
    • commit-queue@webkit.org's avatar
      2010-09-16 Pavel Podivilov <podivilov@chromium.org> · 593414a4
      commit-queue@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: quick fix for crash in InspectorController::loadBreakpoints caused by empty main resource
              https://bugs.webkit.org/show_bug.cgi?id=45901
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::breakpointsSettingKey):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      593414a4
    • kbr@google.com's avatar
      2010-09-16 Kenneth Russell <kbr@google.com> · caaea23a
      kbr@google.com authored
              Reviewed by James Robinson.
      
              [chromium] Expose separate GraphicsContext3DInternal.h
              https://bugs.webkit.org/show_bug.cgi?id=45914
      
              * WebKit.gyp:
              * src/GraphicsContext3D.cpp:
              * src/GraphicsContext3DInternal.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caaea23a
    • kbr@google.com's avatar
      2010-09-16 Kenneth Russell <kbr@google.com> · 8b7f8521
      kbr@google.com authored
              Reviewed by James Robinson.
      
              [chromium] Add WebGraphicsContext3D accessor to WebView
              https://bugs.webkit.org/show_bug.cgi?id=45913
      
              * public/WebView.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              (WebKit::WebViewImpl::graphicsContext3D):
              * src/WebViewImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b7f8521
    • pfeldman@chromium.org's avatar
      2010-09-16 Pavel Feldman <pfeldman@chromium.org> · 9a5c5127
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Prevent responseReceivedTime from being > endTime in case mixture of WebCore and Network stack info is used.
              https://bugs.webkit.org/show_bug.cgi?id=45892
      
              * inspector/InspectorResource.cpp:
              (WebCore::InspectorResource::endTiming):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a5c5127
    • loislo@chromium.org's avatar
      2010-09-16 Ilya Tikhonovsky <loislo@chromium.org> · d230d0b0
      loislo@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: move resourceTracking flag under control of BackendSettings.
      
              Four Inspector API methods about resourceTracking flag were removed.
              Actual state of the flag is transfered as the response of setResourceTracking request.
              Initial state of the flag on the frontend side is obtained from settings.backend.
      
              https://bugs.webkit.org/show_bug.cgi?id=45887
      
              WebCore:
      
              * inspector/Inspector.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::getBackendSettings):
              (WebCore::InspectorController::populateScriptObjects):
              (WebCore::InspectorController::setResourceTracking):
              * inspector/InspectorController.h:
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings.initialize.populateBackendSettings):
              (WebInspector.Settings.initialize):
              * inspector/front-end/inspector.js:
      
              WebKit/chromium:
      
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
              (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
      
              LayoutTests:
      
              * http/tests/inspector/inspector-test2.js:
              (initialize_InspectorTest.InspectorTest.enableResourceTracking):
              (initialize_InspectorTest.InspectorTest.disableResourceTracking):
              * http/tests/inspector/resource-parameters.html:
              * inspector/audits-panel-functional.html:
              * inspector/report-API-errors-expected.txt:
              * inspector/report-API-errors.html:
              * inspector/styles-source-offsets.html:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d230d0b0
    • jianli@chromium.org's avatar
      BlobData should be copied for it to be used cross-thread in ThreadableBlobRegistry. · 6cac38ea
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=45909
      
      Reviewed by David Levin.
      
      WebCore:
      
      * fileapi/ThreadableBlobRegistry.cpp:
      (WebCore::BlobRegistryContext::BlobRegistryContext):
      
      LayoutTests:
      
      Also fix a test issue that we do not calculate the right position to move
      mouse to on some platform.
      
      * fast/files/apply-blob-url-to-img.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cac38ea
    • commit-queue@webkit.org's avatar
      2010-09-16 Daniel Cheng <dcheng@chromium.org> · ec6d7f60
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              [chromium] Fix incorrect drag node/selection painting.
              https://bugs.webkit.org/show_bug.cgi?id=45573
      
              Drag selections were being incorrectly clipped when dragging a selection
              near the bottom of a page that was taller than the viewport. To fix
              this, we use paintContents() instead of paint().
      
              * page/chromium/FrameChromium.cpp:
              (WebCore::Frame::nodeImage):
              (WebCore::Frame::dragImageForSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec6d7f60
    • zmo@google.com's avatar
      2010-09-16 Zhenyao Mo <zmo@google.com> · 8e020087
      zmo@google.com authored
              Unreviewed, TAG fix for two webgl tests in Linux/Win.
      
              * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e020087
    • commit-queue@webkit.org's avatar
      2010-09-16 Patrick Gansterer <paroga@paroga.com> · 328a5f3d
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              [Mac] Always use a valid string when setting WebKitUserStyleSheetLocationPreferenceKey.
              https://bugs.webkit.org/show_bug.cgi?id=41510
      
              * platform/mac/fast/loader/user-stylesheet-fast-path-expected.txt:
              * platform/mac/fast/loader/user-stylesheet-fast-path.html:
      2010-09-16  Patrick Gansterer  <paroga@paroga.com>
      
              Reviewed by Darin Adler.
      
              Always use a valid string when setting WebKitUserStyleSheetLocationPreferenceKey.
              https://bugs.webkit.org/show_bug.cgi?id=41510
      
              This prevents usage of nil value, which would cause an uncaught exception.
      
              * WebView/WebPreferences.mm:
              (-[WebPreferences setUserStyleSheetLocation:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      328a5f3d
    • commit-queue@webkit.org's avatar
      2010-09-16 Daniel Cheng <dcheng@chromium.org> · 53a3dcd7
      commit-queue@webkit.org authored
              Reviewed by Tony Chang.
      
              Fix incorrect usage of dissolveDragImageToFraction().
              https://bugs.webkit.org/show_bug.cgi?id=45835
      
              createDragImageForSelection() was ignoring the return value of
              dissolveDragImageToFraction(). This didn't happen to crash on most
              platforms, since most implementations simply modified the image that was
              passed in. However, Chromium Mac's implementation actually creates a new
              image and returns that instead. This caused us to crash when copying the
              image from the renderer to the browser process, since the memory had
              already been freed.
      
              * manual-tests/selection-drag-crash.html: Added.
              * platform/DragImage.cpp:
              (WebCore::createDragImageForSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53a3dcd7
    • zmo@google.com's avatar
      2010-09-16 Zhenyao Mo <zmo@google.com> · ddd66421
      zmo@google.com authored
              Unreviewed, test TAG fix.
      
              * platform/chromium/test_expectations.txt: should be IMAGE+TEXT, not TEXT+IMAGE.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddd66421
    • mitz@apple.com's avatar
      Reverted the previous change because r67628 has been reverted. · 69812572
      mitz@apple.com authored
      WebKit: 
      
      * English.lproj/Localizable.strings:
      
      WebKit/mac: 
      
      * WebCoreSupport/WebPlatformStrategies.h:
      * WebCoreSupport/WebPlatformStrategies.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69812572
    • mitz@apple.com's avatar
      WebKit: Updated localizable strings. · 2a8edb63
      mitz@apple.com authored
      * English.lproj/Localizable.strings:
      
      WebKit/mac: Build fix after r67628. Added context menu item localizable strings for the items
      added in r67628, following equivalent menu items in Mac OS X when possible. However,
      this set of menu items does not make much sense for Mac OS X, and this should be
      addressed separately.
      
      * WebCoreSupport/WebPlatformStrategies.h:
      * WebCoreSupport/WebPlatformStrategies.mm:
      (WebPlatformStrategies::contextMenuItemTagOpenMediaInNewWindow):
      (WebPlatformStrategies::contextMenuItemTagCopyMediaLinkToClipboard):
      (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
      (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
      (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
      (WebPlatformStrategies::contextMenuItemTagMediaPlay):
      (WebPlatformStrategies::contextMenuItemTagMediaPause):
      (WebPlatformStrategies::contextMenuItemTagMediaMute):
      (WebPlatformStrategies::contextMenuItemTagMediaUnMute):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a8edb63
    • kbalazs@webkit.org's avatar
      2010-09-16 Balazs Kelemen <kbalazs@webkit.org> · de9c70d9
      kbalazs@webkit.org authored
              Unreviewed trivial typo fix.
      
              Remove old debug helper code inside |#if 0| from ConnectionQt.cpp
      
              * Platform/CoreIPC/qt/ConnectionQt.cpp:
              (CoreIPC::Connection::readyReadHandler):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de9c70d9
    • mrobinson@webkit.org's avatar
      2010-09-16 Martin Robinson <mrobinson@igalia.com> · d12d86f7
      mrobinson@webkit.org authored
              Unskip some tests that are now passing after libxml fixes in r66336.
      
              * platform/gtk/Skipped: Unskip passing tests.
              * platform/gtk/svg/custom/js-update-stop-linked-gradient-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d12d86f7
    • commit-queue@webkit.org's avatar
      2010-09-16 Sheriff Bot <webkit.review.bot@gmail.com> · 21f0a532
      commit-queue@webkit.org authored
              Unreviewed, rolling out r67628.
              http://trac.webkit.org/changeset/67628
              https://bugs.webkit.org/show_bug.cgi?id=45904
      
              broke the build (Requested by eric_carlson on #webkit).
      
              * media/context-menu-actions-expected.txt: Removed.
              * media/context-menu-actions.html: Removed.
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r67628.
              http://trac.webkit.org/changeset/67628
              https://bugs.webkit.org/show_bug.cgi?id=45904
      
              broke the build (Requested by eric_carlson on #webkit).
      
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::populate):
              (WebCore::ContextMenu::checkOrEnableIfNeeded):
              * platform/ContextMenuItem.h:
              * platform/LocalizationStrategy.h:
              * platform/LocalizedStrings.cpp:
              * platform/LocalizedStrings.h:
              * platform/android/LocalizedStringsAndroid.cpp:
              * platform/brew/LocalizedStringsBrew.cpp:
              * platform/efl/LocalizedStringsEfl.cpp:
              * platform/gtk/ContextMenuItemGtk.cpp:
              (WebCore::gtkStockIDFromContextMenuAction):
              * platform/gtk/LocalizedStringsGtk.cpp:
              * platform/haiku/LocalizedStringsHaiku.cpp:
              * platform/wx/LocalizedStringsWx.cpp:
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::absoluteMediaURL):
              * rendering/HitTestResult.h:
      2010-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r67628.
              http://trac.webkit.org/changeset/67628
              https://bugs.webkit.org/show_bug.cgi?id=45904
      
              broke the build (Requested by eric_carlson on #webkit).
      
              * DumpRenderTree/gtk/EventSender.cpp:
              (contextClickCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21f0a532
    • andreas.kling@nokia.com's avatar
      2010-09-16 Andreas Kling <andreas.kling@nokia.com> · 5116be2c
      andreas.kling@nokia.com authored
              Reviewed by Simon Fraser.
      
              CSS: Fix crash in getTimingFunctionValue()
              https://bugs.webkit.org/show_bug.cgi?id=45896
      
              Use a RefPtr to avoid deleting the TimingFunction prematurely.
      
              This is covered by existing tests, e.g transitions/inherit-other-props.html
              but will only actually crash on picky platforms (or in valgrind.)
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::getTimingFunctionValue):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5116be2c
    • zmo@google.com's avatar
      2010-09-16 Zhenyao Mo <zmo@google.com> · 1f68a5b5
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Turn on WebGL layout tests for Chromium win/linux
              https://bugs.webkit.org/show_bug.cgi?id=45859
      
              * platform/chromium/test_expectations.txt: Re-enabling WebGL tests.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f68a5b5
    • johnnyg@google.com's avatar
      2010-09-16 John Gregg <johnnyg@google.com> · 5338d130
      johnnyg@google.com authored
              Unreviewed; chromium test expectations.
      
              editing/selection/context-menu-on-text.html fails on chromium
              https://bugs.webkit.org/show_bug.cgi?id=45898
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5338d130
    • enrica@apple.com's avatar
      Pasteboard doesn't work in WebKit2. · 44ddabcb
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42317
      <rdar://problem/7660537>
              
      Reviewed by Sam Weinig.
      
      Initial work to support cut, copy, paste and selectAll in WebKit2.
      It still does not support RTF and RTFD format for Mac and the selective
      enabling of the editing menu entries.
              
      * Shared/CoreIPCSupport/WebPageMessageKinds.h: Added messages to support the
      new editing commands.
      * UIProcess/API/mac/WKView.mm:
      (-[WKView validateUserInterfaceItem:]): Added.
      (-[WKView copy:]): Added.
      (-[WKView cut:]): Added.
      (-[WKView paste:]): Addded.
      (-[WKView selectAll:]): Added.
      * UIProcess/WebPageProxy.cpp: Added all the proxy methods.
      (WebKit::WebPageProxy::selectAll):
      (WebKit::WebPageProxy::copy):
      (WebKit::WebPageProxy::cut):
      (WebKit::WebPageProxy::paste):
      * UIProcess/WebPageProxy.h:
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::documentFragmentFromAttributedString): Added but not
      implemented. This is needed to support RTF and RTFD.
      (WebKit::WebEditorClient::setInsertionPasteboard): Added but not implemented.
      This is needed only to support Mail on the Mac.
      * WebProcess/WebPage/WebPage.cpp: Added all the stub methods.
      (WebKit::WebPage::selectAll):
      (WebKit::WebPage::copy):
      (WebKit::WebPage::cut):
      (WebKit::WebPage::paste):
      (WebKit::WebPage::didReceiveMessage): Modified to handle the new messages from
      the UI process.
      * WebProcess/WebPage/WebPage.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44ddabcb
    • kbalazs@webkit.org's avatar
      2010-09-16 Balazs Kelemen <kbalazs@webkit.org> · 97f661ca
      kbalazs@webkit.org authored
              Unreviewed.
      
              Adding myself as a comitter.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97f661ca
    • pfeldman@chromium.org's avatar
      2010-09-16 Pavel Feldman <pfeldman@chromium.org> · ab8a5d36
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: prevent resource timing popover from having scrollers.
              https://bugs.webkit.org/show_bug.cgi?id=45883
      
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype._showPopover):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab8a5d36
    • philn@webkit.org's avatar
      2010-09-15 Philippe Normand <pnormand@igalia.com> · 38c47ce4
      philn@webkit.org authored
              Reviewed by Eric Carlson.
      
              [GTK] enhanced context menu for media elements
              https://bugs.webkit.org/show_bug.cgi?id=45021
      
              New items in the media Element context menu:
              - play/pause
              - mute/unmute
              - controls display control
              - switch to fullscreen (for video only)
              - loop playback control
              - copy media url to clipboard
              - open in new window
      
              Test: media/context-menu-actions.html
      
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::populate):
              (WebCore::ContextMenu::checkOrEnableIfNeeded):
              * platform/ContextMenuItem.h:
              * platform/LocalizationStrategy.h:
              * platform/LocalizedStrings.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/LocalizedStrings.h:
              * platform/android/LocalizedStringsAndroid.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/brew/LocalizedStringsBrew.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/efl/LocalizedStringsEfl.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/gtk/ContextMenuItemGtk.cpp:
              (WebCore::gtkStockIDFromContextMenuAction):
              * platform/gtk/LocalizedStringsGtk.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/haiku/LocalizedStringsHaiku.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * platform/wx/LocalizedStringsWx.cpp:
              (WebCore::contextMenuItemTagOpenMediaInNewWindow):
              (WebCore::contextMenuItemTagCopyMediaLinkToClipboard):
              (WebCore::contextMenuItemTagToggleMediaControls):
              (WebCore::contextMenuItemTagToggleMediaLoop):
              (WebCore::contextMenuItemTagEnterVideoFullscreen):
              (WebCore::contextMenuItemTagMediaPlay):
              (WebCore::contextMenuItemTagMediaPause):
              (WebCore::contextMenuItemTagMediaMute):
              (WebCore::contextMenuItemTagMediaUnMute):
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::absoluteMediaURL):
              (WebCore::HitTestResult::mediaSupportsFullscreen):
              (WebCore::HitTestResult::mediaElement):
              (WebCore::HitTestResult::toggleMediaControlsDisplay):
              (WebCore::HitTestResult::toggleMediaLoopPlayback):
              (WebCore::HitTestResult::enterFullscreenForVideo):
              (WebCore::HitTestResult::mediaControlsEnabled):
              (WebCore::HitTestResult::mediaLoopEnabled):
              (WebCore::HitTestResult::mediaPlaying):
              (WebCore::HitTestResult::toggleMediaPlayState):
              (WebCore::HitTestResult::mediaHasAudio):
              (WebCore::HitTestResult::mediaMuted):
              (WebCore::HitTestResult::toggleMediaMuteState):
              * rendering/HitTestResult.h:
      
      WebKitTools:
      
              Reviewed by Eric Carlson.
      
              [GTK] enhanced context menu for media elements
              https://bugs.webkit.org/show_bug.cgi?id=45021
      
              EventSender::contextClick() now returns an array of js
              objects. Each object has a title property and a click() method.
      
              * DumpRenderTree/gtk/EventSender.cpp:
              (getMenuItemTitleCallback):
              (setMenuItemTitleCallback):
              (menuItemClickCallback):
              (getMenuItemClass):
              (contextClickCallback):
      
      LayoutTests:
      
              Reviewed by Eric Carlson.
      
              [GTK] enhanced context menu for media elements
              https://bugs.webkit.org/show_bug.cgi?id=45021
      
              New test checking the actions that can be triggered by activating
              the contex-menu of the media element. Skipped on mac, qt and win
              because of lack of DRT support.
      
              * media/context-menu-actions-expected.txt: Added.
              * media/context-menu-actions.html: Added.
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38c47ce4
    • tonyg@chromium.org's avatar
      2010-09-16 Tony Gentilcore <tonyg@chromium.org> · 254d90f3
      tonyg@chromium.org authored
              Reviewed by Adam Barth.
      
              Crash in WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions
              https://bugs.webkit.org/show_bug.cgi?id=45833
      
              * fast/parser/x-frame-options-detached-document-crash-expected.txt: Added.
              * fast/parser/x-frame-options-detached-document-crash.html: Added. Crashes before this patch.
      2010-09-16  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Adam Barth.
      
              Crash in WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions
              https://bugs.webkit.org/show_bug.cgi?id=45833
      
              Test: fast/parser/x-frame-options-detached-document-crash.html
      
              * dom/Document.cpp:
              (WebCore::Document::processHttpEquiv): Other branches in this method already test for a null frame. So it seems to make sense to test that here as well.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      254d90f3
    • philn@webkit.org's avatar
      2010-09-14 Philippe Normand <pnormand@igalia.com> · 88a209f9
      philn@webkit.org authored
              Reviewed by Eric Carlson and Martin Robinson.
      
              [GTK] eventSender.contextClick() should return the contents of the context menu
              https://bugs.webkit.org/show_bug.cgi?id=39102
      
              Make the eventSender use the new private WebKitGtk+ API to
              retrieve the context-menu item titles and store them in an array.
      
              * DumpRenderTree/gtk/EventSender.cpp:
              (contextClickCallback):
      
      WebKit/gtk:
      
              Reviewed by Eric Carlson and Martin Robinson.
      
              [GTK] eventSender.contextClick() should return the contents of the context menu
              https://bugs.webkit.org/show_bug.cgi?id=39102
      
              New private WebView API to retrieve the context-menu widget. This
              is used by DRT only.
      
              * webkit/webkitprivate.h:
              * webkit/webkitwebview.cpp:
              (webkit_web_view_get_context_menu):
      
      LayoutTests:
      
              Reviewed by Eric Carlson and Martin Robinson.
      
              [GTK] eventSender.contextClick() should return the contents of the context menu
              https://bugs.webkit.org/show_bug.cgi?id=39102
      
              New test checking the return value of eventSender.contextClick()
              on a non-editable element. Skipped on qt and win.
      
              * editing/selection/context-menu-on-text-expected.txt: Added.
              * editing/selection/context-menu-on-text.html: Added.
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88a209f9
    • vangelis@chromium.org's avatar
      2010-09-16 Vangelis Kokkevis <vangelis@chromium.org> · 02fd6b13
      vangelis@chromium.org authored
              Reviewed by Darin Fisher.
      
              [chromium] ImageLayerChromium needs to keep a ref to the Image it uses
              so that it never tries to access an already destroyed Image.
              https://bugs.webkit.org/show_bug.cgi?id=45869
      
              * platform/graphics/chromium/GraphicsLayerChromium.cpp:
              (WebCore::GraphicsLayerChromium::setContentsToImage):
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerChromium::setContents):
              (WebCore::ImageLayerChromium::updateContents):
              * platform/graphics/chromium/ImageLayerChromium.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02fd6b13
    • paroga@webkit.org's avatar
      2010-09-16 Patrick Gansterer <paroga@paroga.com> · 410bc1ec
      paroga@webkit.org authored
              Reviewed by Adam Roben.
      
              [WINCE] Add platform-specific Image methods
              https://bugs.webkit.org/show_bug.cgi?id=28272
      
              * platform/graphics/wince/ImageWinCE.cpp: Added.
              (WebCore::RGBA32Buffer::asNewNativeImage):
              (WebCore::FrameData::clear):
              (WebCore::BitmapImage::getHBITMAPOfSize):
              (WebCore::BitmapImage::drawFrameMatchingSourceSize):
              (WebCore::BitmapImage::draw):
              (WebCore::Image::drawPattern):
              (WebCore::BitmapImage::drawPattern):
              (WebCore::BitmapImage::checkForSolidColor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      410bc1ec
    • yurys@chromium.org's avatar
      2010-09-16 Yury Semikhatsky <yurys@chromium.org> · d68ba84b
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
              https://bugs.webkit.org/show_bug.cgi?id=45890
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::populateScriptObjects):
              (WebCore::InspectorController::restoreDebugger):
              (WebCore::InspectorController::restoreProfiler):
              * inspector/InspectorController.h:
      2010-09-16  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
              https://bugs.webkit.org/show_bug.cgi?id=45890
      
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler
              are initialized when inspected page navigation leads to renderer process change.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d68ba84b
    • satish@chromium.org's avatar
      2010-09-16 Satish Sampath <satish@chromium.org> · 602cefea
      satish@chromium.org authored
              Unreviewed, fixing a build break with VS 2008.
      
              Fix build break, add the namespace in a friend declaration to get MSVC recognize it properly.
              https://bugs.webkit.org/show_bug.cgi?id=45893
      
              * fileapi/FileWriter.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602cefea
    • philn@webkit.org's avatar
      2010-09-15 Philippe Normand <pnormand@igalia.com> · 339669c0
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GStreamer] XOverlay API changes break the build
              https://bugs.webkit.org/show_bug.cgi?id=45810
      
              Cope with the GStreamer XOverlay API change for the upcoming
              0.10.31 version.
              No new tests, build fix only.
      
              * platform/graphics/gstreamer/GStreamerGWorld.cpp:
              (WebCore::GStreamerGWorld::setWindowOverlay):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      339669c0
    • commit-queue@webkit.org's avatar
      2010-09-16 Patrick Gansterer <paroga@paroga.com> · 57f0be10
      commit-queue@webkit.org authored
              Reviewed by Adam Roben.
      
              [WINCE] Add missing FrameNetworkingContextWinCE::blockedError
              https://bugs.webkit.org/show_bug.cgi?id=45680
      
              * WebCoreSupport/FrameNetworkingContextWinCE.cpp:
              (WebKit::FrameNetworkingContextWinCE::blockedError):
              * WebCoreSupport/FrameNetworkingContextWinCE.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57f0be10
    • andreas.kling@nokia.com's avatar
      2010-09-16 Andreas Kling <andreas.kling@nokia.com> · 5fac418f
      andreas.kling@nokia.com authored
              Reviewed by Tor Arne Vestbø.
      
              [Qt] V8 port: Fix debug build
      
              Add missing inclusion of <wtf/text/CString.h> where necessary for debug builds.
      
              * history/PageCache.cpp:
              * html/HTMLElement.cpp:
              * html/HTMLMediaElement.cpp:
              * loader/DocumentLoader.cpp:
              * loader/icon/IconDatabase.cpp:
              * loader/icon/IconLoader.cpp:
              * storage/AbstractDatabase.cpp:
              * storage/Database.cpp:
              * storage/DatabaseSync.cpp:
              * storage/DatabaseTracker.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fac418f
    • ap@apple.com's avatar
      2010-09-16 Alexey Proskuryakov <ap@apple.com> · 5779f3ff
      ap@apple.com authored
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=45852
              Range::selectNode and selectNodeContents misbehave when argument is in another document
      
              * fast/dom/Range/select-node-different-document-expected.txt: Added.
              * fast/dom/Range/select-node-different-document.html: Added.
      2010-09-16  Alexey Proskuryakov  <ap@apple.com>
      
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=45852
              Range::selectNode and selectNodeContents misbehave when argument is in another document
      
              Test: fast/dom/Range/select-node-different-document.html
      
              There is nothing in DOM Traversal spec that says this shouldn't work, and it does work in
              Firefox.
      
              * dom/Range.cpp:
              (WebCore::Range::setDocument):
              (WebCore::Range::selectNode):
              (WebCore::Range::selectNodeContents):
              * dom/Range.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5779f3ff
    • satish@chromium.org's avatar
      2010-09-16 Satish Sampath <satish@chromium.org> · ac52efa4
      satish@chromium.org authored
              Unreviewed, build fix after checking in the wrong location.
      
              Moving a test expectation which should have been under the chromium platform.
      
              * platform/chromium/fast/images/gif-large-checkerboard-expected.txt: Renamed from LayoutTests/fast/images/gif-large-checkerboard-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac52efa4
    • satish@chromium.org's avatar
      2010-09-16 Satish Sampath <satish@chromium.org> · b8c5e71f
      satish@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Add chromium baselines for a recently added layout test.
              https://bugs.webkit.org/show_bug.cgi?id=45886
      
              * fast/images/gif-large-checkerboard-expected.txt: Added.
              * platform/chromium-linux/fast/images/gif-large-checkerboard-expected.checksum: Added.
              * platform/chromium-linux/fast/images/gif-large-checkerboard-expected.png: Added.
              * platform/chromium-mac/fast/images/gif-large-checkerboard-expected.checksum: Added.
              * platform/chromium-mac/fast/images/gif-large-checkerboard-expected.png: Added.
              * platform/chromium-win/fast/images/gif-large-checkerboard-expected.checksum: Added.
              * platform/chromium-win/fast/images/gif-large-checkerboard-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8c5e71f
    • caseq@chromium.org's avatar
      2010-09-16 Andrey Kosyakov <caseq@chromium.org> · 0c3db83b
      caseq@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
              Added support to export HAR to file from Resources panel (conditional on Preferences)
              Added support for HARLog (a higher-level aggregate than HAREntry)
              https://bugs.webkit.org/show_bug.cgi?id=45663
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/HAREntry.js:
              (WebInspector.HAREntry.prototype.build):
              (WebInspector.HAREntry.prototype._buildTimings):
              (WebInspector.HAREntry._toMilliseconds):
              (WebInspector.HARLog):
              (WebInspector.HARLog.prototype.build):
              (WebInspector.HARLog.prototype._buildPages):
              (WebInspector.HARLog.prototype._buildMainResourceTimings):
              (WebInspector.HARLog.prototype._convertResource):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel):
              (WebInspector.ResourcesPanel.prototype.hide):
              (WebInspector.ResourcesPanel.prototype._contextMenu):
              (WebInspector.ResourcesPanel.prototype._exportAll):
              (WebInspector.ResourcesPanel.prototype._exportResource):
              * inspector/front-end/Settings.js:
              * inspector/front-end/utilities.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c3db83b
    • commit-queue@webkit.org's avatar
      2010-09-16 Eric Uhrhane <ericu@chromium.org> · 577efa8e
      commit-queue@webkit.org authored
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * configure.ac:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * CMakeLists.txt:
              * Configurations/FeatureDefines.xcconfig:
              * GNUmakefile.am:
              * WebCore.pro:
              * dom/EventTarget.cpp:
              * dom/EventTarget.h:
              * dom/ExceptionCode.h:
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
              * dom/ScriptExecutionContext.h:
              * fileapi/AsyncFileWriter.h:
              * fileapi/FileEntry.cpp:
              * fileapi/FileEntry.h:
              * fileapi/FileEntry.idl:
              * fileapi/FileError.h:
              * fileapi/FileError.idl:
              * fileapi/FileException.h:
              * fileapi/FileException.idl:
              * fileapi/FileStreamProxy.cpp:
              * fileapi/FileStreamProxy.h:
              * fileapi/FileThread.cpp:
              * fileapi/FileThread.h:
              * fileapi/FileWriter.cpp:
              * fileapi/FileWriter.h:
              * fileapi/FileWriter.idl:
              * fileapi/FileWriterCallback.h:
              * fileapi/FileWriterCallback.idl:
              * fileapi/FileWriterClient.h:
              * page/DOMWindow.idl:
              * platform/AsyncFileStream.h:
              * platform/FileStream.cpp:
              * platform/FileStream.h:
              * platform/FileStreamClient.h:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * src/AsyncFileWriterChromium.h:
              * src/AsyncFileWriterChromium.cpp:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * win/tools/vsprops/FeatureDefines.vsprops:
              * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      577efa8e
    • satish@chromium.org's avatar
      Rename an image file to all lower case matching how it is used in the layout... · 876dff32
      satish@chromium.org authored
      Rename an image file to all lower case matching how it is used in the layout test. The original patch and layout test is at https://bugs.webkit.org/show_bug.cgi?id=45322
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      876dff32
    • robert@webkit.org's avatar
      2010-09-16 Robert Hogan <robert@webkit.org> · 672b9a50
      robert@webkit.org authored
              Reviewed by Antonio Gomes.
      
              [Qt] Support globalhistory tests
              https://bugs.webkit.org/show_bug.cgi?id=45774
      
              * platform/qt/Skipped:
      2010-09-16  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Antonio Gomes.
      
              [Qt] Support globalhistory tests
              https://bugs.webkit.org/show_bug.cgi?id=45774
      
              * WebCoreSupport/ChromeClientQt.cpp:
              (WebCore::ChromeClientQt::populateVisitedLinks):
              * WebCoreSupport/ChromeClientQt.h:
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::dumpHistoryCallbacks):
              (DumpRenderTreeSupportQt::dumpVisitedLinksCallbacks):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::setTitle):
              (WebCore::FrameLoaderClientQt::updateGlobalHistory):
              (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks):
              * WebCoreSupport/FrameLoaderClientQt.h:
      2010-09-16  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Antonio Gomes.
      
              [Qt] Support globalhistory tests
              https://bugs.webkit.org/show_bug.cgi?id=45774
      
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::isGlobalHistoryTest):
              (WebCore::DumpRenderTree::open):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::reset):
              (LayoutTestController::dumpHistoryCallbacks):
              (LayoutTestController::removeAllVisitedLinks):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      672b9a50