1. 01 Feb, 2011 40 commits
    • inferno@chromium.org's avatar
      2011-02-01 Abhishek Arya <inferno@chromium.org> · 8d8f1e04
      inferno@chromium.org authored
              Unreviewed.
      
              Rebaseline my test for QT, Leopard from r77262 due
              to minor comment error differences.
      
              * platform/mac-leopard/fast/css/stylesheet-candidate-nodes-crash-expected.txt: Added.
              * platform/qt/fast/css/stylesheet-candidate-nodes-crash-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d8f1e04
    • andersca@apple.com's avatar
      2011-02-01 Anders Carlsson <andersca@apple.com> · f16aa712
      andersca@apple.com authored
              Reviewed by Adam Roben.
      
              Move flushPendingLayerChanges to LayerTreeHostMac
              https://bugs.webkit.org/show_bug.cgi?id=53525
      
              In preparation for adding more Mac specific code to flushPendingLayerChanges.
      
              * WebProcess/WebPage/LayerTreeHost.cpp:
              * WebProcess/WebPage/LayerTreeHost.h:
              * WebProcess/WebPage/mac/LayerTreeHostMac.h:
              * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
              (WebKit::LayerTreeHostMac::flushPendingLayerChanges):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f16aa712
    • xji@chromium.org's avatar
      2011-02-01 Xiaomei Ji <xji@chromium.org> · bb280558
      xji@chromium.org authored
              Unreviewed.
      
              Rebaseline after r77267.
      
              * platform/chromium-linux/fast/dom/34176-expected.checksum: Added.
              * platform/chromium-linux/fast/dom/34176-expected.png: Added.
              * platform/chromium-mac/fast/dom/34176-expected.checksum: Added.
              * platform/chromium-mac/fast/dom/34176-expected.png: Added.
              * platform/chromium-win/fast/dom/34176-expected.checksum: Added.
              * platform/chromium-win/fast/dom/34176-expected.png: Added.
              * platform/chromium-win/fast/dom/34176-expected.txt: Added.
              * platform/win/fast/dom/34176-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb280558
    • mihaip@chromium.org's avatar
      2011-02-01 Mihai Parparita <mihaip@chromium.org> · e33fc44e
      mihaip@chromium.org authored
              Reviewed by James Robinson.
      
              [Chromium] run-chromium-webkit-unit-tests looks for binaries in the wrong place
              https://bugs.webkit.org/show_bug.cgi?id=53522
      
              * Scripts/run-chromium-webkit-unit-tests:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e33fc44e
    • xji@chromium.org's avatar
      2011-02-01 Xiaomei Ji <xji@chromium.org> · b8374488
      xji@chromium.org authored
              Unreviewed.
      
              * fast/dom/34176.html: Removed properties svn:executable and svn:mime-type.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8374488
    • ggaren@apple.com's avatar
      2011-02-01 Geoffrey Garen <ggaren@apple.com> · e7414f91
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              REGRESSION(77082): GC-related crashes seen: on WebKit2 bot; on GTK 32bit
              bot; loading trac pages; typing in search field
              https://bugs.webkit.org/show_bug.cgi?id=53519
              
              The crashes were all caused by failure to run an object's destructor.
      
              * runtime/CollectorHeapIterator.h:
              (JSC::ObjectIterator::ObjectIterator): Don't skip forward upon
              construction. The iterator class used to do that when it was designed
              for prior-to-beginning initialization. I forgot to remove this line
              of code when I changed the iterator to normal initialization.
              
              Skipping forward upon construction was causing the heap to skip running
              the destructor for the very first object in a block when destroying the
              block. This usually did not crash, since block destruction is rare and
              most objects have pretty trivial destructors. However, in the rare case
              when the heap would destroy a block whose first object was a global
              object or a DOM node, BOOM.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7414f91
    • dglazkov@chromium.org's avatar
      2011-02-01 Dimitri Glazkov <dglazkov@chromium.org> · 97c36d83
      dglazkov@chromium.org authored
              Remove expectations of failure for passing tests.
      
              * platform/chromium/test_expectations.txt: Fewer fails.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97c36d83
    • abarth@webkit.org's avatar
      2011-02-01 Adam Barth <abarth@webkit.org> · 6e6cf2b3
      abarth@webkit.org authored
              Reviewed by Mihai Parparita.
      
              Using Control-C to cancel webkit-patch or other python tools causes
              unpleasant traceback console spew
              https://bugs.webkit.org/show_bug.cgi?id=53462
      
              Catch the exception and don't print the stack trace.
      
              * Scripts/webkit-patch:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e6cf2b3
    • bdakin@apple.com's avatar
      Fix for <rdar://problem/8492788> Adopt WKScrollbarPainterController · 3216752b
      bdakin@apple.com authored
      Reviewed by Sam Weinig.
      
      Source/WebCore: 
      
      Lots of new WebCoreSystemInterface functions to export.
      * WebCore.exp.in:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      Let the scrollAnimator know when the mouse has
      moved anywhere inside the page, and when the mouse 
      has moved in or out of the window. 
      * page/EventHandler.cpp:
      (WebCore::EventHandler::mouseMoved):
      (WebCore::EventHandler::updateMouseEventTargetNode):
      
      Let the scrollAnimator know when the window has become
      active or inactive.
      * page/FocusController.cpp:
      (WebCore::FocusController::setActive):
              
      Let the scrollAnimator know when all of these things
      are happening.
      * page/FrameView.cpp:
      (WebCore::FrameView::setContentsSize):
      (WebCore::FrameView::didMoveOnscreen):
      (WebCore::FrameView::willMoveOffscreen):
      (WebCore::FrameView::currentMousePosition):
      (WebCore::FrameView::contentsResized):
              
      New functions called through WebKit2 that allow the
      scrollAnimator to know when a live resize starts and ends.
      (WebCore::FrameView::willStartLiveResize):
      (WebCore::FrameView::willEndLiveResize):
      * page/FrameView.h:
              
      New functions on ScrollAnimator that pass information
      to the WKPainterController when we're using one.
      * platform/ScrollAnimator.h:
      (WebCore::ScrollAnimator::scrollableArea):
      (WebCore::ScrollAnimator::contentAreaWillPaint):
      (WebCore::ScrollAnimator::mouseEnteredContentArea):
      (WebCore::ScrollAnimator::mouseExitedContentArea):
      (WebCore::ScrollAnimator::mouseMovedInContentArea):
      (WebCore::ScrollAnimator::willStartLiveResize):
      (WebCore::ScrollAnimator::contentsResized):
      (WebCore::ScrollAnimator::willEndLiveResize):
      (WebCore::ScrollAnimator::contentAreaDidShow):
      (WebCore::ScrollAnimator::contentAreaDidHide):
      (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
      (WebCore::ScrollAnimatorMac::scrollbarPainterDelegate):
      (WebCore::ScrollAnimatorMac::setPainterForPainterController):
      (WebCore::ScrollAnimatorMac::removePainterFromPainterController):
      (WebCore::ScrollAnimatorMac::notityPositionChanged):
      (WebCore::ScrollAnimatorMac::contentAreaWillPaint):
      (WebCore::ScrollAnimatorMac::mouseEnteredContentArea):
      (WebCore::ScrollAnimatorMac::mouseExitedContentArea):
      (WebCore::ScrollAnimatorMac::mouseMovedInContentArea):
      (WebCore::ScrollAnimatorMac::willStartLiveResize):
      (WebCore::ScrollAnimatorMac::contentsResized):
      (WebCore::ScrollAnimatorMac::willEndLiveResize):
      (WebCore::ScrollAnimatorMac::contentAreaDidShow):
      (WebCore::ScrollAnimatorMac::contentAreaDidHide):
              
      Let the scrollAnimator know when this is happening.
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::paint):
              
      New function lets the scrollAnimator get the current 
      mouse position.
      * platform/ScrollView.h:
      (WebCore::ScrollView::currentMousePosition):
              
      New function that returns the scrollAnimator when needed.
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::scrollAnimator):
              
      Keep track of if we're in a live resize using a new memeber
      variable.
      * platform/mac/ScrollAnimatorMac.h:
      (WebCore::ScrollAnimatorMac::inLiveResize):
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::view):
              
      New delegates for the WKPainter and WKPainterController
      (-[ScrollbarPainterControllerDelegate initWithScrollAnimator:WebCore::]):
      (-[ScrollbarPainterControllerDelegate contentAreaRectForScrollerImpPair:]):
      (-[ScrollbarPainterControllerDelegate inLiveResizeForScrollerImpPair:]):
      (-[ScrollbarPainterControllerDelegate mouseLocationInContentAreaForScrollerImpPair:]):
      (-[ScrollbarPainterControllerDelegate scrollerImpPair:convertContentPoint:toScrollerImp:]):
      (-[ScrollbarPainterControllerDelegate scrollerImpPair:setContentAreaNeedsDisplayInRect:]):
      (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
      (-[ScrollKnobAnimation initWithScrollbarPainter:forScrollAnimator:WebCore::animateKnobAlphaTo:duration:]):
      (-[ScrollKnobAnimation setCurrentProgress:]):
      (-[ScrollbarPainterDelegate initWithScrollAnimator:WebCore::]):
      (-[ScrollbarPainterDelegate convertRectToBacking:]):
      (-[ScrollbarPainterDelegate convertRectFromBacking:]):
      (-[ScrollbarPainterDelegate layer]):
      (-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:animateKnobAlphaTo:duration:]):
      (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
      (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]):
      (-[ScrollbarPainterDelegate scrollerImp:overlayScrollerStateChangedTo:]):
      
      Get the WKScrollbarPainterRefs to synch up with the 
      WKScrollbarPainterControllerRefs when appropriate
      * platform/mac/ScrollbarThemeMac.h:
      * platform/mac/ScrollbarThemeMac.mm:
      (WebCore::ScrollbarThemeMac::registerScrollbar):
      (WebCore::ScrollbarThemeMac::unregisterScrollbar):
      (WebCore::ScrollbarThemeMac::setNewPainterForScrollbar):
      (WebCore::ScrollbarThemeMac::usesOverlayScrollbars):
      
      Implement ScrollableArea's virtual function contentsSize() for access
      through the scrollAnimator.
      * rendering/RenderLayer.h:
      (WebCore::RenderLayer::contentsSize):
      
      Source/WebKit/mac: 
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2: 
      
      Implement NSView's viewWillStartLiveResize and
      viewDidEndLiveResize and propagate the messages down
      to WebCore.
      * UIProcess/API/mac/WKView.mm:
      (-[WKView viewWillStartLiveResize]):
      (-[WKView viewDidEndLiveResize]):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::viewWillStartLiveResize):
      (WebKit::WebPageProxy::viewWillEndLiveResize):
      * UIProcess/WebPageProxy.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::viewWillStartLiveResize):
      (WebKit::WebPage::viewWillEndLiveResize):
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/WebPage.messages.in:
      
      A bunch of new WebKitSystemInterface functions.
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3216752b
    • carol.szabo@nokia.com's avatar
      2011-02-01 Carol Szabo <carol.szabo@nokia.com> · 908f9ae2
      carol.szabo@nokia.com authored
              Reviewed by David Hyatt.
      
              layoutTestController.counterValueForElementById does not return the correct value
              https://bugs.webkit.org/show_bug.cgi?id=53037
      
              * fast/css/counters/deep-before-expected.txt: Added.
              * fast/css/counters/deep-before.html: Added.
              This tests whether DumpRenderTree properly retrieves counters and
              whether counters are properly set when the before pseudo element's
              renderer is not a direct child of the generating element's renderer.
      2011-02-01  Carol Szabo  <carol.szabo@nokia.com>
      
              Reviewed by David Hyatt.
      
              layoutTestController.counterValueForElementById does not return the correct value
              https://bugs.webkit.org/show_bug.cgi?id=53037
      
              Test: fast/css/counters/deep-before.html
      
              * rendering/RenderTreeAsText.cpp:
              (WebCore::counterValueForElement):
              Modified to use the newly available RenderObject::beforePseudoElement()
              and RenderObject::afterPseudoElement() instead of the old imperfect
              algorithm to find the before and after pseudo elements.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      908f9ae2
    • antonm@chromium.org's avatar
      2011-02-01 Anton Muhin <antonm@chromium.org> · 86fddb96
      antonm@chromium.org authored
              Reviewed by Adam Barth.
      
              Allow access for security origin same as this.
              https://bugs.webkit.org/show_bug.cgi?id=53440
      
              Hard to test as newly added path currently is never hit.
      
              * page/SecurityOrigin.cpp:
              (WebCore::SecurityOrigin::canAccess): allow access if this == other
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86fddb96
    • dglazkov@chromium.org's avatar
      2011-02-01 Dimitri Glazkov <dglazkov@chromium.org> · 6f1c0d03
      dglazkov@chromium.org authored
              Added more flakiness expectations from bots.
      
              * platform/chromium/test_expectations.txt: Another one bites or doesn't bite the dust.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f1c0d03
    • oliver@apple.com's avatar
      2011-01-31 Oliver Hunt <oliver@apple.com> · b7c4474a
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Update JSObject storage for new marking API
              https://bugs.webkit.org/show_bug.cgi?id=53467
      
              JSObject no longer uses EncodedJSValue for its property storage.
              This produces a stream of mechanical changes to PropertySlot and
              anonymous storage APIs.
      
              * JavaScriptCore.exp:
              * runtime/ArrayPrototype.cpp:
              (JSC::ArrayPrototype::ArrayPrototype):
              * runtime/BooleanConstructor.cpp:
              (JSC::constructBoolean):
              (JSC::constructBooleanFromImmediateBoolean):
              * runtime/BooleanObject.cpp:
              (JSC::BooleanObject::BooleanObject):
              * runtime/BooleanObject.h:
              * runtime/BooleanPrototype.cpp:
              (JSC::BooleanPrototype::BooleanPrototype):
              * runtime/DateInstance.cpp:
              (JSC::DateInstance::DateInstance):
              * runtime/DatePrototype.cpp:
              (JSC::DatePrototype::DatePrototype):
              * runtime/JSActivation.cpp:
              (JSC::JSActivation::getOwnPropertySlot):
              * runtime/JSArray.cpp:
              (JSC::JSArray::getOwnPropertySlot):
              * runtime/JSFunction.cpp:
              (JSC::JSFunction::getOwnPropertySlot):
              * runtime/JSGlobalObject.h:
              (JSC::JSGlobalObject::JSGlobalObject):
              * runtime/JSObject.cpp:
              (JSC::JSObject::fillGetterPropertySlot):
              * runtime/JSObject.h:
              (JSC::JSObject::getDirectLocation):
              (JSC::JSObject::offsetForLocation):
              (JSC::JSObject::putAnonymousValue):
              (JSC::JSObject::clearAnonymousValue):
              (JSC::JSObject::getAnonymousValue):
              (JSC::JSObject::putThisToAnonymousValue):
              (JSC::JSObject::locationForOffset):
              (JSC::JSObject::inlineGetOwnPropertySlot):
              * runtime/JSObjectWithGlobalObject.cpp:
              (JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
              * runtime/JSWrapperObject.h:
              (JSC::JSWrapperObject::JSWrapperObject):
              (JSC::JSWrapperObject::setInternalValue):
              * runtime/Lookup.cpp:
              (JSC::setUpStaticFunctionSlot):
              * runtime/NumberConstructor.cpp:
              (JSC::constructWithNumberConstructor):
              * runtime/NumberObject.cpp:
              (JSC::NumberObject::NumberObject):
              (JSC::constructNumber):
              * runtime/NumberObject.h:
              * runtime/NumberPrototype.cpp:
              (JSC::NumberPrototype::NumberPrototype):
              * runtime/PropertySlot.h:
              (JSC::PropertySlot::getValue):
              (JSC::PropertySlot::setValue):
              (JSC::PropertySlot::setRegisterSlot):
              * runtime/StringObject.cpp:
              (JSC::StringObject::StringObject):
              * runtime/StringPrototype.cpp:
              (JSC::StringPrototype::StringPrototype):
              * runtime/WriteBarrier.h:
              (JSC::WriteBarrierBase::setWithoutWriteBarrier):
      2011-01-31  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Geoffrey Garen.
      
              Update JSObject storage for new marking API
              https://bugs.webkit.org/show_bug.cgi?id=53467
      
              Update WebCore to handle new anonymous slot behaviour.
      
              * bindings/js/JSDOMWindowShell.cpp:
              (WebCore::JSDOMWindowShell::setWindow):
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::WorkerScriptController::initScript):
              * bindings/scripts/CodeGeneratorJS.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7c4474a
    • dglazkov@chromium.org's avatar
      2011-02-01 Dimitri Glazkov <dglazkov@chromium.org> · 655d60b8
      dglazkov@chromium.org authored
              https://bugs.webkit.org/show_bug.cgi?id=53516
              Test introduced in r77262 is crashing.
      
              * platform/chromium/test_expectations.txt: Added expectation to crash
                  while the fix is worked on.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      655d60b8
    • xji@chromium.org's avatar
      2011-02-01 Xiaomei Ji <xji@chromium.org> · b0ad6eb8
      xji@chromium.org authored
              Reviewed by David Hyatt.
      
              Fix a text rendering problem when enclosing block is RTL and text runs
              are in different directionality.
              https://bugs.webkit.org/show_bug.cgi?id=34176
      
              The problem happens in the following example scenario (ABC represents 
              Hebrew characters):
              <div dir=rtl>this is a <span><span>test <span>ABC</span></span></span></div>
      
              The line consists of 3 text runs -- TextRun1 TextRun2 TextRun3. In which
              TextRun1 and TextRun2's bidi level are 2, and TextRun3's bidi level is 1.
              TextRun2 and TextRun3's least common ancestor is not a sibling of TextRun1.
      
              The visual bidi run order of the text runs is TextRun3 TextRun1 TextRun2.
      
              Inside RenderBlock::constructLine(), when RenderBlock::createLineBoxes()
              creates InlineFlowBox for TextRun2, it should check an InlineFlowBox for
              the run's render object's ancestor (not only its parent) has already 
              been constructed or has something following it on the line, in which 
              case, create a new box for TextRun2 instead of sharing the same box with
              TextRun3.
      
              In other words, the following 2 div should render the same results
              (ABC represents Hebrew characters).
              <div dir=rtl>this is a <span><span>test <span>ABC</span></span></span></div>
              <div dir=rtl>this is a <span>Test <span>ABC</span></span></div>
      
              Test: fast/dom/34176.html
      
              * rendering/RenderBlockLineLayout.cpp:
              (WebCore::parentIsConstructedOrHaveNext):
              (WebCore::RenderBlock::createLineBoxes):
      2011-02-01  Xiaomei Ji  <xji@chromium.org>
      
              Reviewed by David Hyatt.
      
              Fix a text rendering problem when enclosing block is RTL and text runs
              are in different directionality.
              https://bugs.webkit.org/show_bug.cgi?id=34176
      
              The problem happens in the following example scenario (ABC represents 
              Hebrew characters):
              <div dir=rtl>this is a <span><span>test <span>ABC</span></span></span></div>
      
              The line consists of 3 text runs -- TextRun1 TextRun2 TextRun3. In which
              TextRun1 and TextRun2's bidi level are 2, and TextRun3's bidi level is 1.
              TextRun2 and TextRun3's least common ancestor is not a sibling of TextRun1.
      
              The visual bidi run order of the text runs is TextRun3 TextRun1 TextRun2.
      
              Inside RenderBlock::constructLine(), when RenderBlock::createLineBoxes()
              creates InlineFlowBox for TextRun2, it should check an InlineFlowBox for
              the run's render object's ancestor (not only its parent) has already 
              been constructed or has something following it on the line, in which 
              case, create a new box for TextRun2 instead of sharing the same box with
              TextRun3.
      
              In other words, the following 2 div should render the same results
              (ABC represents Hebrew characters).
              <div dir=rtl>this is a <span><span>test <span>ABC</span></span></span></div>
              <div dir=rtl>this is a <span>Test <span>ABC</span></span></div>
      
              * fast/dom/34176.html: Added.
              * platform/mac/fast/dom/34176-expected.checksum: Added.
              * platform/mac/fast/dom/34176-expected.png: Added.
              * platform/mac/fast/dom/34176-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0ad6eb8
    • hyatt@apple.com's avatar
      Update printing layout test for the ceiling->floor change. · 7f811f6d
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f811f6d
    • dbates@webkit.org's avatar
      2011-02-01 Scott Cameron <sccameron@rim.com> · b67574eb
      dbates@webkit.org authored
              Reviewed by Daniel Bates.
      
              Use Windows format for MinGW HTTPD path.
              https://bugs.webkit.org/show_bug.cgi?id=53503
      
              * Scripts/webkitperl/httpd.pm:
                - Use single-quotes around MySys value for $httpdPath in getHTTPDPath()
                  so that we don't have to escape the space characters in the path. Also,
                  changed path to Windows-style path and removed FIXME comment.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b67574eb
    • mihaip@chromium.org's avatar
      2011-02-01 Mihai Parparita <mihaip@chromium.org> · b4626c61
      mihaip@chromium.org authored
              Unreviewed. Include actual values in fast/canvas/webgl/gl-teximage.html
              (removed by r77129) in the case of failure.
      
              * fast/canvas/webgl/gl-teximage.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4626c61
    • inferno@chromium.org's avatar
      2011-01-31 Abhishek Arya <inferno@chromium.org> · b1a6c04d
      inferno@chromium.org authored
              Reviewed by Dan Bernstein.
      
              Tests that a removed svg style element is not accessed again in document's
              style recalc code and does not result in crash.
              https://bugs.webkit.org/show_bug.cgi?id=53441
      
              * fast/css/stylesheet-candidate-nodes-crash-expected.txt: Added.
              * fast/css/stylesheet-candidate-nodes-crash.xhtml: Added.
      2011-02-01  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Dan Bernstein.
      
              Do not add a node in the document's stylesheet candidate node list if the
              node is already removed from document.
              https://bugs.webkit.org/show_bug.cgi?id=53441
      
              Test: fast/css/stylesheet-candidate-nodes-crash.xhtml
      
              * dom/Document.cpp:
              (WebCore::Document::addStyleSheetCandidateNode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1a6c04d
    • dglazkov@chromium.org's avatar
      2011-02-01 Dimitri Glazkov <dglazkov@chromium.org> · 75c9c890
      dglazkov@chromium.org authored
              More flakiness updates.
      
              * platform/chromium/test_expectations.txt: Moar flakiness recorded.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75c9c890
    • dbates@webkit.org's avatar
      2011-02-01 Daniel Bates <dbates@rim.com> · c66b51e7
      dbates@webkit.org authored
              Reviewed by Antonio Gomes.
      
              Modify RandomNumberSeed.h to use USE(MERSENNE_TWISTER_19937)
              https://bugs.webkit.org/show_bug.cgi?id=53506
      
              Currently, use of the Mersenne Twister pseudorandom number generator
              is hardcoded to the Windows CE port. With the passing of bug #53253,
              we can generalize support for this PRNG to all ports that use srand(3)
              and rand(3), including Windows CE.
      
              * wtf/RandomNumberSeed.h:
              (WTF::initializeRandomNumberGenerator):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c66b51e7
    • hyatt@apple.com's avatar
    • hyatt@apple.com's avatar
      Back out accidental commit of Connection.cpp · 3e51f8a9
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e51f8a9
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=46422, make printing and pagination work · caa25f0c
      hyatt@apple.com authored
      with vertical text.
      
      Reviewed by Darin Adler.
      
      ../WebCore: 
      
      Change printing functions to check writing-mode and properly swap width and height
      as needed.
              
      Fix the setScrollOrigin function so that the origin doesn't cause
      scroll spasming during printing (this is only partially successful, but it's better
      than it was).
      
      Rewrite computePageRects to handle both RTL documents properly as well as vertical
      text documents properly.
      
      * WebCore.exp.in:
      * page/FrameView.cpp:
      (WebCore::FrameView::adjustViewSize):
      (WebCore::FrameView::forceLayoutForPagination):
      * page/PrintContext.cpp:
      (WebCore::PrintContext::computePageRects):
      (WebCore::PrintContext::computePageRectsWithPageSizeInternal):
      (WebCore::PrintContext::computeAutomaticScaleFactor):
      (WebCore::PrintContext::spoolPage):
      (WebCore::PrintContext::spoolRect):
      * page/PrintContext.h:
      * page/mac/WebCoreFrameView.h:
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::wheelEvent):
      * platform/ScrollView.h:
      * platform/mac/ScrollViewMac.mm:
      (WebCore::ScrollView::platformSetScrollOrigin):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::layout):
      
      ../WebKit/mac: 
      
      Change printing functions to check writing-mode and properly swap width and height
      as needed.
      
      * WebView/WebDynamicScrollBarsView.mm:
      (-[WebDynamicScrollBarsView setScrollOrigin:updatePositionAtAll:immediately:]):
      * WebView/WebFrame.mm:
      (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]):
      * WebView/WebFrameInternal.h:
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _web_setPrintingModeRecursive]):
      (-[WebHTMLView _web_clearPrintingModeRecursive]):
      (-[WebHTMLView _web_setPrintingModeRecursiveAndAdjustViewSize]):
      (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumPageWidth:]):
      (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]):
      (-[WebHTMLView _endPrintMode]):
      (-[WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]):
      (-[WebHTMLView _endScreenPaginationMode]):
      (-[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:]):
      (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:maximumPageLogicalWidth:adjustViewSize:paginateScreenContent:]):
      (-[WebHTMLView adjustPageHeightNew:top:bottom:limit:]):
      (-[WebHTMLView _scaleFactorForPrintOperation:]):
      (-[WebHTMLView setPageWidthForPrinting:]):
      (-[WebHTMLView knowsPageRange:]):
      
      ../WebKit2: 
      
      Change printing functions to check writing-mode and properly swap width and height
      as needed.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::computePagesForPrinting):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caa25f0c
    • mihaip@chromium.org's avatar
      2011-02-01 Mihai Parparita <mihaip@chromium.org> · 88ff3e66
      mihaip@chromium.org authored
              Unreviewed roll of Chromium deps to r73306. This picks up a fix to get
              the WebKit root dir correctly after the move to Source/. This allows
              tests like http/tests/security/frame-loading-via-document-write.html
              (which use LayoutTestController.pathToLocalResource) to pass with the
              Chromium DRT.
      
              * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88ff3e66
    • dglazkov@chromium.org's avatar
      2011-02-01 Dimitri Glazkov <dglazkov@chromium.org> · a3b71c5d
      dglazkov@chromium.org authored
              Updated flaky test expectations according to build bot results.
      
              * platform/chromium/test_expectations.txt: Flakiness recorded.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3b71c5d
    • mnaganov@chromium.org's avatar
      2011-02-01 Mikhail Naganov <mnaganov@chromium.org> · f90585f9
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Fix profiles reset to avoid clearing heap profiles in Chromium.
      
              https://bugs.webkit.org/show_bug.cgi?id=53500
      
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::resetFrontendProfiles):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f90585f9
    • kbalazs@webkit.org's avatar
      2011-02-01 Balazs Kelemen <kbalazs@webkit.org> · 2104a742
      kbalazs@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt][WK2] Add a way to use shared process model in MiniBrowser
              https://bugs.webkit.org/show_bug.cgi?id=53090
      
              * MiniBrowser/qt/BrowserView.cpp:
              (BrowserView::BrowserView): Removed the m_context member.
              From now the context is guaranteed to be non-null and we
              don't need to store that in the object.
              * MiniBrowser/qt/BrowserView.h:
              * MiniBrowser/qt/BrowserWindow.cpp:
              Added static bool to determine that new windows need to be
              created with their own context or not. Use the same context
              and web process by default to be inilne with the other ports.
              (BrowserWindow::BrowserWindow):
              (BrowserWindow::newWindow):
              * MiniBrowser/qt/BrowserWindow.h:
              * MiniBrowser/qt/main.cpp:
              (main): Added command line switch to be able to use the
              non-shared process model. Simplify the handling of the command line
              switches a little bit.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2104a742
    • mnaganov@chromium.org's avatar
      2011-02-01 Mikhail Naganov <mnaganov@chromium.org> · fddb3db3
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Landing detailed heap snapshots, part 1.
      
              https://bugs.webkit.org/show_bug.cgi?id=53173
      
              Adding code for accessing heap snapshot data and
              performing graph calculations.
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/HeapSnapshot.js:
              (WebInspector.HeapSnapshotArraySlice): Helper class to avoid array contents copying.
              (WebInspector.HeapSnapshotEdge): Wrapper for accessing graph edge properties.
              (WebInspector.HeapSnapshotEdgeIterator):
              (WebInspector.HeapSnapshotNode): Wrapper for accessing graph node properties.
              (WebInspector.HeapSnapshotNodeIterator):
              (WebInspector.HeapSnapshot): Wrapper for the heap snapshot.
              (WebInspector.HeapSnapshotFilteredOrderedIterator):
              (WebInspector.HeapSnapshotEdgesProvider):
              (WebInspector.HeapSnapshotNodesProvider):
              (WebInspector.HeapSnapshotPathFinder):
              * inspector/front-end/HeapSnapshotView.js:
              (WebInspector.HeapSnapshotView.prototype._convertSnapshot):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fddb3db3
    • aroben@apple.com's avatar
      Fix linker warnings in Release_LTCG builds · 86c31ffb
      aroben@apple.com authored
      * WebCore.vcproj/WebCore.vcproj: Exclude EventNames.cpp and EventTarget.cpp from all
      configurations, since they get pulled in via DOMAllInOne.cpp.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86c31ffb
    • zoltan@webkit.org's avatar
      [Qt] Add Window menu and Toggle FullScreen action to MiniBrowser. · 6730ad51
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53491
      
      Reviewed by Andreas Kling.
      
      * MiniBrowser/qt/BrowserWindow.cpp:
      (BrowserWindow::BrowserWindow):
      (BrowserWindow::toggleFullScreenMode):
      * MiniBrowser/qt/BrowserWindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6730ad51
    • apavlov@chromium.org's avatar
      2011-02-01 Alexander Pavlov <apavlov@chromium.org> · 105d1c0e
      apavlov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
              https://bugs.webkit.org/show_bug.cgi?id=53482
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/ElementsPanel.js:
              (WebInspector.ElementsPanel.prototype.populateHrefContextMenu):
              * inspector/front-end/inspector.js:
              (WebInspector.resourceForURL):
              (WebInspector.openLinkExternallyLabel):
      2011-02-01  Alexander Pavlov  <apavlov@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
              https://bugs.webkit.org/show_bug.cgi?id=53482
      
              * src/js/DevTools.js:
              (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      105d1c0e
    • commit-queue@webkit.org's avatar
      2011-02-01 Dave Tapuska <dtapuska@rim.com> · 4fa9acdc
      commit-queue@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              MacroAssemblerARM would generate code that did 32bit loads
              on addresses that were not aligned. More specifically it would
              generate a ldr r8,[r1, #7] which isn't valid on ARMv5 and lower.
              The intended instruction really is ldrb r8,[r1, #7]; ensure we
              call load8 instead of load32.
      
              https://bugs.webkit.org/show_bug.cgi?id=46095
      
              * assembler/MacroAssemblerARM.h:
              (JSC::MacroAssemblerARM::set32Test32):
              (JSC::MacroAssemblerARM::set32Test8):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fa9acdc
    • ossy@webkit.org's avatar
      Unreviewed. · 2659d72e
      ossy@webkit.org authored
      fast/loader/onload-policy-ignore-for-frame.html fails on Qt bot
      https://bugs.webkit.org/show_bug.cgi?id=53490
      
      Add Qt specific expected result.
      
      * platform/qt/fast/loader/onload-policy-ignore-for-frame-expected.txt: Copied from LayoutTests/fast/loader/onload-policy-ignore-for-frame-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2659d72e
    • antonm@chromium.org's avatar
      2011-02-01 Anton Muhin <antonm@chromium.org> · 87c26e7d
      antonm@chromium.org authored
              Reviewed by Adam Barth.
      
              Propagate parent document security origin to newly create Document XML response
              https://bugs.webkit.org/show_bug.cgi?id=53444
      
              Covered by the existing tests.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::responseXML):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87c26e7d
    • zoltan@webkit.org's avatar
      [Qt] Add Toggle Frame Flattening, Auto Load Images and Disable JavaScript actions to MiniBrowser. · ca411388
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53489
      
      Reviewed by Andreas Kling.
      
      Add Toggle Frame Flattening action to Develop menu. Add Auto Load Images and Disable JavaScript actions
      to Settings menu.
      
      * MiniBrowser/qt/BrowserWindow.cpp:
      (BrowserWindow::BrowserWindow):
      (BrowserWindow::toggleFrameFlattening):
      (BrowserWindow::toggleDisableJavaScript):
      (BrowserWindow::toggleAutoLoadImages):
      * MiniBrowser/qt/BrowserWindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca411388
    • gyuyoung.kim@samsung.com's avatar
      2011-02-01 Gyuyoung Kim <gyuyoung.kim@samsung.com> · 78ca2f28
      gyuyoung.kim@samsung.com authored
              Reviewed by Antonio Gomes.
      
              [EFL] Add an API to get proxy address.
              https://bugs.webkit.org/show_bug.cgi?id=52990
      
              Gets the proxy URI from network backend. This API returns a proxy URI
              which is set up by ewk_settings_proxy_uri_set(). But, it only implements
              this API for libsoup backend.
      
              * ewk/ewk_settings.cpp:
              (ewk_settings_proxy_uri_get):
              * ewk/ewk_settings.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ca2f28
    • darin@chromium.org's avatar
      2011-02-01 Darin Fisher <darin@chromium.org> · d7fcd04a
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              Fix some Visual Studio compiler warnings.
              https://bugs.webkit.org/show_bug.cgi?id=53476
      
              * wtf/MathExtras.h:
              (clampToInteger):
              (clampToPositiveInteger):
              * wtf/ThreadingWin.cpp:
              (WTF::absoluteTimeToWaitTimeoutInterval):
      2011-02-01  Darin Fisher  <darin@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix some Visual Studio compiler warnings.
              https://bugs.webkit.org/show_bug.cgi?id=53476
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::forms):
              * src/WebMediaPlayerClientImpl.cpp:
              (WebKit::WebMediaPlayerClientImpl::repaint):
              * src/WebScrollbarImpl.cpp:
              (WebKit::WebScrollbarImpl::setValue):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::doPixelReadbackToCanvas):
              (WebKit::WebViewImpl::setZoomLevel):
              (WebKit::WebViewImplScrollbarPaintInterface::paint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7fcd04a
    • yurys@chromium.org's avatar
      2011-02-01 Yury Semikhatsky <yurys@chromium.org> · a1f9ecd3
      yurys@chromium.org authored
              Unreviewed. Rollout r77230 which caused many layout tests
              crashes on Chromium Debug bots.
      
              Async event handlers should not fire within a modal dialog
              https://bugs.webkit.org/show_bug.cgi?id=53202
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * dom/EventQueue.cpp:
              (WebCore::EventQueue::EventQueue):
              (WebCore::EventQueue::enqueueEvent):
              (WebCore::EventQueue::pendingEventTimerFired):
              * dom/EventQueue.h:
      2011-02-01  Yury Semikhatsky  <yurys@chromium.org>
      
              Unreviewed. Rollout r77230 which caused many layout tests
              crashes on Chromium Debug bots.
      
              Async event handlers should not fire within a modal dialog
              https://bugs.webkit.org/show_bug.cgi?id=53202
      
              * fast/events/scroll-event-during-modal-dialog-expected.txt: Removed.
              * fast/events/scroll-event-during-modal-dialog.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1f9ecd3
    • zherczeg@webkit.org's avatar
      LightElement changes does not require relayout. · fddf5fba
      zherczeg@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53232
      
      Reviewed by Dirk Schulze.
      
      When an attribute of a LightElement changes, it
      send an update message to the lighting filters
      to update its corresponding LightSource objects,
      and repaint the filters.
      
      Duplicated 'id' attributes removed from svg-filter-animation.svg.
      
      Existing dynamic-update tests covers this feature.
      
      5x speedup on manual-tests/svg-filter-animation.svg
      
      * manual-tests/svg-filter-animation.svg:
      * platform/graphics/filters/DistantLightSource.h:
      * platform/graphics/filters/FEDiffuseLighting.cpp:
      (WebCore::FEDiffuseLighting::setLightingColor):
      (WebCore::FEDiffuseLighting::setSurfaceScale):
      (WebCore::FEDiffuseLighting::setDiffuseConstant):
      (WebCore::FEDiffuseLighting::setKernelUnitLengthX):
      (WebCore::FEDiffuseLighting::setKernelUnitLengthY):
      * platform/graphics/filters/FEDiffuseLighting.h:
      * platform/graphics/filters/LightSource.cpp:
      (WebCore::PointLightSource::setX):
      (WebCore::PointLightSource::setY):
      (WebCore::PointLightSource::setZ):
      (WebCore::SpotLightSource::setX):
      (WebCore::SpotLightSource::setY):
      (WebCore::SpotLightSource::setZ):
      (WebCore::SpotLightSource::setPointsAtX):
      (WebCore::SpotLightSource::setPointsAtY):
      (WebCore::SpotLightSource::setPointsAtZ):
      (WebCore::SpotLightSource::setSpecularExponent):
      (WebCore::SpotLightSource::setLimitingConeAngle):
      (WebCore::DistantLightSource::setAzimuth):
      (WebCore::DistantLightSource::setElevation):
      (WebCore::LightSource::setAzimuth):
      (WebCore::LightSource::setElevation):
      (WebCore::LightSource::setX):
      (WebCore::LightSource::setY):
      (WebCore::LightSource::setZ):
      (WebCore::LightSource::setPointsAtX):
      (WebCore::LightSource::setPointsAtY):
      (WebCore::LightSource::setPointsAtZ):
      (WebCore::LightSource::setSpecularExponent):
      (WebCore::LightSource::setLimitingConeAngle):
      * platform/graphics/filters/LightSource.h:
      * platform/graphics/filters/PointLightSource.h:
      * platform/graphics/filters/SpotLightSource.h:
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * svg/SVGFEDiffuseLightingElement.cpp:
      (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
      (WebCore::SVGFEDiffuseLightingElement::lightElementAttributeChanged):
      (WebCore::SVGFEDiffuseLightingElement::build):
      (WebCore::SVGFEDiffuseLightingElement::findLightElement):
      (WebCore::SVGFEDiffuseLightingElement::findLight):
      * svg/SVGFEDiffuseLightingElement.h:
      * svg/SVGFELightElement.cpp:
      (WebCore::SVGFELightElement::svgAttributeChanged):
      * svg/SVGFilterPrimitiveStandardAttributes.cpp:
      (WebCore::SVGFilterPrimitiveStandardAttributes::setFilterEffectAttribute):
      * svg/SVGFilterPrimitiveStandardAttributes.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fddf5fba