1. 04 Jun, 2011 1 commit
    • oliver@apple.com's avatar
      2011-06-03 Oliver Hunt <oliver@apple.com> · 77099a66
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Lexer needs to provide Identifier for reserved words
              https://bugs.webkit.org/show_bug.cgi?id=62086
      
              Alas it is necessary to provide an Identifier reference for keywords
              so that we can do the right thing when they're used in object literals.
              We now keep Identifiers for all reserved words in the CommonIdentifiers
              structure so that we can access them without a hash lookup.
      
              * KeywordLookupGenerator.py:
              * parser/Lexer.cpp:
              (JSC::Lexer::parseIdentifier):
              * parser/Lexer.h:
              * runtime/CommonIdentifiers.cpp:
              (JSC::CommonIdentifiers::CommonIdentifiers):
              * runtime/CommonIdentifiers.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77099a66
  2. 03 Jun, 2011 39 commits
    • barraclough@apple.com's avatar
      Add debug code to break on speculation failures. · 47e3ada3
      barraclough@apple.com authored
      Reviewed by Sam Weinig.
      
      * dfg/DFGJITCompiler.cpp:
      (JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative):
      (JSC::DFG::JITCompiler::compileFunction):
      * dfg/DFGNode.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47e3ada3
    • barraclough@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=62082 · efa65e59
      barraclough@apple.com authored
      DFG JIT - bug passing arguments that need swap
      
      Reviewed by Sam Weinig.
      
      This is really just a typo.
      When setting up the arguments for a call out to a C operation, we'll
      fail to swap arguments where this is necessary. For example, in the
      case of 2 arg calls, where the first argument is in %rdx & the second
      is in %rsi we should swap (exec will be passed in %rdi), but we don't.
      
      This can also affect function calls passing three arguments.
      
      * dfg/DFGJITCodeGenerator.h:
      (JSC::DFG::JITCodeGenerator::setupTwoStubArgs):
          - Call swap with the correct arguments.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efa65e59
    • ap@apple.com's avatar
      2011-06-03 Alexey Proskuryakov <ap@apple.com> · 3d2393f5
      ap@apple.com authored
              Reviewed by Darin Adler.
      
              ResourceHandleMac should always respond to an authentication challenge
              https://bugs.webkit.org/show_bug.cgi?id=61667
      
              I don't know if this can actually happen in practice, so no new tests.
      
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveAuthenticationChallenge:]):
              Cancel authentication challenge if we don't have a client. We must always respond to the
              challenge to release the connection, and there is nothing else to do in this state anyway.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d2393f5
    • mitz@apple.com's avatar
      Try to fix the Apple LLVM Compiler build after r88087. · f0d6cd43
      mitz@apple.com authored
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::paintMask):
      * rendering/RenderTableCell.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0d6cd43
    • crogers@google.com's avatar
      Fix clang build - take 2 · e69ba53c
      crogers@google.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e69ba53c
    • crogers@google.com's avatar
      Fix clang build · 459ded44
      crogers@google.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      459ded44
    • leviw@chromium.org's avatar
      2011-06-03 Levi Weintraub <leviw@chromium.org> · 43d0c4df
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Switch paintMask and paintObject to use IntPoint
              https://bugs.webkit.org/show_bug.cgi?id=62077
      
              Switching paintMask and paintObject to use IntPoint for their paint offset instead of
              a pair of ints. paintObject is still on tx/ty, but paintMask was converted to IntSize
              passed by value -- bringing it in-line with the agreed-upon convention of a const IntPoint&.
      
              No new tests since this is simple refactoring.
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paint):
              (WebCore::RenderBlock::paintObject):
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::paintMask):
              (WebCore::RenderBox::pushContentsClip):
              (WebCore::RenderBox::popContentsClip):
              * rendering/RenderBox.h:
              (WebCore::RenderBox::paintObject):
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::paintMask):
              * rendering/RenderFieldset.h:
              * rendering/RenderFileUploadControl.cpp:
              (WebCore::RenderFileUploadControl::paintObject):
              * rendering/RenderFileUploadControl.h:
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::paintObject):
              * rendering/RenderListBox.h:
              * rendering/RenderReplaced.cpp:
              (WebCore::RenderReplaced::paint):
              * rendering/RenderReplica.cpp:
              (WebCore::RenderReplica::paint):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::paint):
              (WebCore::RenderTable::paintObject):
              (WebCore::RenderTable::paintMask):
              * rendering/RenderTable.h:
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paint):
              (WebCore::RenderTableSection::paintObject):
              * rendering/RenderTableSection.h:
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::paintPlaceholder):
              (WebCore::RenderTextControl::paintObject):
              * rendering/RenderTextControl.h:
              * rendering/RenderView.cpp:
              (WebCore::RenderView::paint):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::paint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43d0c4df
    • oliver@apple.com's avatar
      2011-06-03 Oliver Hunt <oliver@apple.com> · 66fdd533
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Force inlining of some hot lexer functions
              https://bugs.webkit.org/show_bug.cgi?id=62079
      
              Fix more GCC stupidity
      
              * parser/Lexer.h:
              (JSC::Lexer::isWhiteSpace):
              (JSC::Lexer::isLineTerminator):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66fdd533
    • oliver@apple.com's avatar
      2011-06-03 Oliver Hunt <oliver@apple.com> · 40d99a66
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              GCC not inlining some functions that it really should be
              https://bugs.webkit.org/show_bug.cgi?id=62075
      
              Add ALWAYS_INLINE to a number of parsing and lexing functions
              that should always be inlined.  This gets us ~1.4% on my ad hoc
              parser test.
      
              * KeywordLookupGenerator.py:
              * parser/JSParser.cpp:
              (JSC::JSParser::next):
              (JSC::JSParser::nextTokenIsColon):
              (JSC::JSParser::consume):
              (JSC::JSParser::match):
              (JSC::JSParser::tokenStart):
              (JSC::JSParser::tokenLine):
              (JSC::JSParser::tokenEnd):
              * parser/Lexer.cpp:
              (JSC::isIdentPart):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40d99a66
    • oliver@apple.com's avatar
      Whoops, fix last minute bug. · b18706a6
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b18706a6
    • commit-queue@webkit.org's avatar
      2011-06-03 Cary Clark <caryclark@google.com> · caedd3d0
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Support FontCustomPlatformData on Skia-Mac-Chrome variant
              https://bugs.webkit.org/show_bug.cgi?id=62040
      
              Canvas text is only recognized by Skia if it is registered
              by creating a new SkTypeface. Skia uses CGFont to measure
              and render the glyphs, then takes care of managing the glyph
              cache.
      
              Skia on Mac Chrome is not yet enabled, so this change
              does not affect existing code, and requires no new tests.
      
              * platform/graphics/mac/FontCustomPlatformData.cpp:
              (WebCore::RemoteFontStream::RemoteFontStream):
              (WebCore::RemoteFontStream::~RemoteFontStream):
              (WebCore::RemoteFontStream::rewind):
              (WebCore::RemoteFontStream::read):
              Turn the buffer into a stream. This is identical to
              the implementation in skia/FontCustomPlatformData.cpp.
              While that file could be modified instead of this one,
              it was simpler to add SkTypeface streaming to this instead
              of adding all CGFont support to the skia platform file.
      
              (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
              Release the SkTypeface reference.
      
              (WebCore::createFontCustomPlatformData):
              Associate the buffer stream with a SkTypeface so Skia
              can find the custom font data.
      
              * platform/graphics/mac/FontCustomPlatformData.h:
              (WebCore::FontCustomPlatformData::FontCustomPlatformData):
              Add a slot to hold the SkTypeface.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caedd3d0
    • sfalken@apple.com's avatar
      2011-06-03 Steve Falkenburg <sfalken@apple.com> · c92c0ae4
      sfalken@apple.com authored
              Reviewed by Brian Weinstein.
      
              HistoryItem children persist across page loads
              https://bugs.webkit.org/show_bug.cgi?id=62071
              <rdar://problem/9552129>
              
              Not testable since there's no way to check for the presence/absence
              of children for a HistoryItem.
      
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::reset): Call clearChildren when we're reusing a HistoryItem.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c92c0ae4
    • jamesr@google.com's avatar
      2011-06-03 James Robinson <jamesr@chromium.org> · 560b0423
      jamesr@google.com authored
              [chromium] Mark GPU-only expectations as GPU.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      560b0423
    • mrobinson@webkit.org's avatar
      2011-06-03 Martin Robinson <mrobinson@igalia.com> · 54418c5a
      mrobinson@webkit.org authored
              Try to fix the GTK+ build.
      
              * GNUmakefile.am: Clean up some spaces that should be tabs.
              * GNUmakefile.list.am: Add KeywordLookup.h to the source list
              and clean up some spaces that should be tabs.
      2011-06-03  Martin Robinson  <mrobinson@igalia.com>
      
              Try to fix the GTK+ bulid.
      
              * GNUmakefile.am: Add JSDOMWrapper.cpp to the libWebCoreInternals
              source list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54418c5a
    • scherkus@chromium.org's avatar
      2011-06-03 Andrew Scherkus <scherkus@chromium.org> · 2145b288
      scherkus@chromium.org authored
              Unreviewed, rebaselining Chromium GPU media pixel results after Chromium commit 87830.
      
              * platform/chromium-gpu-linux/media/controls-after-reload-expected.png:
              * platform/chromium-gpu-linux/media/controls-strict-expected.png:
              * platform/chromium-gpu-linux/media/controls-styling-expected.png:
              * platform/chromium-gpu-linux/media/controls-without-preload-expected.png:
              * platform/chromium-gpu-linux/media/video-aspect-ratio-expected.png:
              * platform/chromium-gpu-linux/media/video-canvas-alpha-expected.png:
              * platform/chromium-gpu-linux/media/video-display-toggle-expected.png:
              * platform/chromium-gpu-linux/media/video-layer-crash-expected.png:
              * platform/chromium-gpu-linux/media/video-no-audio-expected.png:
              * platform/chromium-gpu-linux/media/video-transformed-expected.png:
              * platform/chromium-gpu-linux/media/video-volume-slider-expected.png:
              * platform/chromium-gpu-linux/media/video-zoom-controls-expected.png:
              * platform/chromium-gpu-mac/media/controls-after-reload-expected.png:
              * platform/chromium-gpu-mac/media/controls-strict-expected.png:
              * platform/chromium-gpu-mac/media/controls-styling-expected.png:
              * platform/chromium-gpu-mac/media/controls-without-preload-expected.png:
              * platform/chromium-gpu-mac/media/video-aspect-ratio-expected.png:
              * platform/chromium-gpu-mac/media/video-display-toggle-expected.png:
              * platform/chromium-gpu-mac/media/video-layer-crash-expected.png:
              * platform/chromium-gpu-mac/media/video-no-audio-expected.png:
              * platform/chromium-gpu-mac/media/video-transformed-expected.png:
              * platform/chromium-gpu-mac/media/video-volume-slider-expected.png:
              * platform/chromium-gpu-mac/media/video-zoom-controls-expected.png:
              * platform/chromium-gpu-win/media/controls-after-reload-expected.png:
              * platform/chromium-gpu-win/media/controls-strict-expected.png:
              * platform/chromium-gpu-win/media/controls-styling-expected.png:
              * platform/chromium-gpu-win/media/controls-without-preload-expected.png:
              * platform/chromium-gpu-win/media/video-aspect-ratio-expected.png:
              * platform/chromium-gpu-win/media/video-canvas-alpha-expected.png:
              * platform/chromium-gpu-win/media/video-display-toggle-expected.png:
              * platform/chromium-gpu-win/media/video-layer-crash-expected.png:
              * platform/chromium-gpu-win/media/video-no-audio-expected.png:
              * platform/chromium-gpu-win/media/video-transformed-expected.png:
              * platform/chromium-gpu-win/media/video-volume-slider-expected.png:
              * platform/chromium-gpu-win/media/video-zoom-controls-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2145b288
    • oliver@apple.com's avatar
      2011-06-03 Oliver Hunt <oliver@apple.com> · c3ce5437
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Improve keyword lookup
              https://bugs.webkit.org/show_bug.cgi?id=61913
      
              Rather than doing multiple hash lookups as we currently
              do when trying to identify keywords we now use an
              automatically generated decision tree (essentially it's
              a hard coded patricia trie).  We still use the regular
              lookup table for the last few characters of an input as
              this allows us to completely skip all bounds checks.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * DerivedSources.pro:
              * GNUmakefile.am:
              * JavaScriptCore.gyp/JavaScriptCore.gyp:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * KeywordLookupGenerator.py: Added.
              * make-generated-sources.sh:
              * parser/Lexer.cpp:
              (JSC::Lexer::internalShift):
              (JSC::Lexer::shift):
              (JSC::Lexer::parseIdentifier):
              * parser/Lexer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3ce5437
    • beidson@apple.com's avatar
      <rdar://problem/9553645> and https://bugs.webkit.org/show_bug.cgi?id=62064 · 109d8d3d
      beidson@apple.com authored
      WebBackForwardListItem::setBackForwardData actually appends data
      
      Reviewed by Steve Falkenburg.
      
      * Shared/WebBackForwardListItem.cpp:
      (WebKit::WebBackForwardListItem::setBackForwardData): Clear the Vector out before appending
        the replacement data.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      109d8d3d
    • crogers@google.com's avatar
      2011-06-03 Chris Rogers <crogers@google.com> · 574bd1f4
      crogers@google.com authored
              Reviewed by Kenneth Russell.
      
              Allow existing AudioParams to use scheduled parameter changes
              https://bugs.webkit.org/show_bug.cgi?id=62046
      
              No new tests since audio API is not yet implemented.
      
              * platform/audio/AudioBus.cpp:
              (WebCore::AudioBus::processWithGainFrom):
              (WebCore::AudioBus::copyWithSampleAccurateGainValuesFrom):
              * platform/audio/AudioBus.h:
              * webaudio/AudioBufferSourceNode.cpp:
              (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
              * webaudio/AudioGainNode.cpp:
              (WebCore::AudioGainNode::AudioGainNode):
              (WebCore::AudioGainNode::process):
              * webaudio/AudioGainNode.h:
              * webaudio/HighPass2FilterNode.cpp:
              (WebCore::HighPass2FilterNode::HighPass2FilterNode):
              * webaudio/LowPass2FilterNode.cpp:
              (WebCore::LowPass2FilterNode::LowPass2FilterNode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      574bd1f4
    • dpranke@chromium.org's avatar
      2011-06-03 Dirk Pranke <dpranke@chromium.org> · 9bef2e74
      dpranke@chromium.org authored
              Unreviewed, merge in downstream lines from Chromium as part of
              landing the fix for bug 61888.
      
              * platform/chromium/test_expectations.txt:
      2011-06-03  Dirk Pranke  <dpranke@chromium.org>
      
              Reviewed by Adam Barth.
      
              nrwt: should skip chromium test expectation overrides on upstream bots
              https://bugs.webkit.org/show_bug.cgi?id=61888
      
              * Scripts/webkitpy/layout_tests/port/chromium.py:
              * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bef2e74
    • crogers@google.com's avatar
      2011-06-03 Chris Rogers <crogers@google.com> · c8880601
      crogers@google.com authored
              Reviewed by Kenneth Russell.
      
              Biquad filter coefficient naming is incorrect
              https://bugs.webkit.org/show_bug.cgi?id=62053
      
              No new tests since audio API is not yet implemented.
      
              * platform/audio/Biquad.cpp:
              (WebCore::Biquad::Biquad):
              (WebCore::Biquad::process):
              (WebCore::Biquad::processFast):
              (WebCore::Biquad::setLowpassParams):
              (WebCore::Biquad::setHighpassParams):
              (WebCore::Biquad::setLowShelfParams):
              (WebCore::Biquad::setZeroPolePairs):
              * platform/audio/Biquad.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8880601
    • abarth@webkit.org's avatar
      2011-06-03 Adam Barth <abarth@webkit.org> · fff43268
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              DOMWindow::setLocation doesn't understand that DOMWindow can be inactive
              https://bugs.webkit.org/show_bug.cgi?id=62057
      
              Test that some esoteric combination of eval, load, and Location don't
              do something goofy.
      
              * http/tests/security/xss-DENIED-contentWindow-eval-expected.txt: Added.
              * http/tests/security/xss-DENIED-contentWindow-eval.html: Added.
      2011-06-03  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              DOMWindow::setLocation doesn't understand that DOMWindow can be inactive
              https://bugs.webkit.org/show_bug.cgi?id=62057
      
              This code gets confused when dealing with inactive DOMWindows.  We
              should just block inactive DOMWindows because there's no compatibility
              reason to support them in this code path.
      
              Test: http/tests/security/xss-DENIED-contentWindow-eval.html
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::isInsecureScriptAccess):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fff43268
    • dpranke@chromium.org's avatar
      2011-06-03 Dirk Pranke <dpranke@chromium.org> · 78275e19
      dpranke@chromium.org authored
              Reviewed by Ojan Vafai.
      
              new-run-webkit-tests: minor logging, code cleanup
              https://bugs.webkit.org/show_bug.cgi?id=62055
      
              * Scripts/webkitpy/layout_tests/layout_package/manager.py:
              * Scripts/webkitpy/layout_tests/layout_package/worker.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78275e19
    • mrobinson@webkit.org's avatar
      2011-06-03 Martin Robinson <mrobinson@igalia.com> · e342d31f
      mrobinson@webkit.org authored
              Try to fix the build failure on the GTK+ 32-bit Release bot.
      
              * GNUmakefile.am: Add JSInternal.{cpp,h} to the BUILT_SOURCES list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e342d31f
    • simonjam@chromium.org's avatar
      2011-06-03 James Simonsen <simonjam@chromium.org> · 03af561c
      simonjam@chromium.org authored
              [Chromium] Unreviewed, baseline for full-screen-placeholder. More flakiness for svg/zoom and navigator.
      
              * platform/chromium-win/fullscreen/full-screen-placeholder-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03af561c
    • mrobinson@webkit.org's avatar
      2011-05-31 Martin Robinson <mrobinson@igalia.com> · 8e67bae7
      mrobinson@webkit.org authored
              Reviewed by Ryosuke Niwa.
      
              [GTK] Support smart replace for the pasteboard
              https://bugs.webkit.org/show_bug.cgi?id=61734
      
              Unskip tests which are now passing and update results for other tests
              which vary depending on smart replace support.
      
              * platform/gtk/Skipped: Unskip tests which are now passing.
              * platform/gtk/editing/deleting/smart-delete-003-expected.txt:
              * platform/gtk/editing/deleting/smart-delete-004-expected.txt:
              * platform/gtk/editing/pasteboard/4944770-2-expected.txt:
              * platform/gtk/editing/pasteboard/drag-drop-modifies-page-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/gtk/editing/pasteboard/smart-paste-008-expected.txt:
              * platform/gtk/editing/pasteboard/subframe-dragndrop-1-expected.txt:
              * platform/gtk/fast/lists/drag-into-marker-expected.txt:
      2011-05-31  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Ryosuke Niwa.
      
              [GTK] Support smart replace for the pasteboard
              https://bugs.webkit.org/show_bug.cgi?id=61734
      
              Add smart replace support to WebCore and add hooks for it in WebKit
              via DumpRenderTreeSupportGtk. When a platform supports smart replace,
              WebCore will remove extra spaces that appear when pasting text. Eventually
              WebKitGTK+ may want to expose this in the public API.
      
              * platform/gtk/PasteboardGtk.cpp:
              (WebCore::Pasteboard::writeSelection): Now pass whether or not to use smart replace
              when calling writeSelection.
              (WebCore::Pasteboard::canSmartReplace): Added an implementation that checks the clipboard
              for whether or not it supports smart paste.
              * platform/gtk/PasteboardHelper.cpp:
              (WebCore::initGdkAtoms): Added initialization for smart replace atom.
              (WebCore::PasteboardHelper::fillSelectionData): Added no-op handler for smart replace atom.
              (WebCore::PasteboardHelper::targetListForDataObject): Properly handle new smart replace parameter.
              (WebCore::PasteboardHelper::writeClipboardContents): Properly handle new smart replace parameter.
              (WebCore::PasteboardHelper::clipboardContentSupportsSmartReplace): Added helper for Pasteboard.
              * platform/gtk/PasteboardHelper.h: Add new method definition.
      2011-05-31  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Ryosuke Niwa.
      
              [GTK] Support smart replace for the pasteboard
              https://bugs.webkit.org/show_bug.cgi?id=61734
      
              Add the EditorClient and DumpRenderTreeSupportGtk hooks for enabling
              smart replace in the tests.
      
              * WebCoreSupport/DragClientGtk.cpp:
              (WebKit::DragClient::startDrag): targeListForDataObject now takes another
              parameter determining whether or not to add smart paste support. Add it here.
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              (DumpRenderTreeSupportGtk::setSmartInsertDeleteEnabled): Added.
              * WebCoreSupport/DumpRenderTreeSupportGtk.h: Add new method definition.
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::toggleSmartInsertDelete): Added implementation.
              (WebKit::EditorClient::smartInsertDeleteEnabled): Added.
              (WebKit::EditorClient::EditorClient):
              * WebCoreSupport/EditorClientGtk.h: Add new method definition.
      2011-05-31  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Ryosuke Niwa.
      
              [GTK] Support smart replace for the pasteboard
              https://bugs.webkit.org/show_bug.cgi?id=61734
      
              Call into the DumpRenderTreeSupportGtk hooks to toggle smart replace.
              This is required to produce consistent test results.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues): Set the smart replace setting to on by default.
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setSmartInsertDeleteEnabled): Added an implementation of this
              methods which calls into DumpRenderTreeSupportGtk.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e67bae7
    • commit-queue@webkit.org's avatar
      2011-06-03 Rafael Brandao <rafael.lobo@openbossa.org> · 27a1e3ee
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt] It made two Qt API tests fail
              https://bugs.webkit.org/show_bug.cgi?id=58847
      
              Modified failing test's base url so it could get a valid origin
              and make use of local storage. Also added another test that checks
              local storage visibility in both scenarios.
      
              * tests/qwebpage/tst_qwebpage.cpp:
              (tst_QWebPage::testOptionalJSObjects):
              (checkLocalStorageVisibility):
              (tst_QWebPage::testLocalStorageVisibility):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27a1e3ee
    • scherkus@chromium.org's avatar
      2011-06-03 Andrew Scherkus <scherkus@chromium.org> · 7a268ec6
      scherkus@chromium.org authored
              Unreviewed, updating media/video-display-aspect-ratio.html expectations for Chromium.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a268ec6
    • leviw@chromium.org's avatar
      2011-06-03 Levi Weintraub <leviw@chromium.org> · 134a733d
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Switch paintCell to use IntPoint
              https://bugs.webkit.org/show_bug.cgi?id=62033
      
              Switching paintCell to take an IntPoint representing the paint offset
              instead of a pair of ints.
      
              No new tests since this is simple refactoring.
      
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paintCell):
              (WebCore::RenderTableSection::paintObject):
              * rendering/RenderTableSection.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      134a733d
    • mrobinson@webkit.org's avatar
      2011-06-03 Martin Robinson <mrobinson@igalia.com> · 1b77d573
      mrobinson@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Teach Gtk build about window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61071
      
              * Source/autotools/symbols.filter: Added some symbols necessary for
              window.internals to function to the global symbol list.
      2011-06-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Dimitri Glazkov.
      
              Teach Gtk build about window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61071
      
              * platform/gtk/Skipped: Unskip the one new window.internals test.
      2011-06-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Dimitri Glazkov.
      
              Teach Gtk build about window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61071
      
              * GNUmakefile.am: Add new internals directories to the VPATH
              (for idl processing) and the include list.
      2011-06-03  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Dimitri Glazkov.
      
              Teach Gtk build about window.internals
              https://bugs.webkit.org/show_bug.cgi?id=61071
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (webViewWindowObjectCleared): Inject the new internals object when the
              window object clears.
              * GNUmakefile.am: Add new source files and includes necessary for window.internals.
              Also do a little bit of cleanup.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b77d573
    • laszlo.1.gombos@nokia.com's avatar
      2011-06-03 Laszlo Gombos <laszlo.1.gombos@nokia.com> · cf36332e
      laszlo.1.gombos@nokia.com authored
              Reviewed by Antonio Gomes.
      
              [Qt] Enable ArrayBuffer passing tests as ArrayBuffer is enabled by default
              https://bugs.webkit.org/show_bug.cgi?id=62025
      
              * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf36332e
    • scherkus@chromium.org's avatar
      2011-06-03 Andrew Scherkus <scherkus@chromium.org> · a8cd5066
      scherkus@chromium.org authored
              Unreviewed, adding Ogg Theora version of media/content/test-par-16-9.mp4.
      
              * media/content/test-par-16-9.ogv: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8cd5066
    • alexis.menard@openbossa.org's avatar
      2011-06-03 Alexis Menard <alexis.menard@openbossa.org> · 1eddb4cb
      alexis.menard@openbossa.org authored
              Reviewed by Andreas Kling.
      
              [Qt] Warning fixes on comparisons between a signed and an unsigned.
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
              (DumpRenderTreeSupportQt::nodesFromRect):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1eddb4cb
    • leviw@chromium.org's avatar
      2011-06-03 Levi Weintraub <leviw@chromium.org> · 719a45b5
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Switch paintBackgroundsBehindCell to use IntPoint
              https://bugs.webkit.org/show_bug.cgi?id=62031
      
              Switching paintBackgroundsBehindCell to take an IntPoint representing
              the paint offset instead of a pair of ints.
      
              No new tests as this is simple refactoring.
      
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::paintBackgroundsBehindCell):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/RenderTableCell.h:
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::paint):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paintCell):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      719a45b5
    • leviw@chromium.org's avatar
      2011-06-03 Levi Weintraub <leviw@chromium.org> · e6870f5e
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Switch paintCaret and paintDragCaret to use IntPoint
              https://bugs.webkit.org/show_bug.cgi?id=62037
      
              Switching paintCaret and paintDragCaret to use an IntPoint representing
              the paint offset instead of a pair of ints.
      
              No new tests since this is simple refactoring.
      
              * editing/FrameSelection.cpp:
              (WebCore::FrameSelection::paintCaret):
              (WebCore::CaretBase::paintCaret):
              (WebCore::DragCaretController::paintDragCaret):
              * editing/FrameSelection.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintCaret):
              (WebCore::RenderBlock::paintObject):
              (WebCore::RenderBlock::positionForPoint):
              (WebCore::RenderBlock::offsetForContents):
              * rendering/RenderBlock.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6870f5e
    • leviw@chromium.org's avatar
      2011-06-03 Levi Weintraub <leviw@chromium.org> · 3285b657
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Switch paintItemForeground and paintItemForeground to use IntPoint
              https://bugs.webkit.org/show_bug.cgi?id=62035
      
              Switching paintItemFore/Background to use IntPoint instead of a pair of ints.
      
              No new tests since this is simple refactoring.
      
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::paintObject):
              (WebCore::RenderListBox::paintItemForeground):
              (WebCore::RenderListBox::paintItemBackground):
              * rendering/RenderListBox.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3285b657
    • andersca@apple.com's avatar
      2011-06-03 Anders Carlsson <andersca@apple.com> · d3447e84
      andersca@apple.com authored
              Reviewed by Brady Eidson.
      
              Disable the sync message timeout for the Microsoft SharePoint plug-in
              https://bugs.webkit.org/show_bug.cgi?id=62043
              <rdar://problem/9536303>
      
              * WebProcess/Plugins/PluginProcessConnection.cpp:
              (WebKit::defaultSyncMessageTimeout):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3447e84
    • dpranke@chromium.org's avatar
      2011-06-03 Dirk Pranke <dpranke@chromium.org> · f1678eed
      dpranke@chromium.org authored
              Unreviewed, expectations change. Fix conflict in expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1678eed
    • andreas.kling@nokia.com's avatar
      2011-06-03 Andreas Kling <kling@webkit.org> · 64fc221d
      andreas.kling@nokia.com authored
              Reviewed by Benjamin Poulain.
      
              [Qt] TiledDrawingArea: Initialize tiles to transparent.
      
              * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
              (WebKit::TiledDrawingAreaTile::incorporateUpdate): When constructing new
              back buffers, fill them with transparent pixels.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64fc221d
    • alexis.menard@openbossa.org's avatar
      2011-06-03 Alexis Menard <alexis.menard@openbossa.org> · df87d6de
      alexis.menard@openbossa.org authored
              Reviewed by Andreas Kling.
      
              To support building namespaced Qt, we require that forward-declarations
              of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
      
              * WebCoreSupport/FrameLoaderClientQt.h:
      2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>
      
              Reviewed by Andreas Kling.
      
              To support building namespaced Qt, we require that forward-declarations
              of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
      
              * platform/network/qt/QtMIMETypeSniffer.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df87d6de