1. 10 Mar, 2010 40 commits
    • jianli@chromium.org's avatar
      Implementing DOMFormData class. · fd3fc61f
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35707
      
      Reviewed by Dmitry Titov.
      
      This patch only addresses the implementation of DOMFormData class and
      moves the FormData construction logic from HTMLFormElement::createFormData
      to FormData::create() so that it can be used by both HTMLFormElement
      and XMLHttpRequest.
      
      The DOMFormData IDL interface will be exposed in another patch and the
      test will be added then.
      
      * Android.mk:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * html/DOMFormData.cpp: Added.
      * html/DOMFormData.h: Added.
      * html/FormDataList.h:
      (WebCore::FormDataList::encoding):
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::createFormData):
      (WebCore::HTMLFormElement::submit):
      * html/HTMLFormElement.h:
      * platform/network/FormData.cpp:
      (WebCore::FormData::create):
      (WebCore::FormData::createMultiPart):
      (WebCore::FormData::appendDOMFormData):
      * platform/network/FormData.h:
      (WebCore::FormData::boundary):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::send):
      * xml/XMLHttpRequest.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd3fc61f
    • darin@chromium.org's avatar
      2010-03-10 Darin Fisher <darin@chromium.org> · 1478d70e
      darin@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Add API wrapper for WebCore::SerializedScriptValue
              https://bugs.webkit.org/show_bug.cgi?id=35988
      
              WebSerializedScriptValue is a wrapper around SerializedScriptValue.
      
              WebPrivatePtr is used to simplify wrapping reference counted WebCore
              types.  This class is used to cleanup WebHistoryItem, and will be used
              to clean up other classes in the WebKit API in a follow-up patch.
      
              * WebKit.gyp:
              * public/WebHistoryItem.h:
              * public/WebPrivatePtr.h: Added.
              * public/WebSerializedScriptValue.h: Added.
              * src/WebHistoryItem.cpp:
              * src/WebSerializedScriptValue.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1478d70e
    • cfleizach@apple.com's avatar
      Skipping test on GTK and WIN. No Review. · 0397a24e
      cfleizach@apple.com authored
      VoiceOver can navigate to hidden content in widget (WAI-ARIA)
      https://bugs.webkit.org/show_bug.cgi?id=35986
      
      Thought this test might pass on the other platforms, but no.
      
      * platform/gtk/Skipped:
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0397a24e
    • cfleizach@apple.com's avatar
      VoiceOver can navigate to hidden content in widget (WAI-ARIA) · 6f3a569e
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=35986
      
      Reviewed by Beth Dakin.
      
      WebCore: 
      
      Elements that are subclassers of AXRenderObject have not been respecting
      aria-hidden and other cases that would make them ignored. This applies
      to tables, rows, cells, select boxes, sliders, and lists. Select boxes
      also need to make sure their option elements respect aria-hidden as well.
      
      Test: accessibility/aria-hidden-with-elements.html
      
      * accessibility/AccessibilityList.cpp:
      (WebCore::AccessibilityList::accessibilityIsIgnored):
      * accessibility/AccessibilityListBox.cpp:
      (WebCore::AccessibilityListBox::addChildren):
      (WebCore::AccessibilityListBox::accessibilityIsIgnored):
      (WebCore::AccessibilityListBox::doAccessibilityHitTest):
      * accessibility/AccessibilityListBox.h:
      * accessibility/AccessibilityListBoxOption.cpp:
      (WebCore::AccessibilityListBoxOption::accessibilityIsIgnored):
      * accessibility/AccessibilityListBoxOption.h:
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnoredCommon):
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
      (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/AccessibilitySlider.cpp:
      (WebCore::AccessibilitySlider::accessibilityIsIgnored):
      * accessibility/AccessibilitySlider.h:
      (WebCore::AccessibilitySlider::roleValue):
      (WebCore::AccessibilitySliderThumb::roleValue):
      (WebCore::AccessibilitySliderThumb::accessibilityIsIgnored):
      * accessibility/AccessibilityTable.cpp:
      (WebCore::AccessibilityTable::accessibilityIsIgnored):
      * accessibility/AccessibilityTableCell.cpp:
      (WebCore::AccessibilityTableCell::accessibilityIsIgnored):
      * accessibility/AccessibilityTableColumn.cpp:
      (WebCore::AccessibilityTableColumn::accessibilityIsIgnored):
      * accessibility/AccessibilityTableColumn.h:
      (WebCore::AccessibilityTableColumn::roleValue):
      * accessibility/AccessibilityTableHeaderContainer.cpp:
      (WebCore::AccessibilityTableHeaderContainer::accessibilityIsIgnored):
      * accessibility/AccessibilityTableHeaderContainer.h:
      * accessibility/AccessibilityTableRow.cpp:
      (WebCore::AccessibilityTableRow::accessibilityIsIgnored):
      
      LayoutTests: 
      
      * accessibility/aria-hidden-with-elements-expected.txt: Added.
      * accessibility/aria-hidden-with-elements.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f3a569e
    • dimich@chromium.org's avatar
      Not reviewed, fixing Snow Leopard build. · 311032be
      dimich@chromium.org authored
      * wtf/mac/MainThreadMac.mm: Forgot 'static' for a new local function.
      (WTF::postTimer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      311032be
    • dimich@chromium.org's avatar
      Make Document::postTask to use a single queue of tasks, to fire them in order · 606df2f5
      dimich@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35943
      
      Reviewed by Darin Adler.
      
      JavaScriptCore:
      
      The patch uses CFRunLoopTimer to schedule execution of tasks instead of performSelectorOnMainThread which apparently can starve other event sources.
      The timer is used when the schedule request is coming on the main thread itself. This happens when the task is posted on the main thread or
      when too many tasks are posted and the queue does 'stop and re-schedule' to make sure run loop has a chance to execute other events.
      
      * wtf/mac/MainThreadMac.mm:
      (WTF::timerFired):
      (WTF::postTimer):
      (WTF::scheduleDispatchFunctionsOnMainThread): Use timer posted to the current RunLoop if scheduling the task execution while on the main thread.
      
      WebCore:
      
      Test: existing worker-cloneport.html which was broken by initial patch in http://trac.webkit.org/changeset/55593.
      Additional test which indirectly verifies the order of execution will come as part of https://bugs.webkit.org/show_bug.cgi?id=34726
      
      * dom/Document.cpp:
      (WebCore::Document::postTask): Always use the same task queue, independent of what thread is posting the task.
      
      LayoutTests:
      
      Updated the test since the order of events coming from independent task sources has changed.
      This is a behavior change, but is consistent with the spec (which specifically says these events may be fired
      in any order) and the last version of FF (3.5.8) which was completing the test successfully.
      
      * http/tests/appcache/top-frame-2-expected.txt:
      * http/tests/appcache/top-frame-2.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      606df2f5
    • ggaren@apple.com's avatar
      Windows build fix: added new symbol. · 74921d03
      ggaren@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74921d03
    • darin@chromium.org's avatar
      2010-03-10 Sanjeev Radhakrishnan <sanjeevr@chromium.org> · c1986ab0
      darin@chromium.org authored
              Reviewed by Darin Fisher.
      
              Allow a plugin to participate in the browser's print workflow.
              https://bugs.webkit.org/show_bug.cgi?id=35550
      
              * loader/PluginDocument.cpp:
              * loader/PluginDocument.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1986ab0
    • ggaren@apple.com's avatar
      Windows build fix: removed old symbol. · 8a087c14
      ggaren@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a087c14
    • eric@webkit.org's avatar
      2010-03-10 Leandro Pereira <leandro@profusion.mobi> · 245f2011
      eric@webkit.org authored
              Reviewed by Holger Freyther.
      
              Add EFL port files to efl/WebCoreSupport.
              http://webkit.org/b/35913
      
              * efl/WebCoreSupport/ChromeClientEfl.cpp: Added.
              * efl/WebCoreSupport/ChromeClientEfl.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      245f2011
    • ggaren@apple.com's avatar
      Refactored fastCheckConsistency to match some review comments: · 17dc50b1
      ggaren@apple.com authored
          - renamed fastCheckConsistency to fastMallocSize, and changed ValueCheck
            to ASSERT that a pointer's fastMallocSize is not 0.
          - implemented a version of fastMallocSize for tcmalloc.
                  
      Reviewed by Alexey Proskuryakov, Darin Adler, and Sam Weinig.
      
      Also moved some pre-existing code around to avoid a problem related to
      mismatched #define/#undef of malloc/free in this source file.
      
      * JavaScriptCore.exp:
      * wtf/FastMalloc.cpp:
      (WTF::fastMallocSize): Renamed. Fixed indentation.
      
      (WTF::TCMalloc_PageHeap::scavenge): Removed an incorrect ASSERT that
      got in the way of testing the tcmalloc implementation. (More information
      on why this ASSERT is incorrect is in <rdar://problem/7165917>.)
      
      (WTF::TCMallocStats::fastMallocSize): Implemented for tcmalloc.
      
      * wtf/FastMalloc.h: Updated for rename.
      
      * wtf/ValueCheck.h:
      (WTF::): Moved the ASSERT that used to be in fastCheckConsistency here.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17dc50b1
    • jam@chromium.org's avatar
      2010-03-10 John Abd-El-Malek <jam@chromium.org> · 03f3c02d
      jam@chromium.org authored
              Reviewed by Nate Chapin.
      
              [chromium]: Fix regression in mouse capture on Mac/Linux
              https://bugs.webkit.org/show_bug.cgi?id=35987
      
              * src/WebViewImpl.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03f3c02d
    • eric@webkit.org's avatar
      2010-03-10 Eric Uhrhane <ericu@chromium.org> · 4db5ab17
      eric@webkit.org authored
              Reviewed by David Levin.
      
              The build fix for my patch on bug #35763 wasn't quite right--it removed
              the call entirely, instead of replacing it with the new API.  This adds
              the call to Database::setIsAvailable.
      
              https://bugs.webkit.org/show_bug.cgi?id=35763
      
              * WebView.cpp: Added a call to Database::setIsAvailable where change 55667 removed the old Settings API call <http://trac.webkit.org/changeset/55667>.
              (WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4db5ab17
    • eric@webkit.org's avatar
      2010-03-10 Evan Stade <estade@chromium.org> · 3ebccfe3
      eric@webkit.org authored
              Reviewed by David Levin.
      
              [chromium] add functionality to activate the focused node in a WebView
              https://bugs.webkit.org/show_bug.cgi?id=35407
      
              * public/WebDocument.h:
              * public/WebNode.h:
              * src/WebDocument.cpp:
              (WebKit::WebDocument::focusedNode): Added
              * src/WebNode.cpp:
              (WebKit::WebNode::simulateClick): Added
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ebccfe3
    • aroben@apple.com's avatar
      Roll out the prepare-ChangeLog part of r55870 · 63af57d4
      aroben@apple.com authored
      This change wasn't needed (prepare-ChangeLog calls svn-create-patch
      when it's asked to print out diffs for the user) and was screwing up
      its ability to find changed function names.
      
      * Scripts/prepare-ChangeLog:
      (diffCommand): Change the options we pass to svn-diff back to their
      pre-r55870 form.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63af57d4
    • eric@webkit.org's avatar
      2010-03-10 Ilya Tikhonovsky <loislo@loislo-macbookpro.local> · 71ad32d5
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Sidebar resize element height was adjusted.
              Display name for Function Call details was adjusted.
      
              https://bugs.webkit.org/show_bug.cgi?id=35939
      
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel.prototype._refreshRecords):
              (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71ad32d5
    • jam@chromium.org's avatar
      2010-03-10 John Abd-El-Malek <jam@chromium.org> · 05589bd2
      jam@chromium.org authored
              Reviewed by Darin Fisher.
      
              https://bugs.webkit.org/show_bug.cgi?id=35952
              Propagate mouse wheel events to Pepper plugins.
      
              * src/WebInputEventConversion.cpp:
              (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
              * src/WebInputEventConversion.h:
              * src/WebPluginContainerImpl.cpp:
              (WebKit::WebPluginContainerImpl::handleEvent):
              (WebKit::WebPluginContainerImpl::handleMouseEvent):
              (WebKit::WebPluginContainerImpl::handleWheelEvent):
              (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
              * src/WebPluginContainerImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05589bd2
    • tonikitoo@webkit.org's avatar
      2010-03-10 Antonio Gomes <tonikitoo@webkit.org> · b81bb254
      tonikitoo@webkit.org authored
          The test was introduced in r55796, it has been failing in Gtk bots since then.
      
          Filed bug https://bugs.webkit.org/show_bug.cgi?id=35984.
      
          * platform/gtk/Skipped: fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html skipped until fix.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b81bb254
    • robert@webkit.org's avatar
      2010-03-10 Robert Hogan <robert@webkit.org> · 85ded53e
      robert@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
      
              Unskip test fast/events/multiline-link-arrow-navigation.html
      
              https://bugs.webkit.org/show_bug.cgi?id=35593
      
              * platform/qt/Skipped:
      
      2010-03-10  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Simon Hausmann.
      
              [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
      
              Unskip test fast/events/multiline-link-arrow-navigation.html
      
              https://bugs.webkit.org/show_bug.cgi?id=35593
      
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::overridePreference):
              (LayoutTestController::setCaretBrowsingEnabled):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      2010-03-10  Robert Hogan  <robert@webkit.org>
      
              Reviewed by Simon Hausmann.
      
              [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
      
              Unskip test fast/events/multiline-link-arrow-navigation.html
              Fix typo (superfluous space) in QWebSettings docs.
      
              https://bugs.webkit.org/show_bug.cgi?id=35593
      
              * Api/qwebpage.cpp:
              (qt_drt_enableCaretBrowsing):
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply): fix typo in docs
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85ded53e
    • eric@webkit.org's avatar
      2010-03-10 Charles Wei <charles.wei@torchmobile.com.cn> · 47cfcb26
      eric@webkit.org authored
              Reviewed by George Staikos.
      
              Fix https://bugs.webkig.org/show_bug.cgi?id=35207
              When XHTMLMP is enabled, all xhtml documents fail to render for webkit portings wich use libxml2 tokenizer.
      
              No new tests as all the xhtml test cases in LayoutTests/dom/xhtml fails without this fix when XHTMLMP is enabled.
      
              * dom/Document.cpp:
              (WebCore::Document::isXHTMLMPDocument):
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::internalSubset):
              (WebCore::externalSubsetHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47cfcb26
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=35977 · 2670443a
      beidson@apple.com authored
              
      Reviewed by Sam Weinig.
      
      Turns out the previous attempt to clear/reset cookies wasn't working because of the way
      the URLs for the .js and its .cgi were being resolved.
      
      So this is a better way to make the cookies consistent both before and after these tests.
              
      If this fails to make cookie-related tests reliable, then we might have to bite the bullet
      and give DRT itself the ability to forcibly remove cookies via API methods.
              
      This would be bulletproof and could be automatic if a test declares itself "cookie sensitive"
      but we'd lose the ability to reliably run these tests in the browser.  :(
      
      * http/tests/cookies/resources/resetCookies.js: Added.
      * http/tests/cookies/resources/third-party-cookie-relaxing-iframe.html:
      * http/tests/cookies/third-party-cookie-relaxing.html:
      * http/tests/plugins/resources/third-party-cookie-accept-policy-iframe.html:
      * http/tests/plugins/third-party-cookie-accept-policy.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2670443a
    • eric@webkit.org's avatar
      2010-03-10 Garret Kelly <gdk@chromium.org> · 0b4f7897
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Adding all of the touch-related sources into Chromium's WebCore build.
              https://bugs.webkit.org/show_bug.cgi?id=35874
      
              Patch tested against the try bots, but the feature is exercised in the
              fast/events/touch tests.
      
              * WebCore.gypi:
      2010-03-10  Garret Kelly  <gdk@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Add support for converting WebTouchEvents to PlatformTouchEvents and
              routing them into the EventHandler for the frame in which they
              originate.
              https://bugs.webkit.org/show_bug.cgi?id=35874
      
              * src/ChromeClientImpl.h:
              (WebKit::ChromeClientImpl::needTouchEvents):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents,
              converting them to PlatformTouchEvents and sending them to the
              EventHandler.
              (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to
              the touchEvent handler.
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b4f7897
    • pfeldman@chromium.org's avatar
      2010-03-10 Pavel Feldman <pfeldman@chromium.org> · 6d1e0b82
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: now that audits panel is added, add it to the
              enums (for storing last active, etc.).
      
              https://bugs.webkit.org/show_bug.cgi?id=35980
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::setWindowVisible):
              (WebCore::InspectorController::specialPanelForJSName):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::):
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::showPanel):
              * inspector/front-end/inspector.js:
              (WebInspector.showAuditsPanel):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d1e0b82
    • japhet@chromium.org's avatar
      2010-03-10 Nate Chapin <japhet@chromium.org> · 5108953f
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Instead of describing the type of a wrapped v8 object
              with an enum value, use a pointer to struct with more complete
              information.
      
              https://bugs.webkit.org/show_bug.cgi?id=35941
      
              Refactoring only, so new tests.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/DOMData.cpp:
              * bindings/v8/DOMData.h:
              * bindings/v8/NPV8Object.cpp:
              * bindings/v8/V8Collection.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              * bindings/v8/V8DOMWindowShell.h:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8GCController.cpp:
              * bindings/v8/V8Helpers.cpp:
              * bindings/v8/V8Helpers.h:
              * bindings/v8/V8Index.cpp: Removed.
              * bindings/v8/V8Index.h:
              * bindings/v8/V8NPObject.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/V8Proxy.h:
              * bindings/v8/WorkerContextExecutionProxy.cpp:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLAudioElementConstructor.h:
              * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLImageElementConstructor.h:
              * bindings/v8/custom/V8HTMLOptionElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLOptionElementConstructor.h:
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              * bindings/v8/custom/V8MessageChannelConstructor.cpp:
              * bindings/v8/custom/V8SharedWorkerCustom.cpp:
              * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp:
              * bindings/v8/custom/V8WebGLArrayCustom.h:
              * bindings/v8/custom/V8WebGLByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLShortArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp:
              * bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp:
              * bindings/v8/custom/V8WebKitPointConstructor.cpp:
              * bindings/v8/custom/V8WebSocketCustom.cpp:
              * bindings/v8/custom/V8WorkerCustom.cpp:
              * bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
              * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5108953f
    • tonikitoo@webkit.org's avatar
      Extend keyboard navigation to allow directional navigation (Manual tests) · 83c075be
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=18662
      
      Reviewed by Dave Hyatt.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      Adds a manual tests for the Spatial Navigation feature comprasing varios
      Html focusable elements (e.g. <a>, <table>, <iframe>) and much of the logic
      provided by the feature.
      
      * manual-tests/spatial-navigation/links.html: Added.
      * manual-tests/spatial-navigation/spatial-navigation-test-cases.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83c075be
    • tonikitoo@webkit.org's avatar
      Extend keyboard navigation to allow directional navigation (LayoutTests - part V) · bf240295
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=18662
      
      Reviewed by Dave Hyatt.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      This patch adds three LayoutTests that ensure the correctness of Spatial Navigation algorithm
      in the following iframe related traversals:
      
      1) All focusable elements in a <iframe> should be accessible.
      2) Focusable elements in an <iframe> should be accessible even when
         current focused element is in another <iframe> in the same page.
      
      * fast/events/spatial-navigation/snav-iframe-no-focusable-content.html: Added.
      * fast/events/spatial-navigation/snav-iframe-no-scrollable-content.html: Added.
      * fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf240295
    • tonikitoo@webkit.org's avatar
      Extend keyboard navigation to allow directional navigation (LayoutTests - part IV) · a4fe16ae
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=18662
      
      Reviewed by Dave Hyatt.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      This patch adds a LayoutTest that ensures that:
      
      1) There is no unit overflow in the Spatial Navigation algorithm while
         calculating the best node candidate to move focus to. To test that this
         page positions some elements 10000000 pixels far from each other (distance
         that can considered large enough for most of the Web Pages on the
         Internet).
      
      2) A best focusable candidate only gets focused if it is visible in the
         current Viewport. Scroll-in-direction is performed otherwise.
      
      * fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4fe16ae
    • tonikitoo@webkit.org's avatar
      Extend keyboard navigation to allow directional navigation (LayoutTests - part III) · a14898ba
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=18662
      
      Reviewed by Dave Hyatt.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      This patch adds two LayoutTests to ensure the correctness of the "Fully aligned"
      precedence logic implemented by Spatial Navigation algorithm, either vertically or
      horizontally: targets whose middle falls between the top and bottom of the current
      focused element are preferably to move focus to, even if it is not the shortest distance.
      
      * fast/events/spatial-navigation/snav-fully-aligned-vertically.html: Added.
      * fast/events/spatial-navigation/snav-fully-aligned-horizontally.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a14898ba
    • eric@webkit.org's avatar
      2010-03-10 Leandro Pereira <leandro@profusion.mobi> · 216e60d4
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Add EFL port files to platform/efl.
              http://webkit.org/b/35890
      
              * platform/efl/ScrollbarEfl.h: Added.
              * platform/efl/ScrollbarThemeEfl.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      216e60d4
    • eric@webkit.org's avatar
      2010-03-10 Garret Kelly <gdk@chromium.org> · 19b4ce70
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Fixing build warning caused by using 0 instead of NULL as the sentiel
              in a varargs call.
              https://bugs.webkit.org/show_bug.cgi?id=35898
      
              * src/gtk/WebInputEventFactory.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19b4ce70
    • robert@webkit.org's avatar
      2010-03-10 Robert Hogan <robert@webkit.org> · 99bba796
      robert@webkit.org authored
              Reviewed by Holger Freyther.
      
              QtLauncher: Fix typo in conditional statement in
                          WebViewGraphicsBased::setFrameRateMeasurementEnabled.
      
              '=' should be '=='!
      
              https://bugs.webkit.org/show_bug.cgi?id=35877
      
              * QtLauncher/webview.cpp:
              (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99bba796
    • pfeldman@chromium.org's avatar
      2010-03-10 Pavel Feldman <pfeldman@chromium.org> · 8ef0f545
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Audits panel needs an icon.
              Landing icon attached by Timothy. Enabling panel!
      
              https://bugs.webkit.org/show_bug.cgi?id=35945
      
              * WebCore.gypi:
              * inspector/front-end/Images/auditsIcon.png: Added.
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ef0f545
    • kov@webkit.org's avatar
      2010-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 75fb4b95
      kov@webkit.org authored
              Roll-out r55657, as Xan noticed a bad degradation in playing
              youtube HTML5 videos with it, that is fixed with it
              reverted. Looks like we'll need to work a bit more on this.
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::volumeChangedTimerFired):
              (WebCore::MediaPlayerPrivate::volumeChanged):
              (WebCore::MediaPlayerPrivate::processBufferingStats):
              (WebCore::MediaPlayerPrivate::fillTimerFired):
              (WebCore::MediaPlayerPrivate::maxTimeLoaded):
              (WebCore::MediaPlayerPrivate::updateStates):
              (WebCore::MediaPlayerPrivate::muteChangedTimerFired):
              (WebCore::MediaPlayerPrivate::muteChanged):
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75fb4b95
    • kov@webkit.org's avatar
      2010-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · b2865545
      kov@webkit.org authored
              Rubber-stamped by Xan Lopez.
      
              Fix ready state when buffering under PLAYING. We should not go
              back to HaveNothing in that case.
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivate::updateStates):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2865545
    • adachan@apple.com's avatar
      Reviewed by Adam Roben. · 69ceddb8
      adachan@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=35976
      
              Retrieve any dwItemData that's set on the context menu item in contextMenuItemByIdOrPosition().
      
              * platform/win/ContextMenuWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69ceddb8
    • cjerdonek@webkit.org's avatar
      Refactored and cleaned up the code for unit-testing logging. · dce1e75d
      cjerdonek@webkit.org authored
      Reviewed by Shinichiro Hamaji.
      
      https://bugs.webkit.org/show_bug.cgi?id=35845
      
      * Scripts/webkitpy/init/logtesting.py:
        - Added more information to the module docstring.
        - Added an assertMessages() method to the UnitTestLogStream
          class.  This simplifies the calling code.
        - Renamed the UnitTestLog class to LogTesting, and reformulated
          it as follows:
            - Moved the logging configuration code from the __init__
              method to a new static setUp() method.
            - Documented the __init__ method to be private.
            - Improved the code so that the root logger does not have
              its logging level changed.  Instead we set the handler's
              level.  This makes the unit testing more unintrusive.
            - Updated the assertMessages() method to call the
              UnitTestLogStream class's assertMessages() method.
            - More fully documented the class.
      
      * Scripts/webkitpy/style/checker.py:
        - Added a logger parameter to the configure_logging() method.
          This allows us to prevent test messages from being sent
          to the root logger during unit testing, which may be
          rendering to the screen, etc.
        - Simplified the code by removing the _LevelLoggingFilter class.
        - Replaced the _LevelLoggingFilter class with a one-line lambda
          expression in configure_logging().
      
      * Scripts/webkitpy/style/checker_unittest.py:
        - Changed relative imports to absolute to comply more with PEP8.
        - In the ConfigureLoggingTest class:
          - Changed the setUp() method to prevent test messages from
            being propagated to the root logger.
          - Changed the _log() method to a data attribute.
          - Updated to accommodate changes to logtesting.py.
      
      * Scripts/webkitpy/style_references.py:
        - Updated an import statement.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dce1e75d
    • evan@chromium.org's avatar
      2010-03-10 Evan Martin <evan@chromium.org> · 918e74de
      evan@chromium.org authored
              Reviewed by Darin Adler.
      
              Python code for GDB 7 to support native printing of some WebCore types.
      
              * gdb/webcore.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      918e74de
    • jorlow@chromium.org's avatar
      2010-03-10 Jeremy Orlow <jorlow@chromium.org> · cb702d25
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add IndexedDatabase class and hook it up.
              https://bugs.webkit.org/show_bug.cgi?id=35927
      
              This change is mostly just adding the plumbing necessary for
              the IndexedDatabaseRequest and IndexedDatabaseSync (not written
              yet).
      
              This code is non-functional, so no tests (yet).
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * platform/chromium/ChromiumBridge.h:
              * storage/IndexedDatabase.cpp: Added.
              (WebCore::IndexedDatabase::get):
              * storage/IndexedDatabase.h: Added.
              (WebCore::IndexedDatabase::~IndexedDatabase):
              * storage/IndexedDatabaseImpl.cpp: Added.
              (WebCore::IndexedDatabaseImpl::get):
              (WebCore::IndexedDatabaseImpl::IndexedDatabaseImpl):
              (WebCore::IndexedDatabaseImpl::~IndexedDatabaseImpl):
              (WebCore::IndexedDatabaseImpl::open):
              * storage/IndexedDatabaseImpl.h: Added.
              * storage/chromium/IndexedDatabase.cpp: Added.
              (WebCore::IndexedDatabase::get):
      
              * WebKit.gyp:
              * public/WebIndexedDatabase.h: Added.
              (WebKit::WebIndexedDatabase::~WebIndexedDatabase):
              * public/WebKitClient.h:
              (WebKit::WebKitClient::getIndexedDatabase):
              * src/ChromiumBridge.cpp:
              (WebCore::ChromiumBridge::getIndexedDatabase):
              * src/IndexedDatabaseProxy.cpp: Added.
              (WebCore::IndexedDatabaseProxy::create):
              (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy):
              (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy):
              (WebCore::IndexedDatabaseProxy::open):
              * src/IndexedDatabaseProxy.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb702d25
    • dglazkov@chromium.org's avatar
      Add one more parent check during node removal. · cfa72bda
      dglazkov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35818
      
      Reviewed by Sam Weinig.
      
      WebCore:
      
      Test: fast/dom/Node/mutation-blur.html
      
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::removeChild): Added check.
      
      LayoutTests:
      
      * fast/dom/Node/mutation-blur-expected.txt: Added.
      * fast/dom/Node/mutation-blur.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfa72bda
    • ossy@webkit.org's avatar
      [Qt] fast/multicol/hit-test-above-or-below.html fails · 6bbea478
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35973
      
      The test was introduced in r55546, it has been failing since then.
      
      * platform/qt/Skipped: fast/multicol/hit-test-above-or-below.html skipped until fix.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bbea478