1. 04 May, 2010 4 commits
  2. 03 May, 2010 36 commits
    • zecke@webkit.org's avatar
      [Cairo,WX] Stop leaking a FontPlatformData. · 3c5cdc19
      zecke@webkit.org authored
      Allocate the FontPlatformData on the stack and fix
      a memory leak by doing so.
      
      2010-05-03  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber-stamped by Xan Lopez.
      
              [Cairo,WX] Stop leaking a FontPlatformData.
              https://bugs.webkit.org/show_bug.cgi?id=37500
      
              Stephan Aßmus pointed out that the pango font backend
              is leaking memory and fixed it. The WX font backend
              and the Cairo/Fontconfig backend have the same snippet
              of code and are leaking memory as well. This commit is
              fixing that.
      
              * platform/graphics/cairo/SimpleFontDataCairo.cpp:
              (WebCore::SimpleFontData::smallCapsFontData):
              * platform/graphics/wx/SimpleFontDataWx.cpp:
              (WebCore::SimpleFontData::smallCapsFontData):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c5cdc19
    • cjerdonek@webkit.org's avatar
      Unreviewed. · ac7f8780
      cjerdonek@webkit.org authored
      Adjusted the ChangeLog entry below for r58732 (bug 35804) to reflect
      the fact that the change will not become active until the patch
      for bug 38454 lands.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac7f8780
    • cjerdonek@webkit.org's avatar
      2010-05-03 Chris Jerdonek <cjerdonek@webkit.org> · c4b830cf
      cjerdonek@webkit.org authored
              Reviewed by Eric Seidel.
      
              The svn-apply and svn-unapply scripts now display an instructive
              error message if the --binary flag is left off the "git diff" command
              for diffs containing binary file differences.
      
              https://bugs.webkit.org/show_bug.cgi?id=35804
      
              * Scripts/VCSUtils.pm:
                - Adjusted parseDiffHeader() to exit with an appropriate error message
                  if it encounters a line of the form "Binary files <path1> and
                  <path2> differ".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4b830cf
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 00fdb36a
      dpranke@chromium.org authored
              Unreviewed, build fix.
      
              new-run-webkit-tests: r58728 broke the buildbot logic for parsing the
              output of the log; specifying --verbose should basically be equivalent
              to --print everything, but instead it was equivalent to not specifying
              --print and getting the default set. Now, --verbose acts as if
              --print everything was implicitly specified as the default (you can
              still override it if you specify both; this is a somewhat debatable
              call).
      
              https://bugs.webkit.org/show_bug.cgi?id=38504
      
              * Scripts/webkitpy/layout_tests/layout_package/printing.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00fdb36a
    • slewis@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=38368 · c7636393
      slewis@apple.com authored
      <rdar://problem/7834433> REGRESSSION: 1.5% PLT regression due to 56028 
      (return memory quicker).
      Instead of returning everything but the smallest spans spread out 
      the spans kept over several size lists.
      
      Reviewed by Geoff Garen.
      
      * wtf/FastMalloc.cpp:
      (WTF::TCMalloc_PageHeap::scavenge):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7636393
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · d14579c4
      dpranke@chromium.org authored
              Unreviewed, build fix.
      
              new-run-webkit-tests: Fix minor precedence bug introduced in r58728 where we printed
              "-\n" 78 times instead of "-" 78 times followed by a single "\n".
      
              * Scripts/webkitpy/layout_tests/layout_package/printing.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d14579c4
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · f386a275
      dpranke@chromium.org authored
              Reviewed by Eric Seidel.
      
              new-run-webkit-tests: refactor a large chunk of the printing/logging
              code out of run-webkit-tests py (almost 300 lines out of 1900).
      
              This change also renames --log to --print (to be slightly more
              descriptive). I've also added better help messages for printing.
      
              The new code has unit tests!
      
              There is still more code to be moved, but this patch is big enough as
              it is. Namely, still to move are the printing of the actual results
              and the timing statistics, which should move another 300-400 lines
              out of the file.
      
              Notable changes to run_webkit_tests.py beyond code simply moving:
              * MeteredStream is now hidden under the new printing.Printer class.
                All the references to self._meter now point to self._printer.
              * All logging configuration is done in printing.configure_logging()
              * Instead of using write() lambdas to control what is and isn't
                printed, we use separate methods on the printer object. This will
                make it easier to grep which print statements are printed
                under protection of each flag.
              * The print_results flag I added a few revs back to suppress printing
                in the unit tests has been replaced with --print nothing.
              * The ResultSummary class now stores the entire TestResult for each
                test, not just the actual result type.
              * summarize_unexpected_results() got moved from a method on TestRunner
                to a standalone function. This should move into a separate file
                along with the ResultSummary class and the TestResult class
              * The --trace option added recently has been replaced by
                '--print trace-everything' and '--print trace-unexpected'
      
              https://bugs.webkit.org/show_bug.cgi?id=38018
      
              * Scripts/new-run-webkit-tests:
                - update to new entry points in run_webkit_tests.py
              * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
                - fix a minor nit where we were printing an empty string where
                  we didn't need to
              * Scripts/webkitpy/layout_tests/layout_package/printing.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: Added
              * Scripts/webkitpy/layout_tests/port/test.py:
                - implement relative_test_filename() and expected_filename() so
                  we can test printing unexpected results in a platform-neutral
                  way
              * Scripts/webkitpy/run_webkit_test.py:
                - move a lot of the printing code into printing.py
                - change the signatures of the exported entry points for easier
                  unit testing
              * Scripts/webkitpy/run_webkit_tests_unittest.py:
                - update w/ changes to run_webkit_tests entry points.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f386a275
    • laszlo.1.gombos@nokia.com's avatar
      2010-05-03 Laszlo Gombos <laszlo.1.gombos@nokia.com> · a63512fd
      laszlo.1.gombos@nokia.com authored
              Reviewed by Simon Hausmann.
      
              [Qt] Expose HTMLTokenizer yielding parameters
              https://bugs.webkit.org/show_bug.cgi?id=37023
      
              Enables to set TimeDelay and ChunkSize for
              HTMLTokenizer.
      
              * Api/qwebpage.cpp:
              (QWebPagePrivate::dynamicPropertyChangeEvent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a63512fd
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · f668cd01
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Fix expectation for fast/forms/searchfield-heights.html - IMAGE+TEXT
              on Linux, IMAGE on win and mac.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f668cd01
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · e025b1e0
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Restore editing/pasteboard/paste-xml.xhtml as failing w/ a TEXT
              failure (was failing prior to landing fix for 27751).
      
              Mark editiing/selection/caret-rtl-2.html as failing w/ IMAGE; need
              to investigate further.
      
              Mark svg/text/kerning.svg as failing on mac w/ IMAGE as well as Linux.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e025b1e0
    • dpranke@chromium.org's avatar
      2010-05-03 Abhishek Arya <inferno@chromium.org> · faefc0fc
      dpranke@chromium.org authored
              Reviewed by Dirk Pranke.
      
              Roll back test expectations change, initially needed to land bug 27751.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faefc0fc
    • bweinstein@apple.com's avatar
      Touch WebKit.idl to force a rebuild · c5d798a4
      bweinstein@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5d798a4
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 1c2a2bcf
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Roll in Chromium expectations from overrides file.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c2a2bcf
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 3f0b2cad
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark the SVG test failures as linux-only.
              Mark fast/forms/searchfield-heights.html as IMAGE+TEXT, not IMAGE.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f0b2cad
    • andersca@apple.com's avatar
      2010-05-03 Anders Carlsson <andersca@apple.com> · 30e6256c
      andersca@apple.com authored
              Reviewed by Jon Honeycutt.
      
              [WebKit2] WKView should respond to WM_SHOWWINDOW messages
              https://bugs.webkit.org/show_bug.cgi?id=38496
      
              * UIProcess/win/WebView.cpp:
              (WebKit::WebView::wndProc):
              Add case for WM_SHOWWINDOW.
      
              (WebKit::WebView::onShowWindowEvent):
              Update the page visibility accordingly.
      
              * UIProcess/win/WebView.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30e6256c
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 314d850d
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              And add one more Linux test (fast/forms/search-placeholder-value-changed.html)
              from r58700. Plus, fix sorting of tests from that rev.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      314d850d
    • jamesr@google.com's avatar
      2010-05-03 James Robinson <jamesr@chromium.org> · 74693bff
      jamesr@google.com authored
              Reviewed by Eric Seidel.
      
              Clean up a few compiler warnings
              https://bugs.webkit.org/show_bug.cgi?id=38073
      
              * wtf/text/StringImpl.cpp:
              (WebCore::StringImpl::ascii):
      2010-05-03  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Clean up a few compiler warnings
              https://bugs.webkit.org/show_bug.cgi?id=38073
      
              * html/TextMetrics.h:
              (WebCore::TextMetrics::width):
              * rendering/style/StyleRareInheritedData.h:
              * rendering/style/StyleRareNonInheritedData.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74693bff
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 560d52b5
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark yet more mac-specific tests as failling from r58700.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      560d52b5
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · effc3358
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark more tests as failing from r58700 and change the sandbox test from SLOW to a
              flaky PASS TIMEOUT.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      effc3358
    • darin@apple.com's avatar
      * English.lproj/Localizable.strings: Regenerated. · f7c51158
      darin@apple.com authored
      * StringsNotToBeLocalized.txt: Updated for recent changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7c51158
    • andersca@apple.com's avatar
      2010-05-03 Anders Carlsson <andersca@apple.com> · 833664d7
      andersca@apple.com authored
              Reviewed by Dan Bernstein.
      
              Get rid of PageClient::isPageVisible and pass visibility directly in setPageIsVisible
              https://bugs.webkit.org/show_bug.cgi?id=38493
      
              * UIProcess/API/mac/PageClientImpl.h:
              * UIProcess/API/mac/PageClientImpl.mm:
              Remove isPageVisible.
              
              * UIProcess/API/mac/WKView.mm:
              (isViewVisible):
              New function (moved here from PageClientImpl).
              
              (-[WKView _updateVisibility]):
              Call didChangeVisibility.
              
              (-[WKView viewDidMoveToWindow]):
              (-[WKView viewDidHide]):
              (-[WKView viewDidUnhide]):
              Call _updateVisibility.
              
              * UIProcess/DrawingAreaProxy.h:
              Rename didChangeVisibility to setPageIsVisible and add an isVisible parameter.
              
              * UIProcess/DrawingAreaProxyUpdateChunk.cpp:
              (WebKit::DrawingAreaProxyUpdateChunk::setPageIsVisible):
              Don't call WebPageProxy::isVisi...
      833664d7
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 7ace0c39
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark more editing/* tests from r58703 as failing. Also, (re-?) add the SVG tests again
              as they do fail on some platforms.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ace0c39
    • barraclough@apple.com's avatar
      Rolling out r58114 - this introduced memory leaks of · 560d3d51
      barraclough@apple.com authored
      AtomicStrings then workers terminated.
      
      Reviewed by NOBODY (reverting previous commit).
      
      * GNUmakefile.am:
      * JavaScriptCore.gypi:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * jit/ThunkGenerators.cpp:
      (JSC::ThunkHelpers::stringImplDataOffset):
      * runtime/Identifier.cpp:
      (JSC::IdentifierTable::~IdentifierTable):
      (JSC::IdentifierTable::add):
      (JSC::IdentifierCStringTranslator::hash):
      (JSC::IdentifierCStringTranslator::equal):
      (JSC::IdentifierCStringTranslator::translate):
      (JSC::Identifier::add):
      (JSC::IdentifierUCharBufferTranslator::hash):
      (JSC::IdentifierUCharBufferTranslator::equal):
      (JSC::IdentifierUCharBufferTranslator::translate):
      (JSC::Identifier::addSlowCase):
      * runtime/Identifier.h:
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      (JSC::JSGlobalData::~JSGlobalData):
      * runtime/JSGlobalData.h:
      * wtf/WTFThreadData.cpp:
      (WTF::WTFThreadData::WTFThreadData):
      (WTF::WTFThreadData::~WTFThreadData):
      * wtf/WTFThreadData.h:
      (JSC::IdentifierTable::remove):
      (JSC::IdentifierTable::literalTable):
      (WTF::WTFThreadData::atomicStringTable):
      * wtf/text/AtomicString.cpp:
      (WebCore::AtomicStringTable::create):
      (WebCore::AtomicStringTable::table):
      (WebCore::AtomicStringTable::destroy):
      (WebCore::stringTable):
      (WebCore::CStringTranslator::hash):
      (WebCore::CStringTranslator::equal):
      (WebCore::CStringTranslator::translate):
      (WebCore::operator==):
      (WebCore::AtomicString::add):
      (WebCore::equal):
      (WebCore::UCharBufferTranslator::hash):
      (WebCore::UCharBufferTranslator::equal):
      (WebCore::UCharBufferTranslator::translate):
      (WebCore::HashAndCharactersTranslator::hash):
      (WebCore::HashAndCharactersTranslator::equal):
      (WebCore::HashAndCharactersTranslator::translate):
      (WebCore::AtomicString::find):
      (WebCore::AtomicString::remove):
      * wtf/text/AtomicStringTable.h: Removed.
      * wtf/text/StringImpl.cpp:
      (WebCore::StringImpl::~StringImpl):
      * wtf/text/StringImpl.h:
      (WebCore::StringImpl::inTable):
      (WebCore::StringImpl::setInTable):
      (WebCore::equal):
      * wtf/text/StringImplBase.h:
      (WTF::StringImplBase::StringImplBase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      560d3d51
    • ossy@webkit.org's avatar
      [Qt] fast/frames/flattening/frameset-flattening-subframesets.html fails intermittently on Qt bot · d3a245ce
      ossy@webkit.org authored
      Fails caused by layoutTestController.display() in fast/frames/flattening/frameset-flattening-subframe-resize.html
      https://bugs.webkit.org/show_bug.cgi?id=37334
      
      * platform/qt/Skipped:
       - fast/frames/flattening/frameset-flattening-subframe-resize.html skipped until fix
       - fast/frames/flattening/frameset-flattening-subframesets.html unskipped, because it works.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3a245ce
    • dumi@chromium.org's avatar
      Add the ability to auto-generate callbacks to all code generators. · df816338
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=38414
      
      Reviewed by Adam Barth.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/CodeGeneratorV8.pm:
      * bindings/scripts/test/JS/JSTestCallback.cpp: Added.
      (WebCore::JSTestCallback::JSTestCallback):
      (WebCore::JSTestCallback::~JSTestCallback):
      (WebCore::JSTestCallback::callbackWithClass1Param):
      (WebCore::JSTestCallback::callbackWithClass2Param):
      * bindings/scripts/test/JS/JSTestCallback.h: Added.
      (WebCore::JSTestCallback::create):
      * bindings/scripts/test/V8/JSTestCallback.cpp: Added.
      (WebCore::V8TestCallback::V8TestCallback):
      (WebCore::V8TestCallback::~V8TestCallback):
      (WebCore::V8TestCallback::callbackWithClass1Param):
      (WebCore::V8TestCallback::callbackWithClass2Param):
      * bindings/scripts/test/V8/V8TestCallback.h: Added.
      (WebCore::V8TestCallback::create):
      * bindings/scripts/test/TestCallback.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df816338
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 136c0da5
      kevino@webkit.org authored
      [wx] Implement scheduleDispatchFunctionsOnMainThread for wx port.
      https://bugs.webkit.org/show_bug.cgi?id=38480
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      136c0da5
    • kevino@webkit.org's avatar
      Fix missing bug URL. · 3b7809f7
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b7809f7
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 9bc3c83b
      kevino@webkit.org authored
      [wx] Build and use Mac's ComplexTextController to support complex text in wx.
      https://bugs.webkit.org/show_bug.cgi?id=38482
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bc3c83b
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 0d848830
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark the editing/* tests from r58703 as temporarily expected to fail
              until the other half of the two-sided patch can land.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d848830
    • oliver@apple.com's avatar
      2010-05-03 Oliver Hunt <oliver@apple.com> · 02e59104
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Interpreter crashes due to incorrect refcounting of cached structures.
              https://bugs.webkit.org/show_bug.cgi?id=38491
              rdar://problem/7926160
      
              Make sure we ref/deref structures used for cached custom property getters
      
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::derefStructures):
              (JSC::CodeBlock::refStructures):
      2010-05-03  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              Interpreter crashes due to incorrect refcounting of cached structures.
              https://bugs.webkit.org/show_bug.cgi?id=38491
      
              Add test for cached structure chains used for custom getters.
      
              * fast/js/pic/cached-named-property-getter.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02e59104
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 01baff22
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Fix duplicate expectation, remove the SVG tests added in r58700.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01baff22
    • abarth@webkit.org's avatar
      2010-05-03 Abhishek Arya <inferno@chromium.org> · 616e41e4
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Tests that javascript cannot access clipboard.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * editing/execCommand/clipboard-access-expected.txt: Added.
              * editing/execCommand/clipboard-access.html: Added.
              * editing/execCommand/script-tests/clipboard-access.js: Added.
              (enabled):
              (whenEnabled):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              Test: editing/execCommand/clipboard-access.html
      
              * WebCore.base.exp:
              * editing/EditorCommand.cpp:
              (WebCore::supportedCopyCut):
              (WebCore::supportedPaste):
              (WebCore::createCommandMap):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setJavaScriptCanAccessClipboard):
              * page/Settings.h:
              (WebCore::Settings::javaScriptCanAccessClipboard):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard):
              * src/WebSettingsImpl.h:
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              (webkit_web_settings_set_property):
              (webkit_web_settings_get_property):
              (webkit_web_settings_copy):
              * webkit/webkitwebview.cpp:
              (webkit_web_view_update_settings):
              (webkit_web_view_settings_notify):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]):
              (-[WebPreferences javaScriptCanAccessClipboard]):
              (-[WebPreferences setJavaScriptCanAccessClipboard:]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              * Api/qwebsettings.h:
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * Interfaces/IWebPreferencesPrivate.idl:
              * WebPreferenceKeysPrivate.h:
              * WebPreferences.cpp:
              (WebPreferences::initializeDefaultSettings):
              (WebPreferences::javaScriptCanAccessClipboard):
              (WebPreferences::setJavaScriptCanAccessClipboard):
              * WebPreferences.h:
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2010-05-03  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for controlling clipboard access from javascript.
              Clipboard access from javascript is enabled in test framework.
              https://bugs.webkit.org/show_bug.cgi?id=27751
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setJavaScriptCanAccessClipboardCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              (LayoutTestController::overridePreference):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetWebSettings):
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::WebPage::WebPage):
              (WebCore::WebPage::resetSettings):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setJavaScriptCanAccessClipboard):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      616e41e4
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 432293ed
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Mark a sandbox test as SLOW and change one of the fast/forms tests I
              just changed from IMAGE+TEXT->IMAGE back to IMAGE.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      432293ed
    • andersca@apple.com's avatar
      2010-05-03 Anders Carlsson <andersca@apple.com> · 7f2b3263
      andersca@apple.com authored
              Reviewed by Adam Roben.
      
              Maui MiniBrowser: Add an option to show/hide the web view
              https://bugs.webkit.org/show_bug.cgi?id=38486
      
              * MiniBrowser/win/BrowserWindow.cpp:
              (BrowserWindow::createWindow):
              Set the background brush to something other than null.
      
              (BrowserWindow::onCommand):
              Show and hide the web view accordingly.
              
              * MiniBrowser/win/MiniBrowser.rc:
              * MiniBrowser/win/resource.h:
              Add new menu item.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f2b3263
    • dpranke@chromium.org's avatar
      2010-05-03 Dirk Pranke <dpranke@chromium.org> · 94858108
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              Change expectations for some of the fast/forms tests that just started
              failing from IMAGE+TEXT to just IMAGE, and add some failing SVG tests
              so that we can get the bots to green up.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94858108
    • eric@webkit.org's avatar
      2010-05-03 Kevin Watters <kevinwatters@gmail.com> · 80fbca46
      eric@webkit.org authored
              Reviewed by Kevin Ollivier.
      
              Provide access to GrantUniversalAccess to allow enabling of XSS support.
      
              * WebFrame.cpp:
              (wxWebFrame::GrantUniversalAccess):
              * WebFrame.h:
              * WebView.cpp:
              (wxWebView::GetParseMode):
              (wxWebView::GrantUniversalAccess):
              * WebView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80fbca46