1. 28 Apr, 2011 40 commits
    • weinig@apple.com's avatar
      Fix WebKitTestRunner build. · e50e72a9
      weinig@apple.com authored
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      The Derived Sources target needs a product name.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e50e72a9
    • weinig@apple.com's avatar
      2011-04-28 Sam Weinig <sam@webkit.org> · 7b6cb8f2
      weinig@apple.com authored
              Reviewed by Mark Rowe.
      
              Install testapi.js along side testapi
              https://bugs.webkit.org/show_bug.cgi?id=59773
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              Add new build phase to copy testapi.js to install path of testapi
              on install.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b6cb8f2
    • commit-queue@webkit.org's avatar
      2011-04-28 Nat Duca <nduca@chromium.org> · 1628d4f4
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
              https://bugs.webkit.org/show_bug.cgi?id=59626
      
              * platform/graphics/chromium/Extensions3DChromium.h:
              (WebCore::Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM::~SwapBuffersCompleteCallbackCHROMIUM):
      2011-04-28  Nat Duca  <nduca@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
              https://bugs.webkit.org/show_bug.cgi?id=59626
      
              * public/WebGraphicsContext3D.h:
              (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
              (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
              * src/Extensions3DChromium.cpp:
              (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::SwapBuffersCompleteCallbackAdapter::~SwapBuffersCompleteCallbackAdapter):
              (WebCore::SwapBuffersCompleteCallbackAdapter::SwapBuffersCompleteCallbackAdapter):
              (WebCore::SwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
              (WebCore::SwapBuffersCompleteCallbackAdapter::create):
              (WebCore::GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM):
              * src/GraphicsContext3DInternal.h:
              * src/WebViewImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1628d4f4
    • dpranke@chromium.org's avatar
      2011-04-28 Dirk Pranke <dpranke@chromium.org> · 0729e985
      dpranke@chromium.org authored
              Unreviewed, expectations change. More flakiness.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0729e985
    • commit-queue@webkit.org's avatar
      2011-04-28 Steve Lacey <sjl@chromium.org> · 323a85ae
      commit-queue@webkit.org authored
              Reviewed by Eric Carlson.
      
              Change chromium media controls to use absolute positioning until bug 59644 is fixed.
              https://bugs.webkit.org/show_bug.cgi?id=59732
      
              * platform/chromium/test_expectations.txt: Add expectations for affected tests.
      2011-04-28  Steve Lacey  <sjl@chromium.org>
      
              Reviewed by Eric Carlson.
      
              Change chromium media controls to use absolute positioning until bug 59644 is fixed.
              https://bugs.webkit.org/show_bug.cgi?id=59732
      
              * css/mediaControlsChromium.css:
              (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
              (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      323a85ae
    • commit-queue@webkit.org's avatar
      2011-04-28 Luke Macpherson <macpherson@chromium.org> · 5f3384ae
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Implement CSS border width and related properties in CSSStyleApplyProperty.
              https://bugs.webkit.org/show_bug.cgi?id=59414
      
              No new tests as no functionality added.
      
              * css/CSSStyleApplyProperty.cpp:
              Separated ApplyPropertyDefault into parent and child so that other classes could inherit
              the applyInheritValue and applyInitialValue methods only.
              This was necessary to avoid casting from CSSPrimitiveValue to inappropriate types in ApplyPropertyDefault::applyValue().
      
              Added ApplyPropertyWidth class for handling width based CSS properties.
              * css/CSSStyleSelector.cpp:
              Removed no-longer-required code for handling width based CSS properties.
              * css/CSSStyleSelector.h:
              Added a getter for m_rootElementStyle.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f3384ae
    • commit-queue@webkit.org's avatar
      2011-04-28 Julien Chaffraix <jchaffraix@codeaurora.org> · 07795381
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              CSS counters in :before pseudo-elements do not always update
              https://bugs.webkit.org/show_bug.cgi?id=38291
      
              The previous bug was solved so just landing the test case to ensure that
              we don't regress it.
      
              * fast/css/counters/counter-before-content-not-incremented-expected.txt: Added.
              * fast/css/counters/counter-before-content-not-incremented.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07795381
    • jam@chromium.org's avatar
      2011-04-28 John Abd-El-Malek <jam@chromium.org> · 47435ee7
      jam@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium] Fix silly bug with WebPermissionClient
              https://bugs.webkit.org/show_bug.cgi?id=59769
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::allowJavaScript):
              (WebKit::FrameLoaderClientImpl::allowPlugins):
              (WebKit::FrameLoaderClientImpl::allowImages):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47435ee7
    • tkent@chromium.org's avatar
      2011-04-28 Kent Tamura <tkent@chromium.org> · 2b28f937
      tkent@chromium.org authored
              Run sort-Xcode-project-file.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b28f937
    • dpranke@chromium.org's avatar
      2011-04-28 Dirk Pranke <dpranke@chromium.org> · 2eb5420c
      dpranke@chromium.org authored
              Suppress GPU failures - bug 59768, and
              some fast/repaint/shadow failures that are
              probably just rebaselines.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2eb5420c
    • dpranke@chromium.org's avatar
      2011-04-28 Dirk Pranke <dpranke@chromium.org> · 37a77b4a
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37a77b4a
    • mrobinson@webkit.org's avatar
      Fixed a typo in the ChangeLog entry for my previous commit · 2462a2d2
      mrobinson@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2462a2d2
    • mrobinson@webkit.org's avatar
      2011-04-28 Martin Robinson <mrobinson@igalia.com> · 55492a71
      mrobinson@webkit.org authored
              Reviewed by Dirk Schulze.
      
              [Cairo] Text underline is not shadowed when text-shadow is enabled
              https://bugs.webkit.org/show_bug.cgi?id=48074
      
              Updated pixel results for this test. They were previously incorrect
              because text underlines were not shadowed.
      
              * platform/gtk/fast/text/stroking-decorations-expected.png:
      2011-04-28  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Dirk Schulze.
      
              [Cairo] Text underline is not shadowed when text-shadow is enabled
              https://bugs.webkit.org/show_bug.cgi?id=48074
      
              Use ShadowContext to enable shadows for text underlines. Also remove quite a bit
              of duplicate code in GraphicsContext used for stroking lines. This code looks like it was
              originally copied from the CG GraphicsContext.
      
              * platform/graphics/GraphicsContext.h: Make adjustLineToPixelBoundaries so that we
                can call it from a static helper function.
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::calculateStrokePatternOffset): Abstracted this code into a helper.
              (WebCore::drawLineOnCairoContext): Abstracted this code into a helper. We need to
              call it multiple times when shadowing text underlines.
              (WebCore::GraphicsContext::drawLine): Use drawLineOnCairoContext.
              (WebCore::GraphicsContext::strokeArc): Use calculateStrokePatternOffset.
              (WebCore::GraphicsContext::drawLineForText): Use drawLineOnCairoContext.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55492a71
    • mrowe@apple.com's avatar
      Versioning. · e24a79ff
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e24a79ff
    • weinig@apple.com's avatar
      Cleanup WebCore.xcodeproj a bit. · aea9695e
      weinig@apple.com authored
      Rubber-stamped by Mark Rowe.
      
      * WebCore.xcodeproj/project.pbxproj:
      Added CompilerVersion.xcconfig and moved some JS bindings files into the
      correct sub groups.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aea9695e
    • dpranke@chromium.org's avatar
      2011-04-28 Dirk Pranke <dpranke@chromium.org> · 38632873
      dpranke@chromium.org authored
              Unreviewed, expectations change.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38632873
    • weinig@apple.com's avatar
      Add install support for WebKitTestRunner. · b0c2fcd2
      weinig@apple.com authored
      <rdar://problem/9349055>
      
      Reviewed by Mark Rowe.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      Add missing CompilerVersion.xcconfig.
      
      * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
      * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      Add install path and tell it not to skip installation.
      
      Add missing CompilerVersion.xcconfig.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0c2fcd2
    • levin@chromium.org's avatar
      Remove IMAGE_RESIZER related code. · f14be461
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=59735
      
      Reviewed by Adam Barth.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * features.pri:
      * html/AsyncImageResizer.cpp: Removed.
      * html/AsyncImageResizer.h: Removed.
      * html/ImageResizerThread.cpp: Removed.
      * html/ImageResizerThread.h: Removed.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/build-webkit:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f14be461
    • loislo@chromium.org's avatar
      2011-04-28 Ilya Tikhonovsky <loislo@chromium.org> · 4140d9e6
      loislo@chromium.org authored
              Unreviewed trivial one-line fix inspired by wrong patch for https://bugs.webkit.org/show_bug.cgi?id=59630.
      
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4140d9e6
    • barraclough@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=59763 · 104fd5a7
      barraclough@apple.com authored
      DFG JIT - Unify FPRReg & FPRegisterID
      
      Reviewed by Oliver Hunt.
      
      (Following on from GPRReg/RegisterID unification).
      
      * dfg/DFGFPRInfo.h:
      (JSC::DFG::FPRInfo::toRegister):
      (JSC::DFG::FPRInfo::debugName):
      * dfg/DFGGPRInfo.h:
      * dfg/DFGJITCodeGenerator.cpp:
      (JSC::DFG::JITCodeGenerator::fillDouble):
      (JSC::DFG::JITCodeGenerator::checkConsistency):
      * dfg/DFGJITCodeGenerator.h:
      (JSC::DFG::JITCodeGenerator::boxDouble):
      (JSC::DFG::JITCodeGenerator::unboxDouble):
      (JSC::DFG::JITCodeGenerator::flushRegisters):
      (JSC::DFG::JITCodeGenerator::isFlushed):
      (JSC::DFG::JITCodeGenerator::setupTwoStubArgs):
      (JSC::DFG::JITCodeGenerator::setupStubArguments):
      (JSC::DFG::JITCodeGenerator::callOperation):
      (JSC::DFG::GPRResult::lockedResult):
      (JSC::DFG::FPRResult::lockedResult):
      * dfg/DFGJITCompiler.cpp:
      (JSC::DFG::JITCompiler::fillNumericToDouble):
      (JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative):
      (JSC::DFG::JITCompiler::compileFunction):
      * dfg/DFGJITCompiler.h:
      * dfg/DFGNode.h:
      * dfg/DFGNonSpeculativeJIT.cpp:
      (JSC::DFG::EntryLocation::EntryLocation):
      (JSC::DFG::NonSpeculativeJIT::valueToNumber):
      (JSC::DFG::NonSpeculativeJIT::valueToInt32):
      (JSC::DFG::NonSpeculativeJIT::numberToInt32):
      (JSC::DFG::NonSpeculativeJIT::compile):
      * dfg/DFGNonSpeculativeJIT.h:
      (JSC::DFG::NonSpeculativeJIT::silentSpillAllRegisters):
      (JSC::DFG::NonSpeculativeJIT::silentFillAllRegisters):
      * dfg/DFGRegisterBank.h:
      (JSC::DFG::RegisterBank::iterator::regID):
      (JSC::DFG::RegisterBank::iterator::debugName):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculationCheck::SpeculationCheck):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      104fd5a7
    • cfleizach@apple.com's avatar
      Allow remote accessibility API for WK2 to build on SnowLeopard. · 8b93bb6c
      cfleizach@apple.com authored
      <rdar://problem/9324507>
      
      Reviewed by Maciej Stachowiak.
      
      * WebKitSystemInterface.h:
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b93bb6c
    • bdakin@apple.com's avatar
      Rolling out revision 85258! I want to fix that bug a different way. · fc97846a
      bdakin@apple.com authored
      * platform/mac/ScrollbarThemeMac.mm:
      (WebCore::ScrollbarThemeMac::paint):
      
      Rubber-stamped by Sam Weinig.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc97846a
    • weinig@apple.com's avatar
      Original patch by Austin Jennings. · f11afd94
      weinig@apple.com authored
      Reviewed by Gavin Barraclough.
      
      <rdar://problem/9350288>
      Update sandbox profile for extension changes
      
      * WebProcess/com.apple.WebProcess.sb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f11afd94
    • commit-queue@webkit.org's avatar
      2011-04-28 Chang Shu <cshu@webkit.org> · 713aea46
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              isContentEditable is not working properly with document.designMode
              https://bugs.webkit.org/show_bug.cgi?id=53031
      
              1. Added test cases for checking isContentEditable with designMode.
              2. Added a new test case for setting contenteditable attribute to "inherit" as the
              original code will cause a crash.
              3. Ryosuke Niwa also helped to fix test cases under editing/style that cause infinite loop.
      
              * editing/style/iframe-onload-crash-mac.html:
              * editing/style/iframe-onload-crash-unix.html:
              * editing/style/iframe-onload-crash-win.html:
              * fast/dom/HTMLElement/attr-invalid-string-expected.txt:
              * fast/dom/HTMLElement/attr-invalid-string.html:
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-expected.txt: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe-expected.txt: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor-expected.txt: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon-expected.txt: Added.
              * fast/dom/HTMLElement/iscontenteditable-designmodeon.html: Added.
      2011-04-28  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Eric Seidel.
      
              isContentEditable is not working properly with document.designMode
              https://bugs.webkit.org/show_bug.cgi?id=53031
      
              The specification (http://dev.w3.org/html5/spec/Overview.html#attr-contenteditable)
              indicates that the element.isContentEditable relies on document.designMode if its
              and its ancestors' contenteditable attributes are set to inherit.
      
              1. Sync document render style after document.designMode is changed.
              2. Removed the code that does unnecessary and incorrect handling for contenteditable
              attribute with "inherit" value.
              3. Ryosuke Niwa also helped to fix the code in ApplyStyleCommand that causes an assertion.
      
              Tests: fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html
                     fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html
                     fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html
                     fast/dom/HTMLElement/iscontenteditable-designmodeon.html
      
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::styleForDocument):
              * dom/Document.cpp:
              (WebCore::Document::setDesignMode):
              * dom/Node.cpp:
              (WebCore::Node::rendererIsEditable):
              * editing/ApplyStyleCommand.cpp:
              (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
              * html/HTMLElement.cpp:
              (WebCore::HTMLElement::setContentEditable):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      713aea46
    • loislo@chromium.org's avatar
      2011-04-28 Sheriff Bot <webkit.review.bot@gmail.com> · 80ae3247
      loislo@chromium.org authored
              Unreviewed, rolling out r85101.
              http://trac.webkit.org/changeset/85101
              https://bugs.webkit.org/show_bug.cgi?id=59757
      
               it'd be better to rollout the patch and do another one with
              another property name. Current one will bring us to a problem
              at first run after upgrade because it's type was changed from
              int to string. (Requested by loislo on #webkit).
      
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._debuggerWasEnabled):
              (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions.callback):
              (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80ae3247
    • ddkilzer@apple.com's avatar
      Revert "<http://webkit.org/b/59705> WTF::postTimer() leaks a CFRunLoopTimerRef... · 30b94e39
      ddkilzer@apple.com authored
      Revert "<http://webkit.org/b/59705> WTF::postTimer() leaks a CFRunLoopTimerRef every time it's called"
      
      This reverts commit r85195.  It was crashing DumpRenderTree on Lion.
      
      * wtf/mac/MainThreadMac.mm:
      (WTF::postTimer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30b94e39
    • commit-queue@webkit.org's avatar
      2011-04-28 Mike Reed <reed@google.com> · 72e78fc5
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              fix shadw behavior for both CSS and Canvas
              https://bugs.webkit.org/show_bug.cgi?id=59700
      
              * platform/chromium/test_expectations.txt:
      2011-04-28  Mike Reed  <reed@google.com>
      
              Reviewed by Eric Seidel.
      
              fix shadw behavior for both CSS and Canvas -- skia only
              https://bugs.webkit.org/show_bug.cgi?id=59700
      
              Test:
              canvas/philip/tests/2d.shadow.alpha.3.html
              canvas/philip/tests/2d.shadow.alpha.4.html
              canvas/philip/tests/2d.shadow.alpha.5.html
              fast/canvas/canvas-fillPath-alpha-shadow.html
              fast/canvas/canvas-strokePath-alpha-shadow.html
              fast/canvas/canvas-strokeRect-alpha-shadow.html
              fast/css/text-input-with-webkit-border-radius.html
              fast/repaint/shadow-multiple-horizontal.html
              fast/repaint/shadow-multiple-strict-horizontal.html
              fast/repaint/shadow-multiple-strict-vertical.html
              fast/repaint/shadow-multiple-vertical.html
              fast/canvas/canvas-getImageData.html
      
              * platform/graphics/chromium/FontChromiumWin.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::setPlatformShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72e78fc5
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/59755> AXObjectCache::attachWrapper() over-retains an... · 547f55fa
      ddkilzer@apple.com authored
      <http://webkit.org/b/59755> AXObjectCache::attachWrapper() over-retains an AccessibilityObjectWrapper
      
      Reviewed by Chris Fleizach.
      
      Previously, AXObjectCache::attachWrapper over-retained each
      AccessibilityObjectWrapper it created, which is why
      AXObjectCache::detachWrapper() contained an extra -release.
      
      * accessibility/mac/AXObjectCacheMac.mm:
      (WebCore::AXObjectCache::detachWrapper): Removed extra -release.
      (WebCore::AXObjectCache::attachWrapper): Because setWrapper()
      assigns to a RetainPtr<> instance variable, it doesn't need a +1
      retained object passed in.  Fix the leak by using a RetainPtr<>
      for the AccessibilityObjectWrapper.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      547f55fa
    • weinig@apple.com's avatar
      Make reading skipped files from additional platform · c8c53b63
      weinig@apple.com authored
      directories work in WebKit2 mode.
      
      Reviewed by Adam Roben.
      
      * Scripts/old-run-webkit-tests:
      (buildPlatformTestHierarchy): Simplify logic to always use the first
      and last platforms in the build hierarchy as the test hierarchy, and to
      insert the WebKit2 platform in the middle if it exists. Yum.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8c53b63
    • commit-queue@webkit.org's avatar
      2011-04-28 Nat Duca <nduca@chromium.org> · 0b14383c
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [chromium] Compute compositor fps value and history using the frameBegin timestamp
              https://bugs.webkit.org/show_bug.cgi?id=59668
      
              This change switches the compositor FPS meter to use the timestamp
              of the beginning of the frame rather than the time we call
              swapBuffers. When scheduling is correctly tied to vsync, we can
              have highly variable times when we finish vsync and still have
              stable frame rates.
      
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::updateAndDrawLayers):
              * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
              (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay):
              (WebCore::CCHeadsUpDisplay::drawFPSCounter):
              (WebCore::CCHeadsUpDisplay::onFrameBegin):
              (WebCore::CCHeadsUpDisplay::onPresent):
              * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b14383c
    • ojan@chromium.org's avatar
      2011-04-28 Ojan Vafai <ojan@chromium.org> · c8c8cfcf
      ojan@chromium.org authored
              Reviewed by Darin Adler.
      
              fast/harness/results.html failing in some configurations
              https://bugs.webkit.org/show_bug.cgi?id=59750
      
              * fast/harness/resources/results-test.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8c8cfcf
    • andersca@apple.com's avatar
      2011-04-28 Anders Carlsson <andersca@apple.com> · 938f519e
      andersca@apple.com authored
              Reviewed by Darin Adler.
      
              Right-clicking on a Flash movie in an iframe shows the browser context menu
              https://bugs.webkit.org/show_bug.cgi?id=59760
              <rdar://problem/9340541>
      
              Move context menu event handling out into a separate function. Make sure to call
              EventHandler::sendContextMenuEvent on the event handler belonging to the frame of the
              node that was clicked, and not the main frame.
      
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::handleContextMenuEvent):
              (WebKit::handleMouseEvent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      938f519e
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=59759 · 809f76ae
      bdakin@apple.com authored
      Overflow:scroll regions with overlay scrollbars show full thumb instead of just a 
      track when there is nothing to scroll to
      <rdar://problem/9282066>
      
      Reviewed by Darin Adler.
      
      Scrollbar::totalSize() and Scrollbar::visibleSize() are the same when there is 
      nothing to scroll to. Just dividing them to get a knob proportion yields 1, which 
      is not right. Set the proportion to 0 in this case instead.
      * platform/mac/ScrollbarThemeMac.mm:
      (WebCore::ScrollbarThemeMac::paint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      809f76ae
    • mitz@apple.com's avatar
      <rdar://problem/9291132> Add support for -epub-prefixed properties · 5706e773
      mitz@apple.com authored
      Reviewed by Simon Fraser.
      
      Source/WebCore: 
      
      Test: fast/css/epub-properties.html
      
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      (WebCore::cssPropertyName): Map "epub"-prefixed properties to "-epub"-prefixed ones.
      * css/CSSPropertyNames.in: Added -epub- aliases to caption-side, -webkit-hyphens, -webkit-text-combine,
      -webkit-text-emphasis, -webkit-text-emphasis-color, -webkit-text-emphasis-style, -webkit-text-orientation,
      text-transform, text-transform, word-break, and -webkit-writing-mode.
      
      LayoutTests: 
      
      * fast/css/epub-properties-expected.txt: Added.
      * fast/css/epub-properties.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5706e773
    • abarth@webkit.org's avatar
      2011-04-28 Adam Barth <abarth@webkit.org> · d29d2063
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML configuration option from the CMake build system.
      
              * Source/cmake/OptionsEfl.cmake:
              * Source/cmake/OptionsWinCE.cmake:
              * Source/cmakeconfig.h.cmake:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove build system integration and test harness integration for WML.
      
              * Scripts/build-webkit:
              * Scripts/old-run-webkit-tests:
              * Scripts/webkitperl/features.pm:
              * Scripts/webkitpy/layout_tests/port/webkit.py:
              * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML tests.  These tests do not appear to be run on
              build.webkit.org because none of the bots on build.webkit.org enable
              WML.
      
              * fast/wml: Removed.
              * fast/wml/br-element-in-table.wml: Removed.
              * fast/wml/br-element-in-text.wml: Removed.
              * fast/wml/card-element.wml: Removed.
              * fast/wml/case-sensitivity.wml: Removed.
              * fast/wml/cdata-section.wml: Removed.
              * fast/wml/comment.wml: Removed.
              * fast/wml/do-element-optional-attr.wml: Removed.
              * fast/wml/do-shadow.wml: Removed.
              * fast/wml/do-template.wml: Removed.
              * fast/wml/entity.wml: Removed.
              * fast/wml/err-event-binding-conflict.wml: Removed.
              * fast/wml/err-invalid-location-for-varref.wml: Removed.
              * fast/wml/err-invalid-tablecolumn-number.wml: Removed.
              * fast/wml/err-invalid-variable-name.wml: Removed.
              * fast/wml/err-multi-access.wml: Removed.
              * fast/wml/err-multi-http-equiv-in-meta.wml: Removed.
              * fast/wml/err-multi-name-in-meta.wml: Removed.
              * fast/wml/err-multi-timer.wml: Removed.
              * fast/wml/err-samename-do.wml: Removed.
              * fast/wml/err-unallowed-task-in-anchor.wml: Removed.
              * fast/wml/fieldset.wml: Removed.
              * fast/wml/html-fieldset-crash.html: Removed.
              * fast/wml/img-localsrc.wml: Removed.
              * fast/wml/img-src-localsrc-alt.wml: Removed.
              * fast/wml/img-src.wml: Removed.
              * fast/wml/input.wml: Removed.
              * fast/wml/p-align.wml: Removed.
              * fast/wml/p-mode.wml: Removed.
              * fast/wml/resources: Removed.
              * fast/wml/resources/fail.png: Removed.
              * fast/wml/resources/pass.png: Removed.
              * fast/wml/select.wml: Removed.
              * fast/wml/show-first-card.wml: Removed.
              * fast/wml/table-element-align-attribute-invalid.wml: Removed.
              * fast/wml/table-element-columns-attribute-invalid-number.wml: Removed.
              * fast/wml/table-element-columns-attribute-invalid.wml: Removed.
              * fast/wml/table-element-columns-attribute-missing.wml: Removed.
              * fast/wml/table-element-columns-attribute.wml: Removed.
              * fast/wml/table-element.wml: Removed.
              * fast/wml/task-noop-in-do.wml: Removed.
              * fast/wml/test.wml: Removed.
              * fast/wml/text-emphasis.wml: Removed.
              * fast/wml/validate-dtd.wml: Removed.
              * http/tests/wml: Removed.
              * http/tests/wml/access-target-domain-deny-expected.txt: Removed.
              * http/tests/wml/access-target-domain-deny.html: Removed.
              * http/tests/wml/access-target-expected.txt: Removed.
              * http/tests/wml/access-target-path-deny-expected.txt: Removed.
              * http/tests/wml/access-target-path-deny.html: Removed.
              * http/tests/wml/access-target.html: Removed.
              * http/tests/wml/go-task-get-method-accept-charset-expected.txt: Removed.
              * http/tests/wml/go-task-get-method-accept-charset.html: Removed.
              * http/tests/wml/go-task-get-method-expected.txt: Removed.
              * http/tests/wml/go-task-get-method.html: Removed.
              * http/tests/wml/go-task-post-method-accept-charset-expected.txt: Removed.
              * http/tests/wml/go-task-post-method-accept-charset.html: Removed.
              * http/tests/wml/go-task-post-method-expected.txt: Removed.
              * http/tests/wml/go-task-post-method.html: Removed.
              * http/tests/wml/post-data-to-server-expected.txt: Removed.
              * http/tests/wml/post-data-to-server.html: Removed.
              * http/tests/wml/resources: Removed.
              * http/tests/wml/resources/access-target-domain-deny.wml: Removed.
              * http/tests/wml/resources/access-target-path-deny.wml: Removed.
              * http/tests/wml/resources/access-target.wml: Removed.
              * http/tests/wml/resources/answer-utf8.cgi: Removed.
              * http/tests/wml/resources/answer.cgi: Removed.
              * http/tests/wml/resources/dumpVariables.cgi: Removed.
              * http/tests/wml/resources/locked-deck.wml: Removed.
              * http/tests/wml/resources/unreachable-domain.wml: Removed.
              * http/tests/wml/resources/unreachable-path.wml: Removed.
              * http/tests/wml/script-tests: Removed.
              * http/tests/wml/script-tests/TEMPLATE.html: Removed.
              * http/tests/wml/script-tests/access-target-domain-deny.js: Removed.
              * http/tests/wml/script-tests/access-target-path-deny.js: Removed.
              * http/tests/wml/script-tests/access-target.js: Removed.
              * http/tests/wml/script-tests/go-task-get-method-accept-charset.js: Removed.
              * http/tests/wml/script-tests/go-task-get-method.js: Removed.
              * http/tests/wml/script-tests/go-task-post-method-accept-charset.js: Removed.
              * http/tests/wml/script-tests/go-task-post-method.js: Removed.
              * http/tests/wml/script-tests/post-data-to-server.js: Removed.
              * http/tests/xmlviewer/dumpAsText/wml-expected.txt: Removed.
              * http/tests/xmlviewer/dumpAsText/wml.xml: Removed.
              * platform/mac-leopard/fast/wml: Removed.
              * platform/mac-leopard/fast/wml/html-fieldset-crash-expected.png: Removed.
              * platform/mac/fast/wml: Removed.
              * platform/mac/fast/wml/br-element-in-table-expected.png: Removed.
              * platform/mac/fast/wml/br-element-in-table-expected.txt: Removed.
              * platform/mac/fast/wml/br-element-in-text-expected.png: Removed.
              * platform/mac/fast/wml/br-element-in-text-expected.txt: Removed.
              * platform/mac/fast/wml/card-element-expected.png: Removed.
              * platform/mac/fast/wml/card-element-expected.txt: Removed.
              * platform/mac/fast/wml/case-sensitivity-expected.png: Removed.
              * platform/mac/fast/wml/case-sensitivity-expected.txt: Removed.
              * platform/mac/fast/wml/cdata-section-expected.png: Removed.
              * platform/mac/fast/wml/cdata-section-expected.txt: Removed.
              * platform/mac/fast/wml/comment-expected.png: Removed.
              * platform/mac/fast/wml/comment-expected.txt: Removed.
              * platform/mac/fast/wml/do-element-optional-attr-expected.png: Removed.
              * platform/mac/fast/wml/do-element-optional-attr-expected.txt: Removed.
              * platform/mac/fast/wml/do-shadow-expected.png: Removed.
              * platform/mac/fast/wml/do-shadow-expected.txt: Removed.
              * platform/mac/fast/wml/do-template-expected.png: Removed.
              * platform/mac/fast/wml/do-template-expected.txt: Removed.
              * platform/mac/fast/wml/entity-expected.png: Removed.
              * platform/mac/fast/wml/entity-expected.txt: Removed.
              * platform/mac/fast/wml/err-event-binding-conflict-expected.png: Removed.
              * platform/mac/fast/wml/err-event-binding-conflict-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-location-for-varref-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-location-for-varref-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-variable-name-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-variable-name-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-access-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-access-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-name-in-meta-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-name-in-meta-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-timer-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-timer-expected.txt: Removed.
              * platform/mac/fast/wml/err-samename-do-expected.png: Removed.
              * platform/mac/fast/wml/err-samename-do-expected.txt: Removed.
              * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.png: Removed.
              * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.txt: Removed.
              * platform/mac/fast/wml/fieldset-expected.png: Removed.
              * platform/mac/fast/wml/fieldset-expected.txt: Removed.
              * platform/mac/fast/wml/html-fieldset-crash-expected.png: Removed.
              * platform/mac/fast/wml/html-fieldset-crash-expected.txt: Removed.
              * platform/mac/fast/wml/img-localsrc-expected.png: Removed.
              * platform/mac/fast/wml/img-localsrc-expected.txt: Removed.
              * platform/mac/fast/wml/img-src-expected.png: Removed.
              * platform/mac/fast/wml/img-src-expected.txt: Removed.
              * platform/mac/fast/wml/img-src-localsrc-alt-expected.png: Removed.
              * platform/mac/fast/wml/img-src-localsrc-alt-expected.txt: Removed.
              * platform/mac/fast/wml/input-expected.png: Removed.
              * platform/mac/fast/wml/input-expected.txt: Removed.
              * platform/mac/fast/wml/p-align-expected.png: Removed.
              * platform/mac/fast/wml/p-align-expected.txt: Removed.
              * platform/mac/fast/wml/p-mode-expected.png: Removed.
              * platform/mac/fast/wml/p-mode-expected.txt: Removed.
              * platform/mac/fast/wml/select-expected.png: Removed.
              * platform/mac/fast/wml/select-expected.txt: Removed.
              * platform/mac/fast/wml/show-first-card-expected.png: Removed.
              * platform/mac/fast/wml/show-first-card-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.png: Removed.
              * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-expected.png: Removed.
              * platform/mac/fast/wml/table-element-expected.txt: Removed.
              * platform/mac/fast/wml/task-noop-in-do-expected.png: Removed.
              * platform/mac/fast/wml/task-noop-in-do-expected.txt: Removed.
              * platform/mac/fast/wml/test-expected.png: Removed.
              * platform/mac/fast/wml/test-expected.txt: Removed.
              * platform/mac/fast/wml/text-emphasis-expected.png: Removed.
              * platform/mac/fast/wml/text-emphasis-expected.txt: Removed.
              * platform/mac/fast/wml/validate-dtd-expected.png: Removed.
              * platform/mac/fast/wml/validate-dtd-expected.txt: Removed.
              * wml: Removed.
              * wml/access-target-deny-expected.txt: Removed.
              * wml/access-target-deny.html: Removed.
              * wml/access-target-expected.txt: Removed.
              * wml/access-target.html: Removed.
              * wml/enter-card-with-events-expected.txt: Removed.
              * wml/enter-card-with-events.html: Removed.
              * wml/enter-first-card-with-events-expected.txt: Removed.
              * wml/enter-first-card-with-events.html: Removed.
              * wml/go-task-get-method-external-deck-expected.txt: Removed.
              * wml/go-task-get-method-external-deck-with-href-expected.txt: Removed.
              * wml/go-task-get-method-external-deck-with-href.html: Removed.
              * wml/go-task-get-method-external-deck.html: Removed.
              * wml/go-task-get-method-same-deck-expected.txt: Removed.
              * wml/go-task-get-method-same-deck.html: Removed.
              * wml/input-format-expected.txt: Removed.
              * wml/input-format.html: Removed.
              * wml/newcontext-same-deck-expected.txt: Removed.
              * wml/newcontext-same-deck.html: Removed.
              * wml/onenterforward-event-expected.txt: Removed.
              * wml/onenterforward-event.html: Removed.
              * wml/onenterforward-inline-event-expected.txt: Removed.
              * wml/onenterforward-inline-event.html: Removed.
              * wml/ontimer-event-expected.txt: Removed.
              * wml/ontimer-event.html: Removed.
              * wml/ontimer-inline-event-expected.txt: Removed.
              * wml/ontimer-inline-event.html: Removed.
              * wml/option-element-onpick-expected.txt: Removed.
              * wml/option-element-onpick-recursion-expected.txt: Removed.
              * wml/option-element-onpick-recursion.html: Removed.
              * wml/option-element-onpick.html: Removed.
              * wml/resources: Removed.
              * wml/resources/WMLTestCase.js: Removed.
              * wml/resources/access-target-deny.wml: Removed.
              * wml/resources/access-target.wml: Removed.
              * wml/resources/enter-card-with-events.wml: Removed.
              * wml/resources/enter-first-card-with-events.wml: Removed.
              * wml/resources/external-deck.wml: Removed.
              * wml/resources/locked-deck.wml: Removed.
              * wml/resources/newcontext-same-deck.wml: Removed.
              * wml/resources/onenterforward-event.wml: Removed.
              * wml/resources/onenterforward-inline-event.wml: Removed.
              * wml/resources/ontimer-event.wml: Removed.
              * wml/resources/ontimer-inline-event.wml: Removed.
              * wml/resources/option-element-onpick-recursion.wml: Removed.
              * wml/resources/test-document.wml: Removed.
              * wml/script-tests: Removed.
              * wml/script-tests/TEMPLATE.html: Removed.
              * wml/script-tests/access-target-deny.js: Removed.
              * wml/script-tests/access-target.js: Removed.
              * wml/script-tests/enter-card-with-events.js: Removed.
              * wml/script-tests/enter-first-card-with-events.js: Removed.
              * wml/script-tests/go-task-get-method-external-deck-with-href.js: Removed.
              * wml/script-tests/go-task-get-method-external-deck.js: Removed.
              * wml/script-tests/go-task-get-method-same-deck.js: Removed.
              * wml/script-tests/input-format.js: Removed.
              * wml/script-tests/newcontext-same-deck.js: Removed.
              * wml/script-tests/onenterforward-event.js: Removed.
              * wml/script-tests/onenterforward-inline-event.js: Removed.
              * wml/script-tests/ontimer-event.js: Removed.
              * wml/script-tests/ontimer-inline-event.js: Removed.
              * wml/script-tests/option-element-onpick-recursion.js: Removed.
              * wml/script-tests/option-element-onpick.js: Removed.
              * wml/script-tests/select-element-variables.js: Removed.
              * wml/script-tests/variable-reference-invalid-character.js: Removed.
              * wml/script-tests/variable-reference-valid.js: Removed.
              * wml/select-element-variables-expected.txt: Removed.
              * wml/select-element-variables.html: Removed.
              * wml/variable-reference-invalid-character-expected.txt: Removed.
              * wml/variable-reference-invalid-character.html: Removed.
              * wml/variable-reference-valid-expected.txt: Removed.
              * wml/variable-reference-valid.html: Removed.
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove the WML configuration option from the Mac build system.
      
              * Configurations/FeatureDefines.xcconfig:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related enumeration.
      
              * Interfaces/IWebFramePrivate.idl:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related configuration options and private APIs.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebCoreSupport/WebChromeClient.mm:
              (stringForMessageSource):
              * WebView/WebFramePrivate.h:
              * WebView/WebUIDelegatePrivate.h:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              This patch removes WML from WebCore.  After removing WML, there's a
              bunch of twisted code that could be untwisted, but this patch contains
              only the purely mechanical part of removing the feature.
      
              There's been a lot of discussion on webkit-dev about whether we should
              remove WML.  In addition to those threads, we've had an informal poll
              of the reviewers as well as an in-person discussion at the WebKit
              contributor's meeting.  Removing any feature is likely to make some
              folks unhappy, but, on balance, removing WML appears to be the right
              thing for the project to do at this time.
      
              * CMakeLists.txt:
              * CodeGenerators.pri:
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * GNUmakefile.list.am:
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSStyleSelector.cpp:
              (WebCore::linkAttribute):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::adjustRenderStyle):
              * css/wml.css: Removed.
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::createDocument):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::createElement):
              * dom/Document.h:
              (WebCore::Document::isMediaDocument):
              * dom/Document.idl:
              * dom/InputElement.h:
              * dom/Node.cpp:
              (WebCore::Node::toInputElement):
              * dom/Node.h:
              * dom/OptionElement.cpp:
              (WebCore::toOptionElement):
              (WebCore::isOptionElement):
              * dom/OptionElement.h:
              * dom/OptionGroupElement.cpp:
              (WebCore::toOptionGroupElement):
              (WebCore::isOptionGroupElement):
              * dom/SelectElement.cpp:
              (WebCore::toSelectElement):
              * dom/SelectElement.h:
              * dom/Text.cpp:
              (WebCore::Text::attach):
              * dom/XMLDocumentParser.cpp:
              (WebCore::XMLDocumentParser::insertErrorMessageBlock):
              * dom/XMLDocumentParser.h:
              * dom/XMLDocumentParserLibxml2.cpp:
              (WebCore::XMLDocumentParser::internalSubset):
              (WebCore::getEntityHandler):
              * dom/XMLDocumentParserQt.cpp:
              (WebCore::XMLDocumentParser::parse):
              (WebCore::XMLDocumentParser::parseDtd):
              * editing/htmlediting.cpp:
              (WebCore::canHaveChildrenForEditing):
              * features.pri:
              * history/BackForwardList.h:
              * history/BackForwardListImpl.cpp:
              * history/BackForwardListImpl.h:
              * history/PageCache.cpp:
              (WebCore::PageCache::canCachePageContainingThisFrame):
              * html/HTMLAnchorElement.h:
              * inspector/ConsoleMessage.cpp:
              (WebCore::messageSourceValue):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleMessage.prototype.toString):
              * loader/FrameLoader.cpp:
              (WebCore::isBackForwardLoadType):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::loadDifferentDocumentItem):
              (WebCore::FrameLoader::loadItem):
              * loader/FrameLoaderTypes.h:
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::restoreDocumentState):
              * manual-tests/wml: Removed.
              * manual-tests/wml/StartTests.wml: Removed.
              * manual-tests/wml/a-br-element.wml: Removed.
              * manual-tests/wml/a-element.wml: Removed.
              * manual-tests/wml/a-img-element.wml: Removed.
              * manual-tests/wml/access-target.wml: Removed.
              * manual-tests/wml/anchor-br-element.wml: Removed.
              * manual-tests/wml/anchor-element.wml: Removed.
              * manual-tests/wml/anchor-img-element.wml: Removed.
              * manual-tests/wml/card-newcontext-attr.wml: Removed.
              * manual-tests/wml/card-onenterbackward.wml: Removed.
              * manual-tests/wml/card-onenterforward.wml: Removed.
              * manual-tests/wml/card-ontimer.wml: Removed.
              * manual-tests/wml/deck-access-control.wml: Removed.
              * manual-tests/wml/input-format.wml: Removed.
              * manual-tests/wml/onevent-go.wml: Removed.
              * manual-tests/wml/onevent-noop.wml: Removed.
              * manual-tests/wml/onevent-prev.wml: Removed.
              * manual-tests/wml/onevent-refresh.wml: Removed.
              * manual-tests/wml/onevent-shadow.wml: Removed.
              * manual-tests/wml/resources: Removed.
              * manual-tests/wml/resources/smiley.png: Removed.
              * manual-tests/wml/select-element.wml: Removed.
              * manual-tests/wml/select-onpick-event-crash.wml: Removed.
              * manual-tests/wml/select-onpick-event.wml: Removed.
              * manual-tests/wml/setvar-element.wml: Removed.
              * manual-tests/wml/targetdeck.wml: Removed.
              * manual-tests/wml/task-go-in-anchor.wml: Removed.
              * manual-tests/wml/task-prev-in-anchor.wml: Removed.
              * manual-tests/wml/task-refresh-in-anchor.wml: Removed.
              * manual-tests/wml/template-go.wml: Removed.
              * manual-tests/wml/template-ontimer.wml: Removed.
              * manual-tests/wml/timer.wml: Removed.
              * manual-tests/wml/variable-substitution.wml: Removed.
              * page/Console.cpp:
              (WebCore::printMessageSourceAndLevelPrefix):
              * page/Console.h:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              * page/Page.cpp:
              * page/Page.h:
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initializeSupportedNonImageMimeTypes):
              * platform/network/FormDataBuilder.h:
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
              * platform/wince/MIMETypeRegistryWinCE.cpp:
              (WebCore::initMIMETypeEntensionMap):
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::altDisplayString):
              (WebCore::HitTestResult::absoluteImageURL):
              (WebCore::HitTestResult::absoluteLinkURL):
              (WebCore::HitTestResult::isLiveLink):
              * rendering/RenderBox.cpp:
              * rendering/RenderButton.cpp:
              (WebCore::RenderButton::updateFromElement):
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::findLegend):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::updateAltText):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::isLegend):
              (WebCore::RenderObject::offsetParent):
              * wml: Removed.
              * wml/WMLAElement.cpp: Removed.
              * wml/WMLAElement.h: Removed.
              * wml/WMLAccessElement.cpp: Removed.
              * wml/WMLAccessElement.h: Removed.
              * wml/WMLAnchorElement.cpp: Removed.
              * wml/WMLAnchorElement.h: Removed.
              * wml/WMLAttributeNames.in: Removed.
              * wml/WMLBRElement.cpp: Removed.
              * wml/WMLBRElement.h: Removed.
              * wml/WMLCardElement.cpp: Removed.
              * wml/WMLCardElement.h: Removed.
              * wml/WMLDoElement.cpp: Removed.
              * wml/WMLDoElement.h: Removed.
              * wml/WMLDocument.cpp: Removed.
              * wml/WMLDocument.h: Removed.
              * wml/WMLElement.cpp: Removed.
              * wml/WMLElement.h: Removed.
              * wml/WMLErrorHandling.cpp: Removed.
              * wml/WMLErrorHandling.h: Removed.
              * wml/WMLEventHandlingElement.cpp: Removed.
              * wml/WMLEventHandlingElement.h: Removed.
              * wml/WMLFieldSetElement.cpp: Removed.
              * wml/WMLFieldSetElement.h: Removed.
              * wml/WMLFormControlElement.cpp: Removed.
              * wml/WMLFormControlElement.h: Removed.
              * wml/WMLGoElement.cpp: Removed.
              * wml/WMLGoElement.h: Removed.
              * wml/WMLImageElement.cpp: Removed.
              * wml/WMLImageElement.h: Removed.
              * wml/WMLImageLoader.cpp: Removed.
              * wml/WMLImageLoader.h: Removed.
              * wml/WMLInputElement.cpp: Removed.
              * wml/WMLInputElement.h: Removed.
              * wml/WMLInsertedLegendElement.cpp: Removed.
              * wml/WMLInsertedLegendElement.h: Removed.
              * wml/WMLIntrinsicEvent.cpp: Removed.
              * wml/WMLIntrinsicEvent.h: Removed.
              * wml/WMLIntrinsicEventHandler.cpp: Removed.
              * wml/WMLIntrinsicEventHandler.h: Removed.
              * wml/WMLMetaElement.cpp: Removed.
              * wml/WMLMetaElement.h: Removed.
              * wml/WMLNoopElement.cpp: Removed.
              * wml/WMLNoopElement.h: Removed.
              * wml/WMLOnEventElement.cpp: Removed.
              * wml/WMLOnEventElement.h: Removed.
              * wml/WMLOptGroupElement.cpp: Removed.
              * wml/WMLOptGroupElement.h: Removed.
              * wml/WMLOptionElement.cpp: Removed.
              * wml/WMLOptionElement.h: Removed.
              * wml/WMLPElement.cpp: Removed.
              * wml/WMLPElement.h: Removed.
              * wml/WMLPageState.cpp: Removed.
              * wml/WMLPageState.h: Removed.
              * wml/WMLPostfieldElement.cpp: Removed.
              * wml/WMLPostfieldElement.h: Removed.
              * wml/WMLPrevElement.cpp: Removed.
              * wml/WMLPrevElement.h: Removed.
              * wml/WMLRefreshElement.cpp: Removed.
              * wml/WMLRefreshElement.h: Removed.
              * wml/WMLSelectElement.cpp: Removed.
              * wml/WMLSelectElement.h: Removed.
              * wml/WMLSetvarElement.cpp: Removed.
              * wml/WMLSetvarElement.h: Removed.
              * wml/WMLTableElement.cpp: Removed.
              * wml/WMLTableElement.h: Removed.
              * wml/WMLTagNames.in: Removed.
              * wml/WMLTaskElement.cpp: Removed.
              * wml/WMLTaskElement.h: Removed.
              * wml/WMLTemplateElement.cpp: Removed.
              * wml/WMLTemplateElement.h: Removed.
              * wml/WMLTimerElement.cpp: Removed.
              * wml/WMLTimerElement.h: Removed.
              * wml/WMLVariables.cpp: Removed.
              * wml/WMLVariables.h: Removed.
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related code in WebKit2.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebProcess/WebPage/WebBackForwardListProxy.cpp:
              * WebProcess/WebPage/WebBackForwardListProxy.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d29d2063
    • ojan@chromium.org's avatar
      2011-04-28 Ojan Vafai <ojan@chromium.org> · a4953d2b
      ojan@chromium.org authored
              Reviewed by Mihai Parparita.
      
              use a hierarchical data structure to store results json
              https://bugs.webkit.org/show_bug.cgi?id=59736
      
              Instead of a map from test name to results dict, we now store a hierarchical
              data structure.
      
              Old: { foo/bar/baz.html: results_dict, foo/bar/baz2.html: results_dict }
              New:
              { foo: {
                  bar: {
                    baz.html: results_dict,
                    baz2.html: results_dict } } }
      
              This cut ~52% of the size of times_ms.json. I expect it will cut
              30-40% of full_results.json and unexpected_results.json.
      
              * Scripts/webkitpy/common/net/resultsjsonparser.py:
              * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
              Using os.sep was just wrong since relative_test_filename canonicalizes separators.
              * Scripts/webkitpy/layout_tests/layout_package/manager.py:
              * Scripts/webkitpy/layout_tests/layout_package/printing.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/tool/commands/rebaselineserver.py:
              Instead of plumbing through the change to all of the rebaselineserver
              python and JS, just convert to the old format after reading in the json.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4953d2b
    • ojan@chromium.org's avatar
      2011-04-28 Ojan Vafai <ojan@chromium.org> · 75fcfb3a
      ojan@chromium.org authored
              Reviewed by Mihai Parparita.
      
              use a hierarchical data structure to store results json
              https://bugs.webkit.org/show_bug.cgi?id=59736
      
              * fast/harness/resources/results-test.js:
              * fast/harness/results.html:
      2011-04-28  Ojan Vafai  <ojan@chromium.org>
      
              Reviewed by Mihai Parparita.
      
              use a hierarchical data structure to store results json
              https://bugs.webkit.org/show_bug.cgi?id=59736
      
              Instead of a map from test name to results dict, we now store a hierarchical
              data structure.
      
              Old: { foo/bar/baz.html: results_dict, foo/bar/baz2.html: results_dict }
              New:
              { foo: {
                  bar: {
                    baz.html: results_dict,
                    baz2.html: results_dict } } }
      
              This cut ~52% of the size of times_ms.json. I expect it will cut
              30-40% of full_results.json and unexpected_results.json.
      
              * Scripts/webkitpy/common/net/resultsjsonparser.py:
              * Scripts/webkitpy/common/net/resultsjsonparser_unittest.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
              Using os.sep was just wrong since relative_test_filename canonicalizes separators.
              * Scripts/webkitpy/layout_tests/layout_package/manager.py:
              * Scripts/webkitpy/layout_tests/layout_package/printing.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/tool/commands/rebaselineserver.py:
              Instead of plumbing through the change to all of the rebaselineserver
              python and JS, just convert to the old format after reading in the json.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75fcfb3a
    • levin@chromium.org's avatar
      2011-04-28 Sheriff Bot <webkit.review.bot@gmail.com> · 664f708d
      levin@chromium.org authored
              Unreviewed, rolling out r85233 and r85235.
              http://trac.webkit.org/changeset/85233
              http://trac.webkit.org/changeset/85235
              https://bugs.webkit.org/show_bug.cgi?id=59754
      
              Causes issues with jsc. (Requested by dave_levin on #webkit).
      
              * GNUmakefile.list.am:
              * JavaScriptCore.gypi:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * jit/ExecutableAllocator.h:
              (JSC::ExecutablePool::ExecutablePool):
              * parser/SourceProvider.h:
              (JSC::SourceProvider::SourceProvider):
              * runtime/RegExp.cpp:
              (JSC::RegExp::RegExp):
              * wtf/CMakeLists.txt:
              * wtf/RefCounted.h:
              (WTF::RefCountedBase::ref):
              (WTF::RefCountedBase::hasOneRef):
              (WTF::RefCountedBase::refCount):
              (WTF::RefCountedBase::derefBase):
              * wtf/SizeLimits.cpp:
              * wtf/ThreadRestrictionVerifier.h: Removed.
              * wtf/text/CString.h:
              (WTF::CStringBuffer::CStringBuffer):
      2011-04-28  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r85233 and r85235.
              http://trac.webkit.org/changeset/85233
              http://trac.webkit.org/changeset/85235
              https://bugs.webkit.org/show_bug.cgi?id=59754
      
              Causes issues with jsc. (Requested by dave_levin on #webkit).
      
              * ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Removed.
      2011-04-28  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r85233 and r85235.
              http://trac.webkit.org/changeset/85233
              http://trac.webkit.org/changeset/85235
              https://bugs.webkit.org/show_bug.cgi?id=59754
      
              Causes issues with jsc. (Requested by dave_levin on #webkit).
      
              * ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Removed.
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::defaultIcon):
              (WebCore::IconDatabase::setIconDataForIconURL):
              (WebCore::IconDatabase::getOrCreateIconRecord):
              (WebCore::IconDatabase::readFromDatabase):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      664f708d
    • ap@apple.com's avatar
      Reviewed by Anders Carlsson. · aa9c917e
      ap@apple.com authored
              WebKit2: Frequent crashes in acceptsFirstMouse
              https://bugs.webkit.org/show_bug.cgi?id=59746
              <rdar://problem/9281270>
      
              The crash occurred when connection was null (and it can become null at any time).
      
              Added checks for the proxy being valid in all sync calls that lacked such.
              WebPageProxy::isValid() is not the same as WebProcessProxy::isValid(), but existing checks
              looked at the former, so I used that.
      
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::firstRectForCharacterInSelectedRange):
              (WebKit::WebPageProxy::getSelectedText):
              (WebKit::WebPageProxy::gestureWillBegin):
              (WebKit::WebPageProxy::createSnapshotOfVisibleContent):
              * UIProcess/mac/WebPageProxyMac.mm:
              (WebKit::WebPageProxy::setComposition):
              (WebKit::WebPageProxy::confirmComposition):
              (WebKit::WebPageProxy::confirmCompositionWithoutDisturbingSelection):
              (WebKit::WebPageProxy::insertText):
              (WebKit::WebPageProxy::getMarkedRange):
              (WebKit::WebPageProxy::getSelectedRange):
              (WebKit::WebPageProxy::getAttributedSubstringFromRange):
              (WebKit::WebPageProxy::characterIndexForPoint):
              (WebKit::WebPageProxy::firstRectForCharacterRange):
              (WebKit::WebPageProxy::executeKeypressCommands):
              (WebKit::WebPageProxy::writeSelectionToPasteboard):
              (WebKit::WebPageProxy::readSelectionFromPasteboard):
              (WebKit::WebPageProxy::shouldDelayWindowOrderingForEvent):
              (WebKit::WebPageProxy::acceptsFirstMouse):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa9c917e
    • eric@webkit.org's avatar
      2011-04-28 Eric Seidel <eric@webkit.org> · 63f33e4b
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              EWS bubbles should show "submit to ews" button if they've not been processed
              https://bugs.webkit.org/show_bug.cgi?id=59751
      
              * QueueStatusServer/handlers/statusbubble.py:
              * QueueStatusServer/handlers/submittoews.py:
              * QueueStatusServer/templates/statusbubble.html:
              * QueueStatusServer/templates/submittoews.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63f33e4b