1. 08 Apr, 2009 23 commits
    • hyatt@apple.com's avatar
      2009-04-08 David Hyatt <hyatt@apple.com> · 3d454b76
      hyatt@apple.com authored
              Reviewed by Beth Dakin
      
              Fix a porting error in my previous patch.  A != was supposed to be an ==.
      
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::updateScrollbars):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d454b76
    • aroben@apple.com's avatar
      Skip fast/cookies/local-file-can-set-cookies.html on Windows · cc6a45f3
      aroben@apple.com authored
              Reviewed by John Sullivan.
      
              * platform/win/Skipped: Skip local-file-can-set-cookies.html, which is
              failing due to a bug in one of our dependencies.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc6a45f3
    • hyatt@apple.com's avatar
      WebCore: · 82b02812
      hyatt@apple.com authored
      2009-04-08  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben and Darin Adler
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=12440, repaints inconsistent for
              fixed positioned elements.
      
              Rewrite the updateScrollers method to be more correct in its results.
      
              Test: fast/block/positioning/fixed-positioning-scrollbar-bug.html
      
              * dom/Document.cpp:
              (WebCore::Document::recalcStyle):
              (WebCore::Document::implicitClose):
              * page/FrameView.cpp:
              (WebCore::FrameView::createScrollbar):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::adjustPageHeight):
              * page/FrameView.h:
              * page/win/FrameWin.cpp:
              (WebCore::computePageRectsForFrame):
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::updateScrollbars):
              * platform/ScrollView.h:
              * rendering/RenderView.cpp:
              (WebCore::RenderView::layout):
              (WebCore::RenderView::docHeight):
              (WebCore::RenderView::docWidth):
              * rendering/RenderView.h:
      
      WebKit/mac:
      
      2009-04-08  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben and Darin Adler
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=12440, fixed positioned elements end up in
              inconsistent positions.  Rewrite updateScrollers to improve the correctness.
      
              * WebView/WebDynamicScrollBarsView.h:
              * WebView/WebDynamicScrollBarsView.m:
              (-[WebDynamicScrollBarsView updateScrollers]):
      
      LayoutTests:
      
      2009-04-08  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben and Darin Adler
      
              Updated results and new tests for https://bugs.webkit.org/show_bug.cgi?id=12440.
      
              * fast/block/positioning/fixed-positioning-scrollbar-bug.html: Added.
              * platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.checksum: Added.
              * platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png: Added.
              * platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt: Added.
              * platform/mac/fast/flexbox/016-expected.checksum:
              * platform/mac/fast/flexbox/016-expected.png:
              * platform/mac/fast/flexbox/016-expected.txt:
              * platform/mac/fast/flexbox/flex-hang-expected.checksum:
              * platform/mac/fast/flexbox/flex-hang-expected.png:
              * platform/mac/fast/flexbox/flex-hang-expected.txt:
              * platform/mac/fast/lists/001-expected.checksum:
              * platform/mac/fast/lists/001-expected.png:
              * platform/mac/fast/lists/001-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82b02812
    • weinig@apple.com's avatar
      WebCore: · 5af461c2
      weinig@apple.com authored
      2009-04-08  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Anders Carlsson.
      
              Fix for <rdar://problem/6226200> Implement Microsoft's X-FRAME-OPTIONS anti-framing defense
      
              Tests: http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html
                     http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html
                     http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html
                     http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html
                     http/tests/security/XFrameOptions/x-frame-options-deny.html
                     http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html
                     http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html
      
              * dom/Document.cpp:
              (WebCore::Document::processHttpEquiv): Stop the current load and redirect to about:blank
              if an X-FRAME-OPTIONS <meta> tag http-equiq dictates we should.
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions): Add logic to parse
              the X-FRAME-OPTIONS parameter.
              * loader/FrameLoader.h:
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::didReceiveResponse): Stop the current load if framed and
              a X-FRAME-OPTIONS header and its parameter dictate that we should.
      
      LayoutTests:
      
      2009-04-08  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Anders Carlsson.
      
              Tests for <rdar://problem/6226200> Implement Microsoft's X-FRAME-OPTIONS anti-framing defense
      
              * http/tests/security/XFrameOptions: Added.
              * http/tests/security/XFrameOptions/resources: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-deny.cgi: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi: Added.
              * http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-deny.cgi: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-deny.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html: Added.
              * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added.
              * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5af461c2
    • aroben@apple.com's avatar
      Fix security/block-test-no-port.html on Windows · 5edd810c
      aroben@apple.com authored
              Reviewed by Beth Dakin.
      
              * WebMutableURLRequest.cpp:
              (WebMutableURLRequest::mainDocumentURL): Return the ResourceRequest's
              mainDocumentURL, not its URL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5edd810c
    • aroben@apple.com's avatar
      Fix http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect.html on Windows · b7d80765
      aroben@apple.com authored
              Reviewed by Sam Weinig.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously): Mimic the
              ResourceHandleMac code by propagating the CFError's error code for
              kCFErrorDomainCFNetwork errors to the ResourceResponse.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7d80765
    • abarth@webkit.org's avatar
      2009-04-08 Adam Barth <abarth@webkit.org> · 7fbb71ec
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              More tests for our handling of MIME types and style sheets.
      
              * http/tests/mime/resources/style-with-charset.php: Added.
              * http/tests/mime/resources/style-with-empty-content-type.cgi: Renamed from LayoutTests/http/tests/mime/resources/style.cgi.
              * http/tests/mime/resources/style-with-text-plain.php: Added.
              * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-and-css-extension-expected.txt: Added.
              * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-and-css-extension.html: Added.
              * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-expected.txt: Added.
              * http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain.html: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-with-charset-and-css-extension-expected.txt: Copied from LayoutTests/http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header-expected.txt.
              * http/tests/mime/standard-mode-loads-stylesheet-with-charset-and-css-extension.html: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-with-charset-expected.txt: Copied from LayoutTests/http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header-expected.txt.
              * http/tests/mime/standard-mode-loads-stylesheet-with-charset.html: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-with-empty-content-type-expected.txt: Renamed from LayoutTests/http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header-expected.txt.
              * http/tests/mime/standard-mode-loads-stylesheet-with-empty-content-type.html: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fbb71ec
    • andersca@apple.com's avatar
      2009-04-08 Anders Carlsson <andersca@apple.com> · 26967a73
      andersca@apple.com authored
              Try to fix the PPC build.
              
              * plugins/npfunctions.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26967a73
    • darin@apple.com's avatar
      2009-04-08 Darin Adler <darin@apple.com> · 31638103
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              <rdar://problem/5908616> tokenizer resizer should handle edge cases consistently
      
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::enlargeBuffer): Handle edge cases the same way as a failed fastMalloc.
              (WebCore::HTMLTokenizer::enlargeScriptBuffer): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31638103
    • hyatt@apple.com's avatar
      2009-04-08 David Hyatt <hyatt@apple.com> · 9a9f8079
      hyatt@apple.com authored
              Reviewed by Darin Adler
      
              Make sure that cloneNode works with SVG attributes that require synchronization.  This fixes
              issues with <use> element shadow tree cloning where the clones can end up not obtaining the
              correct attribute values.
      
              A subsequent patch of mine will expose this problem and cause it to be covered by existing
              layout tests, so no test is required at this time for this problem.
      
              * dom/Element.cpp:
              (WebCore::Element::cloneElementWithoutChildren):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a9f8079
    • aroben@apple.com's avatar
      Check in Windows-specific results for an SVG test that was failing due to rounding issues · a3ea85f7
      aroben@apple.com authored
              Rubber-stamped by Dave Hyatt.
      
              * platform/win/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3ea85f7
    • dglazkov@chromium.org's avatar
      2009-04-08 Dimitri Glazkov <dglazkov@chromium.org> · 817b5147
      dglazkov@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              https://bugs.webkit.org/show_bug.cgi?id=25093
              REGRESSION: some scripts are showing in the Inspector with only "true"
              as the source.
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::didParseSource): Fixed conversion issue.
              (WebCore::InspectorController::failedToParseSource): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      817b5147
    • darin@chromium.org's avatar
      Reverting r42321 because it broke some layout tests. · d8db8a5b
      darin@chromium.org authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8db8a5b
    • aroben@apple.com's avatar
      Add a failing test to the Windows Skipped file · 910917c6
      aroben@apple.com authored
              * platform/win/Skipped: Added media/video-size-intrinsic-scale.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      910917c6
    • abarth@webkit.org's avatar
      WebCore: · a152ad8f
      abarth@webkit.org authored
      2009-04-08  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=24904
      
              Verify the MIME type of stylesheets (in standards mode) by looking
              at the Content-Type header directly.  This bypasses any content
              sniffing that might be confusing the issue.
      
              Test: http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header.html
      
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::canUseSheet):
      
      LayoutTests:
      
      2009-04-08  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=24904
      
              Test that we apply style sheets in standards mode even if
              those style sheets have an empty Content-Type header.
      
              * http/tests/mime/resources/style.cgi: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header-expected.txt: Added.
              * http/tests/mime/standard-mode-loads-stylesheet-without-content-type-header.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a152ad8f
    • darin@chromium.org's avatar
      2009-04-07 Anantanarayanan Iyengar <ananta@chromium.org> · d796fe79
      darin@chromium.org authored
              Reviewed by Darin Fisher.
      
              Added support for returning plugins which support the wildcard mime type (*).
              This is on the same lines as Firefox, which uses a wildcard plugin (npnul32.dll) for
              plugin installation. The changes to support wildcard mime type matching are in
              PluginDatabase.cpp which is used by Webkit's plugin implementation, and
              PluginData.cpp/.h which is used by Chromium. 
      
              https://bugs.webkit.org/show_bug.cgi?id=24988
      
              Test: plugins/netscape-plugin-wildcard-plugin.html
      
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::createDocument):
              * plugins/PluginData.cpp:
              (WebCore::PluginData::supportsMimeType):
              (WebCore::PluginData::supportsMimeTypeIgnoringWildCards):
              * plugins/PluginData.h:
              * plugins/PluginDatabase.cpp:
              (WebCore::PluginDatabase::pluginForMIMEType):
              * plugins/win/PluginPackageWin.cpp:
              (WebCore::PluginPackage::isPluginBlacklisted):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d796fe79
    • eric.carlson@apple.com's avatar
      2009-04-08 Eric Carlson <eric.carlson@apple.com> · 79d8d033
      eric.carlson@apple.com authored
              Reviewed by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=25041
              <rdar://problem/6697754>
              Bug 25041: HTMLMediaElement: OSX autoplay broken by r41907
              
              OSX media player should set readyState to HAVE_ENOUGH_DATA when the movie's load state
              reaches QTMovieLoadStatePlaythroughOK, not when the entire file has been downloaded,
              so autoplay can begin when it should.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::updateStates): Set readState to 
              HAVE_ENOUGH_DATA when QTMovie load state reaches QTMovieLoadStatePlaythroughOK.
              (WebCore::MediaPlayerPrivate::paint): Add braces missed in r42203.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79d8d033
    • ap@webkit.org's avatar
      Reviewed by David Kilzer. Based on a patch by Grace Kloba. · 5ab430d6
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=24656
              cacheControlContainsNoCache() in ResourceResponseBase.h is wrong
      
              * platform/network/ResourceResponseBase.cpp:
              (WebCore::ResourceResponseBase::parseCacheControlDirectives): Removed misused code for
              parsing directive values, fixing parsing of directives that we care about.
      
              * platform/network/ResourceResponseBase.h:
              (WebCore::ResourceResponseBase::cacheControlContainsNoCache): Fixed a copy/paste mistake,
              m_cacheControlContainsMustRevalidate was returned instead of m_cacheControlContainsNoCache.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ab430d6
    • xan@webkit.org's avatar
      2009-04-08 Alejandro Piñeiro <apinheiro@igalia.com> · 2817e7fe
      xan@webkit.org authored
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=21546
              [GTK] ATK accessibility enhancements
      
              Use getOrCreate instead of just get, as we need to actually create
              the wrapper object the first time this function is called.
      
              * webkit/webkitwebview.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2817e7fe
    • aroben@apple.com's avatar
      Make text fields match the system look on Vista · bd5b573b
      aroben@apple.com authored
              Reviewed by Dave Hyatt.
      
              * rendering/RenderThemeWin.cpp:
              (WebCore::RenderThemeWin::getThemeData): Use the new-to-Vista
              EP_EDITBORDER_NOSCROLL part for text fields.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd5b573b
    • aroben@apple.com's avatar
      Print the number of files being compiled when using pdevenv · 4ab2df67
      aroben@apple.com authored
              * Scripts/parallelcl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ab2df67
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · a9482e39
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=25073
              JavaScriptCore tests don't run if time zone is not PST
      
              * API/tests/testapi.c:
              (timeZoneIsPST): Added a function that checks whether the time zone is PST, using the same
              method as functions in DateMath.cpp do for formatting the result.
              (main): Skip date string format test if the time zone is not PST.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9482e39
    • ap@webkit.org's avatar
      Reviewed by Maciej Stachowiak. · 42b045ca
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=24957
              REGRESSION: Google calendar widget no longer shows upcoming events
      
              Test: http/tests/xmlhttprequest/authorization-header.html
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequestStaticData::XMLHttpRequestStaticData): Removed Authorization from
              the list of forbidden headers.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42b045ca
  2. 07 Apr, 2009 17 commits
    • mrowe@apple.com's avatar
      8f9772db
    • mrowe@apple.com's avatar
      Land the current build.webkit.org configuration for safekeeping. · 5715dbaa
      mrowe@apple.com authored
      * BuildSlaveSupport/build.webkit.org-config/README: Added.
      * BuildSlaveSupport/build.webkit.org-config/Makefile:
      * BuildSlaveSupport/build.webkit.org-config/buildbot.tac:
      * BuildSlaveSupport/build.webkit.org-config/config.json: Added.
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      * BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css.
      * BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added.
      * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed.
      * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5715dbaa
    • mrowe@apple.com's avatar
      Ignore the mysterious exception that Cygwin's Python is throwing when attempting · b7f1e78c
      mrowe@apple.com authored
      to remove the layout-test-results directory.
      
      * BuildSlaveSupport/test-result-archive:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7f1e78c
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · c7cf3c96
      kevino@webkit.org authored
      Remove no longer needed debug warning and Windows-specific codepaths
      (as we now use the Safari/Win port's timer there)
      
      https://bugs.webkit.org/show_bug.cgi?id=25070
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7cf3c96
    • mrowe@apple.com's avatar
      Change the working directory before removing the test result directory · 4c4c03df
      mrowe@apple.com authored
      in the hopes of making the Windows build slaves happier.
      
      * BuildSlaveSupport/test-result-archive:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c4c03df
    • mrowe@apple.com's avatar
      Make the links to tests in the uploaded results.html files on build.webkit.org... · 864d1ab6
      mrowe@apple.com authored
      Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files.
      
      Reviewed by Adam Roben.
      
      * Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy.
      * Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      864d1ab6
    • mitz@apple.com's avatar
      Reviewed by Adam Roben. · d47f6d4d
      mitz@apple.com authored
              - make this test insensitive to platform differences in Thai word
                breaking dictionaries
      
              * editing/selection/thai-word-at-document-end.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d47f6d4d
    • aroben@apple.com's avatar
      Fix many <video> regression tests on Windows · 8a73dd4e
      aroben@apple.com authored
              Reviewed by Dave Hyatt.
      
              * platform/graphics/win/QTMovieWin.cpp:
              (QTMovieWin::getNaturalSize): Call GetMovieNaturalBoundsRect, which
              returns the movie's natural bounds (duh), rather than GetMovieBox,
              which returns the movie's current displayed size/position.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a73dd4e
    • mrowe@apple.com's avatar
      Remove the layout-test-results directory after we have archived it so that · 70f68bb3
      mrowe@apple.com authored
      log files and results are reset between runs of the tests.
      
      * BuildSlaveSupport/test-result-archive:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70f68bb3
    • aroben@apple.com's avatar
      Check in files that were forgotten in r42293 · 37322ee3
      aroben@apple.com authored
              * platform/win/http/tests/xmlhttprequest/web-apps/012-expected.txt:
              * platform/win/http/tests/xmlhttprequest/web-apps/013-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37322ee3
    • beidson@apple.com's avatar
      2009-04-07 Brady Eidson <beidson@apple.com> · 4aa3fe24
      beidson@apple.com authored
              Update layout test results for new exceptions.
      
              * fast/dom/Window/window-properties-expected.txt:
              * platform/mac-leopard/fast/dom/Window/window-properties-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4aa3fe24
    • beidson@apple.com's avatar
      WebCore: · 0199b144
      beidson@apple.com authored
      2009-04-07  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin Adler and Sam Weinig
      
              <rdar://problem/5968249> "Private Browsing" doesn't affect HTML 5 LocalStorage
      
              The expected behavior for persistent storage when private browsing mode is undefined by the spec.
              For now we're going with a "read-only when in private browsing" policy until we can get feedback
              and/or get the behavior specified in the spec.
      
              Note that I purposefully made the change to restrict SessionStorage to read-only, also, with the
              understanding that the spec allows for SessionStorage to persist across relaunches, even though
              our implementation currently doesn't do this.
      
              * dom/DOMCoreException.idl: Add some new ExceptionCodes defined in HTML5, one of which is needed
                for LocalStorage changes (QUOTA_EXCEEDED_ERR)
              * dom/ExceptionCode.cpp: 
              * dom/ExceptionCode.h:
      
              * storage/StorageArea.cpp:
              (WebCore::StorageArea::internalSetItem): If private browsing is enabled, throw the QUOTA_EXCEEDED_ERR
                exception as the spec allows.
              (WebCore::StorageArea::internalRemoveItem): If private browsing is enabled, silently fail to remove
                the item.
              (WebCore::StorageArea::internalClear): If private browsing is enabled, silently fail to clear the area.
      
      LayoutTests:
      
      2009-04-07  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin Adler
      
              Tests for <rdar://problem/5968249> "Private Browsing" doesn't affect HTML 5 LocalStorage
      
              * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt: Added.
              * storage/domstorage/localstorage/private-browsing-affects-storage.html: Added.
              * storage/domstorage/sessionstorage/private-browsing-affects-storage-expected.txt: Added.
              * storage/domstorage/sessionstorage/private-browsing-affects-storage.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0199b144
    • dino@apple.com's avatar
      2009-04-07 Dean Jackson <dino@apple.com> · 4c9e0673
      dino@apple.com authored
              Reviewed by Simon Fraser.
      
              <rdar://problem/6148255>
      
              Standalone media documents can not always handle everything
              using a <video> element. In these cases switch to an <embed>
              element that uses the QuickTime plugin, in the hope that it
              will have more luck. Typical media types that trigger this
              are streamed media and QTVR.
      
              Equivalent Windows fix to come once reviewed. Note also that
              this area of code needs a cleanup:
              https://bugs.webkit.org/show_bug.cgi?id=25085
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::mediaPlayerSawUnsupportedTracks):
              * html/HTMLMediaElement.h:
              * loader/MediaDocument.cpp:
              (WebCore::MediaDocument::mediaElementSawUnsupportedTracks):
              (WebCore::MediaDocument::replaceVideoWithEmbed):
              * loader/MediaDocument.h:
                  - removes the <video> element and puts in an <embed>
              * platform/graphics/MediaPlayer.h:
              (WebCore::MediaPlayerClient::mediaPlayerSawUnsupportedTracks):
                  - new internal method for flagging a problem
              * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
              (WebCore::MediaPlayerPrivate::updateStates):
                  - looks for the types of content we don't handle
              (WebCore::MediaPlayerPrivate::rateChanged):
              (WebCore::MediaPlayerPrivate::sizeChanged):
              (WebCore::MediaPlayerPrivate::timeChanged):
              (WebCore::MediaPlayerPrivate::didEnd):
              (WebCore::MediaPlayerPrivate::disableUnsupportedTracks):
              (WebCore::MediaPlayerPrivate::sawUnsupportedTracks):
                  - inform the MediaClient that we have a potential problem
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c9e0673
    • andersca@apple.com's avatar
      2009-04-07 Anders Carlsson <andersca@apple.com> · 1165f5df
      andersca@apple.com authored
              Fix Tiger build for real this time.
      
              * Plugins/WebNetscapePluginView.h:
              * Plugins/WebNetscapePluginView.mm:
              (-[WebNetscapePluginView getVariable:forURL:value:length:]):
              (-[WebNetscapePluginView setVariable:forURL:value:length:]):
              (-[WebNetscapePluginView getAuthenticationInfoWithProtocol:host:port:scheme:realm:username:usernameLength:password:passwordLength:]):
              * Plugins/npapi.mm:
              (NPN_GetValueForURL):
              (NPN_SetValueForURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1165f5df
    • mrowe@apple.com's avatar
      Helper script for uploading layout test results for display on build.webkit.org. · 9aca1194
      mrowe@apple.com authored
      * BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aca1194
    • mitz@apple.com's avatar
      Reviewed by Darin Adler. · e15b4323
      mitz@apple.com authored
              - fix <rdar://problem/6767428> Resurrect
                +[WebFontCache fontWithFamily:traits:size:] for clients that call it
                directly
      
              WebFontCache is a class in the WebCore framework and is not WebKit API,
              but apparently (perhaps mistakenly) some clients call this private
              interface.
      
              This change resurrects the interface and gives it reasonable behavior
              (however, note that WebCore will not call the old interface, so hacks that
              override it will have no effect on WebKit clients).
      
              * platform/mac/WebFontCache.h:
              * platform/mac/WebFontCache.mm:
              (+[WebFontCache fontWithFamily:traits:size:]): Added. Call through to
              +fontWithFamily:traits:weight:size:.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e15b4323
    • hyatt@apple.com's avatar
      WebCore: · fdd9dd1b
      hyatt@apple.com authored
      2009-04-07  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben
      
              Fix ScrollView's algorithm that determines whether or not to show scrollbars.  There was a bug
              with the method mainly because RenderView will size itself to the viewport's size, making it
              impossible to really know the document's "true" size.
      
              In order to solve this problem ScrollView now has a minimumContentsSize method.  This method
              returns the document size excluding the RenderView from the calculation.  This width/height
              is now cached on RenderView in m_docWidth/m_docHeight member variables.
      
              * WebCore.base.exp:
              * page/FrameView.cpp:
              (WebCore::FrameView::adjustPageHeight):
              (WebCore::FrameView::minimumContentsSize):
              * page/FrameView.h:
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::updateScrollbars):
              * platform/ScrollView.h:
              (WebCore::ScrollView::minimumContentsSize):
              * rendering/RenderView.cpp:
              (WebCore::RenderView::layout):
              (WebCore::RenderView::calcDocHeight):
              (WebCore::RenderView::calcDocWidth):
              * rendering/RenderView.h:
              (WebCore::RenderView::docWidth):
              (WebCore::RenderView::docHeight):
      
      WebKit/mac:
      
      2009-04-07  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben
      
              Mac portion of fix to make DumpRenderTree always produce accurate scrollbar results.  Change
              updateScrollers to call minimumContentsSize when a WebHTMLView is inside the WebDynamicScrollbarsView.
      
              * WebView/WebDynamicScrollBarsView.m:
              (-[WebDynamicScrollBarsView updateScrollers]):
      
      LayoutTests:
      
      2009-04-07  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Adam Roben
      
              Land updated layout test results now that DRT is doing the right thing
              with scrollbar results.
      
              * platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum:
              * platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
              * platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
              * platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.checksum:
              * platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.png:
              * platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
              * platform/mac/fast/block/float/013-expected.checksum:
              * platform/mac/fast/block/float/013-expected.png:
              * platform/mac/fast/block/float/013-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdd9dd1b