1. 02 Mar, 2011 4 commits
  2. 01 Mar, 2011 36 commits
    • tkent@chromium.org's avatar
      Support localized numbers in <input type=number> · c945b6c5
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=42484
      
      Reviewed by Dimitri Glazkov.
      
      Source/WebCore:
      
      This change adds support of localized numbers in <input type=number>.
      This affects only the UI, and not HTMLInputElement::value.
      
      - Remove the keyboard input restriction feature because it is hard to
        retrieve characters usable for localized numbers in ICU.
      
      - Separate convertFromVisibleValue() from sanitizeValue().
        sanitizeValue() is used for not only converting a renderer value to a
        DOM value.
      
      - Implement LocalizedNumber functions for ICU and NSNumberFormatter.
        It is used only in Chromium for now.
      
      Test: manual-tests/input-number-localization.html
      
      * WebCore.gypi: Use LocalizedNumberICU.cpp.
      * WebCore.xcodeproj/project.pbxproj:
        Add LocalizedNumberMac.mm and remove LocalizedNumberNone.cpp.
      * dom/InputElement.h: Introduce convertFromVisibleValue().
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::convertFromVisibleValue):
      * html/HTMLInputElement.h:
      * html/InputType.cpp:
      (WebCore::InputType::convertFromVisibleValue):
      * html/InputType.h:
      * html/NumberInputType.cpp: Remove isHTMLNumberCharacter(),
        isNumberCharacter(), and handleBeforeTextInsertedEvent() because we
        remove the keyboard input restriction feature for type=number.
      (WebCore::NumberInputType::convertFromVisibleValue):
      (WebCore::NumberInputType::sanitizeValue):
      * html/NumberInputType.h:
      * manual-tests/input-number-localization.html: Add a manual test because
        the behavior depends on the current locale.
      * platform/text/LocalizedNumber.h: Remove isLocalizedNumberCharacter().
      * platform/text/LocalizedNumberICU.cpp:
        Implement LocalizedNumber functions with ICU NumberFormat.
      (WebCore::createFormatterForCurrentLocale):
      (WebCore::parseLocalizedNumber):
      (WebCore::formatLocalizedNumber):
      * platform/text/LocalizedNumberNone.cpp: Remove isLocalizedNumberCharacter().
      * platform/text/mac/LocalizedNumberMac.mm:
        Implement LocalizedNumber functions with NSNumberFormatter.
      (WebCore::parseLocalizedNumber):
      (WebCore::formatLocalizedNumber):
      * rendering/RenderTextControlSingleLine.cpp:
      (WebCore::RenderTextControlSingleLine::subtreeHasChanged):
      * wml/WMLInputElement.h:
      (WebCore::WMLInputElement::convertFromVisibleValue):
        Implemented as a function doing nothing.
      
      LayoutTests:
      
      Update an existing test because of removing the keyboard input
      restriction feature.
      
      * fast/forms/input-number-keyoperation-expected.txt:
      * fast/forms/script-tests/input-number-keyoperation.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c945b6c5
    • gyuyoung.kim@samsung.com's avatar
      2011-03-01 Gyuyoung Kim <gyuyoung.kim@samsung.com> · d959e445
      gyuyoung.kim@samsung.com authored
              Reviewed by Kent Tamura.
      
              Remove efl port style exception of Webcore/JavaScriptCore
              https://bugs.webkit.org/show_bug.cgi?id=55549
      
              WebCore and JavaScriptCore need to adhere WebKit coding style.
      
              * Scripts/webkitpy/style/checker.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d959e445
    • abarth@webkit.org's avatar
      2011-03-01 Adam Barth <abarth@webkit.org> · 4fa18d43
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              JavaScriptCore GYP build should copy some headers into the target framework
              https://bugs.webkit.org/show_bug.cgi?id=55524
      
              After this patch, all the framework headers are exported as public
              headers.  We need to teach GYP how to handle private headers.
      
              I struggled to determine how to store the information about whether a
              header was public, private, or project (i.e., not exported).
              Generally, the GYPI should just list the files, but it seemed siliy to
              have an almost duplicated list of files in the GYP file itself.  If
              this design doesn't scale, we might have to revisit it in the future.
      
              * JavaScriptCore.gyp/JavaScriptCore.gyp:
              * JavaScriptCore.gypi:
              * gyp/JavaScriptCore.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fa18d43
    • tony@chromium.org's avatar
      2011-03-01 Tony Chang <tony@chromium.org> · b4c4e6f2
      tony@chromium.org authored
              Reviewed by Ojan Vafai.
      
              [chromium] clean up temp files on chromium-mac builder too
              https://bugs.webkit.org/show_bug.cgi?id=55525
      
              * BuildSlaveSupport/chromium/remove-crash-logs:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4c4e6f2
    • yutak@chromium.org's avatar
      2011-03-01 Yuta Kitamura <yutak@chromium.org> · 396aa426
      yutak@chromium.org authored
              Reviewed by Darin Adler.
      
              REGRESSION(r78383): Failure to connect on websocketstest.com
              https://bugs.webkit.org/show_bug.cgi?id=54811
      
              After r78383, KURL::setPort() no longer appends ":port" part
              if that port is the default port for URL scheme. This broke
              SocketStreamHandleCFNet, whose code was based on an assumption
              that KURL::setPort() always inserts ":port" part.
      
              To fix this, KURL::port() call is removed from SocketStreamHandle
              and the port number is calculated on-the-fly.
      
              Unfortunately it is impossible to write a test; this bug only
              affects WebSockets connecting to the default port (port 80
              for ws, port 443 for wss), while we use different ports to test
              WebSockets in LayoutTests.
      
              * platform/network/cf/SocketStreamHandle.h:
              * platform/network/cf/SocketStreamHandleCFNet.cpp:
              (WebCore::SocketStreamHandle::SocketStreamHandle):
              (WebCore::SocketStreamHandle::createStreams):
              (WebCore::SocketStreamHandle::port):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      396aa426
    • commit-queue@webkit.org's avatar
      2011-03-01 Victoria Kirst <vrk@chromium.org> · b7f9f17a
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [Chromium] videos are not painted for compositing/ tests
              https://bugs.webkit.org/show_bug.cgi?id=54694
      
              Videos are now painted for compositing tests. This patch uploads the
              expected layout results and enables the tests again.
      
              * platform/chromium-gpu-linux/compositing/geometry/clipped-video-controller-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/geometry/clipped-video-controller-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/geometry/video-fixed-scrolling-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/geometry/video-opacity-overlay-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/layers-inside-overflow-scroll-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/overflow/scroll-ancestor-update-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/reflections/load-video-in-reflection-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/self-painting-layers-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/self-painting-layers-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.png: Added.
              * platform/chromium-gpu-mac/compositing/self-painting-layers-expected.checksum: Added.
              * platform/chromium-gpu-mac/compositing/self-painting-layers-expected.png: Added.
              * platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.png: Added.
              * platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.png: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.png: Added.
              * platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.png: Added.
              * platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
              * platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.png: Added.
              * platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.png: Added.
              * platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.txt: Added.
              * platform/chromium-gpu-win/compositing/self-painting-layers-expected.checksum: Added.
              * platform/chromium-gpu-win/compositing/self-painting-layers-expected.png: Added.
              * platform/chromium-gpu-win/compositing/self-painting-layers-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7f9f17a
    • ojan@chromium.org's avatar
      2011-02-28 Ojan Vafai <ojan@chromium.org> · 234ffd0a
      ojan@chromium.org authored
              Reviewed by Tony Chang.
      
              wrap json in a function call to afford cross-domain loading
              https://bugs.webkit.org/show_bug.cgi?id=55353
      
              Also delete the code that compacts the JSON. It turns out this
              breaks the rebaseline tool and is probably a premature optimization anyways.
      
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/tool/commands/rebaselineserver.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      234ffd0a
    • mrowe@apple.com's avatar
      Hide the typeinfo name symbols for std::exception and std::bad_alloc too. · 9a0de81a
      mrowe@apple.com authored
      * Configurations/Base.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a0de81a
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · 4a1818b3
      joepeck@webkit.org authored
              Unreviewed expectations update. This is a follow-up to r80061.
      
              Leopard has a slightly different error message, so
              platform/mac-leopard needs its own expected results for the
              websocket test. Added platform specific expected results for
              the other tests which are consistently failing with an extra
              console message on the bots.
      
              * platform/mac-leopard/http/tests/inspector/console-websocket-error-expected.txt:
              * platform/mac-leopard/http/tests/security/xss-DENIED-xml-external-entity-expected.txt: Added.
              * platform/mac-leopard/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a1818b3
    • jorlow@chromium.org's avatar
      2011-03-01 David Grogan <dgrogan@chromium.org> · 34ef8445
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
              https://bugs.webkit.org/show_bug.cgi?id=55548
      
              * WebKit.gyp:
              * public/WebIDBDatabase.h:
              (WebKit::WebIDBDatabase::createObjectStore):
              (WebKit::WebIDBDatabase::open):
              * public/WebIDBDatabaseCallbacks.h: Added.
              (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
              (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34ef8445
    • rniwa@webkit.org's avatar
      2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com> · ea1f4747
      rniwa@webkit.org authored
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * win/tools/vsprops/FeatureDefines.vsprops:
              * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * Source/cmake/OptionsEfl.cmake:
              * Source/cmake/OptionsWinCE.cmake:
              * Source/cmakeconfig.h.cmake:
      2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * wtf/Platform.h:
      2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * features.gypi:
      2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * Configurations/FeatureDefines.xcconfig:
              * GNUmakefile.am:
              * features.pri:
      2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r80079.
              http://trac.webkit.org/changeset/80079
              https://bugs.webkit.org/show_bug.cgi?id=55547
      
              "Broke the Win debug build?" (Requested by dcheng on #webkit).
      
              * Scripts/build-webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea1f4747
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · d9aa0af2
      joepeck@webkit.org authored
              Unreviewed expectations update. This is expected
              behavior after r80061, which enabled printing
              of more console messages.
      
              * http/tests/xmlviewer/dumpAsText/wml-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9aa0af2
    • kevino@webkit.org's avatar
      [wx] Build fix after removal of Frame::isContentEditable. · bb9a0114
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb9a0114
    • tonyg@chromium.org's avatar
      2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com> · 3a7869c6
      tonyg@chromium.org authored
              Unreviewed, rolling out r80078.
              http://trac.webkit.org/changeset/80078
              https://bugs.webkit.org/show_bug.cgi?id=55545
      
              underlying change was rolled out (Requested by tonyg-cr on
              #webkit).
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a7869c6
    • tonyg@chromium.org's avatar
      2011-03-01 Tony Gentilcore <tonyg@chromium.org> · 15fd9eae
      tonyg@chromium.org authored
              Unreviewed new baselines
      
              [chromium] Add expectations for new tests in r80049
              https://bugs.webkit.org/show_bug.cgi?id=55543
      
              * platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
              * platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.png: Added.
              * platform/chromium-win/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
              * platform/chromium-win/svg/css/path-gradient-stroke-shadow-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15fd9eae
    • enne@google.com's avatar
      2011-02-25 Adrienne Walker <enne@google.com> · 86157e47
      enne@google.com authored
              Reviewed by James Robinson.
      
              [chromium] Abstract "pixels with a graphics context" into its own class
              https://bugs.webkit.org/show_bug.cgi?id=55259
      
              This creates new PlatformCanvas/PlatformImage classes which wrap
              all of the #ifdef Skia/Cg warts from the compositor.  All classes
              (LayerTilerChromium, ContentLayerChromium, and ImageLayerChromium) are
              modified to use these abstractions.
      
              Tests: LayoutTests/compositing
      
              * WebCore.gypi:
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              (WebCore::ContentLayerChromium::updateContentsIfDirty):
              (WebCore::ContentLayerChromium::resizeUploadBuffer):
              (WebCore::ContentLayerChromium::updateTextureIfNeeded):
              (WebCore::ContentLayerChromium::updateTexture):
              (WebCore::ContentLayerChromium::draw):
              * platform/graphics/chromium/ContentLayerChromium.h:
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerChromium::updateContentsIfDirty):
              (WebCore::ImageLayerChromium::updateTextureIfNeeded):
              * platform/graphics/chromium/ImageLayerChromium.h:
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              (WebCore::LayerTilerChromium::contentRectToTileIndices):
              (WebCore::LayerTilerChromium::update):
              (WebCore::LayerTilerChromium::updateFromPixels):
              * platform/graphics/chromium/LayerTilerChromium.h:
              * platform/graphics/chromium/PlatformCanvas.cpp: Added.
              (WebCore::PlatformCanvas::PlatformCanvas):
              (WebCore::PlatformCanvas::~PlatformCanvas):
              (WebCore::PlatformCanvas::resize):
              (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
              (WebCore::PlatformCanvas::AutoLocker::~AutoLocker):
              (WebCore::PlatformCanvas::Painter::Painter):
              (WebCore::PlatformCanvas::Painter::~Painter):
              * platform/graphics/chromium/PlatformCanvas.h: Added.
              (WebCore::PlatformCanvas::AutoLocker::pixels):
              (WebCore::PlatformCanvas::Painter::context):
              (WebCore::PlatformCanvas::size):
              * platform/graphics/chromium/PlatformImage.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp.
              (WebCore::PlatformImage::PlatformImage):
              (WebCore::PlatformImage::updateFromImage):
              * platform/graphics/chromium/PlatformImage.h: Added.
              (WebCore::PlatformImage::pixels):
              (WebCore::PlatformImage::size):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86157e47
    • mrowe@apple.com's avatar
      Source/WebKit2: Add verification scripts to WebKit2 project and fix the issues they reveal. · 78ae9041
      mrowe@apple.com authored
      Reviewed by Sam Weinig.
      
      * Configurations/Base.xcconfig: Add linker flags to prevent C++ standard
      library functions from being exported as weak externals.
      * Configurations/WebKit2.xcconfig: Inherit linker flags from the project level.
      * Shared/WebContextMenuItem.cpp:
      (WebKit::WebContextMenuItem::separatorItem): Use DEFINE_STATIC_LOCAL.
      * UIProcess/WebPageGroup.cpp:
      (WebKit::webPageGroupMap): Ditto.
      * WebKit2.xcodeproj/project.pbxproj: Don't copy .in files in to the framework.
      Run verification scripts at the appropriate times.
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::didBeginEditing): Use DEFINE_STATIC_LOCAL.
      (WebKit::WebEditorClient::respondToChangedContents): Ditto.
      (WebKit::WebEditorClient::respondToChangedSelection): Ditto.
      (WebKit::WebEditorClient::didEndEditing): Ditto.
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::idToHistoryItemMap): Ditto.
      (WebKit::historyItemToIDMap): Ditto.
      
      Tools: Update verification scripts to handle WebKit2.
      
      Reviewed by Sam Weinig.
      
      * Scripts/check-for-global-initializers: Skip object files that use RefCountedLeakChecker.
      * Scripts/check-for-inappropriate-files-in-framework: Add some inappropriate file types for
      WebKit2.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ae9041
    • dcheng@chromium.org's avatar
      2011-03-01 Daniel Cheng <dcheng@chromium.org> · 6a5f4bf9
      dcheng@chromium.org authored
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * Source/cmake/OptionsEfl.cmake:
              * Source/cmake/OptionsWinCE.cmake:
              * Source/cmakeconfig.h.cmake:
      2011-03-01  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * wtf/Platform.h:
      2011-03-01  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * Configurations/FeatureDefines.xcconfig:
              * GNUmakefile.am:
              * features.pri:
      2011-03-01  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * features.gypi:
      2011-03-01  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * Scripts/build-webkit:
      2011-03-01  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by David Levin.
      
              Add feature define for data transfer items
              https://bugs.webkit.org/show_bug.cgi?id=55510
      
              * win/tools/vsprops/FeatureDefines.vsprops:
              * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a5f4bf9
    • tonyg@chromium.org's avatar
      2011-03-01 Tony Gentilcore <tonyg@chromium.org> · 60a7c7db
      tonyg@chromium.org authored
              Unreviewed expectations
      
              [chromium] Skip new viewport tests added by r80068
              https://bugs.webkit.org/show_bug.cgi?id=55539
      
              LayoutTestController doesn't implement dumpConfigurationForViewport() which is needed for this test.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60a7c7db
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · f73284d8
      joepeck@webkit.org authored
              Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f73284d8
    • jorlow@chromium.org's avatar
      2011-03-01 Jeremy Orlow <jorlow@chromium.org> · 61a0f402
      jorlow@chromium.org authored
              Reviewed by James Robinson.
      
              IDBKeyRange.bound() should not use the optional options object
              https://bugs.webkit.org/show_bug.cgi?id=55419
      
              * storage/indexeddb/index-cursor.html:
              * storage/indexeddb/keyrange-expected.txt:
              * storage/indexeddb/keyrange.html:
              * storage/indexeddb/objectstore-cursor.html:
      2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by James Robinson.
      
              IDBKeyRange.bound() should not use the optional options object
              https://bugs.webkit.org/show_bug.cgi?id=55419
      
              http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#range-concept
      
              Added some code to existing tests to cover these cases.
      
              * storage/IDBKeyRange.cpp:
              (WebCore::IDBKeyRange::bound):
              * storage/IDBKeyRange.h:
              * storage/IDBKeyRange.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61a0f402
    • mitz@apple.com's avatar
      Build fix. · 4d236cbf
      mitz@apple.com authored
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d236cbf
    • tkent@chromium.org's avatar
      2011-03-01 Kent Tamura <tkent@chromium.org> · 291cdea1
      tkent@chromium.org authored
              Unreviewed. Apply sort-Xcode-project-file.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      291cdea1
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · b62f127b
      joepeck@webkit.org authored
              Unreviewed, missed updating a call to WebCore::computeViewportAttributes
              who's prototype changed.
      
              Viewport Warning/Error Messages Are Now Inaccurate
              https://bugs.webkit.org/show_bug.cgi?id=53707
      
              * UIProcess/API/qt/qwkpage.cpp:
              (QWKPage::viewportAttributesForSize): pass in a value for the document argument.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b62f127b
    • jorlow@chromium.org's avatar
      2011-03-01 Jeremy Orlow <jorlow@chromium.org> · c3be04cd
      jorlow@chromium.org authored
              Reviewed by James Robinson.
      
              V8 code generator doesn't properly support a single SerializedScriptValue attribute
              https://bugs.webkit.org/show_bug.cgi?id=55530
      
              This is tested by the bindings tests changes.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Added.
              (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterfacePrivate::WebDOMTestSerializedScriptValueInterfacePrivate):
              (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface):
              (WebDOMTestSerializedScriptValueInterface::operator=):
              (WebDOMTestSerializedScriptValueInterface::impl):
              (WebDOMTestSerializedScriptValueInterface::~WebDOMTestSerializedScriptValueInterface):
              (WebDOMTestSerializedScriptValueInterface::value):
              (toWebCore):
              (toWebKit):
              * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Added.
              * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp: Added.
              (WebKit::kit):
              (webkit_dom_test_serialized_script_value_interface_get_value):
              (WebKit::core):
              (webkit_dom_test_serialized_script_value_interface_finalize):
              (webkit_dom_test_serialized_script_value_interface_set_property):
              (webkit_dom_test_serialized_script_value_interface_get_property):
              (webkit_dom_test_serialized_script_value_interface_constructed):
              (webkit_dom_test_serialized_script_value_interface_class_init):
              (webkit_dom_test_serialized_script_value_interface_init):
              (WebKit::wrapTestSerializedScriptValueInterface):
              * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: Added.
              * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h: Added.
              * bindings/scripts/test/JS/JSTestInterface.cpp:
              (WebCore::JSTestInterfaceConstructor::JSTestInterfaceConstructor):
              (WebCore::JSTestInterface::JSTestInterface):
              * bindings/scripts/test/JS/JSTestInterface.h:
              * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
              (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor):
              (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
              (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
              * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
              * bindings/scripts/test/JS/JSTestObj.cpp:
              (WebCore::JSTestObjConstructor::JSTestObjConstructor):
              (WebCore::JSTestObj::JSTestObj):
              (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
              (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
              (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
              (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
              (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
              (WebCore::jsTestObjPrototypeFunctionSerializedValue):
              (WebCore::jsTestObjPrototypeFunctionIdbKey):
              (WebCore::jsTestObjPrototypeFunctionOptionsObject):
              (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
              (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
              (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
              (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
              (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
              (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
              (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
              (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
              (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
              (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
              (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
              (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
              (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
              (WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):
              * bindings/scripts/test/JS/JSTestObj.h:
              * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Added.
              (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):
              (WebCore::JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor):
              (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlot):
              (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertyDescriptor):
              (WebCore::JSTestSerializedScriptValueInterfacePrototype::self):
              (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
              (WebCore::JSTestSerializedScriptValueInterface::createPrototype):
              (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot):
              (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor):
              (WebCore::jsTestSerializedScriptValueInterfaceValue):
              (WebCore::jsTestSerializedScriptValueInterfaceConstructor):
              (WebCore::JSTestSerializedScriptValueInterface::getConstructor):
              (WebCore::toJS):
              (WebCore::toTestSerializedScriptValueInterface):
              * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: Copied from Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h.
              (WebCore::JSTestSerializedScriptValueInterface::createStructure):
              (WebCore::JSTestSerializedScriptValueInterface::impl):
              (WebCore::JSTestSerializedScriptValueInterfacePrototype::createStructure):
              (WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
              * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: Added.
              * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: Added.
              (-[DOMTestSerializedScriptValueInterface dealloc]):
              (-[DOMTestSerializedScriptValueInterface finalize]):
              (-[DOMTestSerializedScriptValueInterface value]):
              (core):
              (kit):
              * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: Added.
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl: Added.
              * bindings/scripts/test/V8/V8TestInterface.cpp:
              (WebCore::ConfigureV8TestInterfaceTemplate):
              * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: Copied from Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp.
              (WebCore::TestSerializedScriptValueInterfaceInternal::V8_USE):
              (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
              (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
              (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
              (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
              (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
              (WebCore::V8TestSerializedScriptValueInterface::derefObject):
              * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h: Added.
              (WebCore::V8TestSerializedScriptValueInterface::toNative):
              (WebCore::V8TestSerializedScriptValueInterface::wrap):
              (WebCore::toV8):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3be04cd
    • tonyg@chromium.org's avatar
      2011-03-01 Tony Gentilcore <tonyg@chromium.org> · 15f3b687
      tonyg@chromium.org authored
              Unreviewed expectations update
      
              [chromium] Expectations updates from r80061
              https://bugs.webkit.org/show_bug.cgi?id=55533
      
              * platform/chromium-linux/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt: Added.
              * platform/chromium-linux/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.
              * platform/chromium-linux/http/tests/xmlviewer/dumpAsText/wml-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15f3b687
    • oliver@apple.com's avatar
      2011-03-01 Oliver Hunt <oliver@apple.com> · f87795d8
      oliver@apple.com authored
              Reviewed by Joseph Pecoraro.
      
              Misaligned memory access in CloneDeserializer on all ARM arch.
              https://bugs.webkit.org/show_bug.cgi?id=48742
      
              Add a CPU class for architectures that need aligned addresses
              for memory access.
      
              * wtf/Platform.h:
      2011-03-01  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Joseph Pecoraro.
      
              Misaligned memory access in CloneDeserializer on all ARM arch.
              https://bugs.webkit.org/show_bug.cgi?id=48742
      
              Push platforms that need aligned memory access down the
              endian independent serialization and deserialization
              paths.
      
              * bindings/js/SerializedScriptValue.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f87795d8
    • helder@sencha.com's avatar
      2011-03-01 Helder Correia <helder@sencha.com> · 5c7ddd1d
      helder@sencha.com authored
              Unreviewed Qt skipped tests update.
      
              The manually committed patch didn't include the update to
              fast/canvas/canvas-strokePath-gradient-shadow.html by mistake:
              No shadow when stroking a path with a gradient
              https://bugs.webkit.org/show_bug.cgi?id=55436
      
              * platform/qt/Skipped: Skip new test since it fails.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c7ddd1d
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · d57f13bf
      joepeck@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Viewport Warning/Error Messages Are Now Inaccurate
              https://bugs.webkit.org/show_bug.cgi?id=53707
      
              Added tests specifically to test Console warnings.
      
              * fast/viewport/viewport-warnings-1.html: Added.
              * fast/viewport/viewport-warnings-2.html: Added.
              * fast/viewport/viewport-warnings-3.html: Added.
              * fast/viewport/viewport-warnings-4.html: Added.
              * fast/viewport/viewport-warnings-5.html: Added.
              * fast/viewport/viewport-warnings-6.html: Added.
              * fast/viewport/viewport-warnings-7.html: Added.
      
      2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Viewport Warning/Error Messages Are Now Inaccurate
              https://bugs.webkit.org/show_bug.cgi?id=53707
      
              Correct and improve the error messages for viewport
              parsing. Clarify the difference between incorrect
              keys, values, and when to use the device-width or
              device-height constants.
      
              * dom/ViewportArguments.cpp:
              (WebCore::computeViewportAttributes): suggest using keywords if fixed input matches device width or height.
              (WebCore::numericPrefix):
              (WebCore::findSizeValue): remove incorrect warnings about fixed numbers because we don't know the device width or height.
              (WebCore::setViewportFeature): report a warning for an unrecognized key.
              (WebCore::viewportErrorMessageTemplate): added template for unrecognized key.
              (WebCore::viewportErrorMessageLevel):
              * dom/ViewportArguments.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d57f13bf
    • andersca@apple.com's avatar
      2011-03-01 Anders Carlsson <andersca@apple.com> · 6fa31a9d
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              WKPluginSiteDataManagerClearAllSiteData is not working
              https://bugs.webkit.org/show_bug.cgi?id=55528
              <rdar://problem/9071823>
      
              * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
              (WebKit::NetscapePluginModule::tryGetSitesWithData):
              Remove version checks, checking that the function pointer is not null is enough.
      
              (WebKit::NetscapePluginModule::tryClearSiteData):
              Remove version checks, checking that the function pointer is not null is enough.
              Also, correctly convert a null String to a null CString.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fa31a9d
    • tonyg@chromium.org's avatar
      2011-03-01 Tony Gentilcore <tonyg@chromium.org> · 99818624
      tonyg@chromium.org authored
              Unreviewed baseline
      
              [chromium] Add baseline for test added by r80040
              https://bugs.webkit.org/show_bug.cgi?id=55529
      
              * platform/chromium-mac/fast/table/table-and-parts-outline-expected.checksum: Added.
              * platform/chromium-mac/fast/table/table-and-parts-outline-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99818624
    • abarth@webkit.org's avatar
      2011-03-01 Adam Barth <abarth@webkit.org> · bda353b8
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Add pre- and post-build actions for JavaScriptCore GYP build
              https://bugs.webkit.org/show_bug.cgi?id=55507
      
              After this patch, we have all the steps for building the main
              JavaScriptCore framework except the "copy headers" step, which I'll do
              next.
      
              * gyp/JavaScriptCore.gyp:
      2011-03-01  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add pre- and post-build actions for JavaScriptCore GYP build
              https://bugs.webkit.org/show_bug.cgi?id=55507
      
              Remove the portion of this file that was split out into common.gypi.
      
              * gyp/JavaScriptGlue.gyp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bda353b8
    • rniwa@webkit.org's avatar
      2011-03-01 Ryosuke Niwa <rniwa@webkit.org> · 7a6ef1f6
      rniwa@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              Fix a bug in platform/mac/editing/input/selection-change-closes-typing.html
              https://bugs.webkit.org/show_bug.cgi?id=55523
      
              The marked text is at offset 0 with length 1, not at offset 1 with length 0.
      
              * platform/mac/editing/input/selection-change-closes-typing.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a6ef1f6
    • tonyg@chromium.org's avatar
      2011-03-01 Tony Gentilcore <tonyg@chromium.org> · 1ad0a32b
      tonyg@chromium.org authored
              Unreviewed expectations
      
              [chromium] Add expectations for new tests in r80049
              https://bugs.webkit.org/show_bug.cgi?id=55526
      
              * platform/chromium-linux/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
              * platform/chromium-linux/svg/css/path-gradient-stroke-shadow-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ad0a32b
    • joepeck@webkit.org's avatar
      2011-03-01 Joseph Pecoraro <joepeck@webkit.org> · b4d52d96
      joepeck@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Viewport parsing no longer accepts "1.0;" value as valid.
              https://bugs.webkit.org/show_bug.cgi?id=53705
      
              Adding expected results generated from the build-bot. They look
              correct, as the viewport "123x135" has the expected width of "123".
      
              * fast/viewport/viewport-129-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4d52d96
    • joepeck@webkit.org's avatar
      2011-02-23 Joseph Pecoraro <joepeck@webkit.org> · 4cfcfd43
      joepeck@webkit.org authored
      Reviewed by Timothy Hatcher.
      
      LayoutTests:
      
          2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
      
                  All Console Messages should be passed to ChromeClients.
                  https://bugs.webkit.org/show_bug.cgi?id=54926
      
                  Passing more message types to the ChromeClient allows
                  some more messages to get output during tests. Specifically
                  HTML, XML, and Other message types.
      
                  * inspector/audits/audits-panel-functional.html: correct a legitimate HTML parse error.
                  * http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
                  * http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
                  * http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt:
                  * http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
                  * http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt:
                  * http/tests/security/mixedContent/insecure-script-in-iframe-expected.txt:
                  * http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt:
                  * http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt:
                  * http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
                  * http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
                  * http/tests/security/xss-DENIED-xsl-document-expected.txt:
                  * http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:
                  * platform/mac/fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt:
                  * platform/mac/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt:
                  * platform/mac/http/tests/inspector/console-websocket-error-expected.txt:
      
      Source/WebCore:
      
          2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
      
                  All Console Messages should be passed to ChromeClients.
                  https://bugs.webkit.org/show_bug.cgi?id=54926
      
                  Do not filter the message type here, allow clients
                  to filter and deal with the different message types.
      
                  * page/Console.cpp:
                  (WebCore::Console::addMessage):
      
      Source/WebKit/mac:
      
          2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
      
                  All Console Messages should be passed to ChromeClients.
                  https://bugs.webkit.org/show_bug.cgi?id=54926
      
                  Add a new private UIDelegate method, -webView:addMessageToConsole:withSource:,
                  which supersedes -webView:addMessageToConsole if it exists. The new delegate
                  does not filter to only JavaScript originated console messages. The old
                  delegate is left around for clients that expect filtered messages, like
                  DashCode and older versions of Safari.
      
                  The dictionary message passed to the delegate now includes more information
                  about the message source, type, and level.
      
                  * WebCoreSupport/WebChromeClient.mm:
                  (stringForMessageSource):
                  (stringForMessageType):
                  (stringForMessageLevel):
                  (WebChromeClient::addMessageToConsole):
                  * WebView/WebUIDelegatePrivate.h:
      
      Tools:
      
          2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
      
                  All Console Messages should be passed to ChromeClients.
                  https://bugs.webkit.org/show_bug.cgi?id=54926
      
                  Update DumpRenderTree's UIDelegate to use the new console message delegate.
      
                  * DumpRenderTree/mac/UIDelegate.mm:
                  (-[UIDelegate webView:addMessageToConsole:withSource:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cfcfd43