1. 25 Feb, 2010 24 commits
    • pfeldman@chromium.org's avatar
      2010-02-25 Pavel Feldman <pfeldman@chromium.org> · 81cf3486
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: evaluate-on-hover does not work on HTML files.
      
              https://bugs.webkit.org/show_bug.cgi?id=35378
      
              * inspector/front-end/SourceCSSTokenizer.re2js:
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype.set line):
              (WebInspector.SourceHTMLTokenizer.prototype._isExpectingAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._isExpectingAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._setExpectingAttribute):
              (WebInspector.SourceHTMLTokenizer.prototype._setExpectingAttributeValue):
              (WebInspector.SourceHTMLTokenizer.prototype._attrValueTokenType):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
              * inspector/front-end/SourceJavaScriptTokenizer.js:
              (WebInspector.SourceJavaScriptTokenizer):
              * inspector/front-end/SourceJavaScriptTokenizer.re2js:
              * inspector/front-end/SourceTokenizer.js:
              (WebInspector.SourceTokenizer.prototype.set condition):
              (WebInspector.SourceTokenizer.prototype.get condition):
              (WebInspector.SourceTokenizer.prototype.get subTokenizer):
              (WebInspector.SourceTokenizer.prototype.getLexCondition):
              (WebInspector.SourceTokenizer.prototype.setLexCondition):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter):
              (WebInspector.TextEditorHighlighter.prototype.set mimeType):
              (WebInspector.TextEditorHighlighter.prototype.highlight):
              (WebInspector.TextEditorHighlighter.prototype._highlightInChunks):
              (WebInspector.TextEditorHighlighter.prototype._highlightLines):
              (WebInspector.TextEditorHighlighter.prototype._highlightLine):
              * inspector/front-end/TextViewer.js:
              (WebInspector.TextViewer.prototype._paintLine):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81cf3486
    • jorlow@chromium.org's avatar
      Make the context that was passed to the ThreadFunction accessible. · 7f493695
      jorlow@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35379
      
      Patch by Jochen Eisinger <jochen@chromium.org> on 2010-02-25
      Reviewed by Jeremy Orlow.
      
      When a database is opened, right now you
      don't have any context from where it is opened. The problem is that
      the actual calls that open a database go through the sqlite3 vfs
      layer, so there's no easy way to pass this function down to to
      platform/sql/chromium/SQLFileSystemChromium*.cpp
      
      This patch will allow you to get from anywhere within webkit a pointer
      to the Thread object that actually created the thread you're currently
      on (in case of the database, this can be either a thread forked of
      from the main thread or from a worker thread), and query the object
      for context information.
      
      * wtf/Threading.h:
      * wtf/ThreadingNone.cpp:
      (WTF::threadContext):
      * wtf/ThreadingPthreads.cpp:
      (WTF::):
      (WTF::identifierByPthreadHandle):
      (WTF::establishIdentifierForPthreadHandle):
      (WTF::pthreadHandleForIdentifier):
      (WTF::contextForIdentifier):
      (WTF::createThreadInternal):
      (WTF::currentThread):
      (WTF::threadContext):
      * wtf/ThreadingWin.cpp:
      (WTF::):
      (WTF::threadMap):
      (WTF::storeThreadHandleByIdentifier):
      (WTF::threadHandleForIdentifier):
      (WTF::contextForIdentifier):
      (WTF::createThreadInternal):
      (WTF::threadContext):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f493695
    • jorlow@chromium.org's avatar
      Reverting to re-submit with better change log. · 162895c0
      jorlow@chromium.org authored
      * wtf/Threading.h:
      * wtf/ThreadingNone.cpp:
      (WTF::isMainThread):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      (WTF::establishIdentifierForPthreadHandle):
      (WTF::pthreadHandleForIdentifier):
      (WTF::createThreadInternal):
      (WTF::currentThread):
      * wtf/ThreadingWin.cpp:
      (WTF::threadMap):
      (WTF::storeThreadHandleByIdentifier):
      (WTF::threadHandleForIdentifier):
      (WTF::createThreadInternal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      162895c0
    • kov@webkit.org's avatar
      2010-02-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · e958733a
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              [Gtk] crashed when destroying
              https://bugs.webkit.org/show_bug.cgi?id=31271
      
              NULL-check the page before relaying the focus out event, since
              this might happen when destroying the widget without destroying
              its parent, and we currently crash.
      
              * tests/testwebview.c:
              (delayed_destroy):
              (test_webkit_web_view_destroy):
              (main):
              * webkit/webkitwebview.cpp:
              (webkit_web_view_focus_in_event):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e958733a
    • xan@webkit.org's avatar
      2010-02-25 Xan Lopez <xlopez@igalia.com> · 99cb16ef
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Simple style cleanups.
      
              * plugins/gtk/PluginViewGtk.cpp:
              (WebCore::plugRemovedCallback):
              (WebCore::plugAddedCallback):
              (WebCore::PluginView::platformStart):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99cb16ef
    • abarth@webkit.org's avatar
      2010-02-25 Adam Barth <abarth@webkit.org> · cd4817a6
      abarth@webkit.org authored
              Reviewed by David Levin.
      
              EWS leaks memory slowly
              https://bugs.webkit.org/show_bug.cgi?id=35395
      
              The EWS bots leak memory very slowly.  If you run them for about a
              month, each one will take up around 1 GB of virutal memory.  If you run
              several of them on one machine, you'll eventually exhaust all available
              memory and grind the bots to a halt.
      
              This patch introduces a --exit-after-iteration option to the queues so
              that we run them for a finite amount of time.  Once they exit and
              restart, they'll reclaim the leaked memory.  I'm not sure how many
              iterations I'll end up running them for.  I'll need to sort that out
              operationally, but my initial guess is around 1000.
      
              * Scripts/webkitpy/commands/queues.py:
              * Scripts/webkitpy/commands/queues_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd4817a6
    • eric@webkit.org's avatar
      2010-02-25 Andreas Kling <andreas.kling@nokia.com> · 2fef2fe0
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Optimize decoding of Latin-1 text by exploiting the fact that most of it will
              be ASCII-only data.
      
              https://bugs.webkit.org/show_bug.cgi?id=35233
      
              * platform/text/TextCodecLatin1.cpp:
              (WebCore::TextCodecLatin1::decode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fef2fe0
    • pfeldman@chromium.org's avatar
      2010-02-25 Pavel Feldman <pfeldman@chromium.org> · 091c8281
      pfeldman@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Web Inspector: make script lines count calculation lazy.
      
              https://bugs.webkit.org/show_bug.cgi?id=35392
      
              * inspector/front-end/Script.js:
              (WebInspector.Script):
              (WebInspector.Script.prototype.get linesCount):
              * inspector/front-end/ScriptsPanel.js:
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView.prototype._addBreakpoint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      091c8281
    • levin@chromium.org's avatar
      Change hardcoded gcc paths to be Solaris friendly · 8a929be4
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35213
      
      Patch by James Choi <jchoi42@pha.jhu.edu> on 2010-02-25
      Reviewed by David Levin.
      
      * bindings/scripts/CodeGeneratorObjC.pm:
      * bindings/scripts/IDLParser.pm:
      * css/make-css-file-arrays.pl:
      * dom/make_names.pl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a929be4
    • darin@chromium.org's avatar
      2010-02-24 Darin Fisher <darin@chromium.org> · e0789c19
      darin@chromium.org authored
              Reviewed by David Levin.
      
              Add a missing WebString.h include.
              https://bugs.webkit.org/show_bug.cgi?id=35360
      
              This is required since some of the methods have implementations that
              return a WebString.
      
              * public/WebCookieJar.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0789c19
    • xan@webkit.org's avatar
      2010-02-25 Xan Lopez <xlopez@igalia.com> · 74eb6efc
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Workaround Java plugins not drawing themselves properly on first
              expose by doing a late size-allocate after 'plug-added' has been
              emitted on the embedding GtkSocket. It's unclear to me if this is
              a bug in our side or theirs, but this should be pretty safe and
              fixes the annoyance while we investigate it further.
      
              * plugins/gtk/PluginViewGtk.cpp:
              (WebCore::plugAddedCallback):
              (WebCore::PluginView::platformStart):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74eb6efc
    • jocelyn.turcotte@nokia.com's avatar
      Add missing include guards · 5de927ac
      jocelyn.turcotte@nokia.com authored
      Reviewed by Tor Arne Vestbø.
      
      * loader/CrossOriginPreflightResultCache.h:
      * loader/MainResourceLoader.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5de927ac
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Restrict the optimization flags for Symbian to release builds. · 8cb446cb
      jocelyn.turcotte@nokia.com authored
      Reviewed by Tor Arne Vestbø.
      
      * WebCore.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8cb446cb
    • eric@webkit.org's avatar
      2010-02-25 Jarkko Sakkinen <jarkko.sakkinen@tieto.com> · 17dee22d
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Qt WebGL support
      
              Adds GraphicsContext3D QtWebKit implementation.
              https://bugs.webkit.org/show_bug.cgi?id=35153
      
              * WebCore.pri:
              * WebCore.pro:
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/qt/GraphicsContext3DQt.cpp: Added.
              (WebCore::GraphicsContext3DInternal::isValid):
              (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
              (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
              (WebCore::GraphicsContext3DInternal::getProcAddress):
              (WebCore::GraphicsContext3D::create):
              (WebCore::GraphicsContext3D::GraphicsContext3D):
              (WebCore::GraphicsContext3D::~GraphicsContext3D):
              (WebCore::GraphicsContext3D::platformGraphicsContext3D):
              (WebCore::GraphicsContext3D::platformTexture):
              (WebCore::GraphicsContext3D::makeContextCurrent):
              (WebCore::GraphicsContext3D::beginPaint):
              (WebCore::GraphicsContext3D::endPaint):
              (WebCore::GraphicsContext3D::reshape):
              (WebCore::GraphicsContext3D::activeTexture):
              (WebCore::GraphicsContext3D::attachShader):
              (WebCore::GraphicsContext3D::bindAttribLocation):
              (WebCore::GraphicsContext3D::bindBuffer):
              (WebCore::GraphicsContext3D::bindFramebuffer):
              (WebCore::GraphicsContext3D::bindRenderbuffer):
              (WebCore::GraphicsContext3D::bindTexture):
              (WebCore::GraphicsContext3D::blendColor):
              (WebCore::GraphicsContext3D::blendEquation):
              (WebCore::GraphicsContext3D::blendEquationSeparate):
              (WebCore::GraphicsContext3D::blendFunc):
              (WebCore::GraphicsContext3D::blendFuncSeparate):
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
              (WebCore::GraphicsContext3D::checkFramebufferStatus):
              (WebCore::GraphicsContext3D::clearColor):
              (WebCore::GraphicsContext3D::clear):
              (WebCore::GraphicsContext3D::clearDepth):
              (WebCore::GraphicsContext3D::clearStencil):
              (WebCore::GraphicsContext3D::colorMask):
              (WebCore::GraphicsContext3D::compileShader):
              (WebCore::GraphicsContext3D::copyTexImage2D):
              (WebCore::GraphicsContext3D::copyTexSubImage2D):
              (WebCore::GraphicsContext3D::cullFace):
              (WebCore::GraphicsContext3D::depthFunc):
              (WebCore::GraphicsContext3D::depthMask):
              (WebCore::GraphicsContext3D::depthRange):
              (WebCore::GraphicsContext3D::detachShader):
              (WebCore::GraphicsContext3D::disable):
              (WebCore::GraphicsContext3D::disableVertexAttribArray):
              (WebCore::GraphicsContext3D::drawArrays):
              (WebCore::GraphicsContext3D::drawElements):
              (WebCore::GraphicsContext3D::enable):
              (WebCore::GraphicsContext3D::enableVertexAttribArray):
              (WebCore::GraphicsContext3D::finish):
              (WebCore::GraphicsContext3D::flush):
              (WebCore::GraphicsContext3D::framebufferRenderbuffer):
              (WebCore::GraphicsContext3D::framebufferTexture2D):
              (WebCore::GraphicsContext3D::frontFace):
              (WebCore::GraphicsContext3D::generateMipmap):
              (WebCore::GraphicsContext3D::getActiveAttrib):
              (WebCore::GraphicsContext3D::getActiveUniform):
              (WebCore::GraphicsContext3D::getAttribLocation):
              (WebCore::GraphicsContext3D::getContextAttributes):
              (WebCore::GraphicsContext3D::getError):
              (WebCore::GraphicsContext3D::getString):
              (WebCore::GraphicsContext3D::hint):
              (WebCore::GraphicsContext3D::isBuffer):
              (WebCore::GraphicsContext3D::isEnabled):
              (WebCore::GraphicsContext3D::isFramebuffer):
              (WebCore::GraphicsContext3D::isProgram):
              (WebCore::GraphicsContext3D::isRenderbuffer):
              (WebCore::GraphicsContext3D::isShader):
              (WebCore::GraphicsContext3D::isTexture):
              (WebCore::GraphicsContext3D::lineWidth):
              (WebCore::GraphicsContext3D::linkProgram):
              (WebCore::GraphicsContext3D::pixelStorei):
              (WebCore::GraphicsContext3D::polygonOffset):
              (WebCore::GraphicsContext3D::readPixels):
              (WebCore::GraphicsContext3D::releaseShaderCompiler):
              (WebCore::GraphicsContext3D::renderbufferStorage):
              (WebCore::GraphicsContext3D::sampleCoverage):
              (WebCore::GraphicsContext3D::scissor):
              (WebCore::GraphicsContext3D::shaderSource):
              (WebCore::GraphicsContext3D::stencilFunc):
              (WebCore::GraphicsContext3D::stencilFuncSeparate):
              (WebCore::GraphicsContext3D::stencilMask):
              (WebCore::GraphicsContext3D::stencilMaskSeparate):
              (WebCore::GraphicsContext3D::stencilOp):
              (WebCore::GraphicsContext3D::stencilOpSeparate):
              (WebCore::GraphicsContext3D::texParameterf):
              (WebCore::GraphicsContext3D::texParameteri):
              (WebCore::GraphicsContext3D::uniform1f):
              (WebCore::GraphicsContext3D::uniform1fv):
              (WebCore::GraphicsContext3D::uniform2f):
              (WebCore::GraphicsContext3D::uniform2fv):
              (WebCore::GraphicsContext3D::uniform3f):
              (WebCore::GraphicsContext3D::uniform3fv):
              (WebCore::GraphicsContext3D::uniform4f):
              (WebCore::GraphicsContext3D::uniform4fv):
              (WebCore::GraphicsContext3D::uniform1i):
              (WebCore::GraphicsContext3D::uniform1iv):
              (WebCore::GraphicsContext3D::uniform2i):
              (WebCore::GraphicsContext3D::uniform2iv):
              (WebCore::GraphicsContext3D::uniform3i):
              (WebCore::GraphicsContext3D::uniform3iv):
              (WebCore::GraphicsContext3D::uniform4i):
              (WebCore::GraphicsContext3D::uniform4iv):
              (WebCore::GraphicsContext3D::uniformMatrix2fv):
              (WebCore::GraphicsContext3D::uniformMatrix3fv):
              (WebCore::GraphicsContext3D::uniformMatrix4fv):
              (WebCore::GraphicsContext3D::useProgram):
              (WebCore::GraphicsContext3D::validateProgram):
              (WebCore::GraphicsContext3D::vertexAttrib1f):
              (WebCore::GraphicsContext3D::vertexAttrib1fv):
              (WebCore::GraphicsContext3D::vertexAttrib2f):
              (WebCore::GraphicsContext3D::vertexAttrib2fv):
              (WebCore::GraphicsContext3D::vertexAttrib3f):
              (WebCore::GraphicsContext3D::vertexAttrib3fv):
              (WebCore::GraphicsContext3D::vertexAttrib4f):
              (WebCore::GraphicsContext3D::vertexAttrib4fv):
              (WebCore::GraphicsContext3D::vertexAttribPointer):
              (WebCore::GraphicsContext3D::viewport):
              (WebCore::GraphicsContext3D::getBooleanv):
              (WebCore::GraphicsContext3D::getBufferParameteriv):
              (WebCore::GraphicsContext3D::getFloatv):
              (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
              (WebCore::GraphicsContext3D::getIntegerv):
              (WebCore::GraphicsContext3D::getProgramiv):
              (WebCore::GraphicsContext3D::getProgramInfoLog):
              (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
              (WebCore::GraphicsContext3D::getShaderiv):
              (WebCore::GraphicsContext3D::getShaderInfoLog):
              (WebCore::GraphicsContext3D::getShaderSource):
              (WebCore::GraphicsContext3D::getTexParameterfv):
              (WebCore::GraphicsContext3D::getTexParameteriv):
              (WebCore::GraphicsContext3D::getUniformfv):
              (WebCore::GraphicsContext3D::getUniformiv):
              (WebCore::GraphicsContext3D::getUniformLocation):
              (WebCore::GraphicsContext3D::getVertexAttribfv):
              (WebCore::GraphicsContext3D::getVertexAttribiv):
              (WebCore::GraphicsContext3D::getVertexAttribOffset):
              (WebCore::GraphicsContext3D::texImage2D):
              (WebCore::GraphicsContext3D::texSubImage2D):
              (WebCore::GraphicsContext3D::createBuffer):
              (WebCore::GraphicsContext3D::createFramebuffer):
              (WebCore::GraphicsContext3D::createProgram):
              (WebCore::GraphicsContext3D::createRenderbuffer):
              (WebCore::GraphicsContext3D::createShader):
              (WebCore::GraphicsContext3D::createTexture):
              (WebCore::GraphicsContext3D::deleteBuffer):
              (WebCore::GraphicsContext3D::deleteFramebuffer):
              (WebCore::GraphicsContext3D::deleteProgram):
              (WebCore::GraphicsContext3D::deleteRenderbuffer):
              (WebCore::GraphicsContext3D::deleteShader):
              (WebCore::GraphicsContext3D::deleteTexture):
              (WebCore::GraphicsContext3D::sizeInBytes):
              (WebCore::GraphicsContext3D::synthesizeGLError):
              (WebCore::GraphicsContext3D::getImageData):
      2010-02-25  Jarkko Sakkinen  <jarkko.sakkinen@tieto.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Qt WebGL support
      
              Adds enabling and disabling of WebGL support to QWebSettings.
              https://bugs.webkit.org/show_bug.cgi?id=35153
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
              (QWebSettings::QWebSettings):
              * Api/qwebsettings.h:
      2010-02-25  Jarkko Sakkinen  <jarkko.sakkinen@tieto.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Qt WebGL support
      
              Adds toggling of WebGL support to QtLauncher.
              https://bugs.webkit.org/show_bug.cgi?id=35153
      
              * QtLauncher/main.cpp:
              (LauncherWindow::toggleWebGL):
              (LauncherWindow::setupUI):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17dee22d
    • eric@webkit.org's avatar
      2010-02-25 Jochen Eisinger <jochen@chromium.org> · 95c6e9da
      eric@webkit.org authored
              Reviewed by Jeremy Orlow.
      
              Make the context that was passed to the ThreadFunction accessible.
              https://bugs.webkit.org/show_bug.cgi?id=35379
      
              * wtf/Threading.h:
              * wtf/ThreadingNone.cpp:
              (WTF::threadContext):
              * wtf/ThreadingPthreads.cpp:
              (WTF::):
              (WTF::identifierByPthreadHandle):
              (WTF::establishIdentifierForPthreadHandle):
              (WTF::pthreadHandleForIdentifier):
              (WTF::contextForIdentifier):
              (WTF::createThreadInternal):
              (WTF::currentThread):
              (WTF::threadContext):
              * wtf/ThreadingWin.cpp:
              (WTF::):
              (WTF::threadMap):
              (WTF::storeThreadHandleByIdentifier):
              (WTF::threadHandleForIdentifier):
              (WTF::contextForIdentifier):
              (WTF::createThreadInternal):
              (WTF::threadContext):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c6e9da
    • pfeldman@chromium.org's avatar
      2010-02-25 Pavel Feldman <pfeldman@chromium.org> · 58bf4747
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Swap images for activate and deactivate breakpoints.
      
              https://bugs.webkit.org/show_bug.cgi?id=35383
      
              * WebCore.gypi:
              * inspector/front-end/Images/breakpointsActivateButtonGlyph.png: Renamed from WebCore/inspector/front-end/Images/deactivateBreakpointsButtonGlyph.png.
              * inspector/front-end/Images/breakpointsDeactivateButtonGlyph.png: Renamed from WebCore/inspector/front-end/Images/deactivateBreakpointsDisabledButtonGlyph.png.
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58bf4747
    • kov@webkit.org's avatar
      2010-02-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 16ccb995
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              Go back on symlink resolution if we are loading the flash plugin,
              and the path contains /netscape/, following what Chromium does.
      
              Thanks to Evan Martin for the help on this!
      
              * plugins/gtk/PluginPackageGtk.cpp:
              (WebCore::PluginPackage::load):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16ccb995
    • pfeldman@chromium.org's avatar
      2010-02-23 Pavel Feldman <pfeldman@chromium.org> · beffff7c
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Scripts panel shows blank source when stopping on a breakpoint on refresh.
      
              https://bugs.webkit.org/show_bug.cgi?id=35232
      
              * inspector/front-end/Panel.js:
              (WebInspector.Panel.prototype.canShowSourceLine):
              (WebInspector.Panel.prototype.showSourceLine):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
              (WebInspector.ResourcesPanel.prototype.showSourceLine):
              * inspector/front-end/Script.js:
              (WebInspector.Script):
              * inspector/front-end/ScriptView.js:
              (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
              (WebInspector.ScriptsPanel.prototype.get searchableViews):
              (WebInspector.ScriptsPanel.prototype.addScript):
              (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
              (WebInspector.ScriptsPanel.prototype.addBreakpoint):
              (WebInspector.ScriptsPanel.prototype.removeBreakpoint):
              (WebInspector.ScriptsPanel.prototype.reset):
              (WebInspector.ScriptsPanel.prototype.canShowSourceLine):
              (WebInspector.ScriptsPanel.prototype.showSourceLine):
              (WebInspector.ScriptsPanel.prototype._scriptOrResourceForURLAndLine):
              (WebInspector.ScriptsPanel.prototype.showView):
              (WebInspector.ScriptsPanel.prototype._sourceFrameForScriptOrResource):
              (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
              (WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu.optionCompare):
              (WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu):
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView.prototype._addBreakpoint):
              * inspector/front-end/inspector.js:
              (WebInspector.documentClick.followLink):
              (WebInspector.documentClick):
              (WebInspector._choosePanelToShowSourceLine):
              (WebInspector.canShowSourceLine):
              (WebInspector.showSourceLine):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      beffff7c
    • eric@webkit.org's avatar
      2010-02-25 Ben Murdoch <benm@google.com> · d72a19c1
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              The target element of a Touch should be the target where that touch originated, not where it is now.
              https://bugs.webkit.org/show_bug.cgi?id=34585
      
              * fast/events/touch/basic-single-touch-events-expected.txt: Update expected target element.
              * fast/events/touch/script-tests/basic-single-touch-events.js: ditto.
              * fast/events/touch/script-tests/touch-target.js: Added.
              * fast/events/touch/touch-target-expected.txt: Added.
              * fast/events/touch/touch-target.html: Added.
      2010-02-25  Ben Murdoch  <benm@google.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              The target element of a Touch should be the target where that touch originated, not where it is now.
              https://bugs.webkit.org/show_bug.cgi?id=34585
      
              Currently the target of a touch is set to the resulting node of the hit test where the touch currently
              is. This does not match the behavior of iPhone or Android. This patch uses a hashmap on the EventHandler
              to keep track of the target element when a touch is first started. This target is then used as the target
              for subsequent touches with the same id. This matches observed behavior on iPhone and Android.
      
              Tests:
              fast/events/touch/touch-target.html: Added.
              fast/events/touch/basic-single-touch-events.html: Updated.
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleTouchEvent): Store the originating target element of a touch in a hashmap
                  so that we can reuse that target for future events caused by that touch. This matches observed behavior
                  on iPhone and Android.
              * page/EventHandler.h: Add hashmap as a member.
              * platform/PlatformTouchPoint.h:
              (WebCore::PlatformTouchPoint::id): Store the touch point id as unsigned.
              * platform/qt/PlatformTouchPointQt.cpp:
              (WebCore::PlatformTouchPoint::PlatformTouchPoint): Cast platform touch id from signed to unsigned. Qt API
                  docs state that it will always be >= 0.
      2010-02-25  Ben Murdoch  <benm@google.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              The target element of a Touch should be the target where that touch originated, not where it is now.
              https://bugs.webkit.org/show_bug.cgi?id=34585
      
              * DumpRenderTree/qt/EventSenderQt.cpp:
              (EventSender::addTouchPoint): Fix a bug where touch points were not being given unique ids.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d72a19c1
    • xan@webkit.org's avatar
      2010-02-25 Xan Lopez <xlopez@igalia.com> · feaa2a70
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Unskip a bunch of (AFAICT) non-flakey HTTP tests that we currently
              pass.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      feaa2a70
    • tonikitoo@webkit.org's avatar
      Add a convenient center() method to IntRect · 6fe487e0
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35346
      
      Reviewed by Simon Fraser.
      Patch by Antonio Gomes <tonikitoo@webkit.org>
      
      As it is a convenience method, and implemention is
      based on FloatRect's one, patch does not provide a
      layout test.
      
      * platform/graphics/IntRect.h:
      (WebCore::IntRect::center):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fe487e0
    • eric@webkit.org's avatar
      2010-02-25 Andrey Kosyakov <caseq@chromium.org> · 700c5b0d
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Fake workers implementation that simulates workers using iframe and timer,
              needed to support workers debugging. Also, a facility to inject scripts into
              inspected page upon load.
              https://bugs.webkit.org/show_bug.cgi?id=35148
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::addScriptToEvaluateOnLoad):
              (WebCore::InspectorBackend::removeAllScriptsToEvaluateOnLoad):
              * inspector/InspectorBackend.h:
              * inspector/InspectorBackend.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::didCommitLoad):
              (WebCore::InspectorController::addScriptToEvaluateOnLoad):
              (WebCore::InspectorController::removeAllScriptsToEvaluateOnLoad):
              * inspector/InspectorController.h:
              * inspector/front-end/InjectedFakeWorker.js: Added.
              (InjectedFakeWorker.Worker):
              (InjectedFakeWorker.FakeWorker):
              (InjectedFakeWorker.FakeWorker.prototype.postMessage):
              (InjectedFakeWorker.FakeWorker.prototype.terminate):
              (InjectedFakeWorker.FakeWorker.prototype._onmessageWrapper):
              (InjectedFakeWorker.FakeWorker.prototype._dispatchMessage):
              (InjectedFakeWorker.FakeWorker.prototype._handleException):
              (InjectedFakeWorker.FakeWorker.prototype._buildWorker):
              (InjectedFakeWorker.FakeWorker.prototype._setupWorkerContext.handler):
              (InjectedFakeWorker.FakeWorker.prototype._setupWorkerContext):
              (InjectedFakeWorker.FakeWorker.prototype._importScripts):
              (InjectedFakeWorker.FakeWorker.prototype._loadScript):
              (InjectedFakeWorker.URL):
              (InjectedFakeWorker.URL.prototype.urlRegEx.split):
              (InjectedFakeWorker.URL.prototype.mockLocation):
              (InjectedFakeWorker.URL.prototype.completeWith):
              (InjectedFakeWorker.URL.prototype.sameOrigin):
              (InjectedFakeWorker.DOMCoreException.formatError):
              (InjectedFakeWorker.DOMCoreException):
              (InjectedFakeWorker.noop):
              * inspector/front-end/InspectorBackendStub.js:
              (.WebInspector.InspectorBackendStub.prototype.setInjectedScriptSource):
              (.WebInspector.InspectorBackendStub.prototype.addScriptToEvaluateOnLoad):
              (.WebInspector.InspectorBackendStub.prototype.removeAllScriptsToEvaluateOnLoad):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      700c5b0d
    • eric@webkit.org's avatar
      2010-02-24 Sam Kerner <skerner@chromium.org> · f3a0e5dc
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Expose WebFrame::setCanHaveScrollbars().  This allows a view
              which is being resized to not need scroll bars to ensure that
              they are not drawn.
      
              Existing function setAllowsScrolling() was renamed
              setCanHaveScrollbars(), to be consistant with change 37159:
              http://trac.webkit.org/changeset/37159
      
              https://bugs.webkit.org/show_bug.cgi?id=35257
      
              * WebKit/chromium/public/WebFrame.h:
              * WebKit/chromium/src/ChromeClientImpl.cpp:
              * WebKit/chromium/src/WebFrameImpl.cpp:
              * WebKit/chromium/src/WebFrameImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3a0e5dc
    • eric@webkit.org's avatar
      2010-02-24 Nicholas Young <nicholas.young@nokia.com> · 525cdb2d
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              Add mediaPlayerOwningDocument() to MediaPlayerClient.
              https://bugs.webkit.org/show_bug.cgi?id=35374
      
              No new tests. These are interface changes only.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::mediaPlayerOwningDocument): Implementation for media element.
              * html/HTMLMediaElement.h:
              * platform/graphics/MediaPlayer.h:
              (WebCore::MediaPlayerClient::mediaPlayerOwningDocument): New virtual method.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      525cdb2d
  2. 24 Feb, 2010 16 commits
    • eric@webkit.org's avatar
      2010-02-24 Andreas Kling <andreas.kling@nokia.com> · 248000cc
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Optimized Font::normalizeSpaces() by caching the String::characters()
              instead of repeatedly calling operator[]
      
              https://bugs.webkit.org/show_bug.cgi?id=35336
      
              * platform/graphics/Font.cpp:
              (WebCore::Font::normalizeSpaces):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      248000cc
    • eric@webkit.org's avatar
      2010-02-24 Jungshik Shin <jshin@chromium.org> · 0aff2ed4
      eric@webkit.org authored
              Reviewed by David Levin.
      
              [Chromium] Traditional Chinese Chrome on Windows should use PMingLiu instead of Simsun for Han characters
              https://bugs.webkit.org/show_bug.cgi?id=35319
      
              No visible change in the layout test.
      
              * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
              (WebCore::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0aff2ed4
    • mrobinson@webkit.org's avatar
      2010-02-24 Krzysztof Kotlenga <pocek@users.sf.net> · 8ecb96d1
      mrobinson@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Creation of a WebkitWebView widget is very slow
              https://bugs.webkit.org/show_bug.cgi?id=30032
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::ignoreWordInSpellDocument): Change 'langs' to 'dicts'
              to reflect the fact that the list just holds Enchant dictionaries now.
              (WebKit::EditorClient::learnWord): Ditto.
              (WebKit::EditorClient::checkSpellingOfString): Ditto.
              (WebKit::EditorClient::getGuessesForWord): Ditto.
              * webkit/webkitprivate.h: Remove the now unused SpellLanguage struct.
              * webkit/webkitwebsettings.cpp: Change function call to reflect new
              webkit_web_settings_get_enchant_dicts name.
              (get_enchant_broker): Add this method which returns the enchant broker singleton.
              (free_spell_checking_language): The list contents have changed, so change
              the way each element is freed.
              (webkit_web_settings_finalize): Change to reflect 'spell_checking_languages_list'
              to 'enchant_dicts' member name change.
              (webkit_web_settings_set_property): Use the broker singleton here instead of making
              a new one for each language. The Enchant dictionary is now the list payload.
              (webkit_web_settings_copy): More name-change updates.
              (webkit_web_settings_get_enchant_dicts): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ecb96d1
    • eric@webkit.org's avatar
      2010-02-24 Anthony Ricaud <rik@webkit.org> · 69eb4e28
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Reduce the timer to show the eval popover
              https://bugs.webkit.org/show_bug.cgi?id=35344
      
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._mouseMove):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69eb4e28
    • eric@webkit.org's avatar
      2010-02-24 Chris Evans <cevans@chromium.org> · f6531c64
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add test for SVG that used to cause crash.
              It has been fixed on trunk for a while, thanks to the <use> rewrite,
              but we want to make sure we do not regress.
      
              * svg/dom/use-transform.svg: Added.
              * svg/dom/use-transform-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6531c64
    • eric@webkit.org's avatar
      2010-02-24 Jay Campan <jcampan@google.com> · 2f851f1a
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Don't show the autofill popup when the input text is disabled or read only.
      
              Test: manual-tests/chromium/no-autofill-on-readonly.html
      
              https://bugs.webkit.org/show_bug.cgi?id=35129
      
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::autofill):
              *  manual-tests/chromium/no-autofill-on-readonly.html: Added.
      2010-02-24  Jay Campan  <jcampan@google.com>
      
              Reviewed by David Levin.
      
              Don't show the autofill popup when the input text is disabled or read only.
      
              https://bugs.webkit.org/show_bug.cgi?id=35129
      
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::autofill):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f851f1a
    • eric@webkit.org's avatar
      2010-02-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · 535a7443
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] QtLauncher has a border when running on QGraphicsView mode
              https://bugs.webkit.org/show_bug.cgi?id=35352
      
              Fix 2-pixels frame on each border of QtLauncher when running on QGraphicsView mode.
      
              * QtLauncher/webview.cpp:
              (WebViewGraphicsBased::WebViewGraphicsBased):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      535a7443
    • eric@webkit.org's avatar
      2010-02-24 Dominic Mazzoni <dmazzoni@chromium.org> · d2abb717
      eric@webkit.org authored
              Reviewed by Jeremy Orlow.
      
              Wraps includes of SVG headers so that it's possible to
              compile the V8 bindings with SVG disabled, e.g. 'enable_svg=0'.
              https://bugs.webkit.org/show_bug.cgi?id=35345
      
              No new tests.
      
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/custom/V8CSSValueCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              * bindings/v8/custom/V8ElementCustom.cpp:
              * bindings/v8/custom/V8EventCustom.cpp:
              * bindings/v8/custom/V8SVGElementCustom.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2abb717
    • mjs@apple.com's avatar
      Unreviewed build fix. · 633bc4d8
      mjs@apple.com authored
      Fix gtk build.
      
      Include JSC headers as runtime/ instead of JavaScriptCore/
      
      * bindings/js/JSDOMWrapper.h:
      * bindings/js/ScriptWrappable.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      633bc4d8
    • mjs@apple.com's avatar
      2010-02-24 Maciej Stachowiak <mjs@apple.com> · 8da090ca
      mjs@apple.com authored
              Reviewed by Oliver Hunt.
      
              Cache JavaScript wrappers inline in DOM nodes
              https://bugs.webkit.org/show_bug.cgi?id=35226
      
              <rdar://problem/7664202>
              
              7.4% speedup on Dromaeo DOM Core tests.
              2.3% speedup on Hixie DOM Core tests.
      
              This fixes the following things from the last attempt:
              - Now builds in both debug and release and passes all tests
              - Properly use a WeakGCPtr, not just a raw pointer, in ScriptWrappable
              - Properly look in the appropriate per-document or per-world map
              - Added an assert that would have caught any of the problems I found
              - Handle clearing the inline cache properly in all cases
              
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::cacheDOMObjectWrapper): Adjust for name changes.
              (WebCore::forgetDOMNode): Clear wrapper pointer.
              (WebCore::cacheDOMNodeWrapper): Cache inline too if caching for normal world.
              * bindings/js/JSDOMBinding.h:
              (WebCore::Document::getWrapperCache): Inlined.
              (WebCore::domObjectWrapperMapFor): Renamed to start with lowercase. Moved to header to inline.
              * bindings/js/JSDOMWrapper.h: Added.
              (WebCore::DOMObject::DOMObject): Factored this out of JSDOMBinding.h to avoid include
              cycle. I think the class should be renamed, I picked a forward-looking header name because
              we already have a DOMObject.h
              * bindings/js/JSNodeCustom.cpp:
              (WebCore::createWrapperInline): Renamed version of original createWrapper.
              (WebCore::createWrapper): Call createWrapperInline. Out-of-line version.
              (WebCore::toJSNewlyCreated): Call createWrapperInline instead of createWrapper.
              * bindings/js/JSNodeCustom.h: Added.
              (WebCore::getCachedDOMNodeWrapper): Moved from JSDOMBinding.cpp and moved here,
              so it could inline everywhere without creating an include cycle. Consider inline
              cache.
              (WebCore::toJS): Moved to header to inline.
              * bindings/js/ScriptWrappable.h:
              (WebCore::ScriptWrappable::ScriptWrappable): Implement this in the obvious
              way for JavaScriptCore. (Using a WeakGCPtr).
              (WebCore::ScriptWrappable::wrapper):
              (WebCore::ScriptWrappable::setWrapper):
              (WebCore::ScriptWrappable::clearWrapper):
              * bindings/scripts/CodeGeneratorJS.pm: Include CustomHeader heaaders
              in the header, not just the impl file, so they can add inlining.
              * dom/Node.idl: Add CustomHeader directive.
              
              Add new files to build.
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8da090ca
    • eric@webkit.org's avatar
      2010-02-24 Jochen Eisinger <jochen@chromium.org> · f4bbad1f
      eric@webkit.org authored
              Reviewed by Jeremy Orlow.
      
              Expose Database object of currently active task on the database thread
              https://bugs.webkit.org/show_bug.cgi?id=35341
      
              * storage/DatabaseThread.cpp:
              (WebCore::DatabaseThread::DatabaseThread):
              (WebCore::DatabaseThread::databaseThread):
              * storage/DatabaseThread.h:
              (WebCore::DatabaseThread::getDatabaseOfCurrentTask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4bbad1f
    • eric@webkit.org's avatar
      2010-02-24 Nicholas Young <nicholas.young@nokia.com> · 26bf5eae
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              supportsMuting() should be an internal interface between MediaPlayer and MediaPlayerPrivate.
              https://bugs.webkit.org/show_bug.cgi?id=35327
      
              No new tests. Refactoring Only.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::setMuted): Do not check supportsMuting()
              (WebCore::HTMLMediaElement::updateVolume): Set volume and muted
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::MediaPlayer::setVolume): Check supportsMuting()
              (WebCore::MediaPlayer::setMuted): Check supportsMuting()
              * platform/graphics/MediaPlayer.h: Remove supportsMuting()
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26bf5eae
    • mitz@apple.com's avatar
      Rubber-stamped by Anders Carlsson. · 1bbb68d9
      mitz@apple.com authored
      Keep this test’s behavior the same after r55203.
      
      * fast/dom/script-tests/prototype-inheritance-2.js: Explicitly set the inner document’s body
      display property to “none”. Before r55203, this happened as a side effect of parsing the
      <frameset> tag.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bbb68d9
    • mrowe@apple.com's avatar
      Versioning. · 662bf480
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      662bf480
    • dpranke@chromium.org's avatar
      2010-02-23 Dirk Pranke <dpranke@chromium.org> · e4a6accc
      dpranke@chromium.org authored
              Reviewed by David Levin.
      
              When the run-chromium-webkit-tests code was landed and the code was
              refactored into the 'port' package, I accidentally broke using
              http_server.py or websocket_server.py as command-line scripts
              (the constructors needed a port object they weren't getting). This
              change fixes them so that --server start|stop actually works.
      
              As a part of this, the two files need to be able to call port.get(),
              but doing that is awkward from a file inside the package, so I moved
              get() into factory.py and imported that into __init__.py so that
              http_server.py and websocket_server.py can just import factory.
      
              https://bugs.webkit.org/show_bug.cgi?id=35316
      
              * Scripts/webkitpy/layout_tests/port/__init__.py:
              * Scripts/webkitpy/layout_tests/port/factory.py:
              * Scripts/webkitpy/layout_tests/port/http_server.py:
              * Scripts/webkitpy/layout_tests/port/websocket_server.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4a6accc
    • dpranke@chromium.org's avatar
      2010-02-24 Dirk Pranke <dpranke@chromium.org> · 8a2c8275
      dpranke@chromium.org authored
              Reviewed by David Levin.
      
              Fix the function signature for check_sys_deps on the mac port, and
              fix the ordering of port_obj.check_sys_deps() and
              port_obj.start_helper() (helper needs to be started before we check
              the system configuration).
      
              http://bugs.webkit.org/show_bug.cgi?id=35367
      
              * Scripts/webkitpy/layout_tests/port/mac.py:
              * Scripts/webkitpy/layout_tests/port/test.py:
              * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a2c8275