1. 15 Mar, 2011 40 commits
    • podivilov@chromium.org's avatar
      2011-03-12 Pavel Podivilov <podivilov@chromium.org> · 314f8355
      podivilov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: re-implement xhr breakpoints.
              https://bugs.webkit.org/show_bug.cgi?id=56252
      
              * inspector/debugger/xhr-breakpoints-expected.txt: Added.
              * inspector/debugger/xhr-breakpoints.html: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-03-12  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: re-implement xhr breakpoints.
              https://bugs.webkit.org/show_bug.cgi?id=56252
      
              - restore xhr breakpoints one by one instead of using setAllBrowserBreakpoints
              - store xhr breakpoints in a separate setting
              - move presentation-related code from BreakpointManager to XHRBreakpointsSidebarPane
      
              Test: inspector/debugger/xhr-breakpoints.html
      
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
              (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
              (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
              (WebCore::InspectorBrowserDebuggerAgent::clear):
              * inspector/InspectorBrowserDebuggerAgent.h:
              * inspector/front-end/BreakpointManager.js:
              (WebInspector.BreakpointManager.prototype.setXHRBreakpoint):
              (WebInspector.BreakpointManager.prototype.removeXHRBreakpoint):
              (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
              (WebInspector.BreakpointManager.prototype._projectChanged):
              (WebInspector.BreakpointManager.prototype._validateBreakpoints):
              (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
              * inspector/front-end/BreakpointsSidebarPane.js:
              (WebInspector.XHRBreakpointsSidebarPane):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked.finishEditing):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu.removeBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked.finishEditing):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype.highlightBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._saveBreakpoints):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._restoreBreakpoints):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._projectChanged):
              * inspector/front-end/CallStackSidebarPane.js:
              (WebInspector.CallStackSidebarPane.prototype.update):
              (WebInspector.CallStackSidebarPane.prototype._xhrBreakpointHit):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel):
              (WebInspector.ScriptsPanel.prototype._debuggerPaused):
              (WebInspector.ScriptsPanel.prototype._clearInterface):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
              (WebInspector.resetFocusElement):
              (WebInspector.set attached):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81136 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      314f8355
    • kevino@webkit.org's avatar
      Reviewed by Darin Adler. · db7c0a75
      kevino@webkit.org authored
      Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
      info into the headers rather than in export symbol definition files, but disable it on 
      all platforms initially so we can deal with port build issues one port at a time.
              
      https://bugs.webkit.org/show_bug.cgi?id=27551
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81135 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      db7c0a75
    • loislo@chromium.org's avatar
      2011-03-15 Ilya Tikhonovsky <loislo@chromium.org> · da05cf8a
      loislo@chromium.org authored
              Unreviewed build fix.
      
              Chromium: shared lib linux build are failing.
      
              Two exclude rules for LocalizedNumberNone and TextEncodingDetectorNone were added to the wrong library.
              It was webcore_remaining instead of webcore_platform.
      
              * WebCore.gyp/WebCore.gyp:
      
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      da05cf8a
    • yurys@chromium.org's avatar
      2011-03-15 Yury Semikhatsky <yurys@chromium.org> · f7f5442c
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: expanding/collapsing object shouldn&apos;t affect outer console.group expansion state
              https://bugs.webkit.org/show_bug.cgi?id=56373
      
              * inspector/front-end/Section.js:
              (WebInspector.Section):
              (WebInspector.Section.prototype.toggleExpanded):
              (WebInspector.Section.prototype.handleClick): stop click even propagation if it was handled by this section.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81133 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f7f5442c
    • pfeldman@chromium.org's avatar
      2011-03-15 Pavel Feldman <pfeldman@chromium.org> · 656c5bd8
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: crash upon "//html//@id" search in elements panel.
              https://bugs.webkit.org/show_bug.cgi?id=56334
      
              * inspector/elements/elements-panel-search-expected.txt:
              * inspector/elements/elements-panel-search.html:
      2011-03-15  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: crash upon "//html//@id" search in elements panel.
              https://bugs.webkit.org/show_bug.cgi?id=56334
      
              * inspector/InspectorDOMAgent.cpp:
              * inspector/front-end/ElementsTreeOutline.js:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81132 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      656c5bd8
    • caseq@chromium.org's avatar
      2011-03-15 Andrey Kosyakov <caseq@chromium.org> · e26a12e3
      caseq@chromium.org authored
              Unreviewed. Swap two calls to setMonitoringXHREnabled to get rid of side effects on other tests.
      
              * inspector/protocol/console-agent-expected.txt:
              * inspector/protocol/console-agent.html:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81131 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e26a12e3
    • caseq@chromium.org's avatar
      2011-03-15 Andrey Kosyakov <caseq@chromium.org> · ec17f345
      caseq@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: further extension API cleanup (removed inspectedPage, add experimental prefix)
              https://bugs.webkit.org/show_bug.cgi?id=56327
      
              * inspector/front-end/ExtensionAPI.js:
              (WebInspector.injectedExtensionAPI):
              * inspector/front-end/ExtensionAPISchema.json:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81130 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ec17f345
    • yurys@chromium.org's avatar
      2011-03-15 Yury Semikhatsky <yurys@chromium.org> · 6faf5f65
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: when console.groupEnd calls twice
              https://bugs.webkit.org/show_bug.cgi?id=56114
      
              * inspector/console/console-nested-group-expected.txt: Added.
              * inspector/console/console-nested-group.html: Added.
      2011-03-15  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: when console.groupEnd calls twice
              https://bugs.webkit.org/show_bug.cgi?id=56114
      
              Test: inspector/console/console-nested-group.html
      
              * inspector/ConsoleMessage.h:
              (WebCore::ConsoleMessage::type):
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::addConsoleMessage): do not coalesce adjacent EndGroup messages.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6faf5f65
    • commit-queue@webkit.org's avatar
      2011-03-15 Chris Mumford <chris.mumford@palm.com> · 2497cd67
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Initializing several member variables that were not initialized in
              their constructors. These values were all read prior to initialization
              as reported by Valgrind.
      
              No new tests: No feature additions/removals.
      
              * accessibility/AccessibilityImageMapLink.cpp:
              (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::HTMLCanvasElement):
              * xml/XPathResult.cpp:
              (WebCore::XPathResult::XPathResult):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2497cd67
    • hayato@chromium.org's avatar
      2011-03-15 Hayato Ito <hayato@chromium.org> · 51a84ad4
      hayato@chromium.org authored
              Reviewed by Shinichiro Hamaji.
      
              [NRWT] Add support for reftests to new-run-webkit-tests.
      
              https://bugs.webkit.org/show_bug.cgi?id=55457
      
              * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
              * Scripts/webkitpy/layout_tests/port/base.py:
              * Scripts/webkitpy/layout_tests/port/dryrun.py:
              * Scripts/webkitpy/layout_tests/port/test.py:
              * Scripts/webkitpy/layout_tests/port/test_files.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      51a84ad4
    • commit-queue@webkit.org's avatar
      2011-03-15 Ben Taylor <bentaylor.solx86@gmail.com> · 4c5be784
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=56255
              Fix build on Solaris 10/Sun Studio 12 C++
      
              No new tests. This is to fix compilation on Solaris 10 with Sun Studio 12 C++
      
              * bridge/runtime_array.h:
              (JSC::RuntimeArray::getConcreteArray):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4c5be784
    • philn@webkit.org's avatar
      2011-03-15 Philippe Normand <pnormand@igalia.com> · a3d6bde6
      philn@webkit.org authored
              Unreviewed, skip failing media test on GTK.
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a3d6bde6
    • apavlov@chromium.org's avatar
      2011-03-15 Alexander Pavlov <apavlov@chromium.org> · 4ae9a11a
      apavlov@chromium.org authored
              [Chromium] Unreviewed, update test expectations
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4ae9a11a
    • alex@webkit.org's avatar
      2011-03-15 Alejandro G. Castro <alex@igalia.com> · 9f73fc8d
      alex@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Fix compilation warning after r80892
              https://bugs.webkit.org/show_bug.cgi?id=56302
      
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::originsWithLocalStorage):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9f73fc8d
    • robert@webkit.org's avatar
      2011-03-15 Robert Hogan <robert@webkit.org> · 31609201
      robert@webkit.org authored
              Reviewed by Adam Barth.
      
              Document the qmakearg argument, and hint how to build webkit2 on Qt
              https://bugs.webkit.org/show_bug.cgi?id=56326
      
              * Scripts/build-webkit: add --qmakearg to build-webkit --help
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      31609201
    • commit-queue@webkit.org's avatar
      2011-03-15 Ilya Sherman <isherman@chromium.org> · cd8dbbbe
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Update Chromium test expectations for fast/forms/onchange-setvalueforuser
              https://bugs.webkit.org/show_bug.cgi?id=56365
      
              * platform/chromium/fast/forms/onchange-setvalueforuser-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cd8dbbbe
    • aroben@apple.com's avatar
      Make Windows 7 Release (Tests) a core builder · 933f73fb
      aroben@apple.com authored
      We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
      give it a few more days of greenness first.
      
      Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder
      
      Reviewed by Sam Weinig.
      
      * Scripts/webkitpy/common/net/buildbot/buildbot.py:
      (BuildBot): Added a regexp to match Windows 7 Release (Tests).
      
      * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
      (BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
      Updated the core regexps to match the buildbot module. Updated the expected results to match
      the current set of core builders.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      933f73fb
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 2c930768
      rniwa@webkit.org authored
              Another Chromium rebaseline for r81095.
      
              * platform/chromium-win/editing/pasteboard/smart-paste-008-expected.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2c930768
    • laszlo.1.gombos@nokia.com's avatar
      2011-03-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 225f37a2
      laszlo.1.gombos@nokia.com authored
              Unreviewed build fix.
      
              Buildfix when JIT is not enabled after r81079
              https://bugs.webkit.org/show_bug.cgi?id=56361
      
              * runtime/Executable.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      225f37a2
    • aroben@apple.com's avatar
      Add forgotten file from r81116 · 5cc970c3
      aroben@apple.com authored
      * TestWebKitAPI/Configurations/TestWebKitAPICFNetwork.vsprops: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5cc970c3
    • weinig@apple.com's avatar
      about:blank fake responses don't get serialized when sent the UIProcess · 50d391cf
      weinig@apple.com authored
      <rdar://problem/9108119>
      https://bugs.webkit.org/show_bug.cgi?id=56357
      
      Source/WebCore: 
      
      Reviewed by Adam Roben
      
      Test: AboutBlankLoad
      
      * platform/network/cf/ResourceResponse.h:
      * platform/network/cf/ResourceResponseCFNet.cpp:
      (WebCore::ResourceResponse::cfURLResponse):
      Create a CFURLResponseRef if one does not exist yet as we do for
      NSURLResponses on the mac.
      
      Tools: 
      
      Reviewed by Adam Roben.
      
      * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: Added.
      (TestWebKitAPI::decidePolicyForResponse):
      (TestWebKitAPI::TEST):
      Add test that loads of about:blank have a response with a MIMEType of text/html.
      
      * TestWebKitAPI/PlatformUtilities.h:
      * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
      (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
      * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
      (TestWebKitAPI::Util::MIMETypeForWKURLResponse):
      Add helper to get the MIMEType from a WKURLResponse.
      
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/win/TestWebKitAPI.vcproj:
      Add new files.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81116 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      50d391cf
    • ap@apple.com's avatar
      2011-03-14 Alexey Proskuryakov <ap@apple.com> · c89313f3
      ap@apple.com authored
              Reviewed by Darin Adler.
      
              REGRESSION: Print preview is blank when selecting multiple pages per sheet
              https://bugs.webkit.org/show_bug.cgi?id=56341
              <rdar://problem/8991382>
      
              * UIProcess/API/mac/WKPrintingView.mm: (pageDidDrawToPDF): Don't reset latest expected
              callback number after receiving a different one. We only update preview after receiving
              the latest expected page data (and the assumption is that AppKit will ask for pages in
              natural order for N-up).
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c89313f3
    • commit-queue@webkit.org's avatar
      2011-03-14 Alexis Menard <alexis.menard@openbossa.org> · 1f85178b
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Seeking videos using the timeline bar does not work properly and stop the video playback.
              https://bugs.webkit.org/show_bug.cgi?id=56145
      
              We do not need seekTimeout and queuedSeekTimeout anymore. setPosition on QMediaPlayer is good enough.
              positionChanged() will be emitted when the data is buffered. On Linux the signal was not emitted because
              of a bug in QtMultimedia.
      
              * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
              (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
              (WebCore::MediaPlayerPrivateQt::seek):
              (WebCore::MediaPlayerPrivateQt::stateChanged):
              (WebCore::MediaPlayerPrivateQt::positionChanged):
              * platform/graphics/qt/MediaPlayerPrivateQt.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81114 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1f85178b
    • commit-queue@webkit.org's avatar
      2011-03-14 Alexey Marinichev <amarinichev@chromium.org> · 276cbca9
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Graphics Context is not properly recovered if the GPU process dies.
              https://bugs.webkit.org/show_bug.cgi?id=56148
      
              Split context recreation into two steps.
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::composite):
              (WebKit::WebViewImpl::doComposite):
              (WebKit::WebViewImpl::reallocateRenderer):
              * src/WebViewImpl.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81113 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      276cbca9
    • morrita@google.com's avatar
      2011-03-14 MORITA Hajime <morrita@google.com> · 0941835f
      morrita@google.com authored
              Unreviewed, skipped tests that uses an unsupported DRT API.
      
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81112 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0941835f
    • ap@apple.com's avatar
      2011-03-14 Alexey Proskuryakov <ap@apple.com> · f89921ac
      ap@apple.com authored
              Reviewed by Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=44138
              Crashes beneath SocketStreamHandle::readStreamCallback when running WebSocket tests.
      
              * platform/win/Skipped: Unskipped tests that should be fixed now. I couldn't verify that
              locally, becasue most WebSocket tests time out on my machine.
      2011-03-14  Alexey Proskuryakov  <ap@apple.com>
      
              Reviewed by Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=44138
              Crash beneath SocketStreamHandle::readStreamCallback when running websocket/tests/workers/worker-handshake-challenge-randomness.html
      
              https://bugs.webkit.org/show_bug.cgi?id=55375
              http/tests/websocket/tests/reload-crash.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows
      
              https://bugs.webkit.org/show_bug.cgi?id=56185
              http/tests/websocket/tests/url-with-credential.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows
      
              * platform/network/cf/SocketStreamHandle.h: Made SocketStreamHandle ThreadSafeShared, so that
              a pointer can be passed across threads when wrapped in a RefPtr.
      
              * platform/network/cf/SocketStreamHandleCFNet.cpp: Make sure that an object still exists
              when executing a method on main thread by using RefPtr.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f89921ac
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · ff6489d1
      rniwa@webkit.org authored
              Chromium rebaselines for r81095.
      
              * platform/chromium-linux/editing/deleting/smart-delete-001-expected.txt:
              * platform/chromium-linux/editing/deleting/smart-delete-002-expected.txt:
              * platform/chromium-linux/editing/pasteboard/smart-drag-drop-expected.txt:
              * platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/chromium-linux/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/chromium-linux/editing/selection/fake-drag-expected.txt: Removed.
              * platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt:
              * platform/chromium-win/editing/deleting/smart-delete-001-expected.txt:
              * platform/chromium-win/editing/deleting/smart-delete-002-expected.txt:
              * platform/chromium-win/editing/pasteboard/smart-drag-drop-expected.txt:
              * platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt:
              * platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/chromium-win/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/chromium-win/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/chromium-win/editing/selection/after-line-break-expected.txt:
              * platform/chromium-win/editing/selection/expanding-selections-expected.txt:
              * platform/chromium-win/editing/selection/expanding-selections2-expected.txt:
              * platform/chromium-win/editing/selection/fake-drag-expected.txt:
              * platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.txt:
              * platform/chromium-win/editing/selection/triple-click-in-pre-expected.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ff6489d1
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 5f05f0ed
      rniwa@webkit.org authored
              GTK and Qt rebaselines for r81095.
      
              * platform/gtk/editing/deleting/smart-delete-001-expected.txt:
              * platform/gtk/editing/deleting/smart-delete-002-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-001-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-008-expected.txt:
              * platform/gtk/editing/selection/expanding-selections-expected.txt:
              * platform/gtk/editing/selection/expanding-selections2-expected.txt:
              * platform/gtk/editing/selection/fake-drag-expected.txt:
              * platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt:
              * platform/gtk/editing/selection/triple-click-in-pre-expected.txt:
              * platform/qt/editing/deleting/smart-delete-001-expected.txt:
              * platform/qt/editing/pasteboard/smart-paste-001-expected.txt:
              * platform/qt/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/qt/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/qt/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/qt/editing/selection/expanding-selections-expected.txt:
              * platform/qt/editing/selection/expanding-selections2-expected.txt:
              * platform/qt/editing/selection/triple-click-in-pre-expected.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81109 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f05f0ed
    • commit-queue@webkit.org's avatar
      2011-03-14 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com> · a43e7675
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Command-line options for QGLWidget and WebGL to QtTestBrowser
              https://bugs.webkit.org/show_bug.cgi?id=56006
      
              * QtTestBrowser/launcherwindow.cpp:
              (LauncherWindow::initializeView):
              * QtTestBrowser/main.cpp:
              (LauncherApplication::handleUserOptions):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81108 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a43e7675
    • weinig@apple.com's avatar
      Mac build fix. Part 1 of N. · 70f64dbe
      weinig@apple.com authored
      * WebCore.exp.in:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81107 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      70f64dbe
    • commit-queue@webkit.org's avatar
      2011-03-14 James Kozianski <koz@chromium.org> · 26435197
      commit-queue@webkit.org authored
              Reviewed by Ojan Vafai.
      
              Add method to make BuildBot return test outputs
              https://bugs.webkit.org/show_bug.cgi?id=54374
      
              The Builder.latest_cached_build will be used by the new rebaseline
              script to determine the build to use baselines from.
      
              * Scripts/webkitpy/common/net/buildbot/buildbot.py:
              * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      26435197
    • aroben@apple.com's avatar
      Make WKBundlePageCanHandleRequest return true for empty document URLs · ec43bb1b
      aroben@apple.com authored
      Reviewed by Sam Weinig.
      
      Source/WebKit2:
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::canHandleRequest): Return true for any URL schemes that are handled as
      empty documents, and defer to the platform for everything else.
      
      * WebProcess/WebPage/WebPage.h: Added platformCanHandleRequest.
      
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::platformCanHandleRequest):
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      (WebKit::WebPage::platformCanHandleRequest):
      * WebProcess/WebPage/win/WebPageWin.cpp:
      (WebKit::WebPage::platformCanHandleRequest):
      Renamed from canHandleRequest.
      
      Tools:
      
      Test that WKBundlePageCanHandleRequest returns true for empty document URLs
      
      * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: Added.
      (TestWebKitAPI::didReceiveMessageFromInjectedBundle): Store the result of the test.
      (TestWebKitAPI::setInjectedBundleClient): Hook up our callback.
      (TestWebKitAPI::TEST): Register "emptyscheme" as an empty document scheme, load a page to
      ensure the web process is initialized, then ask the bundle to run the test and assert that
      it succeeded.
      
      * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp: Added.
      (TestWebKitAPI::CanHandleRequestTest::CanHandleRequestTest): Just call up to the base class.
      (TestWebKitAPI::canHandleURL): Helper function to test whether WebKit2 claims to be able to
      handle a given URL.
      (TestWebKitAPI::runTest): Check that empty document URLs can be handled (and that an unknown
      URL type cannot be handled).
      (TestWebKitAPI::CanHandleRequestTest::didReceiveMessage): Run the test and return the
      result.
      
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/win/TestWebKitAPI.vcproj:
      * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
      Added new files to the project.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81105 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ec43bb1b
    • joepeck@webkit.org's avatar
      2011-03-14 Joseph Pecoraro <joepeck@webkit.org> · e8dd2abe
      joepeck@webkit.org authored
              Reviewed by Eric Carlson.
      
              Stalled media elements don't stop delaying the load event
              https://bugs.webkit.org/show_bug.cgi?id=56316
      
              * http/tests/media/video-play-stall-before-meta-data-expected.txt: Added.
              * http/tests/media/video-play-stall-before-meta-data.html: Added.
      2011-03-14  Joseph Pecoraro  <joepeck@webkit.org>
      
              Reviewed by Eric Carlson.
      
              Stalled media elements don't stop delaying the load event
              https://bugs.webkit.org/show_bug.cgi?id=56316
      
              We should stop delaying the load event when the load has
              stalled naturally, or if we require a user gesture to
              continue the load.
      
              Test: http/tests/media/video-play-stall-before-meta-data.html
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::setNetworkState): when suspending, stop delaying.
              (WebCore::HTMLMediaElement::progressEventTimerFired): when stalling, stop delaying.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e8dd2abe
    • mrowe@apple.com's avatar
      Roll out r81097. It broke the 32-bit Mac build and caused assertion failures... · fa26eb24
      mrowe@apple.com authored
      Roll out r81097.  It broke the 32-bit Mac build and caused assertion failures on the Windows Debug bots.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fa26eb24
    • commit-queue@webkit.org's avatar
      2011-03-14 Ryuan Choi <ryuan.choi@samsung.com> · 752e756d
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Possible leaks after splitting TextCheckerClientEnchant.
              https://bugs.webkit.org/show_bug.cgi?id=55989
      
              Convert gchar* to GOwnPtr<gchar> and refactor the code.
      
              * WebCoreSupport/TextCheckerClientEnchant.cpp:
              (WebKit::TextCheckerClientEnchant::checkSpellingOfString):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      752e756d
    • morrita@google.com's avatar
      2011-03-13 MORITA Hajime <morrita@google.com> · 3b6bee0a
      morrita@google.com authored
              Reviewed by Tony Chang.
      
              Crash when dragging and dropping in a document with an invalid XHTML header
              https://bugs.webkit.org/show_bug.cgi?id=48799
      
              * editing/pasteboard/drop-file-svg.html: Added.
              * editing/pasteboard/resources/drop-file-svg.svg: Added.
      2011-03-13  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Tony Chang.
      
              Crash when dragging and dropping in a document with an invalid XHTML header
              https://bugs.webkit.org/show_bug.cgi?id=48799
      
              DragController tried to dispatch textInput event even when the
              drag destination is not the editable area.
              This change skips the event dispatching on that case.
      
              Test: editing/pasteboard/drop-file-svg.html
      
              * page/DragController.cpp:
              (WebCore::DragController::dispatchTextInputEventFor):
              (WebCore::DragController::concludeEditDrag):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3b6bee0a
    • ggaren@apple.com's avatar
      2011-03-14 Geoffrey Garen <ggaren@apple.com> · 726b632f
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Made the global object moving-GC-safe
              https://bugs.webkit.org/show_bug.cgi?id=56348
              
              SunSpider reports no change.
      
              * runtime/JSGlobalObject.cpp:
              (JSC::JSGlobalObject::markChildren): Removed a dubious comment that
              suggested we do not need to visit all our references during GC, since
              that is not true in a moving GC.
      
              Re-sorted data members by type, removed one duplicate, and added back
              the one missing mark I found.
      
              * runtime/JSGlobalObject.h: Re-sorted data members by type.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      726b632f
    • levin@chromium.org's avatar
      Unreviewed, rolling out r81094. · ce6e393f
      levin@chromium.org authored
      http://trac.webkit.org/changeset/81094
      https://bugs.webkit.org/show_bug.cgi?id=56355
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-03-14
      Broke the chromium DRT related build. (Requested by dave_levin
      on #webkit).
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * WebCore.order:
      * page/Frame.cpp:
      (WebCore::Frame::layerTreeAsText):
      * page/Frame.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::layerTreeAsText):
      * rendering/RenderLayerCompositor.h:
      
      Source/WebKit/chromium:
      
      * public/WebFrame.h:
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::renderTreeAsText):
      (WebKit::WebFrameImpl::layerTreeAsText):
      * src/WebFrameImpl.h:
      
      Tools:
      
      * DumpRenderTree/chromium/DumpRenderTree.cpp:
      (main):
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (LayoutTestController::layerTreeAsText):
      * DumpRenderTree/chromium/LayoutTestController.h:
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::runFileTest):
      (TestShell::dump):
      * DumpRenderTree/chromium/TestShell.h:
      (TestParams::TestParams):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ce6e393f
    • abarth@webkit.org's avatar
      2011-03-14 Adam Barth <abarth@webkit.org> · c7edd69d
      abarth@webkit.org authored
              Apparently we need to exclude DefaultSharedWorkerRepository.cpp from
              the Chromium build, otherwise the objects visible in the global scope
              change.
      
              * WebCore.gyp/WebCore.gyp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c7edd69d
    • commit-queue@webkit.org's avatar
      2011-03-14 Rik Cabanier <cabanier@gmail.com> · 9d345140
      commit-queue@webkit.org authored
              Reviewed by David Hyatt.
      
              bug 56052: percentages are incorrectly rounded in WebKit
              https://bugs.webkit.org/show_bug.cgi?id=56052
      
              * platform/mac/fast/css/percentage-non-integer-expected.txt:
      2011-03-14  Rik Cabanier  <cabanier@adobe.com>
      
              Reviewed by David Hyatt.
      
              bug 56052: percentages are incorrectly rounded in WebKit
              https://bugs.webkit.org/show_bug.cgi?id=56052
      
              test: fast/css/percentage-non-integer.html
      
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * page/PrintContext.cpp:
              (WebCore::PrintContext::pageProperty):
              * platform/Length.h:
              (WebCore::Length::Length):
              (WebCore::Length::operator*=):
              (WebCore::Length::value):
              (WebCore::Length::percent):
              (WebCore::Length::setValue):
              (WebCore::Length::calcValue):
              (WebCore::Length::calcMinValue):
              (WebCore::Length::isUndefined):
              (WebCore::Length::isZero):
              (WebCore::Length::isPositive):
              (WebCore::Length::isNegative):
              * rendering/AutoTableLayout.cpp:
              (WebCore::AutoTableLayout::recalcColumn):
              (WebCore::AutoTableLayout::computePreferredLogicalWidths):
              (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
              (WebCore::AutoTableLayout::layout):
              * rendering/FixedTableLayout.cpp:
              (WebCore::FixedTableLayout::calcWidthArray):
              (WebCore::FixedTableLayout::layout):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::addCell):
              (WebCore::RenderTableSection::layoutRows):
              * rendering/style/BorderData.h:
              (WebCore::BorderData::hasBorderRadius):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9d345140