Timeline



Jun 23, 2011:

11:43 PM Changeset in webkit [89653] by tony@chromium.org
  • 7 edits in trunk/Source/WebCore

2011-06-23 Tony Chang <tony@chromium.org>

Reviewed by Kent Tamura.

Pass Strings by const reference in bindings code
https://bugs.webkit.org/show_bug.cgi?id=63302

Note that since Strings hold a RefPtr to StringImpl, passing Strings
by value isn't horrible, but it does cause ref count churn and using
const references is more consistent with the rest of the code base.

  • bindings/generic/BindingSecurity.h: (WebCore::::allowSettingFrameSrcToJavascriptUrl): (WebCore::::allowSettingSrcToJavascriptURL):
  • bindings/js/SerializedScriptValue.cpp: (WebCore::CloneSerializer::serialize): (WebCore::SerializedScriptValue::create):
  • bindings/js/SerializedScriptValue.h:
  • bindings/v8/SerializedScriptValue.cpp: (WebCore::SerializedScriptValue::createFromWire): (WebCore::SerializedScriptValue::create): (WebCore::SerializedScriptValue::SerializedScriptValue):
  • bindings/v8/SerializedScriptValue.h:
  • bindings/v8/V8Binding.h: (WebCore::V8ParameterBase::setString):
10:42 PM Changeset in webkit [89652] by yurys@chromium.org
  • 12 edits in trunk/Source

2011-06-23 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

[Chromium] Web Inspector: provide context menu item for enabling native worker inspection
https://bugs.webkit.org/show_bug.cgi?id=63258

Added context menu checkbox item that allows to enable inspection of
native workers. The value will be persisted as other inspector settings
and will be restored after frontend/breowser reopening.

  • inspector/Inspector.json:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::restoreInspectorStateFromCookie):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::didStartWorkerContext):
  • inspector/InspectorWorkerAgent.cpp: (WebCore::InspectorWorkerAgent::setFrontend): (WebCore::InspectorWorkerAgent::restore): (WebCore::InspectorWorkerAgent::setWorkerInspectionEnabled):
  • inspector/InspectorWorkerAgent.h:
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.reset): (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles): (WebInspector.ScriptsPanel.prototype._contextMenu.enableWorkerInspection): (WebInspector.ScriptsPanel.prototype._contextMenu):
  • inspector/front-end/Settings.js: (WebInspector.Settings):
  • inspector/front-end/inspector.js: (WebInspector.didCreateWorker): (WebInspector.didDestroyWorker):
  • workers/Worker.cpp: (WebCore::Worker::notifyFinished):

2011-06-23 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

[Chromium] Web Inspector: provide context menu item for enabling native worker inspection
https://bugs.webkit.org/show_bug.cgi?id=63258

  • src/js/DevTools.js: ():
10:30 PM Changeset in webkit [89651] by Simon Fraser
  • 3 edits
    3 adds in trunk

2011-06-23 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Need to turn off default animations for anchorPointZ in PlatformCALayer
https://bugs.webkit.org/show_bug.cgi?id=63159

When the z-component of transform-origin changed, we ran an implicit
animation of anchorPointZ on the CALayer. Turn this off.

Test: transforms/3d/general/transform-origin-z-change.html

  • platform/graphics/ca/mac/PlatformCALayerMac.mm: (nullActionsDictionary):
6:53 PM Changeset in webkit [89650] by zmo@google.com
  • 2 edits in trunk/Source/WebCore

2011-06-23 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Limit WebGL internal drawingBuffer size to 4k x 4k
https://bugs.webkit.org/show_bug.cgi?id=63304

  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::reshape): Limit drawing buffer size to 4k x 4k.
6:35 PM Changeset in webkit [89649] by morrita@google.com
  • 43 edits
    2 adds
    1 delete in trunk

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

[ShadowContentElement] should layout child whitespace between span.
https://bugs.webkit.org/show_bug.cgi?id=62202

  • Added a new test case.
  • Updated expectations, which missed necessary RnederText objects.
  • platform/chromium-win/fast/html/details-add-child-2-expected.txt:
  • platform/chromium-win/fast/html/details-add-details-child-2-expected.txt:
  • platform/chromium-win/fast/html/details-no-summary4-expected.txt:
  • platform/chromium-win/fast/html/details-open-javascript-expected.txt:
  • platform/chromium-win/fast/html/details-open2-expected.txt:
  • platform/chromium-win/fast/html/details-open4-expected.txt:
  • platform/chromium-win/fast/html/details-remove-child-2-expected.txt:
  • platform/chromium-win/fast/html/details-replace-text-expected.txt:
  • platform/gtk/fast/html/details-add-child-2-expected.txt:
  • platform/gtk/fast/html/details-add-details-child-2-expected.txt:
  • platform/gtk/fast/html/details-no-summary4-expected.txt:
  • platform/gtk/fast/html/details-open-javascript-expected.txt:
  • platform/gtk/fast/html/details-open2-expected.txt:
  • platform/gtk/fast/html/details-open4-expected.txt:
  • platform/gtk/fast/html/details-remove-child-2-expected.txt:
  • platform/gtk/fast/html/details-replace-text-expected.txt:
  • platform/mac/fast/html/details-add-child-2-expected.txt:
  • platform/mac/fast/html/details-add-details-child-2-expected.txt:
  • platform/mac/fast/html/details-no-summary4-expected.txt:
  • platform/mac/fast/html/details-open-javascript-expected.txt:
  • platform/mac/fast/html/details-open2-expected.txt:
  • platform/mac/fast/html/details-open4-expected.txt:
  • platform/mac/fast/html/details-remove-child-2-expected.txt:
  • platform/mac/fast/html/details-replace-text-expected.txt:
  • platform/qt/fast/html/details-add-child-2-expected.txt:
  • platform/qt/fast/html/details-add-details-child-2-expected.txt:
  • platform/qt/fast/html/details-no-summary4-expected.txt:
  • platform/qt/fast/html/details-open-javascript-expected.txt:
  • platform/qt/fast/html/details-open2-expected.txt:
  • platform/qt/fast/html/details-open4-expected.txt:
  • platform/qt/fast/html/details-remove-child-2-expected.txt:
  • platform/qt/fast/html/details-replace-text-expected.txt:
  • fast/dom/shadow/create-content-element-expected.txt: Added.
  • fast/dom/shadow/create-content-element.html: Added.

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

[ShadowContentElement] should layout child whitespace between span.
https://bugs.webkit.org/show_bug.cgi?id=62202

NodeRenderingContext::nextRenderer() and previousRenderer()
ignored forwarded content tree hierarchies and used render-object
hierarchies instead, that caused some wrong Text node rendering.

This change uses ShadowContentElement::m_inclusions for the lookup.
In this way, these methods can reflect hierarchies of forward light tree.

  • dom/NodeRenderingContext.cpp: (WebCore::NodeRenderingContext::NodeRenderingContext): (WebCore::nextRendererOf): Added. This traverses content element's children for searching neighboring renderer. (WebCore::previousRendererOf): Added. This traverses content element's children for searching neighboring renderer. (WebCore::NodeRenderingContext::nextRenderer): (WebCore::NodeRenderingContext::previousRenderer):
  • dom/NodeRenderingContext.h:
  • dom/ShadowContentElement.h: (ShadowContentElement::inclusionIndexOf): Added.
  • dom/ShadowContentSelector.cpp: (WebCore::ShadowContentSelector::activeElement):
  • dom/ShadowContentSelector.h:
  • dom/ShadowRoot.cpp: (WebCore::ShadowRoot::activeContentElement):
  • dom/ShadowRoot.h:
  • rendering/RenderTreeAsText.cpp: (WebCore::externalRepresentation): Fixed an apparent bug introduced at r89230.
6:28 PM WebKit Team edited by ryuan.choi@samsung.com
(diff)
6:22 PM Changeset in webkit [89648] by ryuan.choi@samsung.com
  • 2 edits in trunk/Tools

2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>

Unreviewed, add myself as committer.

  • Scripts/webkitpy/common/config/committers.py:
6:17 PM Changeset in webkit [89647] by jamesr@google.com
  • 12 edits in trunk/Source/WebCore

2011-05-25 James Robinson <jamesr@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Fix ownership of PlatformImage for ImageLayerChromiums
https://bugs.webkit.org/show_bug.cgi?id=61099

For a composited image, both the ImageLayerChromium and its associated LayerTilerChromium need access to a
PlatformImage - the ImageLayerChromium has to update the PlatformImage's contents and the LayerTilerChromium has
to upload pixels from it. This patch makes the ImageLayerTextureUpdater have exclusive ownership of the
PlatformImage and moves ownership of the LayerTextureUpdater from the LayerTilerChromium to the owner of the
tiler. The updater is passed in as a parameter to the relevant tiler calls.

Patch also fixes a number of minor style issues (missing explicit keyword on constructor, etc).

Refactor only, no new tests.

  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerPainter::create): (WebCore::ContentLayerPainter::ContentLayerPainter): (WebCore::ContentLayerChromium::paintContentsIfDirty): (WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded): (WebCore::ContentLayerChromium::draw): (WebCore::ContentLayerChromium::createTilerIfNeeded): (WebCore::ContentLayerChromium::updateCompositorResources):
  • platform/graphics/chromium/ContentLayerChromium.h:
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerTextureUpdater::create): (WebCore::ImageLayerTextureUpdater::updateFromImage): (WebCore::ImageLayerTextureUpdater::imageSize): (WebCore::ImageLayerTextureUpdater::ImageLayerTextureUpdater): (WebCore::ImageLayerChromium::~ImageLayerChromium): (WebCore::ImageLayerChromium::paintContentsIfDirty): (WebCore::ImageLayerChromium::updateCompositorResources): (WebCore::ImageLayerChromium::setLayerRenderer): (WebCore::ImageLayerChromium::createTextureUpdaterIfNeeded): (WebCore::ImageLayerChromium::layerBounds):
  • platform/graphics/chromium/ImageLayerChromium.h:
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::updateRootLayerContents): (WebCore::LayerRendererChromium::drawRootLayer): (WebCore::LayerRendererChromium::updateLayers):
  • platform/graphics/chromium/LayerRendererChromium.h:
  • platform/graphics/chromium/LayerTextureUpdater.h: (WebCore::LayerTextureUpdater::LayerTextureUpdater):
  • platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: (WebCore::LayerTextureUpdaterBitmap::create): (WebCore::LayerTextureUpdaterSkPicture::create):
  • platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::create): (WebCore::LayerTilerChromium::LayerTilerChromium): (WebCore::LayerTilerChromium::prepareToUpdate): (WebCore::LayerTilerChromium::updateRect): (WebCore::LayerTilerChromium::draw):
  • platform/graphics/chromium/LayerTilerChromium.h:
6:11 PM Changeset in webkit [89646] by nduca@chromium.org
  • 2 edits in trunk/Tools

2011-06-23 Nat Duca <nduca@chromium.org>

Unreviewed, add myself as committer.

  • Scripts/webkitpy/common/config/committers.py:
5:59 PM Changeset in webkit [89645] by enne@google.com
  • 5 edits
    42 deletes in trunk

2011-06-23 Adrienne Walker <enne@google.com>

Unreviewed, rolling out r89632 and r89640.
http://trac.webkit.org/changeset/89632
http://trac.webkit.org/changeset/89640
https://bugs.webkit.org/show_bug.cgi?id=60741

Breaks ancestor-overflow-change unexpectedly

  • compositing/rtl/rtl-absolute-expected.png: Removed.
  • compositing/rtl/rtl-absolute-expected.txt: Removed.
  • compositing/rtl/rtl-absolute-overflow-expected.png: Removed.
  • compositing/rtl/rtl-absolute-overflow-expected.txt: Removed.
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.png: Removed.
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt: Removed.
  • compositing/rtl/rtl-absolute-overflow-scrolled.html: Removed.
  • compositing/rtl/rtl-absolute-overflow.html: Removed.
  • compositing/rtl/rtl-absolute.html: Removed.
  • compositing/rtl/rtl-fixed-expected.png: Removed.
  • compositing/rtl/rtl-fixed-expected.txt: Removed.
  • compositing/rtl/rtl-fixed-overflow-expected.png: Removed.
  • compositing/rtl/rtl-fixed-overflow-expected.txt: Removed.
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.png: Removed.
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt: Removed.
  • compositing/rtl/rtl-fixed-overflow-scrolled.html: Removed.
  • compositing/rtl/rtl-fixed-overflow.html: Removed.
  • compositing/rtl/rtl-fixed.html: Removed.
  • compositing/rtl/rtl-iframe-absolute-expected.png: Removed.
  • compositing/rtl/rtl-iframe-absolute-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.png: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html: Removed.
  • compositing/rtl/rtl-iframe-absolute-overflow.html: Removed.
  • compositing/rtl/rtl-iframe-absolute.html: Removed.
  • compositing/rtl/rtl-iframe-fixed-expected.png: Removed.
  • compositing/rtl/rtl-iframe-fixed-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.png: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html: Removed.
  • compositing/rtl/rtl-iframe-fixed-overflow.html: Removed.
  • compositing/rtl/rtl-iframe-fixed.html: Removed.
  • compositing/rtl/rtl-iframe-relative-expected.png: Removed.
  • compositing/rtl/rtl-iframe-relative-expected.txt: Removed.
  • compositing/rtl/rtl-iframe-relative.html: Removed.
  • compositing/rtl/rtl-relative-expected.png: Removed.
  • compositing/rtl/rtl-relative-expected.txt: Removed.
  • compositing/rtl/rtl-relative.html: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/mac/Skipped:

2011-06-23 Adrienne Walker <enne@google.com>

Unreviewed, rolling out r89632 and r89640.
http://trac.webkit.org/changeset/89632
http://trac.webkit.org/changeset/89640
https://bugs.webkit.org/show_bug.cgi?id=60741

Breaks ancestor-overflow-change unexpectedly

  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
5:51 PM Changeset in webkit [89644] by commit-queue@webkit.org
  • 1 edit
    4 moves
    2 adds
    10 deletes in trunk/LayoutTests

2011-06-23 Wyatt Carss <wcarss@chromium.org>

Reviewed by Ryosuke Niwa.

convert editing/deleting/5026848-1.html to dump-as-markup test
https://bugs.webkit.org/show_bug.cgi?id=63289

Renamed editing/deleting/5026848* to editing/deleting/delete-across-editable-content-boundaries*,
and converted editing/deleting/delete-across-editable-content-boundaries-1 to a dump-as-markup test.
Removed old png/txt test results, and added new result. Also included radr number.

  • editing/deleting/delete-across-editable-content-boundaries-1.html: Added.
  • editing/deleting/delete-across-editable-content-boundaries-1-expected.txt: Added.
  • editing/deleting/delete-across-editable-content-boundaries-2.html: Added.
  • editing/deleting/delete-across-editable-content-boundaries-2-expected.txt: Added.
  • editing/deleting/delete-across-editable-content-boundaries-3.html: Added.
  • editing/deleting/delete-across-editable-content-boundaries-3-expected.txt: Added.
  • editing/deleting/5026848-1.html: Removed.
  • editing/deleting/5026848-2.html: Removed.
  • editing/deleting/5026848-2-expected.txt: Removed.
  • editing/deleting/5026848-3.html: Removed.
  • editing/deleting/5026848-3-expected.txt: Removed.
  • platform/chromium-linux/editing/deleting/5026848-1-expected.png: Removed.
  • platform/chromium-win/editing/deleting/5026848-1-expected.png: Removed.
  • platform/chromium-win/editing/deleting/5026848-1-expected.txt: Removed.
  • platform/gtk/editing/deleting/5026848-1-expected.txt: Removed.
  • platform/mac-leopard/editing/deleting/5026848-1-expected.png: Removed.
  • platform/mac/editing/deleting/5026848-1-expected.png: Removed.
  • platform/mac/editing/deleting/5026848-1-expected.txt: Removed.
  • platform/qt/editing/deleting/5026848-1-expected.png: Removed.
  • platform/qt/editing/deleting/5026848-1-expected.txt: Removed.
5:40 PM Changeset in webkit [89643] by commit-queue@webkit.org
  • 5 edits in trunk/Source/JavaScriptCore

2011-06-23 Filip Pizlo <fpizlo@apple.com>

Reviewed by Gavin Barraclough.

DFG non-speculative JIT should have obvious optimizations for GetById and GetByVal
https://bugs.webkit.org/show_bug.cgi?id=63173

  • dfg/DFGJITCodeGenerator.cpp: (JSC::DFG::JITCodeGenerator::cachedGetById):
  • dfg/DFGJITCodeGenerator.h:
  • dfg/DFGNonSpeculativeJIT.cpp: (JSC::DFG::NonSpeculativeJIT::compile):
  • dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compile):
5:33 PM Changeset in webkit [89642] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-06-23 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

nrwt: move http locking code into manager
https://bugs.webkit.org/show_bug.cgi?id=63103

  • Scripts/webkitpy/layout_tests/layout_package/manager.py:
  • Scripts/webkitpy/layout_tests/layout_package/worker.py:
5:28 PM Changeset in webkit [89641] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Fix Qt again.

5:22 PM Changeset in webkit [89640] by enne@google.com
  • 2 edits in trunk/LayoutTests

2011-06-23 Adrienne Walker <enne@google.com>

[chromium] Unreviewed, mark a few tests failing on OSX after r89632.
https://bugs.webkit.org/show_bug.cgi?id=60741

  • platform/chromium/test_expectations.txt:
5:19 PM Changeset in webkit [89639] by rniwa@webkit.org
  • 1 edit
    4 adds in trunk/LayoutTests

2011-06-23 Ryosuke Niwa <rniwa@webkit.org>

GTK Rebaseline after r89627.

  • platform/gtk/editing/selection/extend-inside-transforms-backward-expected.png: Added.
  • platform/gtk/editing/selection/extend-inside-transforms-backward-expected.txt: Added.
  • platform/gtk/editing/selection/extend-inside-transforms-forward-expected.png: Added.
  • platform/gtk/editing/selection/extend-inside-transforms-forward-expected.txt: Added.
5:18 PM Changeset in webkit [89638] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Fix Qt Build

5:16 PM Changeset in webkit [89637] by Stephanie Lewis
  • 2 edits in trunk/Source/JavaScriptCore

https://bugs.webkit.org/show_bug.cgi?id=63298
Replace Malloc with FastMalloc to match the rest of wtf.

Reviewed by Darin Adler.

  • wtf/BlockStack.h:

(WTF::::~BlockStack):
(WTF::::grow):
(WTF::::shrink):

5:15 PM Changeset in webkit [89636] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

WKTR: eventSender.keyDown is unimplemented
https://bugs.webkit.org/show_bug.cgi?id=57515

Add another test that uses eventSender.keyDown to the mac-wk2 skipped list.

  • platform/mac-wk2/Skipped:
5:11 PM Changeset in webkit [89635] by commit-queue@webkit.org
  • 10 edits in trunk/Source

2011-06-23 John Bates <jbates@google.com>

Reviewed by James Robinson.

Fix latch deadlock when GPU process crashes or context is lost.
https://bugs.webkit.org/show_bug.cgi?id=63189
The main bug fix is to only set/wait latches if the child context has no errors.
Additionally, the LayerChromium classes needed to be modified to not continue drawing when
their corresponding contexts have errors. Otherwise, they would draw with invalid texture ids.

Test: open particles WebGL demo in chrome, kill GPU process from Task Manager; observe no deadlock.

  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::updateAndDrawLayers): (WebCore::LayerRendererChromium::updateLayers): (WebCore::LayerRendererChromium::isCompositorContextLost):
  • platform/graphics/chromium/LayerRendererChromium.h:
  • platform/graphics/chromium/WebGLLayerChromium.cpp: (WebCore::WebGLLayerChromium::drawsContent): (WebCore::WebGLLayerChromium::updateCompositorResources): (WebCore::WebGLLayerChromium::setContext):
  • platform/graphics/chromium/WebGLLayerChromium.h:
  • platform/graphics/chromium/Canvas2DLayerChromium.cpp: (WebCore::Canvas2DLayerChromium::drawsContent):
  • platform/graphics/chromium/Canvas2DLayerChromium.h:

2011-06-23 John Bates <jbates@google.com>

Reviewed by James Robinson.

Fix latch deadlock when GPU process crashes or context is lost
https://bugs.webkit.org/show_bug.cgi?id=63189

  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::composite):
4:47 PM Changeset in webkit [89634] by alokp@chromium.org
  • 16 edits
    1 add in trunk/Source/WebCore

2011-06-23 Alok Priyadarshi <alokp@chromium.org>

Reviewed by James Robinson.

[chromium] Red and Blue channels are swapped in images with accelerated drawing
https://bugs.webkit.org/show_bug.cgi?id=61442

We were uploading BGRA pixels into RGBA textures and swapping the components in the pixel shader.
This strategy does not work with accelerated drawing because we are directly rendering to the texture, not uploading pixels.
This patch uses BGRA textures if available. If not it falls back to the original scheme of swapping the components in the pixel shader.

Tests: compositing/color-matching/image-color-matching.html (existing)

  • WebCore.gypi:
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerTextureUpdater::sampledTexelFormat): (WebCore::ImageLayerTextureUpdater::updateTextureRect):
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::skiaContext): (WebCore::LayerRendererChromium::tilerProgram): (WebCore::LayerRendererChromium::tilerProgramSwizzle): (WebCore::LayerRendererChromium::cleanupSharedObjects):
  • platform/graphics/chromium/LayerRendererChromium.h:
  • platform/graphics/chromium/LayerTexture.h: (WebCore::LayerTexture::format):
  • platform/graphics/chromium/LayerTextureSubImage.cpp: (WebCore::LayerTextureSubImage::upload): (WebCore::LayerTextureSubImage::uploadWithTexSubImage): (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
  • platform/graphics/chromium/LayerTextureSubImage.h:
  • platform/graphics/chromium/LayerTextureUpdater.h:
  • platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: (WebCore::LayerTextureUpdaterBitmap::sampledTexelFormat): (WebCore::LayerTextureUpdaterBitmap::updateTextureRect): (WebCore::LayerTextureUpdaterSkPicture::sampledTexelFormat): (WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):
  • platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::LayerTilerChromium): (WebCore::LayerTilerChromium::prepareToUpdate): (WebCore::LayerTilerChromium::updateRect): (WebCore::LayerTilerChromium::draw): (WebCore::LayerTilerChromium::growLayerToContain): (WebCore::LayerTilerChromium::drawTiles): (WebCore::LayerTilerChromium::drawTexturedQuad):
  • platform/graphics/chromium/LayerTilerChromium.h:
  • platform/graphics/chromium/PlatformColor.h: Added. (WebCore::PlatformColor::format): (WebCore::PlatformColor::bestTextureFormat): (WebCore::PlatformColor::sameComponentOrder):
  • platform/graphics/chromium/ShaderChromium.cpp: (WebCore::FragmentShaderRGBATexSwizzleAlpha::getShaderString):
  • platform/graphics/chromium/ShaderChromium.h:
  • platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
4:19 PM Changeset in webkit [89633] by oliver@apple.com
  • 2 edits in trunk

Qt build-fix: remove warning that no other platform appears to use.
Someone can add it back if they really feel it's needed.

4:13 PM Changeset in webkit [89632] by enne@google.com
  • 5 edits
    43 adds in trunk

2011-06-23 Adrienne Walker <enne@google.com>

Reviewed by Simon Fraser.

Incorrect RenderLayer transforms on overflow RTL pages
https://bugs.webkit.org/show_bug.cgi?id=60741

Add a number of composited positioning tests on pages with dir=rtl.
The reference images are all identical to what the non-composited path
generates.

The overflow-scrolled tests on Safari do not generate the right images
due to bug 63284, but the layer tree is correct so they are not
skipped.

  • compositing/rtl/rtl-absolute-expected.png: Added.
  • compositing/rtl/rtl-absolute-expected.txt: Added.
  • compositing/rtl/rtl-absolute-overflow-expected.png: Added.
  • compositing/rtl/rtl-absolute-overflow-expected.txt: Added.
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.png: Added.
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt: Added.
  • compositing/rtl/rtl-absolute-overflow-scrolled.html: Added.
  • compositing/rtl/rtl-absolute-overflow.html: Added.
  • compositing/rtl/rtl-absolute.html: Added.
  • compositing/rtl/rtl-fixed-expected.png: Added.
  • compositing/rtl/rtl-fixed-expected.txt: Added.
  • compositing/rtl/rtl-fixed-overflow-expected.png: Added.
  • compositing/rtl/rtl-fixed-overflow-expected.txt: Added.
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.png: Added.
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt: Added.
  • compositing/rtl/rtl-fixed-overflow-scrolled.html: Added.
  • compositing/rtl/rtl-fixed-overflow.html: Added.
  • compositing/rtl/rtl-fixed.html: Added.
  • compositing/rtl/rtl-iframe-absolute-expected.png: Added.
  • compositing/rtl/rtl-iframe-absolute-expected.txt: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.png: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html: Added.
  • compositing/rtl/rtl-iframe-absolute-overflow.html: Added.
  • compositing/rtl/rtl-iframe-absolute.html: Added.
  • compositing/rtl/rtl-iframe-fixed-expected.png: Added.
  • compositing/rtl/rtl-iframe-fixed-expected.txt: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.png: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html: Added.
  • compositing/rtl/rtl-iframe-fixed-overflow.html: Added.
  • compositing/rtl/rtl-iframe-fixed.html: Added.
  • compositing/rtl/rtl-iframe-relative-expected.png: Added.
  • compositing/rtl/rtl-iframe-relative-expected.txt: Added.
  • compositing/rtl/rtl-iframe-relative.html: Added.
  • compositing/rtl/rtl-relative-expected.png: Added.
  • compositing/rtl/rtl-relative-expected.txt: Added.
  • compositing/rtl/rtl-relative.html: Added.
  • compositing/rtlclipping/rtl-absolute-overflow-scrolled-expected.png: Added.
  • compositing/rtlclipping/rtl-absolute-overflow-scrolled-expected.txt: Added.
  • compositing/rtlclipping/rtl-absolute-overflow-scrolled.html: Added.
  • platform/chromium/test_expectations.txt:
  • platform/mac/Skipped:

2011-06-23 Adrienne Walker <enne@google.com>

Reviewed by Simon Fraser.

Incorrect RenderLayer transforms on overflow RTL pages
https://bugs.webkit.org/show_bug.cgi?id=60741

Fix positioning of the root graphics layer for RTL pages. The fact
that the left side of the page is negative for pages with overflow is
not taken into account when calculating the position. This negative
value ends up being double-counted for the root graphics layer (once
in the position and once in the offset) and it shifts child layers
into the wrong place.

Tests: compositing/rtl/rtl-absolute-overflow-scrolled.html

compositing/rtl/rtl-absolute-overflow.html
compositing/rtl/rtl-absolute.html
compositing/rtl/rtl-fixed-overflow-scrolled.html
compositing/rtl/rtl-fixed-overflow.html
compositing/rtl/rtl-fixed.html
compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html
compositing/rtl/rtl-iframe-absolute-overflow.html
compositing/rtl/rtl-iframe-absolute.html
compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html
compositing/rtl/rtl-iframe-fixed-overflow.html
compositing/rtl/rtl-iframe-fixed.html
compositing/rtl/rtl-iframe-relative.html
compositing/rtl/rtl-relative.html

  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
4:00 PM Changeset in webkit [89631] by jberlin@webkit.org
  • 1 edit
    6 moves in trunk/LayoutTests

compositing/tiling/huge-layer* flakey
https://bugs.webkit.org/show_bug.cgi?id=48454

These tests have been flaking on multiple platforms, so disable the tests in order to get
the bots green.

  • compositing/tiling/huge-layer-add-remove-child.html: Removed.
  • compositing/tiling/huge-layer-add-remove-child.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer-add-remove-child.html.
  • compositing/tiling/huge-layer-img.html: Removed.
  • compositing/tiling/huge-layer-img.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer-img.html.
  • compositing/tiling/huge-layer-resize.html: Removed.
  • compositing/tiling/huge-layer-resize.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer-resize.html.
  • compositing/tiling/huge-layer-with-layer-children-resize.html: Removed.
  • compositing/tiling/huge-layer-with-layer-children-resize.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer-with-layer-children-resize.html.
  • compositing/tiling/huge-layer-with-layer-children.html: Removed.
  • compositing/tiling/huge-layer-with-layer-children.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer-with-layer-children.html.
  • compositing/tiling/huge-layer.html: Removed.
  • compositing/tiling/huge-layer.html-disabled: Copied from LayoutTests/compositing/tiling/huge-layer.html.
3:47 PM Changeset in webkit [89630] by oliver@apple.com
  • 15 edits
    1 add in trunk/Source/JavaScriptCore

2011-06-23 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Add the ability to dynamically modify linked call sites
https://bugs.webkit.org/show_bug.cgi?id=63291

Add JITWriteBarrier as a writebarrier class that allows
reading and writing directly into the code stream.

This required adding logic to all the assemblers to allow
us to read values back out of the instruction stream.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • assembler/ARMAssembler.h: (JSC::ARMAssembler::readPointer):
  • assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::readPointer): (JSC::ARMv7Assembler::readInt32): (JSC::ARMv7Assembler::decodeTwoWordOp5i6Imm4Reg4EncodedImmFirst): (JSC::ARMv7Assembler::decodeTwoWordOp5i6Imm4Reg4EncodedImmSecond):
  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::readPointer):
  • assembler/MIPSAssembler.h: (JSC::MIPSAssembler::readInt32): (JSC::MIPSAssembler::readPointer):
  • assembler/MacroAssemblerCodeRef.h: (JSC::MacroAssemblerCodePtr::operator!):
  • assembler/SH4Assembler.h: (JSC::SH4Assembler::readPCrelativeAddress): (JSC::SH4Assembler::readPointer): (JSC::SH4Assembler::readInt32):
  • assembler/X86Assembler.h: (JSC::X86Assembler::readPointer):
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::visitAggregate):
  • bytecode/CodeBlock.h: (JSC::MethodCallLinkInfo::seenOnce): (JSC::MethodCallLinkInfo::setSeen):
  • heap/MarkStack.h:
  • jit/JIT.cpp: (JSC::JIT::privateCompile): (JSC::JIT::linkCall): (JSC::JIT::linkConstruct):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::patchMethodCallProto):
  • jit/JITPropertyAccess32_64.cpp:
  • jit/JITWriteBarrier.h: Added. (JSC::JITWriteBarrierBase::operator UnspecifiedBoolType*): (JSC::JITWriteBarrierBase::operator!): (JSC::JITWriteBarrierBase::setFlagOnBarrier): (JSC::JITWriteBarrierBase::isFlagged): (JSC::JITWriteBarrierBase::setLocation): (JSC::JITWriteBarrierBase::location): (JSC::JITWriteBarrierBase::JITWriteBarrierBase): (JSC::JITWriteBarrierBase::set): (JSC::JITWriteBarrierBase::get): (JSC::JITWriteBarrier::JITWriteBarrier): (JSC::JITWriteBarrier::set): (JSC::JITWriteBarrier::get): (JSC::MarkStack::append):
3:35 PM Changeset in webkit [89629] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

compositing/iframes/invisible-nested-iframe-show.html failing on SnowLeopard Intel Release
(WebKit2 Tests) since introduction.
https://bugs.webkit.org/show_bug.cgi?id=59864

Update the mac-wk2 results to contain the transform line and get the bots green.

  • platform/mac-wk2/compositing/iframes/invisible-nested-iframe-show-expected.txt:
3:30 PM Changeset in webkit [89628] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-23 Ryosuke Niwa <rniwa@webkit.org>

Rolled DEPS.

  • DEPS:
3:20 PM Changeset in webkit [89627] by rniwa@webkit.org
  • 2 edits
    6 adds in trunk/LayoutTests

2011-06-23 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Simon Fraser.

Add a test for vertical caret movements inside transform
https://bugs.webkit.org/show_bug.cgi?id=62834

Add regression tests for vertical caret movements inside rotated contents.

  • editing/selection/extend-inside-transforms-backward.html: Added.
  • editing/selection/extend-inside-transforms-forward.html: Added.
  • platform/chromium/test_expectations.txt: Added test expectations to keep bots green until we rebaseline these tests on Chromium.
  • platform/mac/editing/selection/extend-inside-transforms-backward-expected.png: Added.
  • platform/mac/editing/selection/extend-inside-transforms-backward-expected.txt: Added.
  • platform/mac/editing/selection/extend-inside-transforms-forward-expected.png: Added.
  • platform/mac/editing/selection/extend-inside-transforms-forward-expected.txt: Added.
3:19 PM Changeset in webkit [89626] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Gregg Tavares <gman@google.com>

Reviewed by Kenneth Russell.

add test expectation fast/canvas/canvas-large-dimensions.html for new assert in command buffer.
https://bugs.webkit.org/show_bug.cgi?id=63278

  • platform/chromium/test_expectations.txt:
3:15 PM Changeset in webkit [89625] by eae@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-06-23 Emil A Eklund <eae@chromium.org>

Reviewed by Eric Seidel.

FloatRect should implement the same methods as IntRect
https://bugs.webkit.org/show_bug.cgi?id=63273

Add missing methods from IntRect to FloatRect in preparation for moving
the rendering tree over to floats.

  • platform/graphics/FloatPoint.h: (WebCore::FloatPoint::expandedTo): (WebCore::FloatPoint::transposedPoint):
  • platform/graphics/FloatRect.h: (WebCore::FloatRect::move): (WebCore::FloatRect::expand): (WebCore::FloatRect::contract): (WebCore::FloatRect::shiftXEdgeTo): (WebCore::FloatRect::shiftMaxXEdgeTo): (WebCore::FloatRect::shiftYEdgeTo): (WebCore::FloatRect::shiftMaxYEdgeTo): (WebCore::FloatRect::minXMinYCorner): (WebCore::FloatRect::maxXMinYCorner): (WebCore::FloatRect::minXMaxYCorner): (WebCore::FloatRect::maxXMaxYCorner): (WebCore::FloatRect::transposedRect):
  • platform/graphics/FloatSize.h: (WebCore::FloatSize::expand): (WebCore::FloatSize::transposedSize):
3:13 PM Changeset in webkit [89624] by eae@chromium.org
  • 4 edits
    2 adds in trunk

2011-06-23 Emil A Eklund <eae@chromium.org>

Reviewed by Dimitri Glazkov.

input/textarea onchange doesn't fire if value is set in key listener
https://bugs.webkit.org/show_bug.cgi?id=63092

Add test for text field onchange when setting the value in a key listener.

  • fast/events/onchange-setvalue-expected.txt: Added.
  • fast/events/onchange-setvalue.html: Added.

2011-06-23 Emil A Eklund <eae@chromium.org>

Reviewed by Darin Adler.

input/textarea onchange doesn't fire if value is set in key listener
https://bugs.webkit.org/show_bug.cgi?id=63092

Change setValue implementation of HTMLInputElement and HTMLTextAreaElement to
not call setTextAsOfLastFormControlChangeEvent unless the value truly changed.
Thus element.value = element.value will no longer reset the state
m_textAsOfLastFormControlChangeEvent field and suppress the change event.

Test: fast/events/onchange-setvalue.html

  • html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::setValue):
  • html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::setValue): (WebCore::HTMLTextAreaElement::setNonDirtyValue): (WebCore::HTMLTextAreaElement::setValueCommon):
3:11 PM Changeset in webkit [89623] by commit-queue@webkit.org
  • 3 edits
    2 moves
    14 deletes in trunk/LayoutTests

2011-06-23 Wyatt Carss <wcarss@chromium.org>

Reviewed by Ryosuke Niwa.

convert editing/deleting/delete-select-all-00* to dumpAsText
https://bugs.webkit.org/show_bug.cgi?id=63193

converted editing/deleting/delete-select-all-002/003 to
runDumpAsTextEditingTest(true), removed old test files (including a
superfluous expected file for 001 on qt), and added new test files.

  • editing/deleting/delete-select-all-002-expected.txt: Added.
  • editing/deleting/delete-select-all-002.html:
  • editing/deleting/delete-select-all-003-expected.txt: Added.
  • editing/deleting/delete-select-all-003.html:
3:04 PM Changeset in webkit [89622] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

[Windows Tests] http/tests/media/video-cross-site.html sometimes crashes.
https://bugs.webkit.org/show_bug.cgi?id=62024

Skip the test on Windows to get the bots green.

  • platform/win/Skipped:
3:02 PM Changeset in webkit [89621] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/qt

2011-06-23 Joe Wild <joseph.wild@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
https://bugs.webkit.org/show_bug.cgi?id=61200

Revert r87060 as it broke compatibility with QtWebKit 2.1 release
and add some newly introduce symbols.

  • symbian/eabi/QtWebKitu.def:
2:55 PM Changeset in webkit [89620] by alokp@chromium.org
  • 3 edits in trunk/Tools

2011-06-23 Alok Priyadarshi <alokp@chromium.org>

Reviewed by James Robinson.

[chromium] Add support for running layout tests with accelerated rendering
https://bugs.webkit.org/show_bug.cgi?id=63274

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2:47 PM Changeset in webkit [89619] by Adam Roben
  • 2 edits in trunk/Tools

Avoid fetching JSON data when possible on TestFailures page to determine if old-run-webkit-tests exited early

As of r89610, results.html includes information about whether old-run-webkit-tests exited
early, so we don't need to look at JSON data to get this information for builds newer than
that.

Fixes <http://webkit.org/b/63281> TestFailures page fetches build JSON for every build,
which is slow and limits history to the last build master restart

Reviewed by David Kilzer.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:

(Builder.prototype._getFailingTests): Moved code dealing with results.html into a new
function. If we're dealing with a build that has early-exit information in results.html,
don't bother fetching JSON data and go straight to parsing results.html. Otherwise first use
the JSON data to determine if old-run-webkit-tests exited early, and then parse results.html
(as before).

2:43 PM Changeset in webkit [89618] by eric@webkit.org
  • 4 edits in trunk/Tools

2011-06-23 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

sheriffbot can no longer restart
https://bugs.webkit.org/show_bug.cgi?id=63221

Fixed and unit tested.

  • Scripts/webkitpy/tool/bot/queueengine.py:
  • Scripts/webkitpy/tool/bot/sheriffircbot.py:
  • Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
2:42 PM Changeset in webkit [89617] by alexis.menard@openbossa.org
  • 16 edits
    2 adds in trunk/Source

2011-06-23 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Eric Carlson.

[Qt] Implement fullscreen support on Mac with the QuickTime backend.
https://bugs.webkit.org/show_bug.cgi?id=61728

Implement fullscreen support for Qt when using the QuickTime backend.
We mostly use what is already done for the Mac port.

  • DerivedSources.pro: We use the mac files and they have <WebCore/x> type of includes. We need to generate those headers.
  • WebCore.pro:
  • platform/mac/WebVideoFullscreenController.h:
  • platform/mac/WebVideoFullscreenController.mm:
  • platform/mac/WebVideoFullscreenHUDWindowController.h:
  • platform/mac/WebVideoFullscreenHUDWindowController.mm:
  • platform/qt/WebCoreSystemInterface.h:
  • platform/qt/WebCoreSystemInterface.mm:

2011-06-23 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Eric Carlson.

[Qt] Implement fullscreen support on Mac with the QuickTime backend.
https://bugs.webkit.org/show_bug.cgi?id=61728

Implement fullscreen support for Qt when using the QuickTime backend.
We mostly use what is already done for the Mac port.

  • QtWebKit.pro:
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt):
  • WebCoreSupport/ChromeClientQt.h:
  • WebCoreSupport/FullScreenVideoQt.cpp: (WebCore::FullScreenVideoQt::FullScreenVideoQt): (WebCore::FullScreenVideoQt::~FullScreenVideoQt): (WebCore::FullScreenVideoQt::enterFullScreenForNode): (WebCore::FullScreenVideoQt::exitFullScreenForNode): (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback): (WebCore::FullScreenVideoQt::isValid):
  • WebCoreSupport/FullScreenVideoQt.h:
  • WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
  • WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added. (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler): (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler): (QTKitFullScreenVideoHandler::enterFullScreen): (QTKitFullScreenVideoHandler::exitFullScreen):
  • WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface):
2:41 PM Changeset in webkit [89616] by Martin Robinson
  • 3 edits in trunk/Tools

2011-06-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] [WebKit2] WebKitTestRunner does not properly load TestNetscapePlugin
https://bugs.webkit.org/show_bug.cgi?id=63287

Send the path to the TestNetscapePlugin to the WKTR via an environment variable
so that the plugin loads properly.

  • Scripts/old-run-webkit-tests: Pass the appropriate environment variable to WKTR.
  • WebKitTestRunner/gtk/TestControllerGtk.cpp: (WTR::getEnvironmentVariableAsUTF8String): Added this helper which abstracts away some of the work for getting an environment variable and converting it to UTF-8. (WTR::TestController::initializeInjectedBundlePath): Use the helper. (WTR::TestController::initializeTestPluginDirectory): Get the path from an environment variable now.
2:36 PM Changeset in webkit [89615] by eric.carlson@apple.com
  • 1 edit
    2 adds in trunk/LayoutTests

2011-06-23 Eric Carlson <eric.carlson@apple.com>

Reviewed by Simon Fraser.

Add a test with a single <source> element
https://bugs.webkit.org/show_bug.cgi?id=63285

  • media/video-single-valid-source-expected.txt: Added.
  • media/video-single-valid-source.html: Added.
2:35 PM Changeset in webkit [89614] by barraclough@apple.com
  • 4 edits
    3 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=61585
Crash running regexp /(?:(?=g))|(?:m).{2147483648,}/

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

This is due to use of int instead of unsigned, bad math around
the 231 boundary.

  • yarr/YarrInterpreter.cpp:

(JSC::Yarr::ByteCompiler::emitDisjunction):

  • Change some uses of int to unsigned, refactor compare logic to restrict to the range 0..232-1 (rather than -232-1..232-1).
  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::generate):
(JSC::Yarr::YarrGenerator::backtrack):

  • Ditto.

LayoutTests:

Add regression tests where an alterative has a size of ~231.

  • fast/regex/overflow-expected.txt: Added.
  • fast/regex/overflow.html: Added.
  • fast/regex/script-tests/overflow.js: Added.
2:30 PM Changeset in webkit [89613] by Darin Adler
  • 17 edits in trunk/Source/WebCore

2011-06-23 Darin Adler <Darin Adler>

Reviewed by Ryosuke Niwa.

RefPtr misused as argument type in a few classes
https://bugs.webkit.org/show_bug.cgi?id=62955

  • dom/DataTransferItem.cpp: (WebCore::DataTransferItem::DataTransferItem):
  • dom/DataTransferItem.h:
  • dom/DataTransferItems.cpp: (WebCore::DataTransferItems::DataTransferItems):
  • dom/DataTransferItems.h:
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
  • editing/CompositeEditCommand.h:
  • page/WebKitAnimationList.cpp: (WebCore::WebKitAnimationList::append): (WebCore::WebKitAnimationList::insertAnimation):
  • page/WebKitAnimationList.h:
  • svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::FEImage): (WebCore::FEImage::create):
  • svg/graphics/filters/SVGFEImage.h:
  • svg/graphics/filters/SVGFilterBuilder.cpp: (WebCore::SVGFilterBuilder::SVGFilterBuilder): (WebCore::SVGFilterBuilder::add): (WebCore::SVGFilterBuilder::appendEffectToEffectReferences):
  • svg/graphics/filters/SVGFilterBuilder.h:
  • websockets/ThreadableWebSocketChannelClientWrapper.cpp: (WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback):
  • websockets/ThreadableWebSocketChannelClientWrapper.h:
  • websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::Peer::Peer): (WebCore::WorkerThreadableWebSocketChannel::Bridge::setWebSocketChannel): (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
  • websockets/WorkerThreadableWebSocketChannel.h: Use PassRefPtr or raw pointer as appropriate for RefPtr arguments.
2:10 PM Changeset in webkit [89612] by jberlin@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

[Snow Leopard WebKit2 Tests] http/tests/appcache/interrupted-update.html failing, probably
since introduction in r86478.
https://bugs.webkit.org/show_bug.cgi?id=63288

Add expected failing results in order to get the bots green.

  • platform/mac-wk2/http/tests/appcache/interrupted-update-expected.txt: Added.
2:04 PM Changeset in webkit [89611] by barraclough@apple.com
  • 11 edits in trunk/Source/JavaScriptCore

https://bugs.webkit.org/show_bug.cgi?id=63218
DFG JIT - remove machine type guarantees from graph

Reviewed by Sam Weinig.

The DFG JIT currently makes assumptions about the types of machine registers
that certain nodes will be loaded into. This will be broken as we generate
nodes to produce both integer and double code paths. Remove int<->double
conversions nodes. This design decision also gave rise to multiple types of
constant nodes, requiring separate handling for each type. Merge these back
into JSConstant.

  • dfg/DFGAliasTracker.h:

(JSC::DFG::AliasTracker::equalIgnoringLaterNumericConversion):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::getToInt32):
(JSC::DFG::ByteCodeParser::getToNumber):
(JSC::DFG::ByteCodeParser::toInt32):
(JSC::DFG::ByteCodeParser::toNumber):
(JSC::DFG::ByteCodeParser::isInt32Constant):
(JSC::DFG::ByteCodeParser::isDoubleConstant):
(JSC::DFG::ByteCodeParser::valueOfInt32Constant):
(JSC::DFG::ByteCodeParser::valueOfDoubleConstant):
(JSC::DFG::ByteCodeParser::one):
(JSC::DFG::ByteCodeParser::predictInt32):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::dump):

  • dfg/DFGJITCodeGenerator.h:

(JSC::DFG::JITCodeGenerator::silentFillGPR):
(JSC::DFG::JITCodeGenerator::silentFillFPR):
(JSC::DFG::JITCodeGenerator::isJSConstant):
(JSC::DFG::JITCodeGenerator::isDoubleConstant):
(JSC::DFG::JITCodeGenerator::valueOfJSConstantAsImmPtr):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::fillNumericToDouble):
(JSC::DFG::JITCompiler::fillInt32ToInteger):

  • dfg/DFGJITCompiler.h:

(JSC::DFG::JITCompiler::isJSConstant):
(JSC::DFG::JITCompiler::isInt32Constant):
(JSC::DFG::JITCompiler::isDoubleConstant):
(JSC::DFG::JITCompiler::valueOfJSConstant):
(JSC::DFG::JITCompiler::valueOfInt32Constant):
(JSC::DFG::JITCompiler::valueOfDoubleConstant):

  • dfg/DFGNode.h:

(JSC::DFG::Node::Node):
(JSC::DFG::Node::isConstant):
(JSC::DFG::Node::notTakenBytecodeOffset):

  • dfg/DFGNonSpeculativeJIT.cpp:

(JSC::DFG::NonSpeculativeJIT::isKnownInteger):
(JSC::DFG::NonSpeculativeJIT::isKnownNumeric):
(JSC::DFG::NonSpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::compilePeepHoleIntegerBranch):
(JSC::DFG::SpeculativeJIT::compile):

1:29 PM Changeset in webkit [89610] by Adam Roben
  • 2 edits in trunk/Tools

Record whether old-run-webkit-tests aborted early in results.html

Fixes <http://webkit.org/b/63280> results.html gives no indication of whether
old-run-webkit-tests stopped running tests early

Reviewed by David Kilzer.

  • Scripts/old-run-webkit-tests:

(top level): Switched to heredoc syntax for printing the start of results.html for clarity.
Added a <style> element with some styles for the new message. If we stopped running early,
put the reason why at the top of results.html.
(stopRunningTestsEarlyIfNeeded): Store the message we print in the new
$stoppedRunningEarlyMessage global.

1:24 PM Changeset in webkit [89609] by commit-queue@webkit.org
  • 11 edits
    2 deletes in trunk

2011-06-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89591 and r89593.
http://trac.webkit.org/changeset/89591
http://trac.webkit.org/changeset/89593
https://bugs.webkit.org/show_bug.cgi?id=63279

Caused test crashes in SL and Chromium (Requested by dimich_
on #webkit).

  • platform/mac/accessibility/aria-liveregion-without-element-access-expected.txt: Removed.
  • platform/mac/accessibility/aria-liveregion-without-element-access.html: Removed.

2011-06-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89591 and r89593.
http://trac.webkit.org/changeset/89591
http://trac.webkit.org/changeset/89593
https://bugs.webkit.org/show_bug.cgi?id=63279

Caused test crashes in SL and Chromium (Requested by dimich_
on #webkit).

  • accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::AXObjectCache): (WebCore::AXObjectCache::remove): (WebCore::AXObjectCache::childrenChanged):
  • accessibility/AXObjectCache.h:
  • accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::childrenChanged):
  • accessibility/AccessibilityMenuList.h:
  • accessibility/AccessibilityMenuListPopup.cpp: (WebCore::AccessibilityMenuListPopup::childrenChanged):
  • accessibility/AccessibilityMenuListPopup.h:
  • accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::childrenChanged):
  • accessibility/AccessibilityRenderObject.cpp: (WebCore::startOfContinuations): (WebCore::AccessibilityRenderObject::updateAccessibilityRole): (WebCore::AccessibilityRenderObject::childrenChanged):
  • accessibility/AccessibilityRenderObject.h:
1:22 PM Changeset in webkit [89608] by eric.carlson@apple.com
  • 5 edits in trunk/LayoutTests

2011-06-23 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

Incorrect MIME type used for some media layout tests
https://bugs.webkit.org/show_bug.cgi?id=63275

  • media/video-can-play-type-expected.txt: video/mpeg -> video/mp4
  • media/video-can-play-type.html: Ditto.
  • media/video-source-error.html: Ditto.
  • media/video-source-type.html: Ditto.
1:21 PM Changeset in webkit [89607] by jberlin@webkit.org
  • 1 edit
    4 adds in trunk/LayoutTests

[WebKit2 Tests] svg/zoom/page/zoom-replaced-intrinsic-ratio-001.html failing since
introduction in r88913.
https://bugs.webkit.org/show_bug.cgi?id=63277

Add the (failing?) expected results in order to get the WK2 bots green.

  • platform/mac-wk2/svg: Added.
  • platform/mac-wk2/svg/zoom: Added.
  • platform/mac-wk2/svg/zoom/page: Added.
  • platform/mac-wk2/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Added.
1:04 PM Changeset in webkit [89606] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-06-23 Andreas Kling <kling@webkit.org>

Reviewed by Benjamin Poulain.

[Qt] Unbreak simple font fast-path after QRawFont API changes.
https://bugs.webkit.org/show_bug.cgi?id=63272

In the Qt 4.8 branch, the QGlyphs class has been renamed to
QGlyphRun, and some other small things have been tweaked.

  • WebCore.pro:
  • platform/graphics/qt/FontCacheQt.cpp: (WebCore::rawFontForCharacters):
  • platform/graphics/qt/FontQt.cpp: (WebCore::Font::drawGlyphs):
12:54 PM Changeset in webkit [89605] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebKit2

2011-06-23 Jamie Cooley <james.cooley@nokia.com>

Reviewed by Andreas Kling.

[Qt][WK2] Qt port needs load-from-history implementation
https://bugs.webkit.org/show_bug.cgi?id=57784

Created "random access" BackForwardHistory public API method,
QWKHistory::goToItemAt(int)

  • UIProcess/API/qt/qwkhistory.cpp: (QWKHistoryItem::QWKHistoryItem::itemRef): Added access method to fetch WKBackForwardListRef

(QWKHistoryPrivate::QWKHistoryPrivate):
(QWKHistoryPrivate::createHistory):
Updated createHistory method and QWKHistoryPrivate constructor to take a pointer
to the owning QWKPage in addition to the WebBackForwardList. This will be saved so that the
new API can ask the page to load a HistoryItem.

(QWKHistory::goToItemAt):
New Public API. Like QWKHistory::itemAt, callee gives an integer.
<0 means jump back to that item, 0 means the current item, >0 means jump forwards.
If an out-of-range index is given, the function silently fails.
This will invoke WKPageGoToBackForwardListItem.

  • UIProcess/API/qt/qwkhistory.h:
  • UIProcess/API/qt/qwkhistory_p.h:
  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::QWKPagePrivate): Update instantiation of QWKHistory to include QWKPage.
  • UIProcess/API/qt/tests/qwkhistory/tst_qwkhistory.cpp: (tst_QWKHistory::historyForwardBackTest_data): (tst_QWKHistory::historyForwardBackTest): Add test content for the new API
12:53 PM Changeset in webkit [89604] by tony@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-23 Tony Chang <tony@chromium.org>

Reviewed by Andreas Kling.

Pass Strings as const references in NetworkResourcesData.h
https://bugs.webkit.org/show_bug.cgi?id=63271

  • inspector/NetworkResourcesData.h: (WebCore::NetworkResourcesData::ResourceData::setFrameId): (WebCore::NetworkResourcesData::ResourceData::setUrl): (WebCore::NetworkResourcesData::ResourceData::setTextEncodingName):
12:52 PM Changeset in webkit [89603] by mitz@apple.com
  • 1 edit
    2 adds in trunk/LayoutTests

Added expected results for Snow Leopard and earlier.

  • platform/mac-snowleopard/platform/mac/fast/text: Added.
  • platform/mac-snowleopard/platform/mac/fast/text/line-break-locale-expected.txt: Added.
12:50 PM Changeset in webkit [89602] by jberlin@webkit.org
  • 2 edits
    1 move in trunk/LayoutTests

http/tests/multipart/win-boundary-crash.html flakey.
https://bugs.webkit.org/show_bug.cgi?id=63268

Disable the test. I was wrong in thinking that the win skipped list inherits from mac.

  • http/tests/multipart/win-boundary-crash.html: Removed.
  • http/tests/multipart/win-boundary-crash.html-disabled: Copied from LayoutTests/http/tests/multipart/win-boundary-crash.html.
  • platform/mac/Skipped:
12:49 PM Changeset in webkit [89601] by Adam Roben
  • 4 edits
    1 add in trunk/Tools

Cache some of the TestFailures page's data in localStorage

This makes reloading TestFailures much faster. Right now we only store the number of failing
tests and the list of failing tests for each build. We may choose to store more later, but
it's easy to run up against quota limits.

Fixes <http://webkit.org/b/61520> TestFailures page should take advantage of LocalStorage
APIs (or similar) to improve loading performance

Reviewed by David Kilzer.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:

(Builder.prototype.getNumberOfFailingTests): Changed to use the new PersistentCache object.
(Builder.prototype.startFetchingBuildHistory): Changed to pass whether or not we're still
fetching data to the callback.
(Builder.prototype._getFailingTests): Changed to use the new PersistentCache object. We now
store the tests in the cache just before calling the callback. (The previous code in this
function relied on being able to modify the tests object after storing it in the cache and
having the cached version be updated. This worked while it was a non-serialized cache, but
PersistentCache uses serialization.)

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/PersistentCache.js: Added.

(PersistentCache): This object wraps localStorage. It uses JSON to serialize/deserialize
values, and stores the date that each value was initially stored along with it. This is
later used for pruning the cache.
(PersistentCache.contains): Checks whether the key exists in localStorage.
(PersistentCache.get): Fetch the string we stored in localStorage and extract the original
value out of it.
(PersistentCache.set): Serialize the value, add the date to it, and store it in
localStorage. If this fails due to quota limits, empty the whole cache and try again.
(PersistentCache.prune): Delete any cached data that is deemed old enough.
(PersistentCache._addDateToJSONString): Prepend the current date to the string.
(PersistentCache._emptyCache): Delete everything from localStorage.
(PersistentCache._parseDateAndJSONFromString): Split apart the date and the JSON string and
return them.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:

(ViewController.prototype._displayBuilder): Updated for change to callback signature. When
we finish fetching data, prune the PersistentCache. While I was here I also fixed a bug
where we'd never show the new bug link for tests for which we couldn't determine a passing
revision.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pull in

PersistentCache.js.

12:32 PM Changeset in webkit [89600] by jberlin@webkit.org
  • 3 edits in trunk/LayoutTests

http/tests/multipart/win-boundary-crash.html flakey.
https://bugs.webkit.org/show_bug.cgi?id=63268

The flakiness is happening on mac as well, move it to the mac skipped list.

  • platform/mac/Skipped:
  • platform/win/Skipped:
12:29 PM Changeset in webkit [89599] by jcivelli@chromium.org
  • 6 edits in trunk/Source/WebCore

2011-06-23 Jay Civelli <jcivelli@chromium.org>

Reviewed by Adam Barth.

Fixing the SharedBufferChunkReader API so it works correctly with
binary data (non printable characters).
Also adding a method to peek at the data (this is needed for MHTML
with binary parts).
https://bugs.webkit.org/show_bug.cgi?id=63231

  • loader/archive/mhtml/MHTMLParser.cpp: (WebCore::skipLinesUntilBoundaryFound): (WebCore::MHTMLParser::parseNextPart):
  • loader/archive/mhtml/MHTMLParser.h:
  • platform/SharedBufferChunkReader.cpp: (WebCore::SharedBufferChunkReader::SharedBufferChunkReader): (WebCore::SharedBufferChunkReader::setSeparator): (WebCore::SharedBufferChunkReader::nextChunk): (WebCore::SharedBufferChunkReader::nextChunkAsUTF8StringWithLatin1Fallback): (WebCore::SharedBufferChunkReader::peek):
  • platform/SharedBufferChunkReader.h:
  • platform/network/MIMEHeader.cpp: (WebCore::retrieveKeyValuePairs):
12:13 PM Changeset in webkit [89598] by Nate Chapin
  • 8 edits in trunk

2011-06-23 Nate Chapin <Nate Chapin>

Unreviewed.

Revert production code part of r89503, since it's causing
crashes on WebKit2/mac and failures on qt.

  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::dispatchWindowLoadEvent):
  • dom/Document.h: (WebCore::Document::processingLoadEvent):
  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::isLoadingInAPISense):
12:11 PM Changeset in webkit [89597] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-23 Young Han Lee <joybro@company100.net>

Reviewed by Simon Fraser.

runAnimationTest always fails if the pause API is enabled and the test target animation has "infinite" iteration count.
https://bugs.webkit.org/show_bug.cgi?id=63152

The pausing conditions are modified. Now it accepts the infinite-iteration-count,
but rejects the zero-iteration-count. There is no reason to consider the zero-count meaning no animation.

  • animations/keyframes-infinite-iterations-expected.txt: Added.
  • animations/keyframes-infinite-iterations.html: Added.

2011-06-23 Young Han Lee <joybro@company100.net>

Reviewed by Simon Fraser.

runAnimationTest always fails if the pause API is enabled and the test target animation has "infinite" iteration count.
https://bugs.webkit.org/show_bug.cgi?id=63152

The pausing conditions are modified. Now it accepts the infinite-iteration-count,
but rejects the zero-iteration-count. There is no reason to consider the zero-count meaning no animation.

Test: animations/keyframes-infinite-iterations.html

  • page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimation::pauseAnimationAtTime):
11:42 AM Changeset in webkit [89596] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

[Windows 7 Release Tests] http/tests/multipart/win-boundary-crash.html flakey.
https://bugs.webkit.org/show_bug.cgi?id=63268

Add it to the Windows skipped list to get the bots green.

  • platform/win/Skipped:
11:30 AM Changeset in webkit [89595] by inferno@chromium.org
  • 4 edits
    2 adds in trunk

2011-06-23 Abhishek Arya <inferno@chromium.org>

Reviewed by Adam Barth.

Tests that we do not crash when doing a media query match.
https://bugs.webkit.org/show_bug.cgi?id=63264

  • fast/css/media-query-evaluator-crash-expected.txt: Added.
  • fast/css/media-query-evaluator-crash.html: Added.

2011-06-23 Abhishek Arya <inferno@chromium.org>

Reviewed by Adam Barth.

RefPtr m_style in MediaQueryEvaluator in case of callers like
MediaQueryMatcher::prepareEvaluator that do not retain its reference.
https://bugs.webkit.org/show_bug.cgi?id=63264

Test: fast/css/media-query-evaluator-crash.html

  • css/MediaQueryEvaluator.cpp: (WebCore::MediaQueryEvaluator::eval):
  • css/MediaQueryEvaluator.h:
11:23 AM Changeset in webkit [89594] by jshin@chromium.org
  • 14 edits
    3 adds in trunk/Source

2011-06-23 Jungshik Shin <jshin@chromium.org>

Reviewed by Alexey Proskuryakov.

Add ScriptCodesFromICU.h to wtf/unicode and make necessary changes in
build files for ports not using ICU.
Add icu/unicode/uscript.h for ports using ICU. It's taken from
ICU 3.6 (the version used on Mac OS 10.5)

http://bugs.webkit.org/show_bug.cgi?id=20797

  • GNUmakefile.list.am:
  • JavaScriptCore.gypi:
  • icu/unicode/uscript.h: Added for UScriptCode enum.
  • wtf/unicode/ScriptCodesFromICU.h: UScriptCode enum added.
  • wtf/unicode/icu/UnicodeIcu.h:
  • wtf/unicode/brew/UnicodeBrew.h:
  • wtf/unicode/glib/UnicodeGLib.h:
  • wtf/unicode/qt4/UnicodeQt4.h:
  • wtf/unicode/wince/UnicodeWinCE.h:

2011-06-23 Jungshik Shin <jshin@chromium.org>

Reviewed by Alexey Proskuryakov.

Add uscript.h to icu/unicode to get JavaScriptGlue get built. The same
file was added to JavaScriptCore/icu/unicode.

http://bugs.webkit.org/show_bug.cgi?id=20797

  • icu/unicode/uscript.h: Added.

2011-06-23 Jungshik Shin <jshin@chromium.org>

Reviewed by Alexey Proskuryakov.

Allow generic font family settings per script code.
https://bugs.webkit.org/show_bug.cgi?id=20797

Make generic font family getters/setters accept an additional
argument (script code). It has a default value so that if an embedder
does not have/want a per-script font family setting, call-sites
don't have to be changed.
This is to prepare for fixing bug 10874 (font selection is not
language-dependent) and bug 18085.

uscript.h has been updated to that of ICU 3.6 (the version of ICU on
Mac OS 10.5)

There should be no change in layout and no new layout test
is added.

  • WebCore.exp.in:
  • icu/unicode/uscript.h: updated to ICU 4.6
  • page/Settings.cpp: (WebCore::setGenericFontFamilyMap): helper to set generic family per script (WebCore::getGenericFontFamilyForScript): helper function used by getters for fooFontFamily. (WebCore::Settings::standardFontFamily): (WebCore::Settings::setStandardFontFamily): (WebCore::Settings::fixedFontFamily): (WebCore::Settings::setFixedFontFamily): (WebCore::Settings::serifFontFamily): (WebCore::Settings::setSerifFontFamily): (WebCore::Settings::sansSerifFontFamily): (WebCore::Settings::setSansSerifFontFamily): (WebCore::Settings::cursiveFontFamily): (WebCore::Settings::setCursiveFontFamily): (WebCore::Settings::fantasyFontFamily): (WebCore::Settings::setFantasyFontFamily):
  • page/Settings.h: setter and getter for FooFontFamily have a new optional argument, scriptCode.
11:04 AM Changeset in webkit [89593] by Chris Fleizach
  • 1 edit
    2 adds in trunk/LayoutTests

Make line breaking obey the -webkit-locale property
https://bugs.webkit.org/show_bug.cgi?id=63209

Patch by Dan Bernstein <mitz@apple.com> on 2011-06-23
Reviewed by Alexey Proskuryakov.

  • platform/mac/fast/text/line-break-locale.html: Added.
  • platform/mac/platform/mac/fast/text/line-break-locale-expected.png: Added.
  • platform/mac/platform/mac/fast/text/line-break-locale-expected.txt: Added.
11:02 AM Changeset in webkit [89592] by mitz@apple.com
  • 10 edits
    3 adds in trunk

Make line breaking obey the -webkit-locale property
https://bugs.webkit.org/show_bug.cgi?id=63209

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Test: platform/mac/fast/text/line-break-locale.html

  • platform/text/TextBreakIterator.h:

(WebCore::LazyLineBreakIterator::LazyLineBreakIterator): Take an optional locale identifier and
initialize the m_locale member.
(WebCore::LazyLineBreakIterator::get): Pass the locale to acquireLineBreakIterator().
(WebCore::LazyLineBreakIterator::reset): Pass the locale to releaseLineBreakIterator() and update
the m_locale member.

  • platform/text/TextBreakIteratorICU.cpp:

(WebCore::LineBreakIteratorPool::sharedPool): Return a shared instance.
(WebCore::LineBreakIteratorPool::take): Returns a text iterator for the given locale, either a newly-
created one, or an existing one from the pool.
(WebCore::LineBreakIteratorPool::put): Puts an iterator back into the pool, removing the least-recently used
one if needed.
(WebCore::LineBreakIteratorPool::LineBreakIteratorPool):
(WebCore::acquireLineBreakIterator): Changed to take an optional local identifier, and to use the pool.
(WebCore::releaseLineBreakIterator): Changed to use the pool.

  • platform/text/brew/TextBreakIteratorBrew.cpp:

(WebCore::acquireLineBreakIterator): Updated for new parameter.

  • platform/text/gtk/TextBreakIteratorGtk.cpp:

(WebCore::acquireLineBreakIterator): Ditto.

  • platform/text/qt/TextBreakIteratorQt.cpp:

(WebCore::acquireLineBreakIterator): Ditto.

  • platform/text/wince/TextBreakIteratorWinCE.cpp:

(WebCore::acquireLineBreakIterator): Ditto.

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::LineBreaker::nextLineBreak): Use the locale from the style for the line break
iterator.

  • rendering/RenderText.cpp:

(WebCore::RenderText::computePreferredLogicalWidths): Ditto.

LayoutTests:

  • platform/mac/fast/text/line-break-locale.html: Added.
  • platform/mac/platform/mac/fast/text/line-break-locale-expected.png: Added.
  • platform/mac/platform/mac/fast/text/line-break-locale-expected.txt: Added.
10:59 AM Changeset in webkit [89591] by Chris Fleizach
  • 11 edits in trunk

ARIA live regions don't trigger notifications for elements that aren't in the AX tree
https://bugs.webkit.org/show_bug.cgi?id=62289

Reviewed by Darin Adler.

Source/WebCore:

If an ARIA Live region udpates an element that is not in the AX object cache, then the Live region
notification is not sent. To fix this, I think the childrenChanged() method needs to actually create
the appropriate objects, but since that method gets called during a render tree update, we've learned
that it's generally not safe to create objects.

Instead a one shot timer can be fired that will update and create the necessary objects so that the
correct notification can be sent.

Test: platform/mac/accessibility/aria-liveregion-without-element-access.html

  • accessibility/AXObjectCache.cpp:

(WebCore::AXObjectCache::AXObjectCache):
(WebCore::AXObjectCache::remove):
(WebCore::AXObjectCache::childrenUpdateTimerFired):
(WebCore::AXObjectCache::childrenChanged):

  • accessibility/AXObjectCache.h:
  • accessibility/AccessibilityMenuList.cpp:

(WebCore::AccessibilityMenuList::childrenChanged):

  • accessibility/AccessibilityMenuList.h:
  • accessibility/AccessibilityMenuListPopup.cpp:

(WebCore::AccessibilityMenuListPopup::childrenChanged):

  • accessibility/AccessibilityMenuListPopup.h:
  • accessibility/AccessibilityObject.h:

(WebCore::AccessibilityObject::childrenChanged):

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::startOfContinuations):

This changed exposed a case where an object was inlineElementContinuation, but not renderInlined,
which led to an assert.

(WebCore::AccessibilityRenderObject::updateAccessibilityRole):
(WebCore::AccessibilityRenderObject::childrenChanged):

  • accessibility/AccessibilityRenderObject.h:

LayoutTests:

  • platform/mac/accessibility/aria-liveregion-without-element-access-expected.txt: Added.
  • platform/mac/accessibility/aria-liveregion-without-element-access.html: Added.
10:53 AM Changeset in webkit [89590] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: marking debugger test as slow in chromium expectations.

  • platform/chromium/test_expectations.txt:
10:47 AM Changeset in webkit [89589] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Ryosuke Niwa <rniwa@webkit.org>

Chromium Mac rebaseline.

  • platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:
10:44 AM Changeset in webkit [89588] by Adam Roben
  • 5 edits in trunk/Tools

Make finding existing bugs and filing new bugs work on TestFailures even when lots of tests are failing

One bug this fixes is <http://webkit.org/b/61660> New bug links on TestFailures page often
contain titles that are so long they are rejected by Bugzilla

Reviewed by David Kilzer.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:

(Bugzilla.prototype.quickSearch): Use fetchResource to POST the search query rather than
using a query string on the URL. If the search query is very long, using a query string can
cause the request to be rejected due to the URL being too long. POSTing avoids this issue.
(Bugzilla.maximumBugTitleLength): Added this constant based on Bugzilla's implementation.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:

(.new-bug-form): Hide the form that we secretly use to file a new bug.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:

(fetchResource): Added. Code came from getResource. If we're using a GET request, add the
query parameters to the URL. Otherwise, send them as the body of the request along with the
appropriate headers.
(getResource): Now just calls through to fetchResource.
(urlEncodedQueryParameters): Added. Moved some code here...
(addQueryParametersToURL): ...from here.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:

(ViewController.prototype._domForNewAndExistingBugs): Shorten the title to just mention the
number of failing tests if mentioning all the tests would make the title too long. Improved
the description for large numbers of failures by listing the tests one-per-line instead of
just having them be comma-separated, which was hard to read. Use a form to file the new bug
instead of a link so that we can POST the form data. (Using a URL with a query string can
result in the URL being too long.) The new bug link now just submits the form.

10:42 AM Changeset in webkit [89587] by krit@webkit.org
  • 25 edits
    2 adds in trunk/Source/WebCore

2011-06-23 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

Convert SVGColor to SVGAnimatorFactory concept
https://bugs.webkit.org/show_bug.cgi?id=63246

Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGColor.

Changed constructors of animators to take the animation element SVGAnimationsElement as new argument. Removed attribute name argument instead.
This information is already exposed by the animation element. The animators store the pointer of the animation element, so that it is not
necessary to pass it as argument to the functions calculateDistance, calculateAnimatedValue.


Replace all SVGSMILElement references by SVGAnimationsElement - the common base class of all animation elements.

Added a new method in SVGAnimateElement to determine the property value type of CSS properties (regular value type, inherit or currentColor).
The other two new methods fromPropertyValueType() and toPropertyValueType() avoid passing boolean arguments in calculateAnimatedValue().

No new tests added. Current tests cover the changes.

  • CMakeLists.txt: Added new files to build system.
  • GNUmakefile.list.am: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • svg/SVGAllInOne.cpp: Ditto.
  • svg/SVGAnimateElement.cpp: Use Animator for SVGColor. (WebCore::SVGAnimateElement::SVGAnimateElement): (WebCore::SVGAnimateElement::determineAnimatedAttributeType): (WebCore::SVGAnimateElement::calculateAnimatedValue): (WebCore::SVGAnimateElement::determinePropertyValueTypes): (WebCore::SVGAnimateElement::calculateFromAndToValues): (WebCore::SVGAnimateElement::calculateFromAndByValues): (WebCore::SVGAnimateElement::resetToBaseValue): (WebCore::SVGAnimateElement::applyResultsToTarget): (WebCore::SVGAnimateElement::calculateDistance): (WebCore::SVGAnimateElement::ensureAnimator): Pass the animation element as pointer to animator.
  • svg/SVGAnimateElement.h: Removed unnecessary includes. Some cleanup. (WebCore::SVGAnimateElement::fromPropertyValueType): Get property value type of 'from' property. (WebCore::SVGAnimateElement::toPropertyValueType): Get property value type of 'to' property.
  • svg/SVGAnimatedAngle.cpp: (WebCore::SVGAnimatedAngleAnimator::SVGAnimatedAngleAnimator): Added SVGSMILElement as new argument, removed attributeName. (WebCore::SVGAnimatedAngleAnimator::calculateFromAndToValues): Determine property value type. (WebCore::SVGAnimatedAngleAnimator::calculateFromAndByValues): Ditto. (WebCore::SVGAnimatedAngleAnimator::calculateAnimatedValue): Use new functions of SVGAnimateElement for handling of 'inherit'.

And removed unnecessary arguments.

(WebCore::SVGAnimatedAngleAnimator::calculateDistance): Removed animation element argument.

  • svg/SVGAnimatedAngle.h:
  • svg/SVGAnimatedColor.cpp: Added. (WebCore::SVGAnimatedColorAnimator::SVGAnimatedColorAnimator): Ditto. (WebCore::SVGAnimatedColorAnimator::constructFromString): (WebCore::SVGAnimatedColorAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedColorAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedColorAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedColorAnimator::calculateDistance):
  • svg/SVGAnimatedColor.h: Added. (WebCore::SVGAnimatedColorAnimator::~SVGAnimatedColorAnimator):
  • svg/SVGAnimatedLength.cpp: (WebCore::SVGAnimatedLengthAnimator::SVGAnimatedLengthAnimator): Ditto. (WebCore::SVGAnimatedLengthAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedLengthAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedLengthAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedLengthAnimator::calculateDistance):
  • svg/SVGAnimatedLength.h:
  • svg/SVGAnimatedNumber.cpp: (WebCore::SVGAnimatedNumberAnimator::SVGAnimatedNumberAnimator): Ditto. (WebCore::SVGAnimatedNumberAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedNumberAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedNumberAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedNumberAnimator::calculateDistance):
  • svg/SVGAnimatedNumber.h:
  • svg/SVGAnimatedPointList.cpp: (WebCore::SVGAnimatedPointListAnimator::SVGAnimatedPointListAnimator): Ditto. (WebCore::SVGAnimatedPointListAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedPointListAnimator::calculateDistance):
  • svg/SVGAnimatedPointList.h:
  • svg/SVGAnimatedRect.cpp: (WebCore::SVGAnimatedRectAnimator::SVGAnimatedRectAnimator): Ditto. (WebCore::SVGAnimatedRectAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedRectAnimator::calculateDistance):
  • svg/SVGAnimatedRect.h:
  • svg/SVGAnimatedType.cpp: Added handling of Color values. (WebCore::SVGAnimatedType::~SVGAnimatedType): (WebCore::SVGAnimatedType::createColor): (WebCore::SVGAnimatedType::color): (WebCore::SVGAnimatedType::valueAsString): (WebCore::SVGAnimatedType::setValueAsString):
  • svg/SVGAnimatedType.h:
  • svg/SVGAnimatedTypeAnimator.h: (WebCore::SVGAnimatedTypeAnimator::SVGAnimatedTypeAnimator):
  • svg/SVGAnimatorFactory.h: (WebCore::SVGAnimatorFactory::create):
10:38 AM Changeset in webkit [89586] by jam@chromium.org
  • 2 edits in branches/chromium/782/Source/WebKit/chromium/src

Merge 89584 - 2011-06-23 John Abd-El-Malek <jam@chromium.org>

Reviewed by Tony Chang.

[chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
https://bugs.webkit.org/show_bug.cgi?id=63260

  • src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::visibleHeight): (WebKit::WebScrollbarImpl::visibleWidth): (WebKit::WebScrollbarImpl::contentsSize): (WebKit::WebScrollbarImpl::overhangAmount):
  • src/WebScrollbarImpl.h:

TBR=jam@chromium.org
Review URL: http://codereview.chromium.org/7248010

10:35 AM Changeset in webkit [89585] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

2011-06-23 Wyatt Carss <wcarss@chromium.org>

Reviewed by Ryosuke Niwa.

remove references to dump-as-markup in editing/deleting/delete-by-word tests
https://bugs.webkit.org/show_bug.cgi?id=62903

Each of these files had '../../../resources/dump-as-markup.js' referenced, which was broken.
Neither of them was using dump-as-markup, so it did not break anything - this fix just removes
the unused broken references.

  • editing/deleting/delete-by-word-001.html:
  • editing/deleting/delete-by-word-002.html:
10:35 AM Changeset in webkit [89584] by jam@chromium.org
  • 3 edits in trunk/Source/WebKit/chromium

2011-06-23 John Abd-El-Malek <jam@chromium.org>

Reviewed by Tony Chang.

[chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
https://bugs.webkit.org/show_bug.cgi?id=63260

  • src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::visibleHeight): (WebKit::WebScrollbarImpl::visibleWidth): (WebKit::WebScrollbarImpl::contentsSize): (WebKit::WebScrollbarImpl::overhangAmount):
  • src/WebScrollbarImpl.h:
10:13 AM Changeset in webkit [89583] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: marking debugger test as slow in chromium expectations.

  • platform/chromium/test_expectations.txt:
10:06 AM Changeset in webkit [89582] by yael.aharon@nokia.com
  • 19 edits
    3 adds in trunk/Source

2011-06-23 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] [WK2] Add drag and drop support
https://bugs.webkit.org/show_bug.cgi?id=62838

Add convenience methods to allow encoding/decoding of DragData.
Move the call to dragEnded() to DragClient, to make WebKit1 and WebKit2
consistent.

  • page/qt/DragControllerQt.cpp: (WebCore::DragController::cleanupAfterSystemDrag):
  • platform/DragData.h: (WebCore::DragData::flags): (WebCore::DragData::DragData): (WebCore::DragData::operator =):

2011-06-23 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] [WK2] Add drag and drop support
https://bugs.webkit.org/show_bug.cgi?id=62838

Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.

  • WebCoreSupport/DragClientQt.cpp: (WebCore::DragClientQt::startDrag):

2011-06-23 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] [WK2] Add drag and drop support
https://bugs.webkit.org/show_bug.cgi?id=62838

Added missing pieces to add support for DnD in QtWebKit.

  • Shared/qt/ArgumentCodersQt.cpp: Added. (CoreIPC::::encode): (CoreIPC::::decode):
  • Shared/qt/ArgumentCodersQt.h: Added. Encode DragData so that we can transfer the QMimeData between the WebProcess and the UI Process. I encode the DragData and not QMimeData directly because we don't have an associated QMimeData for each message.
  • UIProcess/API/qt/qgraphicswkview.cpp: (QGraphicsWKView::init): (QGraphicsWKView::dragEnterEvent): (QGraphicsWKView::dragLeaveEvent): (QGraphicsWKView::dragMoveEvent): (QGraphicsWKView::dropEvent):
  • UIProcess/API/qt/qgraphicswkview.h:
  • UIProcess/API/qt/qwkpage.cpp: (dropActionToDragOperation): (dragOperationToDropAction): (dragOperationToDropActions): (QWKPagePrivate::dragEnterEvent): (QWKPagePrivate::dragLeaveEvent): (QWKPagePrivate::dragMoveEvent): (QWKPagePrivate::dropEvent): (QWKPagePrivate::startDrag):

Send drag-and-drop related events to WebKit.

  • UIProcess/API/qt/qwkpage_p.h:
  • UIProcess/PageClient.h:
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::performDragControllerAction): (WebKit::WebPageProxy::startDrag):
  • UIProcess/WebPageProxy.h:

Start the HTML5 drag operation from the UI process, because QDrag
needs a handle to the QWidget under the mouse.

  • UIProcess/WebPageProxy.messages.in:

Add message type that takes DragData as a parameter.

  • WebKit2.pro:
  • WebProcess/WebCoreSupport/WebDragClient.cpp:
  • WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp: Added. (WebKit::convertImageToBitmap): (WebKit::WebDragClient::startDrag):

Send a message to the UI process to start the HTML5 drag operation.

  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::performDragControllerAction):
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:

Add message type that takes DragData as a parameter.

10:02 AM Changeset in webkit [89581] by ryuan.choi@samsung.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Andreas Kling.

[EFL][WK2] Add PLATFORM(EFL) to use UNIX_DOMAIN_SOCKETS.
https://bugs.webkit.org/show_bug.cgi?id=63228

  • wtf/Platform.h: Add PLATFORM(EFL) guard.
9:41 AM Changeset in webkit [89580] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

2011-06-23 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[UNIX] Fix compile warnings in NetscapePluginX11.cpp
https://bugs.webkit.org/show_bug.cgi?id=63249

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: (WebKit::setXButtonEventFields): (WebKit::NetscapePlugin::platformHandleMouseEvent):
9:35 AM Changeset in webkit [89579] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-23 Ryosuke Niwa <rniwa@webkit.org>

Rolled DEPS.

  • DEPS:
9:02 AM Changeset in webkit [89578] by Lucas Forschler
  • 5 edits in branches/safari-534-branch/Source

Versioning.

8:56 AM Changeset in webkit [89577] by commit-queue@webkit.org
  • 14 edits
    2 copies in trunk/Source/WebCore

2011-06-23 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Show "no content" message in network panel when resource does not have content available.
https://bugs.webkit.org/show_bug.cgi?id=63007

  • English.lproj/localizedStrings.js:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/ApplicationCacheItemsView.js: (WebInspector.ApplicationCacheItemsView): (WebInspector.ApplicationCacheItemsView.prototype._updateCallback):
  • inspector/front-end/CookieItemsView.js: (WebInspector.CookieItemsView): (WebInspector.CookieItemsView.prototype._updateWithCookies):
  • inspector/front-end/DatabaseTableView.js: (WebInspector.DatabaseTableView.prototype._queryFinished):
  • inspector/front-end/EmptyView.js: Added. (WebInspector.EmptyView): (WebInspector.EmptyView.prototype.show): (WebInspector.EmptyView.prototype.set text):
  • inspector/front-end/NetworkItemView.js: (WebInspector.NetworkItemView): (WebInspector.ResourceContentView): (WebInspector.ResourceContentView.prototype.hasContent): (WebInspector.ResourceContentView.prototype.get sourceView): (WebInspector.ResourceContentView.prototype.show): (WebInspector.ResourceContentView.prototype._ensureInnerViewShown.callback): (WebInspector.ResourceContentView.prototype._ensureInnerViewShown): (WebInspector.ResourceContentView.prototype.contentLoaded):
  • inspector/front-end/ResourceCookiesView.js: (WebInspector.ResourceCookiesView.prototype.show):
  • inspector/front-end/ResourcePreviewView.js: (WebInspector.ResourcePreviewView): (WebInspector.ResourcePreviewView.prototype.contentLoaded): (WebInspector.ResourcePreviewView.prototype._createInnerView):
  • inspector/front-end/ResourceResponseView.js: Added. (WebInspector.ResourceResponseView): (WebInspector.ResourceResponseView.prototype.get sourceView): (WebInspector.ResourceResponseView.prototype.contentLoaded):
  • inspector/front-end/ResourceTimingView.js: (WebInspector.ResourceTimingView.prototype.show):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.StorageCategoryView): (WebInspector.StorageCategoryView.prototype.setText):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
8:53 AM Changeset in webkit [89576] by kbalazs@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-06-23 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Adam Roben.

PluginView::dispatchNPEvent is deceptive
https://bugs.webkit.org/show_bug.cgi?id=63243

Straighten the inverted logic of dispatchNPEvent
and it's callers.

No change in behaviour so no new tests.
Existing plugin tests cover this.

  • plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::dispatchNPEvent): (WebCore::PluginView::handleKeyboardEvent): (WebCore::PluginView::handleMouseEvent):
  • plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::dispatchNPEvent): (WebCore::PluginView::handleKeyboardEvent): (WebCore::PluginView::handleMouseEvent):
  • plugins/symbian/PluginViewSymbian.cpp: (WebCore::PluginView::dispatchNPEvent): (WebCore::PluginView::handleKeyboardEvent): (WebCore::PluginView::handleMouseEvent):
  • plugins/win/PluginViewWin.cpp: (WebCore::PluginView::dispatchNPEvent): (WebCore::PluginView::handleKeyboardEvent): (WebCore::PluginView::handleMouseEvent):
8:48 AM Changeset in webkit [89575] by jberlin@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduction in
r88679.
https://bugs.webkit.org/show_bug.cgi?id=63205

This test does not fail on Windows, so add back in the passing expected results to get the
bots green.

  • platform/win-wk2/plugins/npruntime: Added.
  • platform/win-wk2/plugins/npruntime/embed-property-equality-expected.txt: Added.
8:44 AM Changeset in webkit [89574] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/qt

2011-06-23 Joe Wild <joseph.wild@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] Export files under Symbian Qt WebKit build
https://bugs.webkit.org/show_bug.cgi?id=61207

Export files for the Symbian platform as this is needed by the
production build system.

Janne Koskinen provided the suggestion to use target_predeps,
which is an improvement over the originally suggested patch.

8:27 AM Changeset in webkit [89573] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-23 Tommy Widenflycht <tommyw@google.com>

Reviewed by Tony Gentilcore.

MediaStream API: Rename Stream, GeneratedStream and StreamRecorder to the latest spec
https://bugs.webkit.org/show_bug.cgi?id=63122

Fixing broken makefile.

  • GNUmakefile.list.am:
8:20 AM Changeset in webkit [89572] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/efl

2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Crash when running EWebLauncher
https://bugs.webkit.org/show_bug.cgi?id=62628

Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading()
like other ports.
It will clear parser not to crash when called endIfNotLoadingMainResource().

  • WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl): (WebCore::FrameLoaderClientEfl::makeRepresentation): (WebCore::FrameLoaderClientEfl::revertToProvisionalState): (WebCore::FrameLoaderClientEfl::finishedLoading):
  • WebCoreSupport/FrameLoaderClientEfl.h:
8:19 AM Changeset in webkit [89571] by Adam Roben
  • 4 edits in trunk/Tools

Show closed bugs on the TestFailures page in addition to open ones

Fixes <http://webkit.org/b/63194> TestFailures page should show closed bugs, too

Reviewed by David Kilzer.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:

(Bugzilla.prototype.quickSearch): Added code to extract the bug's status and store it in the
returned data.
(Bugzilla.isOpenStatus): New function, returns true if the passed-in status indicates that
the associated bug is still open.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:

(addQueryParametersToURL): Add a missing semicolon.
(Node.prototype.appendChildren): New function, like appendChild but takes an array-like
object and appends each of the values stored within.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:

(ViewController.prototype._domForNewAndExistingBugs): Prepend 'ALL' to the query so closed
bugs will be included in the results. Split the returned bugs into two sets: those which are
open, and those which are closed. Put the open bugs at the top level of the list, and the
closed bugs in a second level.

7:58 AM Changeset in webkit [89570] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

REGRESSION (r89449): http/tests/inspector/extensions-resources-redirect.html failing on SnowLeopard Intel Release (Tests), Windows 7 Release (Tests), Qt
https://bugs.webkit.org/show_bug.cgi?id=63178

  • platform/qt/Skipped: Skip http/tests/inspector/extensions-resources-redirect.html until fix.
7:46 AM Changeset in webkit [89569] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt]REGRESSION(r89503): It made 4 fast/notifications tests fail on Qt
https://bugs.webkit.org/show_bug.cgi?id=63255

  • platform/qt/Skipped: Skip failing tests until fix.
7:34 AM Changeset in webkit [89568] by Adam Roben
  • 2 edits in trunk/Tools

Don't count new tests as failures on the TestFailures page

Fixes <http://webkit.org/b/63254> TestFailures page calls new tests "failures", even though
they aren't

Reviewed by Anders Carlsson.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:

(Builder.prototype.getNumberOfFailingTests): Don't add the number of new tests to the number
of failures.

7:23 AM Changeset in webkit [89567] by commit-queue@webkit.org
  • 22 edits
    10 moves in trunk/Source/WebCore

2011-06-23 Tommy Widenflycht <tommyw@google.com>

Reviewed by Tony Gentilcore.

MediaStream API: Rename Stream, GeneratedStream and StreamRecorder to the latest spec
https://bugs.webkit.org/show_bug.cgi?id=63122

No new tests since no code has actually changed.

  • CMakeLists.txt:
  • CodeGenerators.pri:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSEventTarget.cpp: (WebCore::toJS):
  • bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
  • dom/DOMAllInOne.cpp:
  • dom/EventTarget.cpp: (WebCore::EventTarget::toMediaStream): (WebCore::EventTarget::toLocalMediaStream):
  • dom/EventTarget.h:
  • dom/LocalMediaStream.cpp: Renamed from Source/WebCore/dom/GeneratedStream.cpp. (WebCore::LocalMediaStream::DispatchUpdateTask::create): (WebCore::LocalMediaStream::DispatchUpdateTask::performTask): (WebCore::LocalMediaStream::DispatchUpdateTask::DispatchUpdateTask): (WebCore::LocalMediaStream::create): (WebCore::LocalMediaStream::LocalMediaStream): (WebCore::LocalMediaStream::~LocalMediaStream): (WebCore::LocalMediaStream::toLocalMediaStream): (WebCore::LocalMediaStream::detachEmbedder): (WebCore::LocalMediaStream::streamEnded): (WebCore::LocalMediaStream::audioTracks): (WebCore::LocalMediaStream::videoTracks): (WebCore::LocalMediaStream::stop): (WebCore::LocalMediaStream::onStop):
  • dom/LocalMediaStream.h: Renamed from Source/WebCore/dom/GeneratedStream.h.
  • dom/LocalMediaStream.idl: Renamed from Source/WebCore/dom/GeneratedStream.idl.
  • dom/MediaStream.cpp: Renamed from Source/WebCore/dom/Stream.cpp. (WebCore::MediaStream::create): (WebCore::MediaStream::MediaStream): (WebCore::MediaStream::~MediaStream): (WebCore::MediaStream::toMediaStream): (WebCore::MediaStream::streamEnded): (WebCore::MediaStream::scriptExecutionContext): (WebCore::MediaStream::eventTargetData): (WebCore::MediaStream::ensureEventTargetData):
  • dom/MediaStream.h: Renamed from Source/WebCore/dom/Stream.h. (WebCore::MediaStream::readyState): (WebCore::MediaStream::label): (WebCore::MediaStream::refEventTarget): (WebCore::MediaStream::derefEventTarget):
  • dom/MediaStream.idl: Renamed from Source/WebCore/dom/Stream.idl.
  • dom/MediaStreamContainer.h: Renamed from Source/WebCore/dom/StreamContainer.h. (WebCore::MediaStreamContainer::create): (WebCore::MediaStreamContainer::~MediaStreamContainer): (WebCore::MediaStreamContainer::length): (WebCore::MediaStreamContainer::item): (WebCore::MediaStreamContainer::add): (WebCore::MediaStreamContainer::remove): (WebCore::MediaStreamContainer::contains): (WebCore::MediaStreamContainer::get): (WebCore::MediaStreamContainer::MediaStreamContainer):
  • dom/MediaStreamList.cpp: Renamed from Source/WebCore/dom/StreamList.cpp. (WebCore::MediaStreamList::create): (WebCore::MediaStreamList::MediaStreamList): (WebCore::MediaStreamList::~MediaStreamList): (WebCore::MediaStreamList::length): (WebCore::MediaStreamList::item):
  • dom/MediaStreamList.h: Renamed from Source/WebCore/dom/StreamList.h.
  • dom/MediaStreamList.idl: Renamed from Source/WebCore/dom/StreamList.idl.
  • dom/StreamEvent.cpp: (WebCore::StreamEvent::create): (WebCore::StreamEvent::StreamEvent): (WebCore::StreamEvent::initStreamEvent): (WebCore::StreamEvent::stream):
  • dom/StreamEvent.h: (WebCore::StreamEvent::isMediaStreamEvent):
  • dom/StreamEvent.idl:
  • page/MediaStreamFrameController.cpp: (WebCore::MediaStreamFrameController::unregister): (WebCore::MediaStreamFrameController::getStreamFromLabel): (WebCore::MediaStreamFrameController::stopGeneratedStream): (WebCore::MediaStreamFrameController::streamGenerated): (WebCore::MediaStreamFrameController::audioTrackFailed): (WebCore::MediaStreamFrameController::videoTrackFailed):
  • page/MediaStreamFrameController.h: (WebCore::MediaStreamFrameController::ClientBase::isMediaStream): (WebCore::MediaStreamFrameController::ClientBase::isLocalMediaStream): (WebCore::MediaStreamFrameController::MediaStreamClient::MediaStreamClient): (WebCore::MediaStreamFrameController::MediaStreamClient::~MediaStreamClient): (WebCore::MediaStreamFrameController::MediaStreamClient::isMediaStream): (WebCore::MediaStreamFrameController::MediaStreamClient::isLocalMediaStream):
  • page/NavigatorUserMediaSuccessCallback.h:
  • page/NavigatorUserMediaSuccessCallback.idl:
7:02 AM Changeset in webkit [89566] by yurys@chromium.org
  • 3 edits in trunk/Source/JavaScriptCore

2011-06-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89547.
http://trac.webkit.org/changeset/89547
https://bugs.webkit.org/show_bug.cgi?id=63252

"Chrmium crash on start" (Requested by yurys on #webkit).

  • wtf/DynamicAnnotations.cpp: (WTFAnnotateBenignRaceSized): (WTFAnnotateHappensBefore): (WTFAnnotateHappensAfter):
  • wtf/DynamicAnnotations.h:
6:51 AM Changeset in webkit [89565] by Adam Roben
  • 1 edit
    1 add in trunk/LayoutTests

Add Windows expected failure results for a newish accessibility test

The failure is tracked by <http://webkit.org/b/63191>.

  • platform/win/accessibility/aria-labelledby-overrides-aria-label-expected.txt: Added.
6:36 AM Changeset in webkit [89564] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: updated chromium expectations.

  • platform/chromium/test_expectations.txt:
6:31 AM Changeset in webkit [89563] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Inspector may close at the start of the next inspector test in DRT
https://bugs.webkit.org/show_bug.cgi?id=60881

  • platform/qt/Skipped: Unskip inspector tests after fix, skip still failing tests.
5:51 AM Changeset in webkit [89562] by mnaganov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-06-23 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [Chromium] Fix showing dominator leaf nodes after r89457
https://bugs.webkit.org/show_bug.cgi?id=63250

  • inspector/front-end/DetailedHeapshotView.js:
  • inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.get isEmpty):
5:48 AM Changeset in webkit [89561] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
https://bugs.webkit.org/show_bug.cgi?id=63235

Rubber-stamped by Andreas Kling.

[Qt] Fix tst_QWebFrame::renderGeometry() API test
https://bugs.webkit.org/show_bug.cgi?id=63236

[Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
https://bugs.webkit.org/show_bug.cgi?id=63237

  • tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.

(tst_QWebFrame::setHtmlWithResource):
(tst_QWebFrame::renderGeometry):

5:45 AM Changeset in webkit [89560] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Fix tst_QWebPage::showModalDialog() API test
https://bugs.webkit.org/show_bug.cgi?id=63244

Rubber-stamped by Andreas Kling.

[Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
https://bugs.webkit.org/show_bug.cgi?id=63245

  • tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.

(tst_QWebPage::showModalDialog):
(tst_QWebPage::testStopScheduledPageRefresh):

5:26 AM Changeset in webkit [89559] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: fix conflicting chromium test expectations.

  • platform/chromium/test_expectations.txt:
5:22 AM Changeset in webkit [89558] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-23 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: HTML preview in network panel should take 100% of resource view height.
https://bugs.webkit.org/show_bug.cgi?id=63167

  • inspector/front-end/inspector.css: (.resource-view.html iframe):
5:19 AM Changeset in webkit [89557] by pfeldman@chromium.org
  • 3 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: brush up chromium inspector expectations.

  • http/tests/inspector/inspector-test.js:
  • platform/chromium/test_expectations.txt:
5:02 AM Changeset in webkit [89556] by zherczeg@webkit.org
  • 4 edits in trunk

Inspector may close at the start of the next inspector test in DRT
https://bugs.webkit.org/show_bug.cgi?id=60881

Patch by Zoltan Herczeg <zherczeg@inf.u-szeged.hu> on 2011-06-23
Reviewed by Pavel Feldman.

Source/WebCore:

Add a new function to the inspector, which tests whether the
dispatch queue is empty.

  • inspector/front-end/inspector.js:

(WebInspector.dispatchQueueIsEmpty):

LayoutTests:

The didEvaluateForTestInFrontend function call is postponed until
all messages in the dispatch queue is processed.

  • http/tests/inspector/inspector-test.js:

(initialize_InspectorTest.InspectorTest.completeTest):

4:52 AM Changeset in webkit [89555] by sergio@webkit.org
  • 1 edit
    82 adds in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, final round of baselines for the new CSS2.1 tests added in r88913.

  • platform/gtk/css2.1/20110323/inline-block-non-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-non-replaced-width-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-block-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-non-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-013-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-013-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-014-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-014-expected.txt: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-015-expected.png: Added.
  • platform/gtk/css2.1/20110323/inline-replaced-width-015-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-elements-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-elements-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/replaced-min-max-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/replaced-min-max-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/width-non-replaced-inline-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/width-non-replaced-inline-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/width-replaced-element-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/width-replaced-element-001-expected.txt: Added.
4:44 AM Changeset in webkit [89554] by pfeldman@chromium.org
  • 2 edits
    1 add in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed. Unexpected passes in chromium expectations removed from excludes.

  • platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
4:27 AM Changeset in webkit [89553] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed. Chromium test expectations updated.

  • platform/chromium/test_expectations.txt:
4:14 AM Changeset in webkit [89552] by sergio@webkit.org
  • 1 edit
    124 adds in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, baselines for the new CSS2.1 tests added in r88913.

  • platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png: Added.
  • platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt: Added.
  • platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-ref-expected.png: Added.
  • platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-ref-expected.txt: Added.
  • platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-expected.png: Added.
  • platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-expected.txt: Added.
  • platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-ref-expected.png: Added.
  • platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-ref-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-013-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-013-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-014-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-014-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-015-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-015-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-016-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-height-016-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-non-replaced-width-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/block-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/block-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-non-replaced-width-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/float-replaced-width-011-expected.txt: Added.
3:59 AM Changeset in webkit [89551] by sergio@webkit.org
  • 1 edit
    104 adds in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, more GTK+ baselines for the new CSS2.1 tests added in r88913.

  • platform/gtk/css2.1/20110323/absolute-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-014-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-014-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-016-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-016-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-017-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-017-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-018-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-018-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-019-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-019-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-021-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-021-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-022-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-022-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-023-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-023-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-024-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-024-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-025-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-025-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-026-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-026-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-028-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-028-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-029-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-029-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-030-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-030-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-031-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-031-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-032-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-032-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-033-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-033-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-035-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-035-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-036-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-height-036-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-013-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-013-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-015-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-015-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-020-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-020-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-022-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-022-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-027-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-027-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-029-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-029-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-034-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-034-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-036-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-036-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-041-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-041-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-043-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-043-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-048-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-048-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-050-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-050-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-055-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-055-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-057-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-057-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-062-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-062-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-064-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-064-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-069-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-069-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-071-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-071-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-076-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-replaced-width-076-expected.txt: Added.
3:44 AM Changeset in webkit [89550] by commit-queue@webkit.org
  • 12 edits
    6 adds in trunk

2011-06-23 Jeffrey Pfau <jpfau@apple.com>

Reviewed by Nikolas Zimmermann.

Incorrectly placed SVG gradients can cause crashes when referenced
https://bugs.webkit.org/show_bug.cgi?id=62914

Added tests to make sure fallback color is used properly with invalid gradients.

  • svg/custom/invalid-gradient-with-xlink-expected.png: Added.
  • svg/custom/invalid-gradient-with-xlink-expected.txt: Added.
  • svg/custom/invalid-gradient-with-xlink.svg: Added.
  • svg/custom/xlink-to-invalid-gradient-expected.png: Added.
  • svg/custom/xlink-to-invalid-gradient-expected.txt: Added.
  • svg/custom/xlink-to-invalid-gradient.svg: Added.

2011-06-23 Jeffrey Pfau <jpfau@apple.com>

Reviewed by Nikolas Zimmermann.

Incorrectly placed SVG gradients can cause crashes when referenced
https://bugs.webkit.org/show_bug.cgi?id=62914

Added a check for gradient rendering contexts. If the contexts can't be found, the gradient must be in an invalid location, so we use the fallback color instead.

Tests: svg/custom/invalid-gradient-with-xlink.svg

svg/custom/xlink-to-invalid-gradient.svg

  • rendering/svg/RenderSVGResourceGradient.cpp: (WebCore::RenderSVGResourceGradient::applyResource):
  • rendering/svg/RenderSVGResourceGradient.h:
  • rendering/svg/RenderSVGResourceLinearGradient.cpp: (WebCore::RenderSVGResourceLinearGradient::collectGradientAttributes):
  • rendering/svg/RenderSVGResourceLinearGradient.h:
  • rendering/svg/RenderSVGResourceRadialGradient.cpp: (WebCore::RenderSVGResourceRadialGradient::collectGradientAttributes):
  • rendering/svg/RenderSVGResourceRadialGradient.h:
  • svg/SVGLinearGradientElement.cpp: (WebCore::SVGLinearGradientElement::collectGradientAttributes):
  • svg/SVGLinearGradientElement.h:
  • svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::collectGradientAttributes):
  • svg/SVGRadialGradientElement.h:
3:35 AM Changeset in webkit [89549] by sergio@webkit.org
  • 1 edit
    48 adds in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, another bunch of GTK+ baselines for the new CSS2.1 tests added in r88913.

  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-013-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-013-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-014-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-014-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-015-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-015-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-016-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-016-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-017-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-017-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-018-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-018-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-019-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-019-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-020-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-020-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-021-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-021-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-022-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-022-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-023-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-023-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-024-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-width-024-expected.txt: Added.
3:24 AM Changeset in webkit [89548] by sergio@webkit.org
  • 1 edit
    49 adds in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, add GTK+ baselines for the new CSS2.1 tests added in r88913.

  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-height-012-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-001-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-001-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-002-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-002-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-003-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-003-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-004-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-004-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-005-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-005-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-006-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-006-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-007-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-007-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-008-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-008-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-009-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-009-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-010-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-010-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-011-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-011-expected.txt: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-012-expected.png: Added.
  • platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-012-expected.txt: Added.
2:55 AM Changeset in webkit [89547] by commit-queue@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

2011-06-23 Timur Iskhodzhanov <timurrrr@google.com>

Reviewed by David Levin.

Make dynamic annotations weak symbols and prevent identical code folding by the linker
https://bugs.webkit.org/show_bug.cgi?id=62443

  • wtf/DynamicAnnotations.cpp: (WTFAnnotateBenignRaceSized): (WTFAnnotateHappensBefore): (WTFAnnotateHappensAfter):
  • wtf/DynamicAnnotations.h:
2:54 AM Changeset in webkit [89546] by sergio@webkit.org
  • 3 edits in trunk/LayoutTests

2011-06-23 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, rebaseline a couple of SVG tests for GTK+.

  • platform/gtk/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
  • platform/gtk/svg/custom/pointer-events-text-expected.txt:
2:47 AM Changeset in webkit [89545] by pfeldman@chromium.org
  • 3 edits in trunk/LayoutTests

2011-06-23 Pavel Feldman <pfeldman@google.com>

Not reviewed: updating chromium expectations.

  • platform/chromium/fast/js/parser-xml-close-comment-expected.txt:
  • platform/chromium/test_expectations.txt:
1:59 AM Changeset in webkit [89544] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-23 Dmitriy Vyukov <dvyukov@google.com>

Reviewed by David Levin.

Fix incorrect usage of a condition variable.
https://bugs.webkit.org/show_bug.cgi?id=63127

No new tests. This does not affect existing
functionality.

  • storage/DatabaseTask.cpp: (WebCore::DatabaseTaskSynchronizer::waitForTaskCompletion):
1:24 AM Changeset in webkit [89543] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Add new "CONSOLE MESSAGE: line 0: SVG animation pause API missing!" tests to the WK2 skipped list.

  • platform/mac-wk2/Skipped:
1:02 AM Changeset in webkit [89542] by dpranke@chromium.org
  • 2 edits in trunk/Tools

2011-06-23 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

nrwt: make TestInput objects printable
https://bugs.webkit.org/show_bug.cgi?id=63225

This makes debugging slighlty easier.

  • Scripts/webkitpy/layout_tests/layout_package/test_input.py:
12:20 AM Changeset in webkit [89541] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-23 David Grogan <dgrogan@chromium.org>

Reviewed by Eric Seidel.

IndexedDB: add detail to an ASSERT error message
https://bugs.webkit.org/show_bug.cgi?id=60407

No new tests, this is just a debug ASSERT.

  • storage/IDBRequest.cpp: (WebCore::IDBRequest::dispatchEvent):

Jun 22, 2011:

11:58 PM Changeset in webkit [89540] by pfeldman@chromium.org
  • 2 edits
    3 adds in trunk/LayoutTests

2011-06-22 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: rebaseline chromium expectation.

  • platform/chromium-mac-leopard/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
11:46 PM Changeset in webkit [89539] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[UNIX] Increment/decrement module load conter in NetscapePluginModule::getPluginInfo()
https://bugs.webkit.org/show_bug.cgi?id=63150

Since the method is static, we are using
NetscapePluginModule::getOrCreate() to get the module. If it's
created, the load counter is 0, so that when module is deleted,
shutdown() hasn't been called and the destructor crashes in the
assert that checks the module has been removed from the
initialized module list. We should increment the load counter, and
decrement it before getPluginInfo() returns, so that
decrementLoadCount() will call shutdown() if counter is 0 and the
module will be deleted from the list.

  • Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: (WebKit::NetscapePluginModule::getPluginInfo):
11:46 PM Changeset in webkit [89538] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: chromium expectations update.

  • platform/chromium/test_expectations.txt:
11:44 PM Changeset in webkit [89537] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[UNIX] Check for npp directly when getting X display in NetscapeBrowserFuncs
https://bugs.webkit.org/show_bug.cgi?id=63149

NetscapePlugin::fromNPP() shouldn't be called with a null npp, it
contains an assert that make it crash when building with debug enabled.

  • WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_GetValue):
11:31 PM Changeset in webkit [89536] by krit@webkit.org
  • 14 edits
    8 adds
    3 deletes in trunk

2011-06-22 Dirk Schulze <krit@webkit.org>

Reviewed by Rob Buis.

Convert SVGPointList to SVGAnimatorFactory concept
https://bugs.webkit.org/show_bug.cgi?id=63171

Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGPointList.

Added support for from-by animations of SVGPointLists.

Tests: svg/animations/svgpointlist-animation-1.html

svg/animations/svgpointlist-animation-2.html

  • CMakeLists.txt: Added new files to build system.
  • GNUmakefile.list.am: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • svg/SVGAllInOne.cpp: Added SVGAnimatedPointList.cpp
  • svg/SVGAnimateElement.cpp: (WebCore::SVGAnimateElement::calculateAnimatedValue): (WebCore::SVGAnimateElement::calculateFromAndToValues): (WebCore::SVGAnimateElement::calculateFromAndByValues): (WebCore::SVGAnimateElement::resetToBaseValue): (WebCore::SVGAnimateElement::applyResultsToTarget): (WebCore::SVGAnimateElement::calculateDistance):
  • svg/SVGAnimateElement.h:
  • svg/SVGAnimatedPointList.cpp: Added. (WebCore::SVGAnimatedPointListAnimator::SVGAnimatedPointListAnimator): (WebCore::SVGAnimatedPointListAnimator::constructFromString): (WebCore::SVGAnimatedPointListAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedPointListAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedPointListAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedPointListAnimator::calculateDistance):
  • svg/SVGAnimatedPointList.h: Added. (WebCore::SVGAnimatedPointListAnimator::~SVGAnimatedPointListAnimator):
  • svg/SVGAnimatedType.cpp: (WebCore::SVGAnimatedType::~SVGAnimatedType): (WebCore::SVGAnimatedType::createPointList): (WebCore::SVGAnimatedType::pointList): (WebCore::SVGAnimatedType::valueAsString): (WebCore::SVGAnimatedType::setValueAsString):
  • svg/SVGAnimatedType.h:
  • svg/SVGAnimatorFactory.h: (WebCore::SVGAnimatorFactory::create):

2011-06-22 Dirk Schulze <krit@webkit.org>

Reviewed by Rob Buis.

Convert SVGPointList to SVGAnimatorFactory concept
https://bugs.webkit.org/show_bug.cgi?id=63171

Renamed test animate-points to svgpointlist-animation-1 and cleaned it up.
svgpointlist-animation-2 checks from-by animations of SVGPointLists.

  • svg/animations/animate-points-expected.txt: Removed.
  • svg/animations/animate-points.html: Removed.
  • svg/animations/script-tests/animate-points.js: Removed.
  • svg/animations/script-tests/svgpointlist-animation-1.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/script-tests/svgpointlist-animation-2.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/svgpointlist-animation-1-expected.txt: Added.
  • svg/animations/svgpointlist-animation-1.html: Added.
  • svg/animations/svgpointlist-animation-2-expected.txt: Added.
  • svg/animations/svgpointlist-animation-2.html: Added.
11:04 PM Changeset in webkit [89535] by Dimitri Glazkov
  • 10 edits in trunk/Source/WebCore

2011-06-22 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

Move file-choosing and icon-loading management to FileInputType
https://bugs.webkit.org/show_bug.cgi?id=62069

1) Moved the duties of FileChooserClient and FileIconLoaderClient from
RenderFileUploadControl to FileInputType, along with all of the
supporting functions.

2) Moved Icon ownership to FileInputType and exposed accessor on
HTMInputElement to allow RenderFileUploadControl to query current icon.

As a result, RenderFileUploadControl is now completely stateless, which is
neat and clean.

Refactoring, covered by existing tests.

  • html/FileInputType.cpp: (WebCore::FileInputType::handleDOMActivateEvent): Moved logic here from RenderFileUploadControl. (WebCore::FileInputType::requestIcon): Ditto. (WebCore::FileInputType::filesChosen): Ditto. (WebCore::FileInputType::receiveDropForDirectoryUpload): Ditto. (WebCore::FileInputType::updateRendering): Ditto. (WebCore::FileInputType::chrome): Ditto. (WebCore::FileInputType::receiveDroppedFiles): Ditto. (WebCore::FileInputType::icon): Added.
  • html/FileInputType.h:
  • html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::setValueFromRenderer): Updated comment. (WebCore::HTMLInputElement::receiveDroppedFiles): Added to replace setFileListFromRenderer. (WebCore::HTMLInputElement::icon): Added.
  • html/HTMLInputElement.h:
  • html/InputType.cpp: (WebCore::InputType::receiveDroppedFiles): Added. (WebCore::InputType::icon): Added.
  • html/InputType.h:
  • page/DragController.cpp: (WebCore::DragController::concludeEditDrag): Changed to use HTMLInputElement. Ahh, nice and clean!
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::RenderFileUploadControl): Removed code that is no longer necessary. (WebCore::RenderFileUploadControl::updateFromElement): Ditto. (WebCore::RenderFileUploadControl::maxFilenameWidth): Changed to use HTMLInputElement icon accessor. (WebCore::RenderFileUploadControl::paintObject): Ditto.
  • rendering/RenderFileUploadControl.h:
11:00 PM Changeset in webkit [89534] by psolanki@apple.com
  • 4 edits in trunk/Source/WebCore

2011-06-22 Pratik Solanki <psolanki@apple.com>

Reviewed by Darin Adler.

Add NSError wrapper functions in ResourceError when USE(CFNETWORK) is enabled
https://bugs.webkit.org/show_bug.cgi?id=63155

Add wrapper functions to ResourceError when building with USE(CFNETWORK). We need to create
a new NSError in ResourceError::nsError() since Safari has category methods on NSError and
passing a CFErrorRef back does not work even though CFErrorRef/NSErrror are toll-free
bridged.

No tests because no change in functionality.

  • WebCore.exp.in:
  • platform/network/cf/ResourceError.h:
  • platform/network/mac/ResourceErrorMac.mm: (WebCore::ResourceError::ResourceError): (WebCore::ResourceError::nsError): (WebCore::ResourceError::operator NSError *):
10:59 PM Changeset in webkit [89533] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: chromium expectations update.

  • platform/chromium/test_expectations.txt:
10:33 PM Changeset in webkit [89532] by dbates@webkit.org
  • 2 edits in trunk/Tools

2011-06-22 Daniel Bates <dbates@webkit.org>

Reviewed by Adam Barth.

test-webkitpy --all errors out because scm_unittest.py can't find module checkout
https://bugs.webkit.org/show_bug.cgi?id=62943

Remove "from .checkout import Checkout" from scm_unittest.py since it's included
by Scripts/webkitpy/common/checkout/init.py.

  • Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
10:25 PM Changeset in webkit [89531] by Lucas Forschler
  • 1 copy in tags/Safari-534.49

New tag.

10:09 PM Changeset in webkit [89530] by dominicc@chromium.org
  • 16 edits in trunk

2011-06-22 Dominic Cooney <dominicc@chromium.org>

Reviewed by Mark Rowe.

Add window.internals to WebKit2's WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=61073

  • platform/mac-wk2/Skipped: unskip fast/harness/internals-object.html

2011-06-22 Dominic Cooney <dominicc@chromium.org>

Reviewed by Mark Rowe.

Add window.internals to WebKit2's WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=61073

  • Configurations/WebCoreTestSupport.xcconfig:
  • WebCore.xcodeproj/project.pbxproj:

2011-06-22 Dominic Cooney <dominicc@chromium.org>

Reviewed by Mark Rowe.

Add window.internals to WebKit2's WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=61073

  • WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport

2011-06-22 Dominic Cooney <dominicc@chromium.org>

Reviewed by Mark Rowe.

Add window.internals to WebKit2's WebKitTestRunner.
https://bugs.webkit.org/show_bug.cgi?id=61073

  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pxbproj:
  • WebKitTestRunner/Configurations/Base.xcconfig:
  • WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:
  • WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
  • WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops:
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::didClearWindowForFrame):
  • WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  • WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
9:54 PM Changeset in webkit [89529] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

[chromium] Remove calls to Position::deprecatedNode
https://bugs.webkit.org/show_bug.cgi?id=63226

Call containerNode instead of deprecatedNode.

  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::textInputType):
9:19 PM Changeset in webkit [89528] by Lucas Forschler
  • 2 edits in branches/safari-534-branch/Source/WebKit2

Merge r89436.

9:18 PM Changeset in webkit [89527] by Lucas Forschler
  • 2 edits in branches/safari-534-branch/Source/WebKit2

Merge r89398.

8:55 PM Changeset in webkit [89526] by Dimitri Glazkov
  • 5 edits in trunk/Source/WebCore

2011-06-22 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

Convert FileIconLoaderClient to "smart client" pattern, just like FileChooserClient.
https://bugs.webkit.org/show_bug.cgi?id=63224

Refactoring, covered by existing tests.

  • platform/FileIconLoader.cpp: (WebCore::FileIconLoaderClient::~FileIconLoaderClient): Changed to discard loader. (WebCore::FileIconLoaderClient::newFileIconLoader): Added. (WebCore::FileIconLoaderClient::discardLoader): Added.
  • platform/FileIconLoader.h: Updated defs.
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::RenderFileUploadControl): Removed initialization of icon loader. (WebCore::RenderFileUploadControl::~RenderFileUploadControl): Remove discarding of loader. (WebCore::RenderFileUploadControl::requestIcon): Changed to use newFileIconLoader.
  • rendering/RenderFileUploadControl.h: Updated defs.
8:49 PM Changeset in webkit [89525] by yael.aharon@nokia.com
  • 2 edits in trunk/Source/WebCore

Another unreviewed build fix after r89472.

No new tests, just a build fix.

  • rendering/svg/SVGResources.cpp:
8:26 PM Changeset in webkit [89524] by yael.aharon@nokia.com
  • 3 edits in trunk/Source/WebCore

Unreviewed build fix after r89472.

No new tests, just a build fix.

  • rendering/InlineBox.cpp:
  • rendering/RenderCounter.cpp:
8:07 PM Changeset in webkit [89523] by Dimitri Glazkov
  • 4 edits in trunk/Source/WebCore

2011-06-22 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

Add a helper function to FileList to retrieve a list of filenames.
https://bugs.webkit.org/show_bug.cgi?id=63222

Refactoring, covered by existing tests.

  • fileapi/FileList.cpp: (WebCore::FileList::filenames): Added.
  • fileapi/FileList.h:
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::RenderFileUploadControl): Changed to use newly added helper. (WebCore::RenderFileUploadControl::click): Ditto. (WebCore::RenderFileUploadControl::fileTextValue): Ditto.
7:31 PM Changeset in webkit [89522] by weinig@apple.com
  • 5 edits
    6 deletes in trunk

Lower HTML parser DOM depth limit to 2048
https://bugs.webkit.org/show_bug.cgi?id=63219

Reviewed by Adam Barth.

Source/WebCore:

Lower the default depth limit from 4096 to 2048. There isn't a good
reason to have such pathologically nested content, and by-and-large,
the rendering code is not setup to support it that well. Adding this
aggressive limit now will allow us to see if anything breaks in the
nightlies.

  • page/Settings.h:

LayoutTests:

Update nest test to reflect new limit and remove tests that were
testing specific behaviors of the old parser.

  • fast/parser/block-nesting-cap-expected.txt:
  • fast/parser/block-nesting-cap-table-expected.txt: Removed.
  • fast/parser/block-nesting-cap-table.html: Removed.
  • fast/parser/element-nesting-cap-expected.txt: Removed.
  • fast/parser/element-nesting-cap.html: Removed.
  • fast/parser/script-tests/block-nesting-cap-table.js: Removed.
  • fast/parser/script-tests/block-nesting-cap.js:
  • fast/parser/script-tests/element-nesting-cap.js: Removed.
7:26 PM Changeset in webkit [89521] by jchaffraix@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-06-22 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Dimitri Glazkov.

Tighten type usage in the Shadow tree code
https://bugs.webkit.org/show_bug.cgi?id=63210

Refactoring only, no new test required.

  • dom/Document.cpp: (WebCore::Document::buildAccessKeyMap):
  • dom/Document.h: Changed the argument of buildAccessKeyMap to TreeScope.
  • dom/Element.cpp: (WebCore::Element::attach): (WebCore::Element::removeShadowRoot):
  • html/ColorInputType.cpp: (WebCore::ColorInputType::shadowColorSwatch):
  • html/HTMLKeygenElement.cpp: (WebCore::HTMLKeygenElement::shadowSelect):
  • html/shadow/SliderThumbElement.cpp: (WebCore::sliderThumbElementOf): Use ShadowRoot for the previous call sites as this is what is returned by shadowRoot().
  • dom/Node.cpp: (WebCore::traverseTreeAndMark): Renamed the parameter here as it is not expected to be a shadow object. Just the rootNode of our traversal.
  • dom/ShadowRoot.h: Made attach() public as it is public in ContainerNode and we would do some casting to avoid the private attribute in ShadowRoot.
7:14 PM Changeset in webkit [89520] by eric@webkit.org
  • 2 edits in trunk/Tools

2011-06-22 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Make sheriff-bot rollout messages a little nicer
https://bugs.webkit.org/show_bug.cgi?id=63107

itertools.chain.from_iterable is new in 2.6,
use itertools.chain(*list) for 2.5 compat.

  • Scripts/webkitpy/tool/bot/irc_command.py:
7:09 PM Changeset in webkit [89519] by tkent@chromium.org
  • 1 edit
    1 add in trunk/LayoutTests

2011-06-22 Kent Tamura <tkent@chromium.org>

[Win] media/media-controls-clone.html failing on Windows 7 Release (Tests)
https://bugs.webkit.org/show_bug.cgi?id=63195

  • platform/win/media/media-controls-clone-expected.txt: Added.
6:44 PM Changeset in webkit [89518] by eric@webkit.org
  • 3 edits in trunk/Tools

2011-06-22 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Make sheriff-bot robust against exceptions from commands
https://bugs.webkit.org/show_bug.cgi?id=63211

sheriff-bot was acting strange this afternoon.
We don't know if this will fix the cause, but
at least it adds some unit tests and catches
one possible cause.

  • Scripts/webkitpy/tool/bot/sheriffircbot.py:
  • Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
6:43 PM Changeset in webkit [89517] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebCore

2011-06-22 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

Remove comment about pages with frames not being page-cachable
https://bugs.webkit.org/show_bug.cgi?id=63207

This comment was out of date. Caching pages with Frames in
the PageCache has worked since 2009:
<http://webkit.org/b/13631> Page Cache should support pages with frames

  • history/PageCache.cpp: (WebCore::PageCache::canCache):
6:36 PM Changeset in webkit [89516] by yael.aharon@nokia.com
  • 7 edits in trunk/Source

2011-06-22 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] Add a build flag for building with libxml2 and libxslt.
https://bugs.webkit.org/show_bug.cgi?id=63113

  • wtf/Platform.h:

2011-06-22 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] Add a build flag for building with libxml2 and libxslt.
https://bugs.webkit.org/show_bug.cgi?id=63113

No new tests. If this new flag was set by default, we could unskip
existing xmlviewer tests.

  • CodeGenerators.pri:
  • WebCore.pri:
  • WebCore.pro:
  • features.pri:
6:34 PM Changeset in webkit [89515] by mrowe@apple.com
  • 2 edits in trunk/Tools

<http://webkit.org/b/63212> TestWebKitAPI Xcode project has bogus settings since r86287

Reviewed by David Levin.

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Fix the reference to libgtest.a to

be relative to the built products directory rather than using a hard-coded path. Remove the
explicit settings of FRAMEWORK_SEARCH_PATHS, HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS
as they're all unnecessary. If they were necessary they should be set in the .xcconfig file
rather than in the .xcodeproj directly.

6:27 PM Changeset in webkit [89514] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Yet another build fix after r89472.

  • html/parser/HTMLFormattingElementList.cpp:
6:20 PM Changeset in webkit [89513] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Another build fix after r89472.

  • dom/DocumentMarkerController.cpp:
6:17 PM Changeset in webkit [89512] by dpranke@chromium.org
  • 10 edits in trunk/Tools

2011-06-22 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: remove obsolete port.shut_down_http_server method
https://bugs.webkit.org/show_bug.cgi?id=59993

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/base_unittest.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  • Scripts/webkitpy/layout_tests/port/chromium_win.py:
  • Scripts/webkitpy/layout_tests/port/gtk.py:
  • Scripts/webkitpy/layout_tests/port/mac.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
  • Scripts/webkitpy/layout_tests/port/qt.py:
  • Scripts/webkitpy/layout_tests/port/win.py:
6:15 PM Changeset in webkit [89511] by mdelaney@apple.com
  • 3 edits
    1 move
    3 adds in trunk/LayoutTests

2011-06-22 Matthew Delaney <mdelaney@apple.com>

Reviewed by James Robinson.

Fixing test spanOverlapsCanvas.html to properly use layer tree text and rebaselining test off that for windows and mac.
https://bugs.webkit.org/show_bug.cgi?id=63190

  • compositing/layer-creation/spanOverlapsCanvas-expected.txt: Copied from LayoutTests/platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt.
  • compositing/layer-creation/spanOverlapsCanvas.html:
  • platform/mac-snowleopard/compositing: Added.
  • platform/mac-snowleopard/compositing/layer-creation: Added.
  • platform/mac-snowleopard/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
  • platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed.
  • platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt:
6:10 PM Changeset in webkit [89510] by macpherson@chromium.org
  • 2 edits in trunk/Tools

2011-06-22 Luke Macpherson <macpherson@chromium.org>

Reviewed by Andreas Kling.

Move macpherson from contributor list to committer list.
https://bugs.webkit.org/show_bug.cgi?id=63179

  • Scripts/webkitpy/common/config/committers.py: Move macpherson from contributor list to committer list.
6:07 PM Changeset in webkit [89509] by commit-queue@webkit.org
  • 6 edits in trunk

2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Add an option to enable Device Orientation Event.
https://bugs.webkit.org/show_bug.cgi?id=63120

ADD ENABLE_DEVICE_ORIENTATION.

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmakeconfig.h.cmake:

2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Add an option to enable Device Orientation Event.
https://bugs.webkit.org/show_bug.cgi?id=63120

  • CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION.
  • ewk/ewk_view.cpp: (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl.
6:05 PM Changeset in webkit [89508] by levin@chromium.org
  • 3 edits in trunk/Tools

2011-06-22 David Levin <levin@chromium.org>

Reviewed by Adam Barth.

check-webkit-style should detect returning (Own|Ref)Ptr instead of the Pass*Ptr version.
https://bugs.webkit.org/show_bug.cgi?id=63204

  • Scripts/webkitpy/style/checkers/cpp.py: Added a check for the return value and combined with similar code for the parameter checking.
  • Scripts/webkitpy/style/checkers/cpp_unittest.py: Removed pass_ptr checks from those done for single lines since they don't make sense in that case (variable decls look like function decls). Removed some redundant comments (one of which was slightly wrong). Added checks for the new functionality and minor other test changes.
6:05 PM Changeset in webkit [89507] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Build fix after r89472.

  • css/CSSStyleDeclaration.cpp:
5:57 PM Changeset in webkit [89506] by commit-queue@webkit.org
  • 7 edits in trunk

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB open (database) should NOT throw if name is null
https://bugs.webkit.org/show_bug.cgi?id=63110

  • storage/indexeddb/database-name-undefined-expected.txt:
  • storage/indexeddb/database-name-undefined.html: removed some code here because it's duplicated in the mozilla/open-database-null-name test
  • storage/indexeddb/mozilla/open-database-null-name-expected.txt:
  • storage/indexeddb/mozilla/open-database-null-name.html: fixed expected behavior (db.name ends up as four-character string "null")

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB open (database) should NOT throw if name is null
https://bugs.webkit.org/show_bug.cgi?id=63110

  • storage/IDBFactory.idl: remove ConvertNullToNullString flag on name argument, let IDL code generator stringify null value to "null"
5:45 PM Changeset in webkit [89505] by rniwa@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Add a Position constructor that takes (Text*, unsigned offset)
https://bugs.webkit.org/show_bug.cgi?id=63181

Added Position::Position(PassRefPtr<Text*>, unsigned offset) and deployed in a couple of places
by replacing the calls to the old constructor.

  • dom/Position.cpp: (WebCore::Position::Position): Added.
  • dom/Position.h:
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::replaceSelectedTextInNode): Calls new constructor; extracted from InsertTextCommand::performTrivialReplace and ReplaceSelectionCommand::performTrivialReplace. (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring): Calls new constructor
  • editing/CompositeEditCommand.h:
  • editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::performTrivialReplace): Calls replaceSelectedTextInNode. (WebCore::InsertTextCommand::input): Calls new constructor. (WebCore::InsertTextCommand::insertTab): Use RefPtr instead of a raw pointer.
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::performTrivialReplace): Calls replaceSelectedTextInNode.
  • editing/visible_units.cpp: (WebCore::startPositionForLine): Calls new constructor.
  • rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::visiblePositionForIndex): Calls new constructor; calls endPosition on Range instead of avoid manually constructing a VisiblePosition out of endContainer and endOffset.
5:39 PM Changeset in webkit [89504] by abarth@webkit.org
  • 10 edits in trunk/Source

2011-06-22 Adam Barth <abarth@webkit.org>

Reviewed by Darin Fisher.

[Chromium] Add WebDocument APIs for the functions moving from WebFrame
https://bugs.webkit.org/show_bug.cgi?id=62831

  • dom/Document.cpp: (WebCore::Document::openSearchDescriptionURL):
    • This function exists to service a Chromium WebKit API, but it's generally purpose and might be useful to other ports. The algorithm has some strange early exits, which I've marked with FIXME comments.
  • dom/Document.h:

2011-06-22 Adam Barth <abarth@webkit.org>

Reviewed by Darin Fisher.

[Chromium] Add WebDocument APIs for the functions moving from WebFrame
https://bugs.webkit.org/show_bug.cgi?id=62831

The next phase will be to change all the callers and then remove all
the code inside the ifdef.

  • public/WebDocument.h:
    • Add new APIs.
  • public/WebFrame.h:
    • These two APIs were too disgusting. I could not, in good conscience, touch them.
  • public/WebSecurityOrigin.h:
    • Turns out this API is supposed to be on WebSecurityOrigin, not WebDocument.
  • src/WebDocument.cpp:
    • Implement the APIs.

(WebKit::WebDocument::url):
(WebKit::WebDocument::securityOrigin):
(WebKit::WebDocument::encoding):
(WebKit::WebDocument::openSearchDescriptionURL):
(WebKit::WebDocument::forms):
(WebKit::WebDocument::insertStyleText):

  • src/WebFrameImpl.cpp:
    • Change these implements to just be stubs that call into the real implementations in WebDocument.

(WebKit::WebFrameImpl::url):
(WebKit::WebFrameImpl::openSearchDescriptionURL):
(WebKit::WebFrameImpl::encoding):
(WebKit::WebFrameImpl::forms):
(WebKit::WebFrameImpl::securityOrigin):
(WebKit::WebFrameImpl::grantUniversalAccess):
(WebKit::WebFrameImpl::insertStyleText):
(WebKit::WebFrameImpl::contentAsMarkup):

  • src/WebSecurityOrigin.cpp: (WebKit::WebSecurityOrigin::grantUniversalAccess):
5:28 PM Changeset in webkit [89503] by Nate Chapin
  • 27 edits
    1 delete in trunk

2011-06-22 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Add symbols required for window.internals.
https://bugs.webkit.org/show_bug.cgi?id=62066

  • Source/autotools/symbols.filter:

2011-06-22 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Test updates for https://bugs.webkit.org/show_bug.cgi?id=62066.

  • fast/preloader/scan-body-from-head-import.html: Use window.internals.
  • fast/preloader/scan-body-from-head-script.html: Use window.internals.
  • http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt:
  • http/tests/loading/cross-origin-XHR-willLoadRequest.html:
  • http/tests/loading/preload-append-scan-expected.txt:
  • http/tests/loading/preload-append-scan.php: Use window.internals.
  • http/tests/misc/favicon-loads-with-icon-loading-override-expected.txt:
  • http/tests/misc/link-rel-icon-beforeload-expected.txt:
  • platform/chromium-linux/fast/preloader/scan-body-from-head-script-expected.txt: Removed.

2011-06-22 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Don't let all subresources keep isLoadingInAPISense() from
returning false, only requests that affect
CachedResourceRequest::requestCount().

Also, add a callback to Internals to determine whether
a resource has been preloaded.

https://bugs.webkit.org/show_bug.cgi?id=62066

  • WebCore.exp.in:
  • dom/Document.cpp: Add m_loadEventFinished.
  • dom/Document.h:
  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::isLoadingInAPISense):
  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::isPreloaded):
  • loader/cache/CachedResourceLoader.h:
  • testing/Internals.cpp: (WebCore::Internals::isPreloaded):
  • testing/Internals.h:
  • testing/Internals.idl:

2011-06-22 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Add win symbols for new window.internals functionality.
https://bugs.webkit.org/show_bug.cgi?id=62066

  • win/WebKit2.def:

2011-06-22 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Add libsoup to libWebCoreInternals build.
https://bugs.webkit.org/show_bug.cgi?id=62066

  • GNUmakefile.am:
5:18 PM Changeset in webkit [89502] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-06-22 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

nrwt: handle missing httpd cleanly
https://bugs.webkit.org/show_bug.cgi?id=62027

We had reverted the change in r89414, so this adds it back in
(modifying check_sys_deps() in port/base.py to check for an
installed web server).

This change then fixes the change in r89414 to stub out the
check_sys_deps() in the test port so that the unit tests run correctly.

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
5:17 PM Changeset in webkit [89501] by weinig@apple.com
  • 5 edits in trunk/Source/WebKit/mac

Roll out r89469 (Add preference for setting the html parser depth limit)

The preference is not needed at this time, so there is no reason to expose it.

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]):

  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]):

5:16 PM Changeset in webkit [89500] by jberlin@webkit.org
  • 1 edit
    3 adds in trunk/LayoutTests

[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduction in
r88679.
https://bugs.webkit.org/show_bug.cgi?id=63205

Add expected failing result in order to get the bots green.

  • platform/mac-wk2/plugins: Added.
  • platform/mac-wk2/plugins/npruntime: Added.
  • platform/mac-wk2/plugins/npruntime/embed-property-equality-expected.txt: Added.
5:01 PM Changeset in webkit [89499] by crogers@google.com
  • 3 edits in trunk/Source/WebCore

2011-06-22 Chris Rogers <crogers@google.com>

Reviewed by David Levin.

Use create() method for AsyncAudioDecoder::DecodingTask
https://bugs.webkit.org/show_bug.cgi?id=63198

No new tests. This doesn't change any JS API.

  • webaudio/AsyncAudioDecoder.cpp: (WebCore::AsyncAudioDecoder::decodeAsync): (WebCore::AsyncAudioDecoder::DecodingTask::create):
  • webaudio/AsyncAudioDecoder.h:
4:57 PM Changeset in webkit [89498] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Ojan Vafai <ojan@chromium.org>

Update listing for perf tests to list each individual test.
A number of the tests in this directory are not flaky.

  • platform/chromium/test_expectations.txt:
4:56 PM Changeset in webkit [89497] by levin@chromium.org
  • 3 edits in trunk/Tools

2011-06-22 David Levin <levin@chromium.org>

Reviewed by Adam Barth.

check-webkit-style should check for invalid uses of RefPtr/OwnPtr as parameters.
https://bugs.webkit.org/show_bug.cgi?id=63188

  • Scripts/webkitpy/style/checkers/cpp.py: Added the check.
  • Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
4:55 PM Changeset in webkit [89496] by commit-queue@webkit.org
  • 27 edits in trunk/Source

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89489.
http://trac.webkit.org/changeset/89489
https://bugs.webkit.org/show_bug.cgi?id=63203

Broke chromium mac build on build.webkit.org (Requested by
abarth on #webkit).

  • wtf/Platform.h:

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89489.
http://trac.webkit.org/changeset/89489
https://bugs.webkit.org/show_bug.cgi?id=63203

Broke chromium mac build on build.webkit.org (Requested by
abarth on #webkit).

  • WebCore.gyp/WebCore.gyp:
  • loader/cache/CachedFont.cpp:
  • platform/chromium/DragImageRef.h:
  • platform/graphics/FloatPoint.h:
  • platform/graphics/FloatRect.h:
  • platform/graphics/FloatSize.h:
  • platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::hash):
  • platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::advanceAt): (WebCore::GlyphBuffer::add): (WebCore::GlyphBuffer::expandLastAdvance):
  • platform/graphics/IntPoint.h:
  • platform/graphics/IntRect.h:
  • platform/graphics/IntSize.h:
  • platform/graphics/SimpleFontData.h:
  • platform/graphics/cg/FloatPointCG.cpp:
  • platform/graphics/cg/FloatRectCG.cpp:
  • platform/graphics/cg/FloatSizeCG.cpp:
  • platform/graphics/cg/IntPointCG.cpp:
  • platform/graphics/cg/IntRectCG.cpp:
  • platform/graphics/cg/IntSizeCG.cpp:
  • platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::FontCustomPlatformData::~FontCustomPlatformData): (WebCore::createFontCustomPlatformData):
  • platform/graphics/mac/FontCustomPlatformData.h: (WebCore::FontCustomPlatformData::FontCustomPlatformData):

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89489.
http://trac.webkit.org/changeset/89489
https://bugs.webkit.org/show_bug.cgi?id=63203

Broke chromium mac build on build.webkit.org (Requested by
abarth on #webkit).

  • WebKit.gyp:
  • features.gypi:
  • public/WebCommon.h:
4:53 PM Changeset in webkit [89495] by macpherson@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-22 Luke Macpherson <macpherson@chromium.org>

Reviewed by James Robinson.

Remove comment that snuck in via copy & paste.
https://bugs.webkit.org/show_bug.cgi?id=63177

No new tests / no code changes.

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::operator short): Removed incorrect comment.
4:51 PM Changeset in webkit [89494] by dimich@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

[Chromium] Unreviewed, baseline for a new test added in http://trac.webkit.org/changeset/89490

  • platform/chromium-linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
4:43 PM Changeset in webkit [89493] by dimich@chromium.org
  • 4 edits
    1 add in trunk/LayoutTests

[Chromium] Unreviewed, rebaseline tests after http://trac.webkit.org/changeset/89475/

  • platform/chromium-mac-leopard/fast/gradients/gradient-after-transparent-border-expected.png:
  • platform/chromium-mac/fast/borders/border-radius-wide-border-01-expected.png: Added.
  • platform/chromium-mac/fast/borders/mixed-border-styles-radius-expected.png:
  • platform/chromium-mac/fast/gradients/gradient-after-transparent-border-expected.png:
4:18 PM Changeset in webkit [89492] by commit-queue@webkit.org
  • 3 edits
    4 adds in trunk

2011-06-22 Annie Sullivan <sullivan@chromium.org>

Reviewed by Ryosuke Niwa.

REGRESSION: Hitting enter in the middle of this span causes the cursor to go to the end of the span
https://bugs.webkit.org/show_bug.cgi?id=61594

Adds two layout tests to verify that hitting enter in the middle of the span splits the span correctly
and places the cursor in the correct position.

  • editing/inserting/return-key-before-br-in-span-expected.txt: Added.
  • editing/inserting/return-key-before-br-in-span.html: Added.
  • editing/inserting/return-key-middle-of-span-expected.txt: Added.
  • editing/inserting/return-key-middle-of-span.html: Added.

2011-06-22 Annie Sullivan <sullivan@chromium.org>

Reviewed by Ryosuke Niwa.

REGRESSION: Hitting enter in the middle of this span causes the cursor to go to the end of the span
https://bugs.webkit.org/show_bug.cgi?id=61594

When the tree is split at the cursor in InsertParagraphSeparatorCommand, it is possible for the position
split at to be at the end of a text node. The code assumes the position is at the start of the node, so
pass the correct node into splitTreeToNode() in that case.

Tests: editing/inserting/return-key-before-br-in-span.html

editing/inserting/return-key-middle-of-span.html

  • editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
4:09 PM Changeset in webkit [89491] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

Add more "CONSOLE MESSAGE: line 0: SVG animation pause API missing!" tests to the WK2
Skipped list to get the bots green.

  • platform/mac-wk2/Skipped:
3:42 PM Changeset in webkit [89490] by rwlbuis@webkit.org
  • 5 edits
    5 adds in trunk

2011-06-22 Rob Buis <rbuis@rim.com>

Reviewed by Nikolas Zimmermann.

SVG1.1SE test with pointer-events and invalid gradient fill fails
https://bugs.webkit.org/show_bug.cgi?id=63109

  • platform/mac/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
  • platform/mac/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
  • svg/W3C-SVG-1.1-SE/interact-pointer-03-t.svg: Added.
  • svg/custom/pointer-events-invalid-fill-expected.txt: Added.
  • svg/custom/pointer-events-invalid-fill.svg: Added.

2011-06-22 Rob Buis <rbuis@rim.com>

Reviewed by Nikolas Zimmermann.

SVG1.1SE test with pointer-events and invalid gradient fill fails
https://bugs.webkit.org/show_bug.cgi?id=63109

Properly detect fill/stroke properties of type SVG_PAINTTYPE_URI_NONE, store it in SVGPaint
and don't apply the paint if the uri lookup fails.

Tests: svg/W3C-SVG-1.1-SE/interact-pointer-03-t.svg

svg/custom/pointer-events-invalid-fill.svg

  • css/SVGCSSParser.cpp: (WebCore::CSSParser::parseSVGValue):
  • rendering/svg/RenderSVGResource.cpp: (WebCore::requestPaintingResource):
  • svg/SVGPaint.h: (WebCore::SVGPaint::createURIAndNone):
3:35 PM Changeset in webkit [89489] by commit-queue@webkit.org
  • 27 edits in trunk/Source

2011-06-22 Cary Clark <caryclark@google.com>

Reviewed by Darin Fisher.

Use Skia if Skia on Mac Chrome is enabled
https://bugs.webkit.org/show_bug.cgi?id=62999

  • wtf/Platform.h: Add switch to use Skia if, externally, Skia has been enabled by a gyp define.

2011-06-22 Cary Clark <caryclark@google.com>

Reviewed by Darin Fisher.

Use Skia if Skia on Mac Chrome is enabled
https://bugs.webkit.org/show_bug.cgi?id=62999

No new tests. This does not affect existing
functionality.

  • WebCore.gyp/WebCore.gyp: Include Skia and related files and exclude CG and related files when building Chromium for Skia on the Mac.
  • loader/cache/CachedFont.cpp: Rename CHROME to CHROMIUM.
  • platform/chromium/DragImageRef.h:
  • platform/graphics/FloatPoint.h:
  • platform/graphics/FloatRect.h:
  • platform/graphics/FloatSize.h:
  • platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::hash):
  • platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::advanceAt): (WebCore::GlyphBuffer::add): (WebCore::GlyphBuffer::expandLastAdvance):
  • platform/graphics/IntPoint.h:
  • platform/graphics/IntRect.h:
  • platform/graphics/IntSize.h:
  • platform/graphics/SimpleFontData.h:
  • platform/graphics/cg/FloatPointCG.cpp:
  • platform/graphics/cg/FloatRectCG.cpp:
  • platform/graphics/cg/FloatSizeCG.cpp:
  • platform/graphics/cg/IntPointCG.cpp:
  • platform/graphics/cg/IntRectCG.cpp:
  • platform/graphics/cg/IntSizeCG.cpp:
  • platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::FontCustomPlatformData::~FontCustomPlatformData): (WebCore::createFontCustomPlatformData):
  • platform/graphics/mac/FontCustomPlatformData.h: (WebCore::FontCustomPlatformData::FontCustomPlatformData): Ditto.

2011-06-22 Cary Clark <caryclark@google.com>

Reviewed by Darin Fisher.

Use Skia if Skia on Mac Chrome is enabled
https://bugs.webkit.org/show_bug.cgi?id=62999

  • WebKit.gyp: If building for Skia, exclude CG files. If not, exclude Skia files.
  • features.gypi: Enable Skia on Chromium Mac if so instructed by the gyp define. Allow Skia to be hardware accelerated on the Mac.
  • public/WebCommon.h: If Skia is defined on the Mac, define it in the WebXXX interfaces as well.
3:28 PM Changeset in webkit [89488] by mdelaney@apple.com
  • 1 edit
    1 add in trunk/LayoutTests

2011-06-22 Matthew Delaney <mdelaney@apple.com>

Reviewed by Adam Roben.

Setting expected results for platform/win
https://bugs.webkit.org/show_bug.cgi?id=63190

  • platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
3:27 PM Changeset in webkit [89487] by Adam Roben
  • 1 edit
    4 adds in trunk/LayoutTests

Add Windows expected results for some new tests from r87779

These differ from Mac due to some small rounding differences in a path.

  • platform/win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt: Added.
  • platform/win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.txt: Added.
  • platform/win/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt: Added.
  • platform/win/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.txt: Added.
3:12 PM Changeset in webkit [89486] by tony@chromium.org
  • 2 edits in trunk/Tools

2011-06-22 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

Add a buildbot for testing ENABLE(CSS3_FLEXBOX)
https://bugs.webkit.org/show_bug.cgi?id=62891

  • BuildSlaveSupport/build.webkit.org-config/config.json:
3:07 PM Changeset in webkit [89485] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip some flaky animation tests on Windows

See <http://webkit.org/b/62561> and <http://webkit.org/b/62569>.

  • platform/win/Skipped: Added animations/animation-direction-normal.html and

animations/play-state-paused.html.

3:02 PM Changeset in webkit [89484] by Adam Roben
  • 5 edits
    7 moves in trunk/LayoutTests

Disable zoom-svg-through-object-with-*.xhtml

These tests are flaky. See <http://webkit.org/b/63186>.

  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:

Removed mentions of these tests.

  • svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml.
  • svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml.
  • svg/zoom/page/zoom-svg-through-object-with-auto-size.html-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-auto-size.html.
  • svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml.
  • svg/zoom/page/zoom-svg-through-object-with-override-size.html-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-override-size.html.
  • svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml.
  • svg/zoom/page/zoom-svg-through-object-with-text.xhtml-disabled: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-text.xhtml.
2:52 PM Changeset in webkit [89483] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-06-22 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

nrwt: don't look for http lock when running the test port
https://bugs.webkit.org/show_bug.cgi?id=63158

  • Scripts/webkitpy/layout_tests/port/mock_drt.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
2:40 PM Changeset in webkit [89482] by kbalazs@webkit.org
  • 6 edits in trunk

2011-06-22 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Andreas Kling.

[Qt][WK2] Set up plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63066

  • platform/qt-wk2/Skipped: Unskip passing plugin tests and create a new group for those that still fail for some reason.

2011-06-22 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Andreas Kling.

[Qt][WK2] Set up plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63066

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::createPlugin): Force windowless mode for the test plugin because we don't support windowed plugins yet.

2011-06-22 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Andreas Kling.

[Qt][WK2] Set up plugin tests
https://bugs.webkit.org/show_bug.cgi?id=63066

  • WebKitTestRunner/qt/TestControllerQt.cpp: (WTR::TestController::initializeTestPluginDirectory): Use the QTWEBKIT_PLUGIN_PATH environment variable as the path of the test plugin like DRT does.
2:38 PM Changeset in webkit [89481] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

WebKit2 needs layoutTestController.overridePreference.
https://bugs.webkit.org/show_bug.cgi?id=42197

Add more tests that use layoutTestController.overridePreference to the WK2 Skipped list.

  • platform/mac-wk2/Skipped:
2:33 PM Changeset in webkit [89480] by eric@webkit.org
  • 5 edits in trunk/Tools

2011-06-22 Eric Seidel <eric@webkit.org>

Reviewed by Ojan Vafai.

Make sheriff-bot rollout messages a little nicer
https://bugs.webkit.org/show_bug.cgi?id=63107

It annoyed me this afternoon that I had to convert sheriff-bots "r12345" revisions
into urls myself. So I have now fixed its "preparing" message to include a url.

I also figured that I should make the messages mention all of the responsible parties
so that rollouts are never surprises. If you're in the channel and were involved
in a patch, you will see if someone is using sheriff-bot to rollout a patch.

As part of doing this I also changed (and tested) _parse_args to fail-fast
when given invalid args.

  • Scripts/webkitpy/tool/bot/irc_command.py:
  • Scripts/webkitpy/tool/bot/irc_command_unittest.py:
  • Scripts/webkitpy/tool/bot/sheriff.py:
  • Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
2:23 PM Changeset in webkit [89479] by commit-queue@webkit.org
  • 5 edits in trunk

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB createIndex should NOT throw if name arg is null
https://bugs.webkit.org/show_bug.cgi?id=63114

  • storage/indexeddb/mozilla/create-index-null-name-expected.txt:
  • storage/indexeddb/mozilla/create-index-null-name.html:

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB createIndex should NOT throw if name arg is null
https://bugs.webkit.org/show_bug.cgi?id=63114

  • storage/IDBObjectStore.idl: remove ConvertNullToNullString flag so null values will be stringified as "null", as per WebIDL spec.
2:14 PM Changeset in webkit [89478] by crogers@google.com
  • 7 edits
    4 adds in trunk/Source/WebCore

2011-06-22 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

AudioContext needs non-blocking call to create AudioBuffer from audio file data
https://bugs.webkit.org/show_bug.cgi?id=61947

No new tests since audio API is not yet implemented.

  • DerivedSources.make:
  • WebCore.gypi:
  • WebCore.xcodeproj/project.pbxproj:
  • webaudio/AsyncAudioDecoder.cpp: Added. (WebCore::AsyncAudioDecoder::AsyncAudioDecoder): (WebCore::AsyncAudioDecoder::~AsyncAudioDecoder): (WebCore::AsyncAudioDecoder::decodeAsync): (WebCore::AsyncAudioDecoder::threadEntry): (WebCore::AsyncAudioDecoder::runLoop): (WebCore::AsyncAudioDecoder::DecodingTask::DecodingTask): (WebCore::AsyncAudioDecoder::DecodingTask::decode): (WebCore::AsyncAudioDecoder::DecodingTask::notifyCompleteDispatch): (WebCore::AsyncAudioDecoder::DecodingTask::notifyComplete):
  • webaudio/AsyncAudioDecoder.h: Added. (WebCore::AsyncAudioDecoder::DecodingTask::audioData): (WebCore::AsyncAudioDecoder::DecodingTask::sampleRate): (WebCore::AsyncAudioDecoder::DecodingTask::successCallback): (WebCore::AsyncAudioDecoder::DecodingTask::errorCallback): (WebCore::AsyncAudioDecoder::DecodingTask::audioBuffer):
  • webaudio/AudioBufferCallback.h: Added. (WebCore::AudioBufferCallback::~AudioBufferCallback):
  • webaudio/AudioBufferCallback.idl: Added.
  • webaudio/AudioContext.cpp: (WebCore::AudioContext::decodeAudioData):
  • webaudio/AudioContext.h:
  • webaudio/AudioContext.idl:
1:55 PM Changeset in webkit [89477] by jberlin@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

REGRESSION (r89449): http/tests/inspector/extensions-resources-redirect.html failing on
SnowLeopard Intel Release (Tests), Windows 7 Release (Tests).
https://bugs.webkit.org/show_bug.cgi?id=63178

Add failing expected results in order to get the bots green.

  • platform/mac/http/tests/inspector/extensions-resources-redirect-expected.txt: Added.
1:44 PM Changeset in webkit [89476] by tony@chromium.org
  • 1 edit
    1 move in trunk/LayoutTests

2011-06-22 Tony Chang <tony@chromium.org>

Add test that got renamed. Should have been included with r89466.

  • storage/indexeddb/keypath-basics.html: Renamed from LayoutTests/storage/indexeddb/keypath-as-array.html.
1:43 PM Changeset in webkit [89475] by Beth Dakin
  • 3 edits
    3 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=63174
Don't draw the borders as one path unless there really are 4 borders
-and corresponding-
<rdar://problem/9457997>

Reviewed by Simon Fraser.

Source/WebCore:

If any of the border edges have no width, then allEdgesVisible should be set to
false since borders without width will not be visible.

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::paintBorder):

LayoutTests:

  • fast/borders/only-one-border-with-width.html: Added.
  • platform/mac/fast/borders/only-one-border-with-width-expected.png: Added.
  • platform/mac/fast/borders/only-one-border-with-width-expected.txt: Added.
1:39 PM Changeset in webkit [89474] by mdelaney@apple.com
  • 3 edits
    4 adds in trunk

2011-06-22 Matthew Delaney <mdelaney@apple.com>

Reviewed by Oliver Hunt.

Canvas in layer obscures overlapping span
https://bugs.webkit.org/show_bug.cgi?id=63161

Test: compositing/layer-creation/spanOverlapsCanvas.html

  • rendering/RenderLayer.cpp: Added checks for canvas to be layered properly. (WebCore::RenderLayer::shouldBeNormalFlowOnly): (WebCore::RenderLayer::isSelfPaintingLayer):

2011-06-22 Matthew Delaney <mdelaney@apple.com>

Reviewed by Oliver Hunt.

Canvas in layer obscures overlapping span
https://bugs.webkit.org/show_bug.cgi?id=63161

  • compositing/layer-creation/spanOverlapsCanvas.html: Added.
  • platform/mac/compositing/layer-creation: Added.
  • platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
  • platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.png: Added.
1:35 PM Changeset in webkit [89473] by jberlin@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

REGRESSION (r89426-r89428): inspector/console/console-trace-in-eval.html failing on
SnowLeopard Intel Release (Tests) and Windows 7 Release (Tests).
https://bugs.webkit.org/show_bug.cgi?id=63175

Add platform-specific results to in order to get the bots green.

  • platform/mac/inspector/console: Added.
  • platform/mac/inspector/console/console-trace-in-eval-expected.txt: Added.
1:29 PM Changeset in webkit [89472] by ggaren@apple.com
  • 9 edits in trunk/Source

Source/JavaScriptCore: * interpreter/RegisterFile.h: Removed unnecessary #include <stdio.h>.

Reviewed by Oliver Hunt.

Source/WebKit2: Removed unnecessary #include <stdio.h>.

Reviewed by Oliver Hunt.

  • PluginProcess/mac/PluginProcessMainMac.mm:
  • Shared/WebMemorySampler.cpp:
  • UIProcess/WebFrameProxy.cpp:
  • UIProcess/WebProcessProxy.cpp:
  • WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
  • WebProcess/mac/WebProcessMac.mm: Added #include back to places where it

was needed.

1:17 PM Changeset in webkit [89471] by crogers@google.com
  • 3 edits in trunk/Source/WebCore

2011-06-22 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

AudioContext noteGrainOn() method should not apply explicit windowing
https://bugs.webkit.org/show_bug.cgi?id=63005

No new tests since audio API is not yet implemented.

  • webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::readFromBuffer):
  • webaudio/AudioBufferSourceNode.h:
1:15 PM Changeset in webkit [89470] by jamesr@google.com
  • 18 edits
    48 deletes in branches/chromium/782

Revert 87526 - 2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Rob Buis.

embedded SVG object doesn't scale right
https://bugs.webkit.org/show_bug.cgi?id=10526

<object> tags should treat width/height on a referenced SVG as intrinsic width/height
https://bugs.webkit.org/show_bug.cgi?id=11976

Incorrect handling of percentage values for width/height on embedded elements
https://bugs.webkit.org/show_bug.cgi?id=14793

WebKit fails some WICD 1.0 core test cases
https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed)

CSS 2.1: Support replaced elements with relative intrinsic sizes
https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed)

SVG embedded as <object> doesn't respect width/height attributes
https://bugs.webkit.org/show_bug.cgi?id=34972

Explicit size of object tag ignored
https://bugs.webkit.org/show_bug.cgi?id=37086

  • http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml: Added.
  • http/tests/misc/resources/embedded.svg: Added.
  • http/tests/misc/resources/svg-slow.pl: Added.
  • platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png: Added.
  • platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt: Added.
  • platform/mac/svg/custom/object-no-size-attributes-expected.png: Added.
  • platform/mac/svg/custom/object-no-size-attributes-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-explicit-height-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-explicit-height-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-explicit-width-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-explicit-width-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-explicit-width-height-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt: Added.
  • platform/mac/svg/custom/object-sizing-no-width-height-expected.png: Added.
  • platform/mac/svg/custom/object-sizing-no-width-height-expected.txt: Added.
  • platform/mac/svg/hixie/text/003-expected.png:
  • platform/mac/svg/hixie/text/003-expected.txt:
  • platform/mac/svg/in-html/by-reference-expected.txt:
  • platform/mac/svg/wicd: Added.
  • platform/mac/svg/wicd/rightsizing-grid-expected.png: Added.
  • platform/mac/svg/wicd/rightsizing-grid-expected.txt: Added.
  • platform/mac/svg/wicd/test-rightsizing-a-expected.png: Added.
  • platform/mac/svg/wicd/test-rightsizing-a-expected.txt: Added.
  • platform/mac/svg/wicd/test-rightsizing-b-expected.png: Added.
  • platform/mac/svg/wicd/test-rightsizing-b-expected.txt: Added.
  • platform/mac/svg/zoom/page/relative-sized-document-scrollbars-expected.txt:
  • platform/mac/svg/zoom/page/zoom-foreignObject-expected.png:
  • platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt:
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.png: Added.
  • platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.txt: Added.
  • svg/custom/object-no-size-attributes.xhtml: Added.
  • svg/custom/object-sizing-explicit-height.xhtml: Added.
  • svg/custom/object-sizing-explicit-width-height.xhtml: Added.
  • svg/custom/object-sizing-explicit-width.xhtml: Added.
  • svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml: Added.
  • svg/custom/object-sizing-no-width-height.xhtml: Added.
  • svg/custom/object-sizing.xhtml: Added.
  • svg/custom/resources/embedded.svg: Added.
  • svg/custom/resources/red-circle.svg: Added.
  • svg/in-html/by-reference-expected.png:
  • svg/wicd: Added.
  • svg/wicd/resources: Added.
  • svg/wicd/resources/a.svg: Added.
  • svg/wicd/resources/bcde.svg: Added.
  • svg/wicd/resources/empty1.svg: Added.
  • svg/wicd/resources/empty2.svg: Added.
  • svg/wicd/resources/empty3.svg: Added.
  • svg/wicd/resources/f.svg: Added.
  • svg/wicd/resources/g.svg: Added.
  • svg/wicd/resources/h.svg: Added.
  • svg/wicd/resources/i.svg: Added.
  • svg/wicd/resources/j.svg: Added.
  • svg/wicd/resources/k.svg: Added.
  • svg/wicd/resources/l.svg: Added.
  • svg/wicd/resources/main.css: Added. (body,html): (body): (.buttons): (h1): (h2): (h4): (p): (table): (th): (td,th): (td a): (a): (a:hover): (a:focus): (a:visited): (a.index): (a.index:hover): (a.index:focus): (a.index:visited): (ul): (ol): (.red): (.navi): (.navi a): (.navi a:hover): (.navi a:visited):
  • svg/wicd/resources/mnop.svg: Added.
  • svg/wicd/resources/q.svg: Added.
  • svg/wicd/resources/r.svg: Added.
  • svg/wicd/resources/s.svg: Added.
  • svg/wicd/resources/t.svg: Added.
  • svg/wicd/resources/test-rightsizing-a.css: Added. (html,body): (div.all): (object.w100): (object.h100):
  • svg/wicd/resources/test-rightsizing-b.css: Added. (html,body): (object):
  • svg/wicd/resources/test-svg-child-object-rightsizing.gif: Added.
  • svg/wicd/resources/test-svg-child-object-rightsizing.png: Added.
  • svg/wicd/resources/test-svg-child-object-rightsizing.svg: Added.
  • svg/wicd/resources/test-svg-child-object-rightsizing1.svg: Added.
  • svg/wicd/rightsizing-grid.xhtml: Added.
  • svg/wicd/test-rightsizing-a.xhtml: Added.
  • svg/wicd/test-rightsizing-b.xhtml: Added.
  • svg/zoom/page/resources: Added.
  • svg/zoom/page/resources/absolute-sized-svg.png: Added.
  • svg/zoom/page/resources/absolute-sized-svg.svg: Added.
  • svg/zoom/page/resources/huge-rect.svg: Added.
  • svg/zoom/page/resources/percentage-sized-svg.png: Added.
  • svg/zoom/page/resources/percentage-sized-svg.svg: Added.
  • svg/zoom/page/resources/text.svg: Added.
  • svg/zoom/page/resources/tux.svg: Added.
  • svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml: Added.
  • svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml: Added.
  • svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml: Added.
  • svg/zoom/page/zoom-svg-through-object-with-override-size.html: Added.
  • svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml: Added.
  • svg/zoom/page/zoom-svg-through-object-with-text.xhtml: Added.

2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Rob Buis.

embedded SVG object doesn't scale right
https://bugs.webkit.org/show_bug.cgi?id=10526

<object> tags should treat width/height on a referenced SVG as intrinsic width/height
https://bugs.webkit.org/show_bug.cgi?id=11976

Incorrect handling of percentage values for width/height on embedded elements
https://bugs.webkit.org/show_bug.cgi?id=14793

WebKit fails some WICD 1.0 core test cases
https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed)

CSS 2.1: Support replaced elements with relative intrinsic sizes
https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed)

SVG embedded as <object> doesn't respect width/height attributes
https://bugs.webkit.org/show_bug.cgi?id=34972

Explicit size of object tag ignored
https://bugs.webkit.org/show_bug.cgi?id=37086

Add partial support of CSS 2.1 replaced elements with intrinsic size. The feature itself is complete but has only
been implemented for RenderPart, to support SVG content document size negotiation. It serves as starting point for a generalization, in future.
The changes in RenderPart are a 1:1 transliteration of the spec (http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width/height, see code).

SVG 1.1 says:
The 'width' attribute on the outermost svg element establishes the viewport's width, unless the following conditions are met:
...
and there are CSS-compatible positioning properties ([CSS2], section 9.3) specified on the referencing element (e.g., the 'object' element)
or on the containing document's outermost svg element that are sufficient to establish the width of the viewport. Under these conditions,
the positioning properties establish the viewport's width.

If an <object> carries width/height attributes, these specify the viewport size of the embedded SVG, instead of its own
width/height or viewBox properties. If an <object> has no width/height information, its intrinsic size needs to be calculated depending
on the intrinsic ratio (viewBox width divided by height ratio) and the width/height properties on the outermost referenced <svg> element.
This requires a negotiation between the host document and the embedded document.
(There are several more factors that need to be considered, the CSS spec covers this and the RenderPart::computeReplaced* code covers this.)

Fixes dozens of long-standing bug reports. The number one integration issue when using SVG through <object> is resolved: "right sizing".

Tests: http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml

svg/custom/object-no-size-attributes.xhtml (bug 11976, from Eric Seidel)
svg/custom/object-sizing-explicit-height.xhtml (bug 10526, from Ryan Cannon)
svg/custom/object-sizing-explicit-width-height.xhtml
svg/custom/object-sizing-explicit-width.xhtml (bug 14793, from Oliver Hunt)
svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml
svg/custom/object-sizing-no-width-height.xhtml
svg/custom/object-sizing.xhtml (bug 37086, from Jeff Schiller)
svg/wicd/rightsizing-grid.xhtml (bug 15836, WICD rightsizing test now works)
svg/wicd/test-rightsizing-a.xhtml (ditto)
svg/wicd/test-rightsizing-b.xhtml (ditto)
svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml
svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml
svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml
svg/zoom/page/zoom-svg-through-object-with-override-size.html (bug 34972, from Andreas Kling)
svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml
svg/zoom/page/zoom-svg-through-object-with-text.xhtml

  • platform/Length.h: (WebCore::Length::isSpecified):
  • rendering/RenderPart.cpp: (WebCore::RenderPart::embeddedSVGContentRenderer): (WebCore::RenderPart::computeEmbeddedDocumentReplacedWidth): (WebCore::RenderPart::computeEmbeddedDocumentReplacedHeight): (WebCore::RenderPart::computeReplacedLogicalWidth): (WebCore::RenderPart::computeReplacedLogicalHeight): (WebCore::RenderPart::layout):
  • rendering/RenderPart.h:
  • rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::computeReplacedLogicalWidth): (WebCore::RenderReplaced::computeReplacedLogicalHeight):
  • rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::computeIntrinsicRatio): (WebCore::RenderSVGRoot::computeIntrinsicWidth): (WebCore::RenderSVGRoot::computeIntrinsicHeight): (WebCore::RenderSVGRoot::negotiateSizeWithHostDocumentIfNeeded): (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): (WebCore::RenderSVGRoot::layout):
  • rendering/svg/RenderSVGRoot.h:
  • svg/SVGLength.cpp: (WebCore::SVGLength::determineViewport):
  • svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::currentScale): (WebCore::SVGSVGElement::setCurrentScale): (WebCore::SVGSVGElement::currentViewBoxRect): (WebCore::SVGSVGElement::viewBoxToViewTransform):
  • svg/SVGSVGElement.h:

BUG=86700
TBR=Nikolas Zimmermann

1:13 PM Changeset in webkit [89469] by weinig@apple.com
  • 5 edits in trunk/Source/WebKit/mac

2011-06-22 Sam Weinig <sam@webkit.org>

Reviewed by Adam Barth.

Add preference for setting the html parser depth limit
https://bugs.webkit.org/show_bug.cgi?id=63163

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences setMaximumHTMLParserDOMTreeDepth:]): (-[WebPreferences maximumHTMLParserDOMTreeDepth]):
  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm: (-[WebView _preferencesChanged:]): Add private preference for setting the parser depth limit.
1:12 PM Changeset in webkit [89468] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

WebKitTestRunner needs layoutTestController.dumpFrameLoadCallbacks.
https://bugs.webkit.org/show_bug.cgi?id=42331

Add another test that uses dumpFrameLoadCallbacks to the WK2 Skipped list.

  • platform/mac-wk2/Skipped:
1:11 PM Changeset in webkit [89467] by kbalazs@webkit.org
  • 2 edits in trunk/Source/WebKit2

Unreviewed build fix after r89461.

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:

(WebKit::NetscapePlugin::platformSetFocus):
Forgot to name the parameter, fix it.

1:09 PM Changeset in webkit [89466] by commit-queue@webkit.org
  • 5 edits
    1 add
    1 delete in trunk

2011-06-22 Kentaro Hara <haraken@google.com>

Reviewed by Tony Chang.

Check |keypath| argument of createObjectStore(). Remove storage/indexeddb/keypath-as-array.html.
https://bugs.webkit.org/show_bug.cgi?id=63054

At the head of createObjectStore(), we parse |keypath| argument and throw an exception
if the |keypath| is invalid. With this parsing, we remove keypath-as-array.html because
the current keypath parser does not support an array of keypath and (more importantly)
the current implementation of ObjectStore does not support multiple keypaths.
We added keypath-basics.html that demonstrates that we do not support an array of keypaths.

  • storage/indexeddb/keypath-as-array-expected.txt: Removed.
  • storage/indexeddb/keypath-as-array.html: Removed.
  • storage/indexeddb/keypath-basics-expected.txt: Added.
  • storage/indexeddb/keypath-basics.html: Added.

2011-06-22 Kentaro Hara <haraken@google.com>

Reviewed by Tony Chang.

Check |keypath| argument of createObjectStore(). Remove storage/indexeddb/keypath-as-array.html.
https://bugs.webkit.org/show_bug.cgi?id=63054

At the head of createObjectStore(), we parse |keypath| argument and throw an exception
if the |keypath| is invalid. With this parsing, we remove keypath-as-array.html because
the current keypath parser does not support an array of keypath and (more importantly)
the current implementation of ObjectStore does not support multiple keypaths.
We added keypath-basics.html that demonstrates that we do not support an array of keypaths.

Tests: storage/indexeddb/keypath-basics.html

  • storage/IDBDatabase.cpp: (WebCore::IDBDatabase::createObjectStore):
  • storage/IDBKeyPath.cpp: (WebCore::IDBIsValidKeyPath):
  • storage/IDBKeyPath.h:
1:07 PM Changeset in webkit [89465] by ggaren@apple.com
  • 12 edits in trunk

Removed the conceit that global variables are local variables when running global code
https://bugs.webkit.org/show_bug.cgi?id=63106

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

This is required for write barrier correctness.

SunSpider reports about a 0.5% regression, mostly from bitops-bitwise-and.js.
I was able to reduce the regression with a tiny peephole optimization in
the bytecompiler, but not eliminate it. I'm committing this assuming
that turning on generational GC will win back at least 0.5%.

(FWIW, the DFG JIT can easily eliminate any regression by sharing loads of
the global object's var storage. I considered doing the same kind of
optimization in the existing JIT, but it seemed like moving in the wrong
direction.)

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::addGlobalVar):
(JSC::BytecodeGenerator::BytecodeGenerator): Don't give global variables
negative indices, since they're no longer negatively offset from the
current stack frame.

Do give global variables monotonically increasing positive indices, since
that's much easier to work with.

Don't limit the number of optimizable global variables, since it's no
longer limited by the register file, since they're no longer stored in
the register file.

(JSC::BytecodeGenerator::registerFor): Global code never has any local
registers because a var in global code is actually a property of the
global object.

(JSC::BytecodeGenerator::constRegisterFor): Ditto.

(JSC::BytecodeGenerator::emitResolve): Did a tiny bit of constant
propagation and dead code elimination to speed up our compiles and
reduce WTFs / minute.

  • bytecompiler/BytecodeGenerator.h:

(JSC::BytecodeGenerator::registerFor): Removed special handling of globals.

(JSC::BytecodeGenerator::shouldOptimizeLocals): Don't optimize locals in
global code, since there are none.

(JSC::BytecodeGenerator::canOptimizeNonLocals): Do optimize non-locals
in global code (i.e., global vars), since there are some.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::callEval):
(JSC::Interpreter::Interpreter):
(JSC::Interpreter::dumpRegisters):
(JSC::Interpreter::execute):

  • interpreter/Interpreter.h: Updated for deleted / renamed code.
  • interpreter/RegisterFile.cpp:

(JSC::RegisterFile::gatherConservativeRoots):
(JSC::RegisterFile::releaseExcessCapacity): Updated for deleted / renamed
data members.

  • interpreter/RegisterFile.h:

(JSC::RegisterFile::begin):
(JSC::RegisterFile::size):
(JSC::RegisterFile::RegisterFile):
(JSC::RegisterFile::shrink): Removed all code and comments dealing with
global variables stored in the register file.

(JSC::RegisterFile::grow): Updated for same.

Also, a slight correctness fix: Test the VM commit end, and not just the
in-use end, when checking for stack overflow. In theory, it's invalid to
commit past the end of your allocation, even if you never touch that
memory. This makes the usable size of the stack slightly smaller. No test
because we don't know of any case in practice where this crashes.

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData): Updated for changes above.

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::resizeRegisters):
(JSC::JSGlobalObject::addStaticGlobals):

  • runtime/JSGlobalObject.h: Simplified globals to have monotonically

increasing indexes, always located in our external storage.

LayoutTests:

  • fast/js/recursion-limit-equal-expected.txt: Updated to reflect slightly

changed recursion limit.

1:06 PM Changeset in webkit [89464] by jberlin@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

REGRESSION (r89305-r89312): webarchive/loading/mainresource-null-mimetype-crash.html failing
on SnowLeopard Intel Release (Tests).
https://bugs.webkit.org/show_bug.cgi?id=63169

Add (failing?) expected results to get the bots green.

  • platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Added.
1:04 PM Changeset in webkit [89463] by dimich@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

[Chromium] Unreviewed update of test expectations.

  • platform/chromium-mac/fast/canvas/webgl/data-view-test-expected.txt: Added.
  • platform/chromium-win/fast/canvas/webgl/data-view-test-expected.txt: Added.
12:57 PM Changeset in webkit [89462] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-22 Young Han Lee <joybro@company100.net>

Reviewed by Simon Fraser.

animation-timing-function property with a list uses first item for all animations
https://bugs.webkit.org/show_bug.cgi?id=60303

When an element has multiple animations that have different timingFunctions,
the progress of each animation should be calculated using its respective timingFunction.
But at this point, the timingFunction of the first animation is only used for the
calculation, regardless of how many animations the element has.

The code for getting a timingFunction is changed by this patch
so that the timingFunction of the correct animation searched by its name will be used.

  • animations/multiple-animations-timing-function-expected.txt: Added.
  • animations/multiple-animations-timing-function.html: Added.

2011-06-22 Young Han Lee <joybro@company100.net>

Reviewed by Simon Fraser.

animation-timing-function property with a list uses first item for all animations
https://bugs.webkit.org/show_bug.cgi?id=60303

When an element has multiple animations that have different timingFunctions,
the progress of each animation should be calculated using its respective timingFunction.
But at this point, the timingFunction of the first animation is only used for the
calculation, regardless of how many animations the element has.

The code for getting a timingFunction is changed by this patch
so that the timingFunction of the correct animation searched by its name will be used.

Test: animations/multiple-animations-timing-function.html

  • page/animation/KeyframeAnimation.cpp: (WebCore::getAnimationFromStyleByName): (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty):
12:55 PM Changeset in webkit [89461] by kbalazs@webkit.org
  • 2 edits in trunk/Source/WebKit2

2011-06-22 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Darin Adler.

[X11][WK2] Implement NetscapePlugin::platformSetFocus
https://bugs.webkit.org/show_bug.cgi?id=63154

  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: (WebKit::NetscapePlugin::platformSetFocus): Implement focus setting based on the WebKit1 path.
12:55 PM Changeset in webkit [89460] by commit-queue@webkit.org
  • 86 edits
    1 delete in trunk

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89407, r89409, r89410, and r89411.
http://trac.webkit.org/changeset/89407
http://trac.webkit.org/changeset/89409
http://trac.webkit.org/changeset/89410
http://trac.webkit.org/changeset/89411
https://bugs.webkit.org/show_bug.cgi?id=63168

Broke Chromium tests for Forms and Autofill (Requested by
dimich on #webkit).

  • fast/css/text-input-with-webkit-border-radius-expected.txt:
  • fast/forms/search-abs-pos-cancel-button.html:
  • fast/forms/search-cancel-button-mouseup.html:
  • platform/chromium/test_expectations.txt:
  • platform/gtk/fast/css/input-search-padding-expected.txt:
  • platform/gtk/fast/css/pseudo-cache-stale-expected.txt:
  • platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/gtk/fast/forms/box-shadow-override-expected.txt:
  • platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
  • platform/gtk/fast/forms/input-appearance-height-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
  • platform/gtk/fast/forms/placeholder-position-expected.txt:
  • platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/placeholder-set-value-expected.txt:
  • platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/gtk/fast/forms/search-rtl-expected.txt:
  • platform/gtk/fast/forms/search-styled-expected.txt:
  • platform/gtk/fast/forms/search-transformed-expected.txt:
  • platform/gtk/fast/forms/search-vertical-alignment-expected.txt:
  • platform/gtk/fast/forms/search-zoomed-expected.txt:
  • platform/gtk/fast/forms/searchfield-heights-expected.txt:
  • platform/gtk/fast/forms/textfield-overflow-expected.txt:
  • platform/gtk/fast/repaint/search-field-cancel-expected.txt:
  • platform/gtk/fast/replaced/width100percent-searchfield-expected.txt:
  • platform/gtk/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/mac/fast/css/input-search-padding-expected.png:
  • platform/mac/fast/css/input-search-padding-expected.txt:
  • platform/mac/fast/css/pseudo-cache-stale-expected.txt:
  • platform/mac/fast/forms/box-shadow-override-expected.txt:
  • platform/mac/fast/forms/control-restrict-line-height-expected.txt:
  • platform/mac/fast/forms/input-appearance-height-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
  • platform/mac/fast/forms/placeholder-position-expected.txt:
  • platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/mac/fast/forms/placeholder-set-value-expected.txt:
  • platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/mac/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/mac/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/mac/fast/forms/search-rtl-expected.txt:
  • platform/mac/fast/forms/search-styled-expected.txt:
  • platform/mac/fast/forms/search-transformed-expected.txt:
  • platform/mac/fast/forms/search-vertical-alignment-expected.png:
  • platform/mac/fast/forms/search-vertical-alignment-expected.txt:
  • platform/mac/fast/forms/search-zoomed-expected.txt:
  • platform/mac/fast/forms/searchfield-heights-expected.txt:
  • platform/mac/fast/repaint/search-field-cancel-expected.png:
  • platform/mac/fast/repaint/search-field-cancel-expected.txt:
  • platform/mac/fast/replaced/width100percent-searchfield-expected.txt:
  • platform/mac/fast/table/colspanMinWidth-vertical-expected.png:
  • platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/qt/fast/css/pseudo-cache-stale-expected.txt:
  • platform/qt/fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/qt/fast/forms/control-restrict-line-height-expected.txt:
  • platform/qt/fast/forms/placeholder-set-value-expected.txt:
  • platform/qt/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/qt/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/qt/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/qt/fast/forms/search-rtl-expected.txt:
  • platform/qt/fast/forms/search-styled-expected.txt:
  • platform/qt/fast/forms/search-transformed-expected.txt:
  • platform/qt/fast/forms/search-vertical-alignment-expected.txt:
  • platform/qt/fast/forms/search-zoomed-expected.txt:
  • platform/qt/fast/replaced/width100percent-searchfield-expected.txt:
  • platform/win/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/win/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/win/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/win/media/media-controls-clone-expected.txt: Removed.

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89407, r89409, r89410, and r89411.
http://trac.webkit.org/changeset/89407
http://trac.webkit.org/changeset/89409
http://trac.webkit.org/changeset/89410
http://trac.webkit.org/changeset/89411
https://bugs.webkit.org/show_bug.cgi?id=63168

Broke Chromium tests for Forms and Autofill (Requested by
dimich on #webkit).

  • css/html.css: (input[type="search"]::-webkit-search-cancel-button): (input[type="search"]::-webkit-search-decoration): (input[type="search"]::-webkit-search-results-decoration): (input[type="search"]::-webkit-search-results-button): (input::-webkit-inner-spin-button): (input::-webkit-input-speech-button):
  • html/HTMLInputElement.cpp:
  • html/HTMLInputElement.h:
  • html/InputType.h:
  • html/SearchInputType.cpp: (WebCore::SearchInputType::SearchInputType): (WebCore::SearchInputType::createShadowSubtree): (WebCore::SearchInputType::destroyShadowSubtree):
  • html/SearchInputType.h: (WebCore::SearchInputType::innerBlockElement):
  • html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::TextFieldInputType): (WebCore::TextFieldInputType::createShadowSubtree): (WebCore::TextFieldInputType::destroyShadowSubtree):
  • html/TextFieldInputType.h: (WebCore::TextFieldInputType::innerTextElement): (WebCore::TextFieldInputType::innerSpinButtonElement): (WebCore::TextFieldInputType::speechButtonElement): (WebCore::TextFieldInputType::setInnerTextElement): (WebCore::TextFieldInputType::setSpeechButtonElement):
  • rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::innerTextElement): (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::nodeAtPoint): (WebCore::RenderTextControlSingleLine::forwardEvent): (WebCore::RenderTextControlSingleLine::styleDidChange): (WebCore::RenderTextControlSingleLine::hasControlClip): (WebCore::RenderTextControlSingleLine::controlClipRect): (WebCore::RenderTextControlSingleLine::textBlockWidth): (WebCore::RenderTextControlSingleLine::createInnerTextStyle): (WebCore::RenderTextControlSingleLine::createInnerBlockStyle): (WebCore::RenderTextControlSingleLine::textBlockInsetTop):
  • rendering/RenderTextControlSingleLine.h:
12:52 PM Changeset in webkit [89459] by dpranke@chromium.org
  • 4 edits in trunk/Tools

2011-06-22 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

run-webkit-websocketserver fails to stop websocket server
https://bugs.webkit.org/show_bug.cgi?id=63123

There's a ten-character change in new-run-webkit-websocketserver
that fixes the actual bug, and then we update the code in
new-run-webkit-httpd to do the actual stop call, and add more tests
(refactoring the existing test code so that it is shared).

  • Scripts/new-run-webkit-httpd:
  • Scripts/new-run-webkit-websocketserver:
  • Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py:
12:47 PM Changeset in webkit [89458] by commit-queue@webkit.org
  • 1 edit
    4 adds in trunk/Source/WebKit/efl

2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Add DeviceOrientationClientEfl and DeviceMotionClientEfl.
https://bugs.webkit.org/show_bug.cgi?id=63125

Add dummy files to build with ENABLE_DEVICE_ORIENTATION.

  • WebCoreSupport/DeviceMotionClientEfl.cpp: Added. (WebCore::DeviceMotionClientEfl::DeviceMotionClientEfl): (WebCore::DeviceMotionClientEfl::~DeviceMotionClientEfl): (WebCore::DeviceMotionClientEfl::deviceMotionControllerDestroyed): (WebCore::DeviceMotionClientEfl::setController): (WebCore::DeviceMotionClientEfl::startUpdating): (WebCore::DeviceMotionClientEfl::stopUpdating): (WebCore::DeviceMotionClientEfl::currentDeviceMotion):
  • WebCoreSupport/DeviceMotionClientEfl.h: Added.
  • WebCoreSupport/DeviceOrientationClientEfl.cpp: Added. (WebCore::DeviceOrientationClientEfl::DeviceOrientationClientEfl): (WebCore::DeviceOrientationClientEfl::~DeviceOrientationClientEfl): (WebCore::DeviceOrientationClientEfl::deviceOrientationControllerDestroyed): (WebCore::DeviceOrientationClientEfl::setController): (WebCore::DeviceOrientationClientEfl::startUpdating): (WebCore::DeviceOrientationClientEfl::stopUpdating): (WebCore::DeviceOrientationClientEfl::lastOrientation):
  • WebCoreSupport/DeviceOrientationClientEfl.h: Added.
12:39 PM Changeset in webkit [89457] by mnaganov@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-06-20 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Chromium] Improve speed of heap profiles dominators view.
https://bugs.webkit.org/show_bug.cgi?id=62979

  • inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider):
  • inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotArraySlice.prototype.item): (WebInspector.HeapSnapshotArraySlice.prototype.slice): (WebInspector.HeapSnapshot.prototype.dispose): (WebInspector.HeapSnapshot.prototype._dominatedNodesOfNode): (WebInspector.HeapSnapshot.prototype._buildReverseIndex.var): (WebInspector.HeapSnapshot.prototype._buildReverseIndex): (WebInspector.HeapSnapshot.prototype._buildRetainers): (WebInspector.HeapSnapshot.prototype._buildNodeIndex): (WebInspector.HeapSnapshot.prototype._buildDominatedNodes): (WebInspector.HeapSnapshot.prototype._getDominatedIndex): (WebInspector.HeapSnapshot.prototype.createNodesProviderForClass): (WebInspector.HeapSnapshot.prototype.createNodesProviderForDominator): (WebInspector.HeapSnapshotFilteredOrderedIterator): (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype._createIterationOrder): (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.get length): (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.serializeNextItems): (WebInspector.HeapSnapshotNodesProvider):
  • inspector/front-end/HeapSnapshotProxy.js: (WebInspector.HeapSnapshotProxy.prototype.createNodesProviderForDominator):
12:26 PM Changeset in webkit [89456] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-06-22 Sreeram Ramachandran <sreeram@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Restore console messages when restoring inspector state
https://bugs.webkit.org/show_bug.cgi?id=63146

No new tests (no change in functionality, only in display).

  • inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::restore):
  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::restoreInspectorStateFromCookie):
12:10 PM WikiStart edited by rniwa@webkit.org
Added an entry for WebAPIReviewChecklist (diff)
12:09 PM WebAPIReviewChecklist edited by rniwa@webkit.org
(diff)
12:07 PM WebAPIReviewChecklist created by rniwa@webkit.org
Add WebAPIReviewChecklist
12:02 PM Changeset in webkit [89455] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-22 Adam Barth <abarth@webkit.org>

Attempt to fix the GTK build after my incomplete rollout of 88332.

  • GNUmakefile.list.am:
11:57 AM Changeset in webkit [89454] by Ademar Reis
  • 2 edits in trunk/Source/WebKit/qt

2011-06-22 Ademar de Souza Reis Jr. <Ademar Reis>

Reviewed by Holger Freyther.

[Qt] Fix Qt namespace on QDeclarativeWebView autotest
https://bugs.webkit.org/show_bug.cgi?id=63147

Applications (such as the test runner) are not supposed to be wrapped
by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
QtWebKit) with a specific namespace won't work (will result in main
being undefined).

This was the only test wrapped by these macros, all others are fine.

  • tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove namespace macros.
11:26 AM Changeset in webkit [89453] by weinig@apple.com
  • 14 edits in trunk

2011-06-22 Sam Weinig <sam@webkit.org>

Reviewed by Adam Barth.

HTML parser should limit element depth of produced tree
https://bugs.webkit.org/show_bug.cgi?id=63082

Test by:

fast/parser/block-nesting-cap.html
fast/parser/element-nesting-cap.html

  • html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::attach): (WebCore::HTMLConstructionSite::HTMLConstructionSite):
  • html/parser/HTMLConstructionSite.h: Limit the DOM tree depth by turning attempts to add a child passed a certain threshold (configurable by Settings::maximumDOMTreeDepth) into a sibling.
  • html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::HTMLDocumentParser): (WebCore::HTMLDocumentParser::maximumDOMTreeDepth):
  • html/parser/HTMLDocumentParser.h: Pass the maximumDOMTreeDepth to the TreeBuilder.
  • html/parser/HTMLElementStack.cpp: (WebCore::HTMLElementStack::HTMLElementStack): (WebCore::HTMLElementStack::popAll): (WebCore::HTMLElementStack::insertAbove): (WebCore::HTMLElementStack::pushCommon): (WebCore::HTMLElementStack::popCommon): (WebCore::HTMLElementStack::removeNonTopCommon):
  • html/parser/HTMLElementStack.h: (WebCore::HTMLElementStack::size): Keep track of the size of the element stack.
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
  • html/parser/HTMLTreeBuilder.h: (WebCore::HTMLTreeBuilder::create): Pass the maximumDOMTreeDepth to the construction site.
  • page/Settings.cpp: (WebCore::Settings::Settings):
  • page/Settings.h: (WebCore::Settings::setMaximumHTMLParserDOMTreeDepth): (WebCore::Settings::maximumHTMLParserDOMTreeDepth): Add a setting to control the maximum DOM tree depth that the parser will produce.

2011-06-22 Sam Weinig <sam@webkit.org>

Reviewed by Adam Barth.

HTML parser should limit element depth of produced tree
https://bugs.webkit.org/show_bug.cgi?id=63082

  • fast/parser/block-nesting-cap-expected.txt:
  • fast/parser/element-nesting-cap-expected.txt: Update expectations for new parser depth limit.
11:12 AM Changeset in webkit [89452] by abarth@webkit.org
  • 27 edits
    9 deletes in trunk

2011-06-22 Adam Barth <abarth@webkit.org>

Rollout 88332.

  • features.gypi:
  • public/WebRuntimeFeatures.h:
  • src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
  • src/WebRuntimeFeatures.cpp:

2011-06-22 Adam Barth <abarth@webkit.org>

Rollout 88332. As discussed on webkit-dev, we'd like to iterate on
both the API and it's implementation a bit.

  • WebCore.gypi:
  • bindings/generic/RuntimeEnabledFeatures.cpp:
  • bindings/generic/RuntimeEnabledFeatures.h:
  • dom/DocumentMarker.h: (WebCore::DocumentMarker::activeMatch):
  • dom/DocumentMarkerController.cpp:
  • dom/DocumentMarkerController.h:
  • html/HTMLDivElement.cpp:
  • html/HTMLDivElement.h:
  • html/HTMLDivElement.idl:
  • html/HTMLInputElement.cpp:
  • html/HTMLInputElement.h:
  • html/HTMLInputElement.idl:
  • html/HTMLTextAreaElement.cpp:
  • html/HTMLTextAreaElement.h:
  • html/HTMLTextAreaElement.idl:
  • html/SpellcheckRange.cpp: Removed.
  • html/SpellcheckRange.h: Removed.
  • html/SpellcheckRange.idl: Removed.
  • html/SpellcheckRangeList.cpp: Removed.
  • html/SpellcheckRangeList.h: Removed.
  • html/SpellcheckRangeList.idl: Removed.
  • rendering/InlineTextBox.cpp: (WebCore::textCheckingLineStyleForMarkerType): (WebCore::InlineTextBox::paintDocumentMarkers):

2011-06-22 Adam Barth <abarth@webkit.org>

Rollout 88332.

  • editing/spelling/spellcheck-api-expected.txt: Removed.
  • editing/spelling/spellcheck-api-pixel.html: Removed.
  • editing/spelling/spellcheck-api.html: Removed.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
11:03 AM Changeset in webkit [89451] by commit-queue@webkit.org
  • 13 edits
    12 copies in trunk

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: fix multiple issues in IDBDatabase.idl
https://bugs.webkit.org/show_bug.cgi?id=63140

  • storage/indexeddb/createObjectStore-name-argument-required-expected.txt: Added.
  • storage/indexeddb/createObjectStore-name-argument-required.html: Added.
  • storage/indexeddb/createObjectStore-null-name-expected.txt: Added.
  • storage/indexeddb/createObjectStore-null-name.html: Added.
  • storage/indexeddb/deleteObjectStore-name-argument-required-expected.txt: Added.
  • storage/indexeddb/deleteObjectStore-name-argument-required.html: Added.
  • storage/indexeddb/deleteObjectStore-null-name-expected.txt: Added.
  • storage/indexeddb/deleteObjectStore-null-name.html: Added.
  • storage/indexeddb/mozilla/create-objectstore-null-name-expected.txt:
  • storage/indexeddb/mozilla/create-objectstore-null-name.html:
  • storage/indexeddb/setVersion-null-expected.txt: Added.
  • storage/indexeddb/setVersion-null.html: Added.
  • storage/indexeddb/setVersion-undefined-expected.txt:
  • storage/indexeddb/setVersion-undefined.html:
  • storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
  • storage/indexeddb/transaction-and-objectstore-calls.html:
  • storage/indexeddb/transaction-crash-on-abort-expected.txt:
  • storage/indexeddb/transaction-crash-on-abort.html:
  • storage/indexeddb/transaction-read-only-expected.txt:
  • storage/indexeddb/transaction-read-only.html:
  • storage/indexeddb/transaction-storeNames-required-expected.txt: Added.
  • storage/indexeddb/transaction-storeNames-required.html: Added.

2011-06-22 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: fix multiple issues in IDBDatabase.idl
https://bugs.webkit.org/show_bug.cgi?id=63140

Tests: storage/indexeddb/createObjectStore-name-argument-required.html

storage/indexeddb/createObjectStore-null-name.html
storage/indexeddb/deleteObjectStore-name-argument-required.html
storage/indexeddb/deleteObjectStore-null-name.html
storage/indexeddb/setVersion-null.html
storage/indexeddb/transaction-storeNames-required.html

  • storage/IDBDatabase.idl: remove LegacyDefaultOptionalArguments so all functions will throw TypeError when called with too few arguments, as per WebIDL spec. Also remove ConvertNullToNullString flags so null values are stringified as "null" (also as per WebIDL spec).
10:53 AM Changeset in webkit [89450] by mdelaney@apple.com
  • 1 edit
    1 add in trunk/LayoutTests

Adding a mac platform expected result for webgl test to help fix burning bot.
Filed https://bugs.webkit.org/show_bug.cgi?id=63151 for a real fix

  • platform/mac/fast/canvas/webgl/data-view-test-expected.txt: Added.
10:51 AM Changeset in webkit [89449] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-06-22 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Move logic for deciding whether resource content should be base64 encoded on backend.
https://bugs.webkit.org/show_bug.cgi?id=63069

  • inspector/Inspector.json:
  • inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourceContent): (WebCore::InspectorPageAgent::resourceContent): (WebCore::InspectorPageAgent::getResourceContent): (WebCore::InspectorPageAgent::searchInResources):
  • inspector/InspectorPageAgent.h:
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::getResourceContent):
  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::resourceStyleSheetText):
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager.prototype.requestContent):
  • inspector/front-end/Resource.js: (WebInspector.Resource.prototype._innerRequestContent.onResourceContent): (WebInspector.Resource.prototype._innerRequestContent):
10:42 AM Changeset in webkit [89448] by macpherson@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-06-22 Luke Macpherson <macpherson@chromium.org>

Reviewed by Dimitri Glazkov.

Support cast from CSSPrimitiveValue to short and use for CSSPropertyWidows and CSSPropertyOrphans.
https://bugs.webkit.org/show_bug.cgi?id=62964

No new tests / refactoring only.

  • css/CSSPrimitiveValueMappings.h: Support cast to/from short.
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): Use cast to short to allow CSSPropertWidows and CSSPropertyOrphans to use existing macro.
10:27 AM Changeset in webkit [89447] by Adam Roben
  • 5 edits
    1 add in trunk/Tools

Add links to existing bugs related to failing tests on TestFailures page

I changed the layout of the page a little to make it easier to read with all the new
information. Passing/failing revisions have been moved down below the list of tests to be
closer to the existing bugs and the new bug link. And each set of tests and its relevant
information is in a light gray box.

Fixes <http://webkit.org/b/61665> TestFailures page should link to existing bugs when
possible

Reviewed by Darin Adler.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js: Added.

(Bugzilla): This new class represents a single Bugzilla instance.
(Bugzilla.prototype.quickSearch): Searches Bugzilla using its Quick Search functionality,
passing the resulting bug titles and URLs to the callback when complete. If called multiple
times with the same query before the query returns, caches the callbacks so that only one
query is sent over the wire. When the query completes, all pending callbacks are called.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:

(#failure-history): Reduce the margin/padding on the top-level list a bit.
(#failure-history > li): Put each set of tests in a gray box, and indent most information
inside the box.
(.test-list): Unindent the list of failing tests so it is visually at the top level.
(.new-and-existing-bugs): Reduce the space at the bottom of this area so that the bottom of
each box isn't a big empty space.
(.existing-bugs-list): Use a smaller text size for existing bugs, since their titles can be
quite long.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:

(addQueryParametersToURL): New function extracted from
ViewController.prototype._domForNewAndExistingBugs.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:

(ViewController): Take and store an optional Bugzilla instance.
(ViewController.prototype._displayBuilder): Give the top-level list an id for styling
purposes and move the list of failing tests above all other information. Only show bug
information once we've determined the most-recent passing revision for a set of tests. It's
not that useful to file a new bug before this information has been determined, and searching
for existing bugs before we've figured out which tests started failing at the same time
would end up giving you information about a bunch of unrelated tests.
(ViewController.prototype._domForNewAndExistingBugs): Renamed from _domForNewBugLink. Now
returns a DocumentFragment instead of an HTMLParagraphElement. If we don't have a Bugzilla
instance, just returns an empty DocumentFragment. Starts a search for bugs related to the
failing tests, and adds links to the bugs when the search completes.

  • BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Pass a

Bugzilla instance for bugs.webkit.org to the ViewController.

10:19 AM Changeset in webkit [89446] by jchaffraix@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-06-22 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

Assertion failure in RenderBlock::createLineBoxes() when a legend has display: inline
https://bugs.webkit.org/show_bug.cgi?id=23753

The bug got fixed, so landing the test case.

  • fast/dom/legend-display-inline-expected.txt: Added.
  • fast/dom/legend-display-inline.html: Added.
10:17 AM Changeset in webkit [89445] by jchaffraix@webkit.org
  • 3 edits
    2 copies in branches/chromium/782

Merge 89183 - 2011-06-17 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

Assertion failure in SVGTextLayoutEngine constructor (!m_layoutAttributes.isEmpty())
https://bugs.webkit.org/show_bug.cgi?id=62884

  • svg/custom/assert-empty-layout-attributes-expected.txt: Added.
  • svg/custom/assert-empty-layout-attributes.svg: Added.

2011-06-17 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

Assertion failure in SVGTextLayoutEngine constructor (!m_layoutAttributes.isEmpty())
https://bugs.webkit.org/show_bug.cgi?id=62884

Test: svg/custom/assert-empty-layout-attributes.svg

  • rendering/svg/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Added a early return here. It is not needed to do the text layout algorithm if you don't have any layout information as your size is (0, 0) anyway.

TBR=jchaffraix@webkit.org
Review URL: http://codereview.chromium.org/7231014

10:14 AM Changeset in webkit [89444] by mdelaney@apple.com
  • 2 edits in trunk/LayoutTests

Undoing possibly incorrect rebaseline from r89434 for webgl test. Filed follow up bug.

10:13 AM Changeset in webkit [89443] by jchaffraix@webkit.org
  • 3 edits
    2 copies in branches/chromium/782

Merge 88474 - 2011-06-09 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

Test for WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash
https://bugs.webkit.org/show_bug.cgi?id=62384

  • fast/css/webkit-keyframes-crash-expected.txt: Added.
  • fast/css/webkit-keyframes-crash.html: Added.

2011-06-09 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash
https://bugs.webkit.org/show_bug.cgi?id=62384

Test: fast/css/webkit-keyframes-crash.html

  • css/WebKitCSSKeyframesRule.cpp: (WebCore::WebKitCSSKeyframesRule::setName): stylesheet() is never garanteed to return a non-null pointer. Thus null-check here like the rest of the code.

TBR=jchaffraix@webkit.org
Review URL: http://codereview.chromium.org/7231013

9:57 AM Changeset in webkit [89442] by commit-queue@webkit.org
  • 10 edits
    1 move
    1 add in trunk/Source

2011-06-22 Eunmi Lee <eunmi15.lee@samsung.com>

Reviewed by Martin Robinson.

Change GtkWidgetBackingStore.h to WidgetBackingStore.h in order to use in the EFL port.
https://bugs.webkit.org/show_bug.cgi?id=62848

This patch will make GtkWidgetBackingStore shareable with EFL port.
It is a preparation to integrate WebKit2's BackingStoreGtk.cpp and
BackingStoreEfl.cpp as a BackingStoreCairo.cpp.

  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • platform/graphics/cairo/CairoUtilities.cpp: (WebCore::copyRectFromOneSurfaceToAnother):
  • platform/graphics/cairo/CairoUtilities.h:
  • platform/cairo/WidgetBackingStore.h: Added.
  • platform/gtk/GtkWidgetBackingStore.h: Removed.
  • platform/gtk/GtkWidgetBackingStoreCairo.cpp: (WebCore::createSurfaceForBackingStore): (WebCore::WidgetBackingStorePrivate::create): (WebCore::WidgetBackingStorePrivate::WidgetBackingStorePrivate): (WebCore::WidgetBackingStore::create): (WebCore::WidgetBackingStore::WidgetBackingStore): (WebCore::WidgetBackingStore::~WidgetBackingStore): (WebCore::WidgetBackingStore::cairoSurface): (WebCore::WidgetBackingStore::scroll):
  • platform/gtk/GtkWidgetBackingStoreX11.cpp: (WebCore::WidgetBackingStorePrivate::create): (WebCore::WidgetBackingStorePrivate::~WidgetBackingStorePrivate): (WebCore::WidgetBackingStorePrivate::WidgetBackingStorePrivate): (WebCore::WidgetBackingStore::create): (WebCore::WidgetBackingStore::WidgetBackingStore): (WebCore::WidgetBackingStore::~WidgetBackingStore): (WebCore::WidgetBackingStore::cairoSurface): (WebCore::WidgetBackingStore::scroll):

2011-06-22 Eunmi Lee <eunmi15.lee@samsung.com>

Reviewed by Martin Robinson.

Change GtkWidgetBackingStore.h to WidgetBackingStore.h in order to use in the EFL port.
https://bugs.webkit.org/show_bug.cgi?id=62848

Change GtkWidgetBackingStore to WidgetBackingStore in the BackingStore.h and
gtk/BackingStoreGtk.cpp.

  • UIProcess/BackingStore.h:
  • UIProcess/gtk/BackingStoreGtk.cpp: (WebKit::BackingStore::incorporateUpdate):
9:46 AM Changeset in webkit [89441] by Simon Fraser
  • 3 edits in trunk/Source/WebCore

2011-06-22 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Update position, bounds and anchor point in GraphicsLayerCA all at once
https://bugs.webkit.org/show_bug.cgi?id=63148

Since position, bounds and anchor point are inter-dependent, avoid
redundant work by simply updating them all at the same time.

No behavior changes, so no new tests.

  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::setPosition): (WebCore::GraphicsLayerCA::setAnchorPoint): (WebCore::GraphicsLayerCA::setSize): (WebCore::GraphicsLayerCA::setBoundsOrigin): (WebCore::GraphicsLayerCA::setAllowTiledLayer): (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): (WebCore::GraphicsLayerCA::updateGeometry): (WebCore::GraphicsLayerCA::ensureStructuralLayer): (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
  • platform/graphics/ca/GraphicsLayerCA.h:
9:45 AM Changeset in webkit [89440] by rniwa@webkit.org
  • 18 edits in trunk/Source

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Make instantiation of legacy editing position more explicit
https://bugs.webkit.org/show_bug.cgi?id=63037

Create new positions since we can't create a legacy editing position outside of WebCore anymore.

  • WebView/WebFrame.mm: (-[WebFrame _smartDeleteRangeForProposedRange:]): Calls createLegacyEditingPosition. (-[WebFrame _smartInsertForString:replacingRange:beforeString:afterString:]): Ditto.

2011-06-22 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Make instantiation of legacy editing position more explicit
https://bugs.webkit.org/show_bug.cgi?id=63037

Replaced the constructor of Position class that used to instantiate a legacy editing position
by a function called createLegacyEditingPosition.

  • WebCore.exp.in: Removed the constructor from the list.
  • accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::visiblePositionForTextMarkerData): Calls createLegacyEditingPosition.
  • accessibility/gtk/AXObjectCacheAtk.cpp: (WebCore::AXObjectCache::nodeTextChangePlatformNotification): No longer uses Positions to instantiate a range.
  • dom/Position.cpp: (WebCore::Position::Position): New constructor takes LegacyEditingOffset, which can only be instantiated by createLegacyEditingPosition. (WebCore::Position::previous): Calls createLegacyEditingPosition. (WebCore::Position::next): Ditto. (WebCore::Position::upstream): Ditto. (WebCore::Position::downstream): Ditto.
  • dom/Position.h: Added new Position::LegacyEditingOffset class to hide the legacy constructor from the world. (WebCore::Position::LegacyEditingOffset::value): Added. (WebCore::Position::LegacyEditingOffset::LegacyEditingOffset): Added. (WebCore::createLegacyEditingPosition): Added.
  • dom/PositionIterator.cpp: (WebCore::PositionIterator::operator Position): Calls createLegacyEditingPosition.
  • dom/RangeBoundaryPoint.h: (WebCore::RangeBoundaryPoint::toPosition): Ditto.
  • editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::performTrivialReplace): Instantiates new Position instead of old one; this is always safe since the anchor node is always a text node.
  • editing/VisiblePosition.cpp: (WebCore::VisiblePosition::leftVisuallyDistinctCandidate): Calls createLegacyEditingPosition. (WebCore::VisiblePosition::rightVisuallyDistinctCandidate): Ditto.
  • editing/markup.cpp: (WebCore::StyledMarkupAccumulator::renderedText): Ditto.
  • editing/visible_units.cpp: (WebCore::previousBoundary): Ditto. (WebCore::previousLinePosition): Ditto. (WebCore::nextLinePosition): Ditto.
  • page/DOMSelection.cpp: (WebCore::DOMSelection::collapse): Ditto. (WebCore::DOMSelection::setBaseAndExtent): Ditto. (WebCore::DOMSelection::setPosition): Ditto. (WebCore::DOMSelection::extend): Ditto.
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::positionForBox): Ditto.
  • rendering/RenderBox.cpp: (WebCore::RenderBox::positionForPoint): Calls Position() instead of Position(0, 0).
  • rendering/RenderObject.cpp: (WebCore::RenderObject::createVisiblePosition): Calls createLegacyEditingPosition.s
9:24 AM Changeset in webkit [89439] by pfeldman@chromium.org
  • 8 edits in trunk

2011-06-22 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: split setAttributes and setAttributeValue.
https://bugs.webkit.org/show_bug.cgi?id=63138

  • inspector/elements/set-attribute.html:
  • inspector/elements/set-attribute-expected.txt:

2011-06-22 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: split setAttributes and setAttributeValue.
https://bugs.webkit.org/show_bug.cgi?id=63138

  • inspector/Inspector.json:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::setAttributeValue): (WebCore::InspectorDOMAgent::setAttributesText):
  • inspector/InspectorDOMAgent.h:
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMNode.prototype.setAttribute): (WebInspector.DOMNode.prototype.setAttributeValue):
9:21 AM Changeset in webkit [89438] by Carlos Garcia Campos
  • 2 edits in trunk/Tools

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Apply current view settings to newly created views in GtkLauncher
https://bugs.webkit.org/show_bug.cgi?id=63142

  • GtkLauncher/main.c: (createWebViewCb):
9:20 AM Changeset in webkit [89437] by mdelaney@apple.com
  • 1 edit in trunk/LayoutTests/ChangeLog

Added rev to ChangeLog for tree burning fix.

9:11 AM Changeset in webkit [89436] by Adam Roben
  • 2 edits in trunk/Source/WebKit2

Don't use an alpha channel when drawing the web page on Windows

We never use the alpha channel in the end anyway (because we never render into a layered
window, which is the only kind of window that supports alpha). And using an alpha channel is
tricky to get right since GDI doesn't support alpha (and often writes 0x0 into the alpha
channel).

Fixes <http://webkit.org/b/63075> <rdar://problem/9648113> REGRESSION (r88978): Text inside
form controls looks really awful on Windows XP

Reviewed by Anders Carlsson.

  • WebProcess/WebPage/win/DrawingAreaImplWin.cpp:

(WebKit::DrawingAreaImpl::createGraphicsContext): Specify false for the hasAlpha parameter
to the GraphicsContext constructor.

9:03 AM Changeset in webkit [89435] by eric.carlson@apple.com
  • 2 edits in trunk/LayoutTests

2011-06-22 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

video-loop.html sometimes fails on slow system
https://bugs.webkit.org/show_bug.cgi?id=63143

  • media/video-loop.html: Don't seek if an exception will be generated.
8:57 AM Changeset in webkit [89434] by mdelaney@apple.com
  • 3 edits in trunk/LayoutTests

Fixing burning mac SL trees. These tests's expected results needed
updating after parts of them were fixed recently.

8:44 AM Changeset in webkit [89433] by Carlos Garcia Campos
  • 5 edits in trunk/Source/WebKit2

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Remove Connection::setShouldCloseConnectionOnProcessTermination()
https://bugs.webkit.org/show_bug.cgi?id=61627

Don't use Connection::setShouldCloseConnectionOnProcessTermination() for the
GTK port, when the process finishes the connection is closed and
the other process is already notified. We still need to monitor
the child process so that it doesn't become a zombie when it dntabi

  • Platform/CoreIPC/Connection.h:
  • Platform/CoreIPC/unix/ConnectionUnix.cpp:
  • UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: (WebKit::childFinishedFunction): (WebKit::ProcessLauncher::launchProcess):
  • UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::didFinishLaunching):
8:27 AM Changeset in webkit [89432] by Carlos Garcia Campos
  • 2 edits in trunk/Tools

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Use GOption to parse main arguments in GtkLauncher
https://bugs.webkit.org/show_bug.cgi?id=63060

Instead of getting the settings from the view, create a new
settings object not associated with any view so that we can parse
the command line arguments before creating the view. It will also
allows to use the same settings for more than one view if we
eventually support passing more than one uri from the command
line.

  • GtkLauncher/main.c: (parseOptionEntryCallback): Make this function static. Also use g_ascii_strtoll/g_ascii_strtod to parse int/float values instead of atoi/atof to provide better error messages. And always fill the error struct when the function fails. (getOptionEntriesFromWebKitWebSettings): Use an array of GOptionEntry structs instead of a GArray, since that is what g_option_group_add_entries() expects and the array size doesn't change. (addWebSettingsGroupToContext): Helper function to add the websettings group to the option context. (main): Create the option context to parse command line arguments.
8:24 AM Changeset in webkit [89431] by krit@webkit.org
  • 16 edits
    7 adds in trunk

2011-06-22 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

Animate viewBox attribute in SVG
https://bugs.webkit.org/show_bug.cgi?id=20057

Test SVGRect animation with from-to and from-by animations.

  • svg/animations/script-tests/svgrect-animation-1.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/script-tests/svgrect-animation-2.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/svgrect-animation-1-expected.txt: Added.
  • svg/animations/svgrect-animation-1.html: Added.
  • svg/animations/svgrect-animation-2-expected.txt: Added.
  • svg/animations/svgrect-animation-2.html: Added.

2011-06-22 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

Animate viewBox attribute in SVG
https://bugs.webkit.org/show_bug.cgi?id=20057

Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGRect. With the new animator we support
interpolation between SVGRects. A feature that can be used to get smooth zooming animations for SVGs.


Added parseRect() to SVGParserUtilities for parsing Strings to FloatRects.

Tests: svg/animations/svgrect-animation-1.html

svg/animations/svgrect-animation-2.html

  • CMakeLists.txt: Added new file SVGAnimatedRect.cpp to build system.
  • GNUmakefile.list.am: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • platform/graphics/FloatRect.h: Added new operators + and +=. (WebCore::operator+=): (WebCore::operator+):
  • svg/SVGAllInOne.cpp: Added SVGAnimatedRect.cpp for Win build.
  • svg/SVGAnimateElement.cpp: Handle AnimatedRect explicitly. (WebCore::SVGAnimateElement::determineAnimatedAttributeType): Ditto. (WebCore::SVGAnimateElement::calculateAnimatedValue): Ditto. (WebCore::SVGAnimateElement::calculateFromAndToValues): Ditto. (WebCore::SVGAnimateElement::calculateFromAndByValues): Ditto. (WebCore::SVGAnimateElement::resetToBaseValue): Ditto. (WebCore::SVGAnimateElement::applyResultsToTarget): Ditto. (WebCore::SVGAnimateElement::calculateDistance): Ditto.
  • svg/SVGAnimatedRect.cpp: Added. The new Animator for SVGRect. (WebCore::SVGAnimatedRectAnimator::SVGAnimatedRectAnimator): (WebCore::SVGAnimatedRectAnimator::constructFromString): (WebCore::SVGAnimatedRectAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedRectAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedRectAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedRectAnimator::calculateDistance):
  • svg/SVGAnimatedRect.h: (WebCore::SVGAnimatedRectAnimator::~SVGAnimatedRectAnimator):
  • svg/SVGAnimatedType.cpp: Support for FloatRect. (WebCore::SVGAnimatedType::~SVGAnimatedType): (WebCore::SVGAnimatedType::createRect): (WebCore::SVGAnimatedType::rect): (WebCore::SVGAnimatedType::valueAsString): (WebCore::SVGAnimatedType::setValueAsString):
  • svg/SVGAnimatedType.h:
  • svg/SVGAnimatorFactory.h: (WebCore::SVGAnimatorFactory::create):
  • svg/SVGParserUtilities.cpp: Parse String as FloatRect. (WebCore::parseRect):
  • svg/SVGParserUtilities.h:
7:38 AM Changeset in webkit [89430] by Dimitri Glazkov
  • 25 edits in trunk/Source

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

1) Introduce FileChooserSettings to decouple setting querying from
FileChooser. It's a simple copyable settings object, which allows us
to capture the settings atomically and treat them as discardable data.

2) Encapsulate lifetime management of FileChooser entirely in
FileChooserClient. It's now a "smart" client, and allows us to
completely remove FileChooser management concerns from a FileChooserClient
implementor.

3) Change creation of FileChooser to be on-demand, only when we actually
need to choose file.

4) Rearrange calling of dispatchFormControlChangeEvent to be at the end
of a function and remove "am-I-dead" checks that are now unnecessary.

5) Clean up directory upload code a bit, and make use of FileChooserSettings
to pass directory name.

Refactoring, covered by existing tests.

  • WebCore.exp.in: Removed unneeded export.
  • loader/EmptyClients.h: Removed now-unneded param. (WebCore::EmptyChromeClient::enumerateChosenDirectory): Ditto.
  • page/Chrome.cpp: (WebCore::Chrome::enumerateChosenDirectory): Ditto.
  • page/Chrome.h: Ditto.
  • page/ChromeClient.h: Ditto.
  • platform/FileChooser.cpp: (WebCore::FileChooserClient::~FileChooserClient): Added discarding of chooser. (WebCore::FileChooserClient::newFileChooser): Added. (WebCore::FileChooserClient::discardChooser): Added. (WebCore::FileChooser::FileChooser): Changed to use FileChooserSettings. (WebCore::FileChooser::create): Ditto. (WebCore::FileChooser::~FileChooser): Removed unneeded code. (WebCore::FileChooser::chooseFiles): Changed to pass results to the client.
  • platform/FileChooser.h: (WebCore::FileChooser::settings): Added.
  • rendering/RenderFileUploadControl.cpp: (WebCore::filenamesFromFileList): Added a helper. (WebCore::RenderFileUploadControl::RenderFileUploadControl): Changed to use the helper, removed

chooser initialization code.

(WebCore::RenderFileUploadControl::~RenderFileUploadControl): Removed disconnection code, now

handled in FileChooserClient.

(WebCore::RenderFileUploadControl::filesChosen): Renamed from valueChanged, rearranged to

fire dispatchFormControlChangeEvent last.

(WebCore::RenderFileUploadControl::receiveDropForDirectoryUpload): Changed to use settings.
(WebCore::RenderFileUploadControl::click): Ditto.
(WebCore::RenderFileUploadControl::updateFromElement): Removed now-unneeded check.
(WebCore::RenderFileUploadControl::receiveDroppedFiles): Changed to avoid using the chooser, since

it is not necessary.

(WebCore::RenderFileUploadControl::fileTextValue): Changed to use input data, not chooser data.

  • rendering/RenderFileUploadControl.h: Updated decls.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel): Changed to use settings. (WebKit::ChromeClientImpl::enumerateChosenDirectory): Updated decls.
  • src/ChromeClientImpl.h:

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runOpenPanel): Changed to use settings.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::runOpenPanel): Changed to use settings.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebCoreSupport/WebChromeClient.mm: (WebChromeClient::runOpenPanel): Changed to use settings.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::runOpenPanel): Changed to use settings.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runOpenPanel): Changed to use settings.

2011-06-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

FileChooser should be only created when we need to choose files.
https://bugs.webkit.org/show_bug.cgi?id=63039

  • WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::runOpenPanel): Changed to use settings.
7:13 AM Changeset in webkit [89429] by pfeldman@chromium.org
  • 14 edits in trunk/Source/WebCore

2011-06-22 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: DOMAgent.resolveNode should receive objectGroup.
https://bugs.webkit.org/show_bug.cgi?id=63137

  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::wrapNode):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptSource.js: (.):
  • inspector/Inspector.json:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::resolveNode): (WebCore::InspectorDOMAgent::buildObjectForEventListener):
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDOMDebuggerAgent.cpp: (WebCore::InspectorDOMDebuggerAgent::descriptionForDOMEvent):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::resume):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
  • inspector/front-end/EventListenersSidebarPane.js: (WebInspector.EventListenersSidebarPane.prototype.update.callback): (WebInspector.EventListenersSidebarPane.prototype.update): (.): ():
  • inspector/front-end/PropertiesSidebarPane.js:
  • inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.resolveNode): (WebInspector.RemoteObjectProperty.fromPrimitiveValue):
7:08 AM Changeset in webkit [89428] by podivilov@chromium.org
  • 5 edits in trunk/Source/WebCore

2011-06-22 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: fix exceptions in scripts panel.
https://bugs.webkit.org/show_bug.cgi?id=62865

Resource.requestContent callback may be fired after navigation when scripts panel
is already reset.

  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype._addScript.contentChanged): (WebInspector.DebuggerPresentationModel.prototype._addScript):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._showSourceFrameAndAddToHistory): (WebInspector.ScriptsPanel.prototype._filesSelectChanged):
  • inspector/front-end/SourceFile.js: (WebInspector.SourceFile.prototype.reload):
7:01 AM Changeset in webkit [89427] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Yuta Kitamura <yutak@chromium.org>

Unreviewed, apply a couple of Chromium test expectation changes to test_expectations.txt.

  • platform/chromium/test_expectations.txt:
6:49 AM Changeset in webkit [89426] by commit-queue@webkit.org
  • 11 edits
    1 copy
    1 move
    2 adds in trunk

2011-06-22 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Roben.

[GTK] Implement pixel dump support for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=58242

  • GNUmakefile.am: Reference the new ImageDiff GNUmakefile.

2011-06-22 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Roben.

[GTK] Implement pixel dump support for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=58242

  • GNUmakefile.am: Added new Cairo specific image handling files to the build.
  • Shared/API/c/cairo/WKImageCairo.cpp: Copied from Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp. (WKImageCreateCairoSurface): Added (WKImageCreateFromCairoSurface): Added
  • Shared/API/c/cairo/WKImageCairo.h: Copied from Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp.

2011-06-22 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Roben.

[GTK] Implement pixel dump support for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=58242

  • DumpRenderTree/gtk/GNUmakefile.ImageDiff.am: Added.
  • GNUmakefile.am: Separate out the ImageDiff bits of the GNUmakefile.
  • Scripts/old-run-webkit-tests: Update to add support for the GTK+ port.
  • WebKitTestRunner/GNUmakefile.am: Added Cairo specific files to the build.
  • WebKitTestRunner/TestInvocation.cpp: Moved this code to the platform-independent file so that we can share it across platforms. (WTR::TestInvocation::compareActualHashToExpectedAndDumpResults):
  • WebKitTestRunner/TestInvocation.h: Updated method list.
  • WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added Cairo implementation.
  • WebKitTestRunner/cg/TestInvocationCG.cpp: (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Updated to use new helper.
6:34 AM Changeset in webkit [89425] by msaboff@apple.com
  • 3 edits in trunk/Source/WebCore

2011-06-21 Michael Saboff <msaboff@apple.com>

Reviewed by Adam Roben.

REGRESSION (r88260): Assertion failure in FontCache::getCachedFontData when typing in Safari's address field
https://bugs.webkit.org/show_bug.cgi?id=63078

Added FontCachePurgePreventer in WebCore::WebCoreTextFloatWidth to handle
assertion failure when typing in address field on windows. Investigated
other possible code paths that need purge prevention. Added
FontCachePurgeProtection to WebCore::createDragImageForLink and
WebCore::doDrawTextAtPoint.

No change to functionality, therefore no new tests.

  • platform/win/DragImageWin.cpp: (WebCore::createDragImageForLink):
  • platform/win/WebCoreTextRenderer.cpp: (WebCore::doDrawTextAtPoint): (WebCore::WebCoreTextFloatWidth):
5:31 AM Changeset in webkit [89424] by Darin Adler
  • 3 edits in trunk/Source/WebCore

2011-06-22 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

A couple setTextAsOfLastFormControlChangeEvent tweaks
https://bugs.webkit.org/show_bug.cgi?id=63108

  • html/HTMLFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::insertedIntoDocument): Use emptyString() instead of String("") because it is better style and faster.
  • html/HTMLFormControlElement.h: Make setTextAsOfLastFormControlChangeEvent non-virtual so it actually gets inlined, since there are no overrides of it. Also make it take a const String& to avoid unnecessary reference count churn.
4:47 AM Changeset in webkit [89423] by Csaba Osztrogonác
  • 5 edits in trunk/LayoutTests

[Qt] Unreviewed. Update platform specific exprected results after r89367 and r89381.

  • platform/qt/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
  • platform/qt/svg/custom/pointer-events-text-expected.png:
  • platform/qt/svg/custom/pointer-events-text-expected.txt:
4:25 AM Changeset in webkit [89422] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Yuta Kitamura <yutak@chromium.org>

Unreviewed, fix a syntax error in the last change in test_expectations.txt.

  • platform/chromium/test_expectations.txt:
4:22 AM Changeset in webkit [89421] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89414.
http://trac.webkit.org/changeset/89414
https://bugs.webkit.org/show_bug.cgi?id=63130

It broke webkitpy tests (Requested by Ossy on #webkit).

  • Scripts/webkitpy/layout_tests/port/base.py:
4:15 AM Changeset in webkit [89420] by commit-queue@webkit.org
  • 17 edits in trunk/Source/WebCore

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89402.
http://trac.webkit.org/changeset/89402
https://bugs.webkit.org/show_bug.cgi?id=63129

It made 6 tests crash (Requested by Ossy on #webkit).

  • dom/DataTransferItem.cpp: (WebCore::DataTransferItem::DataTransferItem):
  • dom/DataTransferItem.h:
  • dom/DataTransferItems.cpp: (WebCore::DataTransferItems::DataTransferItems):
  • dom/DataTransferItems.h:
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
  • editing/CompositeEditCommand.h:
  • page/WebKitAnimationList.cpp: (WebCore::WebKitAnimationList::append): (WebCore::WebKitAnimationList::insertAnimation):
  • page/WebKitAnimationList.h: (WebCore::WebKitAnimationList::create):
  • svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::FEImage): (WebCore::FEImage::create):
  • svg/graphics/filters/SVGFEImage.h:
  • svg/graphics/filters/SVGFilterBuilder.cpp: (WebCore::SVGFilterBuilder::SVGFilterBuilder): (WebCore::SVGFilterBuilder::add): (WebCore::SVGFilterBuilder::appendEffectToEffectReferences):
  • svg/graphics/filters/SVGFilterBuilder.h:
  • websockets/ThreadableWebSocketChannelClientWrapper.cpp: (WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback):
  • websockets/ThreadableWebSocketChannelClientWrapper.h:
  • websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::Peer::Peer): (WebCore::WorkerThreadableWebSocketChannel::Bridge::setWebSocketChannel): (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
  • websockets/WorkerThreadableWebSocketChannel.h: (WebCore::WorkerThreadableWebSocketChannel::Peer::create):
4:10 AM Changeset in webkit [89419] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89368.
http://trac.webkit.org/changeset/89368
https://bugs.webkit.org/show_bug.cgi?id=63128

It made http/tests/inspector/extensions-resources-
redirect.html crash (Requested by Ossy on #webkit).

  • inspector/Inspector.json:
  • inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourceContent): (WebCore::InspectorPageAgent::resourceContent): (WebCore::InspectorPageAgent::getResourceContent): (WebCore::InspectorPageAgent::searchInResources):
  • inspector/InspectorPageAgent.h:
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::getResourceContent):
  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::resourceStyleSheetText):
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager.prototype.requestContent):
  • inspector/front-end/Resource.js: (WebInspector.Resource.prototype._innerRequestContent.onResourceContent): (WebInspector.Resource.prototype._innerRequestContent):
3:52 AM Changeset in webkit [89418] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Yuta Kitamura <yutak@chromium.org>

Unreviewed, add Chromium test expectations for tests started to fail since V8 3.4.5.1 roll.

  • platform/chromium/test_expectations.txt:
3:22 AM Changeset in webkit [89417] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit/gtk

2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Make sure libsoup password manager macro is defined before including libsoup in webkitsoupauthdialog
https://bugs.webkit.org/show_bug.cgi?id=63124

Fixes a crash when building with --enable-debug.

  • webkit/webkitsoupauthdialog.h: Define LIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY before including libsoup.h.
3:16 AM Changeset in webkit [89416] by yutak@chromium.org
  • 1 edit
    1 add
    1 delete in trunk/LayoutTests

2011-06-22 Yuta Kitamura <yutak@chromium.org>

Unreviewed, check in new Chromium-Leopard baselines.

  • platform/chromium-mac-leopard/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png: Removed.
  • platform/chromium-mac-leopard/svg/custom/pointer-events-text-expected.png: Added.
2:35 AM Changeset in webkit [89415] by podivilov@chromium.org
  • 6 edits in trunk/Source/WebCore

2011-06-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: use stack trace to create anchors for console messages.
https://bugs.webkit.org/show_bug.cgi?id=62856

  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._completions.reportCompletions): (WebInspector.ConsoleView.prototype._completions): (WebInspector.ConsoleMessage.prototype._formatMessage):
  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype._updateAnchor):
  • inspector/front-end/Panel.js: (WebInspector.Panel.prototype.createAnchor):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.createAnchor): (WebInspector.ScriptsPanel.prototype.showAnchorLocation): (WebInspector.ScriptsPanel.prototype._updateAnchor):
  • inspector/front-end/inspector.js: (WebInspector.linkifyResourceAsNode): (WebInspector.linkifyCallFrameAsNode):
1:22 AM Changeset in webkit [89414] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-06-22 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Dirk Pranke.

[NRWT] Print error message when there is no httpd present on the system
https://bugs.webkit.org/show_bug.cgi?id=62027

  • Scripts/webkitpy/layout_tests/port/apache_http_server.py:
12:12 AM Changeset in webkit [89413] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-22 Dirk Pranke <dpranke@chromium.org>

Unreviewed, whitespace expectations change to trigger a round of
builds.

  • platform/chromium/test_expectations.txt:

Jun 21, 2011:

11:37 PM Changeset in webkit [89412] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-06-21 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix.
Fix crashes in new-run-webkit-tests resulting from the
change to the http_server logic in r89400. Python 2.5
on Mac 10.5 has some weird error paths.

  • Scripts/webkitpy/layout_tests/port/http_server_base.py:
  • Scripts/webkitpy/common/system/executive.py:
11:07 PM Changeset in webkit [89411] by tkent@chromium.org
  • 2 edits
    1 copy in trunk/LayoutTests

2011-06-21 Kent Tamura <tkent@chromium.org>

[Win][Mac] Correct an accidental change in r89410.

  • platform/mac/media/media-controls-clone-expected.txt:
  • platform/win/media/media-controls-clone-expected.txt: Copied from LayoutTests/platform/mac/media/media-controls-clone-expected.txt.
10:43 PM Changeset in webkit [89410] by tkent@chromium.org
  • 30 edits in trunk/LayoutTests

2011-06-21 Kent Tamura <tkent@chromium.org>

[Win][GTK] Test expectation update for r89407.

  • platform/gtk/fast/css/input-search-padding-expected.txt:
  • platform/gtk/fast/css/pseudo-cache-stale-expected.txt:
  • platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/gtk/fast/forms/box-shadow-override-expected.txt:
  • platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
  • platform/gtk/fast/forms/input-appearance-height-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt:
  • platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
  • platform/gtk/fast/forms/placeholder-position-expected.txt:
  • platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/placeholder-set-value-expected.txt:
  • platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/gtk/fast/forms/search-rtl-expected.txt:
  • platform/gtk/fast/forms/search-styled-expected.txt:
  • platform/gtk/fast/forms/search-transformed-expected.txt:
  • platform/gtk/fast/forms/search-vertical-alignment-expected.txt:
  • platform/gtk/fast/forms/search-zoomed-expected.txt:
  • platform/gtk/fast/forms/searchfield-heights-expected.txt:
  • platform/gtk/fast/forms/textfield-overflow-expected.txt:
  • platform/gtk/fast/repaint/search-field-cancel-expected.txt:
  • platform/gtk/fast/replaced/width100percent-searchfield-expected.txt:
  • platform/gtk/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/mac/media/media-controls-clone-expected.txt:
  • platform/win/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/win/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/win/fast/forms/search-placeholder-value-changed-expected.txt:
10:08 PM Changeset in webkit [89409] by tkent@chromium.org
  • 14 edits in trunk/LayoutTests

2011-06-21 Kent Tamura <tkent@chromium.org>

[Qt] Test expectation update for r89407.

  • platform/qt/fast/css/pseudo-cache-stale-expected.txt:
  • platform/qt/fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/qt/fast/forms/control-restrict-line-height-expected.txt:
  • platform/qt/fast/forms/placeholder-set-value-expected.txt:
  • platform/qt/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/qt/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/qt/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/qt/fast/forms/search-rtl-expected.txt:
  • platform/qt/fast/forms/search-styled-expected.txt:
  • platform/qt/fast/forms/search-transformed-expected.txt:
  • platform/qt/fast/forms/search-vertical-alignment-expected.txt:
  • platform/qt/fast/forms/search-zoomed-expected.txt:
  • platform/qt/fast/replaced/width100percent-searchfield-expected.txt:
10:03 PM Changeset in webkit [89408] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Kent Tamura <tkent@chromium.org>

[Chromium] Update expectation for some speech tests.

  • platform/chromium/test_expectations.txt:
9:36 PM Changeset in webkit [89407] by tkent@chromium.org
  • 45 edits in trunk

2011-06-21 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

Avoid custom layout code of RenderTextControlSingleLine
https://bugs.webkit.org/show_bug.cgi?id=61415

Update tests including <input type=search> or <input type=number>. Their
internal structures are changed.
Slight position changes for search result buttons and search cancel
buttons are expected.

  • fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/chromium/test_expectations.txt:
  • platform/mac/fast/css/input-search-padding-expected.png:
  • platform/mac/fast/css/input-search-padding-expected.txt:
  • platform/mac/fast/css/pseudo-cache-stale-expected.txt:
  • platform/mac/fast/forms/box-shadow-override-expected.txt:
  • platform/mac/fast/forms/control-restrict-line-height-expected.txt:
  • platform/mac/fast/forms/input-appearance-height-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
  • platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
  • platform/mac/fast/forms/placeholder-position-expected.txt:
  • platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/mac/fast/forms/placeholder-set-value-expected.txt:
  • platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/mac/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/mac/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/mac/fast/forms/search-rtl-expected.txt:
  • platform/mac/fast/forms/search-styled-expected.txt:
  • platform/mac/fast/forms/search-transformed-expected.txt:
  • platform/mac/fast/forms/search-vertical-alignment-expected.png:
  • platform/mac/fast/forms/search-vertical-alignment-expected.txt:
  • platform/mac/fast/forms/search-zoomed-expected.txt:
  • platform/mac/fast/forms/searchfield-heights-expected.txt:
  • platform/mac/fast/repaint/search-field-cancel-expected.png:
  • platform/mac/fast/repaint/search-field-cancel-expected.txt:
  • platform/mac/fast/replaced/width100percent-searchfield-expected.txt:
  • platform/mac/fast/table/colspanMinWidth-vertical-expected.png:
  • platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
  • fast/forms/search-cancel-button-mouseup.html: Adjust click position for the cancel button.
  • fast/forms/search-abs-pos-cancel-button.html: ditto.

2011-06-21 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

Avoid custom layout code of RenderTextControlSingleLine
https://bugs.webkit.org/show_bug.cgi?id=61415

If a text field has a search results button, a search cancel
button, a speech button, or a spin button, the editable inner text
element and they are wrapped by a flexible box container, and the
editable inner text element has flexibility.
As the result of applying the flexible box, we don't need any
horizontal layout code in RenderTextControlSingleLine except the
inner spin button.

Also, we remove custom hit-testing code in nodeAtPoint(). If a
user clicks on a position left of the inner editable text but not
on the search results button, the search results button doesn't
work though it worked.

  • css/html.css: (input::-webkit-textfield-decoration-container): New style definition for the "container" element. (input[type="search"]::-webkit-search-cancel-button): It should be a block element because it's a child of the flexible box. Also, this doesn't have flexibility. (input[type="search"]::-webkit-search-decoration): ditto. (input[type="search"]::-webkit-search-results-decoration): ditto. (input[type="search"]::-webkit-search-results-button): ditto. (input::-webkit-inner-spin-button): ditto. (input::-webkit-input-speech-button): ditto.
  • html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::containerElement): Add an accessor of the flexible box container. It just calls InputType::containerElement().
  • html/HTMLInputElement.h: Declare it.
  • html/InputType.h: (WebCore::InputType::containerElement): New accessor for a shadow element.
  • html/SearchInputType.cpp: (WebCore::SearchInputType::SearchInputType): m_innerBlock is moved to TextFieldInputType. (WebCore::SearchInputType::needsContainer): A search field always needs the flexible box container because of the results button and the cancel button. (WebCore::SearchInputType::createShadowSubtree): Use TextFieldInputType::createShadowSubtree(), then modify the tree. (WebCore::SearchInputType::destroyShadowSubtree): m_innerBlock is moved to TextFieldInputType.
  • html/SearchInputType.h:
  • html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::TextFieldInputType): Initialize the new members. (WebCore::TextFieldInputType::needsContainer): Returns true if x-webkit-speech. We check a spin button separately. (WebCore::TextFieldInputType::createShadowSubtree): Wrap everything with the flexible box container if needsContainer() or we need a spin button. (WebCore::TextFieldInputType::containerElement): Added an accessor. (WebCore::TextFieldInputType::innerBlockElement): ditto. (WebCore::TextFieldInputType::innerTextElement): ditto. (WebCore::TextFieldInputType::innerSpinButtonElement): ditto. (WebCore::TextFieldInputType::speechButtonElement): ditto. (WebCore::TextFieldInputType::destroyShadowSubtree): Clear references to new shadow nodes.
  • html/TextFieldInputType.h:
  • rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::containerElement): Added an accessor. (WebCore::RenderTextControlSingleLine::innerTextElement): (WebCore::RenderTextControlSingleLine::layout):
    • Correct heights check Comparing with height(), not contentHeigth(), was incorrect.
    • Adjust the container height like the editable inner text.
    • Remove width adjustment
    • Remove the speech button layout code The flexible box layout is enough.

(WebCore::RenderTextControlSingleLine::nodeAtPoint):

Remove custom code for results/cancel/speech buttons, and
Simplify comments.

(WebCore::RenderTextControlSingleLine::forwardEvent):

Remove custom forwarding code for results/cancel buttons.

(WebCore::RenderTextControlSingleLine::styleDidChange):

Clear the style of the container because we update it in layout().

(WebCore::RenderTextControlSingleLine::hasControlClip):

Decoration buttons should be clipped by the container.

(WebCore::RenderTextControlSingleLine::controlClipRect): ditto.
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):

We don't need to use display:inline-block any more.

(WebCore::RenderTextControlSingleLine::createInnerBlockStyle):

The text wrapper element should have flexibility.

(WebCore::RenderTextControlSingleLine::textBlockInsetTop):

Updated for the tree structure change.

  • rendering/RenderTextControlSingleLine.h:
9:15 PM Changeset in webkit [89406] by morrita@google.com
  • 25 edits in trunk

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • configure.ac:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • Configurations/FeatureDefines.xcconfig:
  • JavaScriptCore.xcodeproj/project.pbxproj:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • CMakeLists.txt:
  • Configurations/FeatureDefines.xcconfig:
  • DerivedSources.make:
  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • features.pri:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • Configurations/FeatureDefines.xcconfig:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • Configurations/FeatureDefines.xcconfig:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • Scripts/build-webkit:
  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:

2011-06-21 MORITA Hajime <morrita@google.com>

Unreviewed, rolling out r89401 and r89403.
http://trac.webkit.org/changeset/89401
http://trac.webkit.org/changeset/89403
https://bugs.webkit.org/show_bug.cgi?id=62970

Breaks mac build and mistakenly enables the spellcheck API

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:
9:00 PM Changeset in webkit [89405] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Yuta Kitamura <yutak@chromium.org>

Unreviewed, remove duplicate Chromium test expectation.

  • platform/chromium/test_expectations.txt:
8:41 PM Changeset in webkit [89404] by yutak@chromium.org
  • 2 edits
    1 add in trunk/LayoutTests

2011-06-21 Yuta Kitamura <yutak@chromium.org>

Unreviewed. Update Chromium test expectations and baselines.

  • platform/chromium-win/fast/css/color-leakage-expected.png: Added.
  • platform/chromium/test_expectations.txt:
8:19 PM Changeset in webkit [89403] by tkent@chromium.org
  • 6 edits in trunk

2011-06-21 Kent Tamura <tkent@chromium.org>

[Mac] Sort Xcode project files.

2011-06-21 Kent Tamura <tkent@chromium.org>

[Mac] Sort Xcode project files.

  • WebCore.xcodeproj/project.pbxproj:

2011-06-21 Kent Tamura <tkent@chromium.org>

[Mac] Sort Xcode project files.

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
7:36 PM Changeset in webkit [89402] by Darin Adler
  • 17 edits in trunk/Source/WebCore

2011-06-21 Darin Adler <Darin Adler>

Reviewed by Ryosuke Niwa.

RefPtr misused as argument type in a few classes
https://bugs.webkit.org/show_bug.cgi?id=62955

  • dom/DataTransferItem.cpp: (WebCore::DataTransferItem::DataTransferItem):
  • dom/DataTransferItem.h:
  • dom/DataTransferItems.cpp: (WebCore::DataTransferItems::DataTransferItems):
  • dom/DataTransferItems.h:
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
  • editing/CompositeEditCommand.h:
  • page/WebKitAnimationList.cpp: (WebCore::WebKitAnimationList::append): (WebCore::WebKitAnimationList::insertAnimation):
  • page/WebKitAnimationList.h:
  • svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::FEImage): (WebCore::FEImage::create):
  • svg/graphics/filters/SVGFEImage.h:
  • svg/graphics/filters/SVGFilterBuilder.cpp: (WebCore::SVGFilterBuilder::SVGFilterBuilder): (WebCore::SVGFilterBuilder::add): (WebCore::SVGFilterBuilder::appendEffectToEffectReferences):
  • svg/graphics/filters/SVGFilterBuilder.h:
  • websockets/ThreadableWebSocketChannelClientWrapper.cpp: (WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback):
  • websockets/ThreadableWebSocketChannelClientWrapper.h:
  • websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::Peer::Peer): (WebCore::WorkerThreadableWebSocketChannel::Bridge::setWebSocketChannel): (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
  • websockets/WorkerThreadableWebSocketChannel.h: Use PassRefPtr or raw pointer as appropriate for RefPtr arguments.
7:27 PM Changeset in webkit [89401] by morrita@google.com
  • 23 edits in trunk

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

  • configure.ac:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

No new tests, changing only build related files

  • Configurations/FeatureDefines.xcconfig:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

No new tests, changing only build related files

  • CMakeLists.txt:
  • Configurations/FeatureDefines.xcconfig:
  • DerivedSources.make:
  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • features.pri:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

No new tests, changing only build related files

  • Configurations/FeatureDefines.xcconfig:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

No new tests, changing only build related files

  • Configurations/FeatureDefines.xcconfig:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

  • Scripts/build-webkit:

2011-06-20 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Spellcheck API should be build-able.
https://bugs.webkit.org/show_bug.cgi?id=62970

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:
7:20 PM Changeset in webkit [89400] by dpranke@chromium.org
  • 9 edits
    1 add in trunk/Tools

2011-06-21 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

nrwt: attempt #3 at fixing server startup/shutdown
https://bugs.webkit.org/show_bug.cgi?id=62829

Attempt yet again to make starting and stopping servers
reliable. It turns out that apache has races between when the
ctl process exists and when it writes/removes the pid file.
This change accounts for the races.

  • Scripts/new-run-webkit-httpd:
  • Scripts/webkitpy/common/system/executive.py:
  • Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/http_server.py:
  • Scripts/webkitpy/layout_tests/port/http_server_base.py:
  • Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Added.
  • Scripts/webkitpy/layout_tests/port/port_testcase.py:
  • Scripts/webkitpy/layout_tests/port/websocket_server.py:
6:04 PM Changeset in webkit [89399] by abarth@webkit.org
  • 2 edits in trunk/Websites/bugs.webkit.org

2011-06-21 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

bugs.webkit.org should use Strict-Transport-Security
https://bugs.webkit.org/show_bug.cgi?id=63097

Strict-Transport-Security forces all connections to bugs.webkit.org to
use HTTPS, preventing sslstrip and other attacks.

  • .htaccess:
5:50 PM Changeset in webkit [89398] by jer.noble@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-06-21 Jer Noble <jer.noble@apple.com>

Reviewed by Simon Fraser.

REGRESSION: Fullscreen videos are broken (affects embedded vimeo, vimeo.com, and apple.com)
https://bugs.webkit.org/show_bug.cgi?id=63098
<rdar://problem/9645393>

Force a repaint after completing entering full-screen mode only after the notification
is sent for the QTMovie to tear down its layer. Then, the QTMovie will build up its
layer again during the repaint.

  • WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer):
5:40 PM Changeset in webkit [89397] by mdelaney@apple.com
  • 3 edits
    3 adds in trunk

2011-06-21 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

beginTransparencyLayer leaves context color out of sync, bleeds color into text
https://bugs.webkit.org/show_bug.cgi?id=63093

Test: fast/css/color-leakage.html

  • platform/graphics/cg/GraphicsContextCG.cpp: Swap out CGContextSave/Restore with GraphicsContext::save/restore to keep the context in sync with its CG context (WebCore::GraphicsContext::beginTransparencyLayer): Added save(), removed redundant calls. (WebCore::GraphicsContext::endTransparencyLayer): Added restore(), removed redundant calls.

2011-06-21 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

beginTransparencyLayer leaves context color out of sync, bleeds color into text
https://bugs.webkit.org/show_bug.cgi?id=63093

  • fast/css/color-leakage.html: Added pixel regression test that previously would have the border's color spilling into the text.
  • platform/mac/fast/css/color-leakage-expected.png: Added.
  • platform/mac/fast/css/color-leakage-expected.txt: Added.
5:26 PM Changeset in webkit [89396] by tony@chromium.org
  • 17 edits
    8 adds in trunk

2011-06-21 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

add css parsing of flex()
https://bugs.webkit.org/show_bug.cgi?id=62050

Add a new script-test, but skip it on all platforms since we don't
build with ENABLE_CSS3_FLEXBOX anywhere.

  • css3/flexbox/flex-parsing-expected.txt: Added.
  • css3/flexbox/flex-parsing.html: Added.
  • css3/flexbox/script-tests/TEMPLATE.html: Added.
  • css3/flexbox/script-tests/flex-parsing.js: Added. (testFlex):
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-06-21 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

add css parsing of flex()
https://bugs.webkit.org/show_bug.cgi?id=62050

Test: css3/flexbox/flex-parsing.html

  • CMakeLists.txt: Add CSSFlexValue.*
  • GNUmakefile.list.am: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • css/CSSFlexValue.cpp: Added. (WebCore::CSSFlexValue::~CSSFlexValue): (WebCore::CSSFlexValue::cssText):
  • css/CSSFlexValue.h: Added. (WebCore::CSSFlexValue::create): Hold positive flex, negative flex and sizing. (WebCore::CSSFlexValue::CSSFlexValue):
  • css/CSSParser.cpp: (WebCore::CSSParser::parseValidPrimitive): Pull out code from parseValue. (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseFlex): Parse the different version of flex().
  • css/CSSParser.h:

2011-06-21 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

add css parsing of flex()
https://bugs.webkit.org/show_bug.cgi?id=62050

  • features.gypi: Add a gyp flag (enable_css3_flexbox) for setting ENABLE_CSS3_FLEXBOX.
5:09 PM Changeset in webkit [89395] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Ryosuke Niwa <rniwa@webkit.org>

Remove failing test expectations from various tests for Chromium Windows.

  • platform/chromium/test_expectations.txt:
4:52 PM Changeset in webkit [89394] by enne@google.com
  • 4 edits
    3 adds in trunk

2011-06-21 Adrienne Walker <enne@google.com>

Reviewed by Simon Fraser.

Add child layers to the overlap map if their parent belatedly becomes composited
https://bugs.webkit.org/show_bug.cgi?id=62181

  • compositing/layer-creation/overlap-transformed-layer-expected.txt: Added.
  • compositing/layer-creation/overlap-transformed-layer.html: Added.

2011-06-21 Adrienne Walker <enne@google.com>

Reviewed by Simon Fraser.

Add child layers to the overlap map if their parent belatedly becomes composited
https://bugs.webkit.org/show_bug.cgi?id=62181

  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::addToOverlapMapRecursive): (WebCore::RenderLayerCompositor::computeCompositingRequirements):
  • rendering/RenderLayerCompositor.h:
4:46 PM Changeset in webkit [89393] by zmo@google.com
  • 13 edits
    4 adds in trunk

2011-06-21 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Implement drawingBufferWidth/drawingBufferHeight in WebGL
https://bugs.webkit.org/show_bug.cgi?id=58497

  • fast/canvas/webgl/webgl-specific-expected.txt:
  • fast/canvas/webgl/webgl-specific.html: Test drawingBufferWidth/Height attributes.
  • fast/canvas/webgl/canvas-zero-size-expected.txt:
  • fast/canvas/webgl/canvas-zero-size.html: Added.
  • fast/canvas/webgl/drawingbuffer-test-expected.txt:
  • fast/canvas/webgl/drawingbuffer-test.html: Added.

2011-06-21 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Implement drawingBufferWidth/drawingBufferHeight in WebGL
https://bugs.webkit.org/show_bug.cgi?id=58497

  • src/GraphicsContext3DChromium.cpp: Make getInternalFramebufferSize method const. (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize): (WebCore::GraphicsContext3D::getInternalFramebufferSize):
  • src/GraphicsContext3DInternal.h:

2011-06-21 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Implement drawingBufferWidth/drawingBufferHeight in WebGL
https://bugs.webkit.org/show_bug.cgi?id=58497

  • html/canvas/WebGLRenderingContext.cpp: Add drawingBufferWidth/Height method and call getInternalFramebufferSize(). (WebCore::WebGLRenderingContext::drawingBufferWidth): (WebCore::WebGLRenderingContext::drawingBufferHeight):
  • html/canvas/WebGLRenderingContext.h:
  • html/canvas/WebGLRenderingContext.idl: Add readonly attributes drawingBufferWidth/Height.
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: Make getInternalFramebufferSize const. (WebCore::GraphicsContext3D::getInternalFramebufferSize):
  • platform/graphics/qt/GraphicsContext3DQt.cpp: Ditto. (WebCore::GraphicsContext3D::getInternalFramebufferSize):
4:39 PM Changeset in webkit [89392] by ggaren@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

2011-06-21 Geoffrey Garen <ggaren@apple.com>

Reviewed by Oliver Hunt.

Moved 'const' off the global-variable-as-local-variable crack pipe
https://bugs.webkit.org/show_bug.cgi?id=63105


This is necessary for moving the rest of the code off of same.


Many problems remain in our handling of const. I have fixed none of them.

  • bytecompiler/BytecodeGenerator.h: (JSC::BytecodeGenerator::scopeChain): New accessor, needed to enable const to directly implement its unique scoping rules.
  • bytecompiler/NodesCodegen.cpp: (JSC::PrefixResolveNode::emitBytecode): Do specify that our resolve is for writing, so we don't overwrite const variables.

(JSC::ConstDeclNode::emitCodeSingle): Don't assume that all declared const
variables are available as local variables, since this won't be the case
once global variables are not available as local variables. Instead, use
put_scoped_var in the case where there is no local variable. Like a local
variable, put_scoped_var succeeds even though const properties are
read-only, since put_scoped_var skips read-only checks. (Yay?)

4:12 PM Changeset in webkit [89391] by dimich@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed update of test expectations.

  • platform/chromium/test_expectations.txt:
4:09 PM Changeset in webkit [89390] by commit-queue@webkit.org
  • 8 edits in trunk/Source

2011-06-21 Dmitry Lomov <dslomov@google.com>

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=62653
[V8][Chromium] Make StringCache in V8 bindings per-isolate
This moves StringCache into V8BindingPerIsolateData.

  • bindings/v8/V8Binding.cpp: (WebCore::cachedStringCallback): (WebCore::StringCache::remove): (WebCore::StringCache::v8ExternalStringSlow):
  • bindings/v8/V8Binding.h: (WebCore::StringCache::StringCache): (WebCore::StringCache::v8ExternalString): (WebCore::StringCache::clearOnGC): (WebCore::V8BindingPerIsolateData::stringCache): (WebCore::v8ExternalString):
  • bindings/v8/V8GCController.cpp: (WebCore::V8GCController::gcPrologue):
  • bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::WorkerContextExecutionProxy::initV8IfNeeded):

2011-06-21 Dmitry Lomov <dslomov@google.com>

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=62653
[V8][Chromium] Make StringCache in V8 bindings per-isolate

  • src/WebKit.cpp: (WebKit::initialize): Initialize V8PerIsolateBindingData eagerly
  • src/WebScriptController.cpp: (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
3:51 PM Changeset in webkit [89389] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Stephen White <senorblanco@chromium.org>

Unreviewed.

Adjust some GPU test expectations to match bot reality.

  • platform/chromium/test_expectations.txt:
3:51 PM Changeset in webkit [89388] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

Clang build fix.

  • platform/mac/WebCoreSystemInterface.h: Give the enum a name.
3:35 PM Changeset in webkit [89387] by ap@apple.com
  • 3 edits in trunk/Source/WebCore

Fix Mac build in some configurations.

  • platform/mac/WebCoreSystemInterface.h: Added an enum matching WKSI one, since we cannot use WKSI in WebCore.
  • platform/mac/WebVideoFullscreenHUDWindowController.mm: Removed an include of WebKitSystemInterface.h. It's not meant to be used from WebCore, and if included, a wrong copy may be used. (createControlWithMediaUIControlType): Added a FIXME about problems with Leopard build. (-[WebVideoFullscreenHUDWindowController windowDidLoad]): Ditto. Switched enum values to WCSI style (lower level "wk").
3:31 PM Changeset in webkit [89386] by rniwa@webkit.org
  • 27 edits
    1 delete in trunk

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89354.
http://trac.webkit.org/changeset/89354
https://bugs.webkit.org/show_bug.cgi?id=63099

Broke tests on Mac (Requested by rniwa on #webkit).

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger):

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89354.
http://trac.webkit.org/changeset/89354
https://bugs.webkit.org/show_bug.cgi?id=63099

Broke tests on Mac (Requested by rniwa on #webkit).

  • WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::WebInspectorClient): (WebInspectorClient::openInspectorFrontend): (WebInspectorFrontendClient::destroyInspectorView):
  • WebCoreSupport/WebInspectorClient.h:
  • WebInspector.cpp: (WebInspector::createInstance): (WebInspector::WebInspector): (WebInspector::webViewClosed): (WebInspector::showConsole): (WebInspector::isDebuggingJavaScript): (WebInspector::toggleDebuggingJavaScript): (WebInspector::isProfilingJavaScript): (WebInspector::toggleProfilingJavaScript): (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): (WebInspector::isTimelineProfilingEnabled): (WebInspector::setTimelineProfilingEnabled):
  • WebInspector.h:
  • WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector):
  • WebView.h:

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89354.
http://trac.webkit.org/changeset/89354
https://bugs.webkit.org/show_bug.cgi?id=63099

Broke tests on Mac (Requested by rniwa on #webkit).

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89354.
http://trac.webkit.org/changeset/89354
https://bugs.webkit.org/show_bug.cgi?id=63099

Broke tests on Mac (Requested by rniwa on #webkit).

  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal): (WebCore::InspectorFrontendClientLocal::frontendLoaded): (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
  • inspector/InspectorFrontendClientLocal.h:
  • inspector/front-end/InspectorFrontendAPI.js: Removed.
  • inspector/front-end/ProfileView.js: (WebInspector.CPUProfileType):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._enableProfiling):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype._enableDebugging): (WebInspector.ScriptsPanel.prototype._toggleDebugging):
  • inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel.prototype._memoryOverviewItemSelected):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
3:28 PM Changeset in webkit [89385] by dimich@chromium.org
  • 4 edits in trunk/LayoutTests

[Chromium] Unreviewed update of test expectations after r89381.

  • platform/chromium-linux/svg/custom/pointer-events-text-expected.png:
  • platform/chromium-win/svg/custom/pointer-events-text-expected.png:
  • platform/chromium-win/svg/custom/pointer-events-text-expected.txt:
2:31 PM Changeset in webkit [89384] by yael.aharon@nokia.com
  • 3 edits in trunk/Source/WebKit2

[Qt] Add an internal API for accessing the QGraphicsView.
https://bugs.webkit.org/show_bug.cgi?id=63095

Reviewed by Kenneth Rohde Christiansen.

  • UIProcess/API/qt/qwkpage.cpp:

(QWKPagePrivate::ownerWidget):

  • UIProcess/API/qt/qwkpage_p.h:
2:20 PM Changeset in webkit [89383] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: IDBObjectStore methods should throw TypeError if required arguments are missing
https://bugs.webkit.org/show_bug.cgi?id=63087

  • storage/indexeddb/objectStore-required-arguments-expected.txt: Added.
  • storage/indexeddb/objectStore-required-arguments.html: Added.

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: IDBObjectStore methods should throw TypeError if required arguments are missing
https://bugs.webkit.org/show_bug.cgi?id=63087

Test: storage/indexeddb/objectStore-required-arguments.html

  • storage/IDBObjectStore.idl: Remove LegacyDefaultOptionalArguments flag so missing required arguments will throw TypeError, as per WebIDL spec.
2:18 PM Changeset in webkit [89382] by commit-queue@webkit.org
  • 2 edits
    1 add
    7 deletes in trunk/LayoutTests

2011-06-21 Wyatt Carss <wcarss@chromium.org>

Reviewed by Ryosuke Niwa.

convert editing/deleting/delete-3608430-fix.html to DumpAsTextEditingTest
https://bugs.webkit.org/show_bug.cgi?id=62823

Fixed a superfluous quote, added a doctype, fixed a broken reference to 'abe.gif'
(now points to abe.png, in the correct location), added a description, and converted
to a DumpAsTextEditingTest. This test checks that deletion over an image will correctly
remove an empty element before the image.

  • editing/deleting/delete-3608430-fix-expected.txt: Added.
  • editing/deleting/delete-3608430-fix.html:
  • platform/chromium-linux/editing/deleting/delete-3608430-fix-expected.png: Removed.
  • platform/chromium-win/editing/deleting/delete-3608430-fix-expected.png: Removed.
  • platform/chromium-win/editing/deleting/delete-3608430-fix-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-3608430-fix-expected.txt: Removed.
  • platform/mac/editing/deleting/delete-3608430-fix-expected.png: Removed.
  • platform/mac/editing/deleting/delete-3608430-fix-expected.txt: Removed.
  • platform/qt/editing/deleting/delete-3608430-fix-expected.txt: Removed.
2:13 PM Changeset in webkit [89381] by rwlbuis@webkit.org
  • 6 edits in trunk

2011-06-21 Rob Buis <rbuis@rim.com>

Reviewed by Dirk Schulze.

All pointer-events fail if text has visibility="hidden"
https://bugs.webkit.org/show_bug.cgi?id=62209

Update test results (improvement).

  • platform/mac/svg/custom/pointer-events-text-expected.png:
  • platform/mac/svg/custom/pointer-events-text-expected.txt:

2011-06-21 Rob Buis <rbuis@rim.com>

Reviewed by Dirk Schulze.

All pointer-events fail if text has visibility="hidden"
https://bugs.webkit.org/show_bug.cgi?id=62209

Use PointerEventsHitRules to make hit-testing for SVG text inline boxes work.

No new tests; covered by existing test pointer-events-text.svg.

  • rendering/svg/SVGInlineTextBox.cpp: (WebCore::SVGInlineTextBox::nodeAtPoint):
  • rendering/svg/SVGInlineTextBox.h:
2:09 PM Changeset in webkit [89380] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: keyrange methods should throw TypeError if required arguments are missing
https://bugs.webkit.org/show_bug.cgi?id=63085

  • storage/indexeddb/keyrange-required-arguments-expected.txt: Added.
  • storage/indexeddb/keyrange-required-arguments.html: Added.

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IndexedDB: keyrange methods should throw TypeError if required arguments are missing
https://bugs.webkit.org/show_bug.cgi?id=63085

Test: storage/indexeddb/keyrange-required-arguments.html

  • storage/IDBKeyRange.idl: remove LegacyDefaultOptionalArguments flag so missing required arguments throw TypeError, as per WebIDL spec.
2:08 PM Changeset in webkit [89379] by dimich@chromium.org
  • 3 edits
    3 deletes in trunk/LayoutTests

[Chromium] Unreviewed, updating test expectations after r89367,
fixing typo in test_expectations.txt

  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Removed.
  • platform/chromium-win-xp/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png: Removed.
  • platform/chromium-win-xp/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
2:07 PM Changeset in webkit [89378] by commit-queue@webkit.org
  • 5 edits in trunk

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: should throw TypeError when indexedDB.open() name argument is missing
https://bugs.webkit.org/show_bug.cgi?id=63065

  • storage/indexeddb/database-name-undefined-expected.txt:
  • storage/indexeddb/database-name-undefined.html:

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: should throw TypeError when indexedDB.open() name argument is missing
https://bugs.webkit.org/show_bug.cgi?id=63065

  • storage/IDBFactory.idl: remove LegacyDefaultOptionalArguments flag and fix function argument flags
1:57 PM Changeset in webkit [89377] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: should throw TypeError when index .get() key argument is missing
https://bugs.webkit.org/show_bug.cgi?id=63079

  • storage/indexeddb/index-get-key-argument-required-expected.txt: Added.
  • storage/indexeddb/index-get-key-argument-required.html: Added.

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: should throw TypeError when index .get() key argument is missing
https://bugs.webkit.org/show_bug.cgi?id=63079

Test: storage/indexeddb/index-get-key-argument-required.html

  • storage/IDBIndex.idl: remove LegacyDefaultOptionalArguments flag so missing required arguments throw a TypeError as per WebIDL spec.
1:54 PM Changeset in webkit [89376] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit/chromium

2011-06-21 Chris Evans <cevans@chromium.org>

Reviewed by Darin Fisher.

Wire in checkIfRunInsecureContent to the chromium WebKit API
https://bugs.webkit.org/show_bug.cgi?id=63026

  • public/WebFrame.h:
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::checkIfRunInsecureContent): add in basic plumbing.
  • src/WebFrameImpl.h:
1:42 PM Changeset in webkit [89375] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: cursor update() value argument is required
https://bugs.webkit.org/show_bug.cgi?id=63032

  • storage/indexeddb/cursor-update-value-argument-required-expected.txt: Added.
  • storage/indexeddb/cursor-update-value-argument-required.html: Added.

2011-06-21 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

IndexedDB: cursor update() value argument is required
https://bugs.webkit.org/show_bug.cgi?id=63032

Test: storage/indexeddb/cursor-update-value-argument-required.html

  • storage/IDBCursor.idl: remove LegacyDefaultOptionalArguments flag so calling functions with missing required arguments will raise a TypeError
1:30 PM Changeset in webkit [89374] by commit-queue@webkit.org
  • 4 edits in trunk

2011-06-21 Martin Robinson <mrobinson@igalia.com>

Reviewed by Dirk Schulze.

[GTK] r89314 caused several shadow tests to start failing
https://bugs.webkit.org/show_bug.cgi?id=63045

  • platform/gtk/Skipped: Unskip tests that are now passing.

2011-06-21 Martin Robinson <mrobinson@igalia.com>

Reviewed by Dirk Schulze.

[GTK] r89314 caused several shadow tests to start failing
https://bugs.webkit.org/show_bug.cgi?id=63045

Use prepareForFilling and prepareForStroking when rendering the shadowed
image of a path. This ensures that the shadowed image has the proper alpha.

  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::drawPathShadow): Properly prepare the shadow image.
12:58 PM Changeset in webkit [89373] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-06-21 Dmitry Lomov <dslomov@google.com>

Reviewed by Adam Roben.

https://bugs.webkit.org/show_bug.cgi?id=63080
Unit-tests step on test-only bot is broken.
Removing the step until run-api-tests is fixed.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
12:52 PM Changeset in webkit [89372] by mnaganov@chromium.org
  • 14 edits
    1 delete in trunk

2011-06-21 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
https://bugs.webkit.org/show_bug.cgi?id=63049

  • inspector/profiler/detailed-heapshots-test.js:

2011-06-21 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
https://bugs.webkit.org/show_bug.cgi?id=63049

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::takeHeapSnapshot):
  • inspector/Inspector.json:
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
  • inspector/InspectorProfilerAgent.h:
  • inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype.get profile): (WebInspector.DetailedHeapshotView.prototype.get baseProfile): (WebInspector.DetailedHeapshotView.prototype._profiles): (WebInspector.DetailedHeapshotProfileType): (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
  • inspector/front-end/HeapSnapshotView.js: Removed.
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot): (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk): (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.parsed): (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot): (WebInspector.ProfilesPanel.prototype.takeHeapSnapshot): (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress): (WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/heapProfiler.css:
  • inspector/front-end/inspector.html:
12:30 PM Changeset in webkit [89371] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-06-21 Oliver Hunt <oliver@apple.com>

Reviewed by Alexey Proskuryakov.

REGRESSION(r89257): It broke 2 jscore tests (Requested by Ossy_away on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=63052

Release mode only failure, the stack overflow guards were getting there error
handling inlined, so that they were essentially causing their own demise.

  • parser/JSParser.cpp: (JSC::JSParser::updateErrorMessage): (JSC::JSParser::updateErrorWithNameAndMessage):
12:29 PM Changeset in webkit [89370] by dimich@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

2011-06-21 Dmitry Titov <dimich@chromium.org>

[Chromium] Not reviewed, updating expectations for a flaky test.

  • platform/chromium/test_expectations.txt:
12:18 PM Changeset in webkit [89369] by yael.aharon@nokia.com
  • 2 edits in trunk/Source/WebKit/qt

2011-06-21 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] Regression(60942) wrong default action for drag-and-drop.
https://bugs.webkit.org/show_bug.cgi?id=63004

Added special handling for the case that dragOperation is not initialized.
Save the last dropOperation and pass it to the dropEvent, so that it can
be accepted by QDrag.
Call event->accepted() and not event->acceptProposedAction(), because the
later ignores the dropAction specified in JavaScript.

Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
and did not see any issue.
Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
and they all pass.

  • Api/qwebpage.cpp: (dropActionToDragOp): (QWebPagePrivate::dragMoveEvent): (QWebPagePrivate::dropEvent):
11:16 AM Changeset in webkit [89368] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-06-21 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Move logic for deciding whether resource content should be base64 encoded on backend.
https://bugs.webkit.org/show_bug.cgi?id=63069

  • inspector/Inspector.json:
  • inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourceContent): (WebCore::InspectorPageAgent::resourceContent): (WebCore::InspectorPageAgent::getResourceContent): (WebCore::InspectorPageAgent::searchInResources):
  • inspector/InspectorPageAgent.h:
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::getResourceContent):
  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::resourceStyleSheetText):
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager.prototype.requestContent):
  • inspector/front-end/Resource.js: (WebInspector.Resource.prototype._innerRequestContent.onResourceContent): (WebInspector.Resource.prototype._innerRequestContent):
11:14 AM Changeset in webkit [89367] by krit@webkit.org
  • 7 edits
    3 adds in trunk

2011-06-21 Dirk Schulze <krit@webkit.org>

Reviewed by Rob Buis.

SVG no fallback to discrete animation on attribute 'values' for SVGString
https://bugs.webkit.org/show_bug.cgi?id=57085

Check for AnimatedString, AnimatedBoolean and AnimatedEnumeration on 'values' calculation.
If the property type matches one of the above values, fallback to discrete animation.

The patch also changes behavior for String animation. The animation code doesn't handle inheritance
for strings anymore. This is done by the CSS parser itself now, we just need to handle inheritance
on animations that interpolate between two values like for calcMode="linear".

Test: svg/animations/svgstring-animation-fallback-to-discrete.html

  • svg/SVGAnimateElement.cpp: (WebCore::SVGAnimateElement::calculateAnimatedValue):
  • svg/SVGAnimateElement.h:
  • svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::currentValuesForValuesAnimation):

2011-06-21 Dirk Schulze <krit@webkit.org>

Reviewed by Rob Buis.

SVG no fallback to discrete animation on attribute 'values' for SVGString
https://bugs.webkit.org/show_bug.cgi?id=57085


Added new test to check fallback to discrete animations on string values. One
test needed rebaseline. Even if we do not pass the test it is still a progression.

  • platform/mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
  • svg/animations/script-tests/svgstring-animation-fallback-to-discrete.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/svgstring-animation-fallback-to-discrete-expected.txt: Added.
  • svg/animations/svgstring-animation-fallback-to-discrete.html: Added.
11:05 AM Changeset in webkit [89366] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-21 Cary Clark <caryclark@google.com>

Reviewed by Eric Seidel.

Update GraphicsContextSkia when the Chromium platform is Mac
https://bugs.webkit.org/show_bug.cgi?id=62867

No new tests. This does not modify existing code;
there is no change in functionality.

  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::drawOuterPath): (WebCore::drawInnerPath): (WebCore::getFocusRingOutset): (WebCore::GraphicsContext::drawFocusRing): The OS X framework draws a fatter focus ring than the Chromium port. Increase the diameter, and add an inner stroke with more transparency, to match the look of Chromium on Mac when Skia is the rendering engine.

(WebCore::deviceRGBColorSpaceRef):
Add deviceRGBColorSpaceRef, a static cache of
CGColorSpaceCreateDeviceRGB(). This is called by
the Mac-specific UI when Skia is the rendering engine.

11:04 AM Changeset in webkit [89365] by leviw@chromium.org
  • 3 edits
    3 copies in branches/chromium/782

Merge 87846 - 2011-06-01 Levi Weintraub <leviw@chromium.org>

Reviewed by Eric Seidel.

Text is scaled in a stair-step pattern
https://bugs.webkit.org/show_bug.cgi?id=60317

Stop scaling the specified font to the actual on-screen value when font-rendering:
geometricPrecision is specified, but instead scale the graphics context. This allows
us to scale text up and down smoothly.

Test: svg/text/scaling-font-with-geometric-precision.html

  • rendering/svg/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::computeNewScaledFontForStyle):

2011-06-01 Levi Weintraub <leviw@chromium.org>

Reviewed by Eric Seidel.

Text is scaled in a stair-step pattern
https://bugs.webkit.org/show_bug.cgi?id=60317

Stop scaling the specified font to the actual on-screen value when font-rendering:
geometricPrecision is specified, but instead scale the graphics context. This allows
us to scale text up and down smoothly.

  • platform/mac/svg/text/scaling-font-with-geometric-precision-expected.png: Added.
  • platform/mac/svg/text/scaling-font-with-geometric-precision-expected.txt: Added.
  • svg/text/scaling-font-with-geometric-precision.html: Added.

TBR=leviw@chromium.org
Review URL: http://codereview.chromium.org/7218014

11:03 AM Changeset in webkit [89364] by tony@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-21 Tony Chang <tony@chromium.org>

Try to fix WinCE build. Replace cat with perl -ne "print".

  • CMakeLists.txt:
10:47 AM Changeset in webkit [89363] by mdelaney@apple.com
  • 1 edit
    2 adds in trunk/LayoutTests

2011-06-21 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

Adding version of fast/events/offsetX-offsetY.html without text run or line height deps
https://bugs.webkit.org/show_bug.cgi?id=63073

  • fast/events/document-elementFromPoint-expected.txt: Added.
  • fast/events/document-elementFromPoint.html: Added.
10:32 AM Changeset in webkit [89362] by commit-queue@webkit.org
  • 15 edits in trunk/Source/WebCore

2011-06-21 Alexandru Chiculita <Alexandru Chiculita>

Reviewed by Tony Chang.

"WebCore/css/makeprop.pl" and "WebCore/css/makevalues.pl" should take ENABLE_ flags into account
https://bugs.webkit.org/show_bug.cgi?id=62114

Changed the line commenting style in WebCore/css/*.in files from "#" prefixed to "" prefixed.
That's needed because we now pre-process the files with the C++ pre-processor. Also, there's
no need to manually strip the comments anymore.

Moved the duplication checks from project files to makeprop.pl and makevalues.pl.
In addition makevalues.pl will also lower case the values.

This is a build script refactoring, so no tests are provided.

  • CMakeLists.txt:
  • CodeGenerators.pri:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gyp/scripts/action_csspropertynames.py:
  • WebCore.gyp/scripts/action_cssvaluekeywords.py:
  • css/CSSPropertyNames.in: comment style only
  • css/CSSValueKeywords.in: comment style only
  • css/SVGCSSPropertyNames.in: comment style only
  • css/SVGCSSValueKeywords.in: comment style only
  • css/WCSSValueKeywords.in: comment style only
  • css/makeprop.pl:
  • css/makevalues.pl:
10:30 AM Changeset in webkit [89361] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-21 Ryosuke Niwa <rniwa@webkit.org>

Rolled DEPS.

  • DEPS:
9:59 AM Changeset in webkit [89360] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit2

2011-06-21 Lukasz Slachciak <l.slachciak@samsung.com>

Reviewed by Sam Weinig.

[GTK] [WK2] WebKit2 build break fixes.
https://bugs.webkit.org/show_bug.cgi?id=62950

When building WebKit2 for GTK there are few build breaks connected with missing include files.

  • Platform/unix/SharedMemoryUnix.cpp:
  • Shared/gtk/WebCoreArgumentCodersGtk.cpp:
  • UIProcess/API/gtk/PageClientImpl.cpp:
9:00 AM Changeset in webkit [89359] by pvarga@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-21 Peter Varga <pvarga@webkit.org>

Reviewed by Andreas Kling.

[Qt][V8] Enable ScriptController::disableEval functionality in QtWebkit-V8 build
https://bugs.webkit.org/show_bug.cgi?id=61187

No new tests needed.

  • bindings/v8/ScriptController.cpp: (WebCore::ScriptController::disableEval):
8:58 AM Changeset in webkit [89358] by pvarga@webkit.org
  • 6 edits in trunk/Source/WebCore

2011-06-21 Peter Varga <pvarga@webkit.org>

Reviewed by Andreas Kling.

[Qt][V8] Enable marking objects with complex GC rules
https://bugs.webkit.org/show_bug.cgi?id=61291

No new tests needed.

  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/scripts/test/V8/V8TestInterface.cpp: (WebCore::V8TestInterface::wrapSlow):
  • bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: (WebCore::V8TestMediaQueryListListener::wrapSlow):
  • bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::V8TestObj::wrapSlow):
  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
8:17 AM Changeset in webkit [89357] by loislo@chromium.org
  • 1 edit in branches/chromium/782/Source/WebCore/inspector/front-end/DetailedHeapshotView.js

Merge 89344 - 2011-06-21 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [Chromium] Fix path finding to window objects.
https://bugs.webkit.org/show_bug.cgi?id=63051

  • inspector/front-end/DetailedHeapshotView.js: (WebInspector.HeapSnapshotRetainingPathsList.prototype._setRootChildrenForFinder):

TBR=mnaganov@chromium.org
Review URL: http://codereview.chromium.org/7224001

8:11 AM Changeset in webkit [89356] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Stephen White <senorblanco@chromium.org>

Unreviewed.

Remove a now-passing test from chromium's text_expectations. Also
comment out expectations for a few newly-added tests which were
removed by a revert. This makes lint-test-files run cleanly.

  • platform/chromium/test_expectations.txt:
7:45 AM Changeset in webkit [89355] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Stephen White <senorblanco@chromium.org>

Unreviewed.

Removing a now-passing test from chromium's test_expectations.

  • platform/chromium/test_expectations.txt:
7:32 AM Changeset in webkit [89354] by pfeldman@chromium.org
  • 27 edits
    1 add in trunk

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
https://bugs.webkit.org/show_bug.cgi?id=62985

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger):

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
https://bugs.webkit.org/show_bug.cgi?id=62985

Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
methods for plumbing the menu action handlers through the WebKit and WebCore.
I intend to remove this menu support from the protocol and WebCore/InspectorController API.
I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
WebKit/win and WebKit2 to follow.

  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal): (WebCore::InspectorFrontendClientLocal::frontendLoaded): (WebCore::InspectorFrontendClientLocal::setAttachedWindow): (WebCore::InspectorFrontendClientLocal::isDebuggingEnabled): (WebCore::InspectorFrontendClientLocal::setDebuggingEnabled): (WebCore::InspectorFrontendClientLocal::isJavaScriptProfilingEnabled): (WebCore::InspectorFrontendClientLocal::setJavaScriptProfilingEnabled): (WebCore::InspectorFrontendClientLocal::isTimelineProfilingEnabled): (WebCore::InspectorFrontendClientLocal::setTimelineProfilingEnabled): (WebCore::InspectorFrontendClientLocal::isProfilingJavaScript): (WebCore::InspectorFrontendClientLocal::startProfilingJavaScript): (WebCore::InspectorFrontendClientLocal::stopProfilingJavaScript): (WebCore::InspectorFrontendClientLocal::evaluateAsBoolean): (WebCore::InspectorFrontendClientLocal::evaluateOnLoad):
  • inspector/InspectorFrontendClientLocal.h:
  • inspector/front-end/InspectorFrontendAPI.js: Added. (InspectorFrontendAPI.isDebuggingEnabled): (InspectorFrontendAPI.setDebuggingEnabled): (InspectorFrontendAPI.isJavaScriptProfilingEnabled): (InspectorFrontendAPI.setJavaScriptProfilingEnabled): (InspectorFrontendAPI.isTimelineProfilingEnabled): (InspectorFrontendAPI.setTimelineProfilingEnabled): (InspectorFrontendAPI.isProfilingJavaScript): (InspectorFrontendAPI.startProfilingJavaScript): (InspectorFrontendAPI.stopProfilingJavaScript): (InspectorFrontendAPI.setAttachedWindow):
  • inspector/front-end/ProfileView.js: (WebInspector.CPUProfileType): (WebInspector.CPUProfileType.prototype.isRecordingProfile): (WebInspector.CPUProfileType.prototype.startRecordingProfile): (WebInspector.CPUProfileType.prototype.stopRecordingProfile):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.get profilerEnabled): (WebInspector.ProfilesPanel.prototype.enableProfiler): (WebInspector.ProfilesPanel.prototype.disableProfiler):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.get debuggingEnabled): (WebInspector.ScriptsPanel.prototype.enableDebugging): (WebInspector.ScriptsPanel.prototype.disableDebugging): (WebInspector.ScriptsPanel.prototype.toggleDebugging):
  • inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel.prototype._memoryOverviewItemSelected): (WebInspector.TimelinePanel.prototype.setTimelineProfilingEnabled): (WebInspector.TimelinePanel.prototype.get timelineProfilingEnabled):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
  • inspector/front-end/inspector.js:

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
https://bugs.webkit.org/show_bug.cgi?id=62985

Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
methods for plumbing the menu action handlers through the WebKit and WebCore.
I intend to remove this menu support from the protocol and WebCore/InspectorController API.
I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
WebKit/win and WebKit2 to follow.

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
https://bugs.webkit.org/show_bug.cgi?id=62985

Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
methods for plumbing the menu action handlers through the WebKit and WebCore.
I intend to remove this menu support from the protocol and WebCore/InspectorController API.
I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
WebKit/win and WebKit2 to follow.

  • WebInspector.cpp: (WebInspector::createInstance): (WebInspector::WebInspector): (WebInspector::webViewClosed): (WebInspector::showConsole): (WebInspector::isDebuggingJavaScript): (WebInspector::toggleDebuggingJavaScript): (WebInspector::isProfilingJavaScript): (WebInspector::toggleProfilingJavaScript): (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): (WebInspector::isTimelineProfilingEnabled): (WebInspector::setTimelineProfilingEnabled):
  • WebInspector.h:
  • WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector):
  • WebView.h:
7:28 AM Changeset in webkit [89353] by commit-queue@webkit.org
  • 6 edits in trunk/Source

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89185.
http://trac.webkit.org/changeset/89185
https://bugs.webkit.org/show_bug.cgi?id=63068

For breaking navigation with inspector opened. (Requested by
pfeldman on #webkit).

  • bindings/v8/V8Binding.cpp: (WebCore::enableStringImplCache): (WebCore::getStringCache): (WebCore::cachedStringCallback): (WebCore::v8ExternalStringSlow):
  • bindings/v8/V8Binding.h: (WebCore::v8ExternalString):
  • bindings/v8/V8GCController.cpp: (WebCore::V8GCController::gcPrologue):

2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89185.
http://trac.webkit.org/changeset/89185
https://bugs.webkit.org/show_bug.cgi?id=63068

For breaking navigation with inspector opened. (Requested by
pfeldman on #webkit).

  • src/WebScriptController.cpp: (WebKit::WebScriptController::enableV8SingleThreadMode):
7:16 AM Changeset in webkit [89352] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Stephen White <senorblanco@chromium.org>

Unreviewed.

Skip a test that takes too long on the GPU.

  • platform/chromium/test_expectations.txt:
6:49 AM Changeset in webkit [89351] by senorblanco@chromium.org
  • 1 edit
    3 adds in trunk/LayoutTests

2011-06-20 Stephen White <senorblanco@chromium.org>

Reviewed by James Robinson.

New test for patch introduced in r89250
https://bugs.webkit.org/show_bug.cgi?id=63016

  • fast/canvas/script-tests/text-globalAlpha.js: Added.
  • fast/canvas/text-globalAlpha-expected.txt: Added.
  • fast/canvas/text-globalAlpha.html: Added.
6:25 AM Changeset in webkit [89350] by pfeldman@chromium.org
  • 14 edits in trunk/Source/WebCore

2011-06-21 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: rename editScriptSource to setScriptSource.
https://bugs.webkit.org/show_bug.cgi?id=63059

  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::setScriptSource):
  • bindings/js/ScriptDebugServer.h:
  • bindings/v8/DebuggerScript.js: ():
  • bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::setScriptSource):
  • bindings/v8/ScriptDebugServer.h:
  • inspector/Inspector.json:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setScriptSource):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype.setScriptSource):
  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didReceiveSource): (WebInspector.DebuggerPresentationModel.prototype.setScriptSource): (WebInspector.DebuggerPresentationModelResourceBinding.prototype._setContentWithInitialContent):
  • inspector/front-end/Script.js: (WebInspector.Script.prototype.editSource):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSource):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.editContent): (WebInspector.SourceFrameDelegate.prototype.setScriptSource):
6:00 AM Changeset in webkit [89349] by commit-queue@webkit.org
  • 8 edits
    2 adds in trunk

2011-06-21 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Show content in network panel correctly when two resources were loaded from the same url with different content.
https://bugs.webkit.org/show_bug.cgi?id=62992

  • http/tests/inspector/network/network-cachedresources-with-same-urls.html: Added.
  • http/tests/inspector/network/resources/resource.php:

2011-06-21 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Show content in network panel correctly when two resources were loaded from the same url with different content.
https://bugs.webkit.org/show_bug.cgi?id=62992

Test: http/tests/inspector/network/network-cachedresources-with-same-urls.html

  • inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourceContent):
  • inspector/InspectorPageAgent.h:
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::didReceiveResponse): (WebCore::InspectorResourceAgent::getResourceContent):
  • inspector/NetworkResourcesData.cpp: (WebCore::NetworkResourcesData::addCachedResource):
  • inspector/NetworkResourcesData.h: (WebCore::NetworkResourcesData::ResourceData::cachedResource): (WebCore::NetworkResourcesData::ResourceData::setCachedResource):
5:38 AM Changeset in webkit [89348] by apavlov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-06-21 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Attached state changes do not affect the drawer height
https://bugs.webkit.org/show_bug.cgi?id=63061

5:29 AM Changeset in webkit [89347] by pfeldman@chromium.org
  • 4 edits in trunk/LayoutTests

2011-06-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Pavel Feldman.

Web Inspector: Chromium layout test failure after r89317
https://bugs.webkit.org/show_bug.cgi?id=63031

Event Listener sidebar output prints out the full path
to the source file in the sourceName property. For testing
purposes, since the path will be different per system,
clip the early part of the path and leave the expected part.

  • http/tests/inspector/elements-test.js: (initialize_ElementTest.InspectorTest.dumpSelectedElementEventListeners): (initialize_ElementTest.InspectorTest.dumpObjectPropertySection):
  • platform/chromium/inspector/elements/event-listener-sidebar-expected.txt:
3:30 AM Changeset in webkit [89346] by podivilov@chromium.org
  • 6 edits in trunk

2011-06-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: can't set breakpoint on the last script line.
https://bugs.webkit.org/show_bug.cgi?id=62861

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest):
  • inspector/debugger/debugger-pause-on-breakpoint-expected.txt:
  • inspector/debugger/debugger-pause-on-breakpoint.html:

2011-06-17 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: can't set breakpoint on the last script line.
https://bugs.webkit.org/show_bug.cgi?id=62861

  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
2:58 AM Changeset in webkit [89345] by yurys@chromium.org
  • 15 edits
    3 adds in trunk

2011-06-20 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: console messages shouldn't prevent garbage collection of iframes
https://bugs.webkit.org/show_bug.cgi?id=62996

  • http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt: Added.
  • http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html: Added.
  • http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html: Added.

2011-06-20 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: console messages shouldn't prevent garbage collection of iframes
https://bugs.webkit.org/show_bug.cgi?id=62996

When DOMWindow is detached from its frame run through all console messages and clear
their arguments and ScriptState references. The message text in this case will be
the first argument serialized to string.

Test: http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html

  • bindings/js/ScriptState.cpp: (WebCore::domWindowFromScriptState):
  • bindings/js/ScriptState.h:
  • bindings/v8/ScriptState.cpp: (WebCore::ScriptState::domWindow): (WebCore::domWindowFromScriptState):
  • bindings/v8/ScriptState.h:
  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::windowCleared):
  • inspector/ConsoleMessage.h:
  • inspector/InjectedScriptManager.cpp: (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
  • inspector/InjectedScriptManager.h:
  • inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::domWindowCleared):
  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::pageDestroyedImpl):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::pageDestroyed):
  • page/DOMWindow.cpp: (WebCore::DOMWindow::pageDestroyed):
2:51 AM Changeset in webkit [89344] by mnaganov@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-21 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [Chromium] Fix path finding to window objects.
https://bugs.webkit.org/show_bug.cgi?id=63051

  • inspector/front-end/DetailedHeapshotView.js: (WebInspector.HeapSnapshotRetainingPathsList.prototype._setRootChildrenForFinder):
1:56 AM Changeset in webkit [89343] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-21 Yuta Kitamura <yutak@chromium.org>

Unreviewed, update Chromium test expectations for some flaky tests.

  • platform/chromium/test_expectations.txt:
1:43 AM Changeset in webkit [89342] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-21 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: hovering over linkified nodes
in the UI does not highlight elements on the page.
https://bugs.webkit.org/show_bug.cgi?id=60630

  • inspector/front-end/inspector.js: (WebInspector.wireElementWithDOMNode):
12:10 AM Changeset in webkit [89341] by Csaba Osztrogonác
  • 68 edits
    9 deletes in trunk/LayoutTests

[Qt] Unreviewed rollout r89237, r89238 and part of r89243,
because the original patch r89233 was rolled out by r89320.

Jun 20, 2011:

11:56 PM Changeset in webkit [89340] by yuzo@google.com
  • 2 edits in trunk/Source/WebCore

2011-06-20 Yuzo Fujishima <yuzo@google.com>

Reviewed by Kent Tamura.

Fix for Bug 62975 - Refactor local variable usage in CSSFontFaceSource::getFontData
https://bugs.webkit.org/show_bug.cgi?id=62975

No new tests because no behavioral changes.

  • css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): Remove one of fontData variable.
11:16 PM Changeset in webkit [89339] by yutak@chromium.org
  • 1 edit
    3 adds in trunk/LayoutTests

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed, update expected test results on Chromium Mac-Leopard.

  • platform/chromium-mac-leopard/svg/dom/SVGNumberList-basics-expected.png: Added.
  • platform/chromium-mac-leopard/svg/dom/SVGStringList-basics-expected.png: Added.
11:10 PM Changeset in webkit [89338] by Martin Robinson
  • 17 edits in trunk/LayoutTests

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Rebaseline a few more SVG tests for GTK+.

  • platform/gtk/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
  • platform/gtk/svg/batik/text/textEffect-expected.txt:
  • platform/gtk/svg/batik/text/textEffect3-expected.txt:
  • platform/gtk/svg/batik/text/xmlSpace-expected.txt:
  • platform/gtk/svg/custom/glyph-selection-lang-attribute-expected.txt:
  • platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
  • platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:
  • platform/gtk/svg/text/text-altglyph-01-b-expected.txt:
  • platform/gtk/svg/text/text-text-04-t-expected.txt:
  • platform/gtk/svg/text/text-text-05-t-expected.txt:
  • platform/gtk/svg/text/text-text-06-t-expected.txt:
  • platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
  • platform/gtk/svg/wicd/test-rightsizing-b-expected.txt:
11:07 PM Changeset in webkit [89337] by Martin Robinson
  • 2 edits in trunk/LayoutTests

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Update the GTK+ skipped list.

Unskip some tests which should now be passing and skip a bunch that
were caused by a recent regression. Reclassify one failure that isn't
actually a crasher.

  • platform/gtk/Skipped: Update the skipped list.
11:05 PM Changeset in webkit [89336] by aestes@apple.com
  • 2 edits in trunk/Source/WebCore

2011-06-20 Andy Estes <aestes@apple.com>

Reviewed by Darin Adler.

KURL::protocolIs(const char* protocol) asserts in Debug builds with
valid protocols
https://bugs.webkit.org/show_bug.cgi?id=61572

No new tests. No code currently calls protocolIs() with a protocol that
contains a non-letter character.

  • platform/KURL.cpp: (WebCore::isSchemeCharacterMatchIgnoringCase): A helper function that compares two characters ignoring case. It assumes (and asserts) that both characters are valid scheme characters, and that if the second argument is a letter that it is lowercase. (WebCore::KURL::protocolIs): Call isSchemeCharacterMatchIgnoringCase() instead of isLetterMatchIgnoringCase().
8:57 PM Changeset in webkit [89335] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebKit/efl

2011-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Unreviewed. Fix style error.

  • WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString):
8:54 PM Changeset in webkit [89334] by yutak@chromium.org
  • 4 edits in trunk/LayoutTests

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed. Update Chromium test expectation for inspector/elements/event-listener-sidebar.html
and rebaseline SVG tests changed in r89315.

  • platform/chromium-win/svg/dom/SVGNumberList-basics-expected.png:
  • platform/chromium-win/svg/dom/SVGStringList-basics-expected.png:
  • platform/chromium/test_expectations.txt:
8:32 PM Changeset in webkit [89333] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed. Updated Chromium test expectations to fix ui_test
WorkerTest.WorkerScriptError after WebKit roll to r89329.

  • platform/chromium-win/fast/workers/worker-script-error-expected.txt:
8:00 PM Changeset in webkit [89332] by commit-queue@webkit.org
  • 5 edits in trunk

2011-06-20 Dai Mikurube <dmikurube@chromium.org>

Reviewed by Kent Tamura.

Webkit allows disabled option as value of "required" select
https://bugs.webkit.org/show_bug.cgi?id=62668

  • fast/forms/ValidityState-valueMissing-001-expected.txt:
  • fast/forms/ValidityState-valueMissing-001.html: Changed to generate form validation error for disabled placeholder label option.

2011-06-20 Dai Mikurube <dmikurube@chromium.org>

Reviewed by Kent Tamura.

Webkit allows disabled option as value of "required" select
https://bugs.webkit.org/show_bug.cgi?id=62668

  • html/HTMLSelectElement.cpp: Removed "disabled" checking due to spec change. (WebCore::HTMLSelectElement::hasPlaceholderLabelOption):
7:58 PM Changeset in webkit [89331] by tkent@chromium.org
  • 2 edits
    5 adds in trunk/LayoutTests

2011-06-20 Kent Tamura <tkent@chromium.org>

[Chromium] text expectation update for r89116.

  • platform/chromium-linux/media/media-controls-clone-expected.png: Added.
  • platform/chromium-mac/media/media-controls-clone-expected.png: Added.
  • platform/chromium-mac/media/media-controls-clone-expected.txt: Added.
  • platform/chromium-win/media/media-controls-clone-expected.png: Added.
  • platform/chromium-win/media/media-controls-clone-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
7:23 PM Changeset in webkit [89330] by zmo@google.com
  • 77 edits
    22 adds in trunk

2011-06-20 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Update ANGLE to r696.
https://bugs.webkit.org/show_bug.cgi?id=56396

  • platform/graphics/ANGLEWebKitBridge.cpp: (WebCore::ANGLEWebKitBridge::validateShaderSource): Specify backend.

2011-06-20 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Update ANGLE to r696
https://bugs.webkit.org/show_bug.cgi?id=56396

  • ANGLE.xcodeproj/project.pbxproj:
  • include/EGL/eglext.h:
  • include/GLSLANG/ShaderLang.h:
  • src/build_angle.xcodeproj/project.pbxproj:
  • src/common/debug.cpp: (gl::output): (gl::trace): (gl::perfActive): (gl::ScopedPerfEventHelper::ScopedPerfEventHelper): (gl::ScopedPerfEventHelper::~ScopedPerfEventHelper):
  • src/common/debug.h:
  • src/common/version.h: Added.
  • src/compiler/CodeGenGLSL.cpp: (ConstructCompiler):
  • src/compiler/CodeGenHLSL.cpp: (ConstructCompiler):
  • src/compiler/Compiler.cpp: (TCompiler::compile): (TCompiler::mapLongVariableNames): (TCompiler::getMappedNameMaxLength): (TCompiler::getExtensionBehavior):
  • src/compiler/ConstantUnion.h: (ConstantUnion::operator==): (ConstantUnion::operator>): (ConstantUnion::operator<):
  • src/compiler/ExtensionBehavior.h: (getBehaviorString):
  • src/compiler/ForLoopUnroll.cpp: Added. (ForLoopUnroll::FillLoopIndexInfo): (ForLoopUnroll::Step): (ForLoopUnroll::SatisfiesLoopCondition): (ForLoopUnroll::NeedsToReplaceSymbolWithValue): (ForLoopUnroll::GetLoopIndexValue): (ForLoopUnroll::Push): (ForLoopUnroll::Pop): (ForLoopUnroll::getLoopIncrement): (ForLoopUnroll::evaluateIntConstant):
  • src/compiler/ForLoopUnroll.h: Added. (ForLoopUnroll::ForLoopUnroll):
  • src/compiler/Initialize.cpp: (BuiltInFunctionsVertex):
  • src/compiler/MapLongVariableNames.cpp: Added. (MapLongVariableNames::MapLongVariableNames): (MapLongVariableNames::visitSymbol): (MapLongVariableNames::visitConstantUnion): (MapLongVariableNames::visitBinary): (MapLongVariableNames::visitUnary): (MapLongVariableNames::visitSelection): (MapLongVariableNames::visitAggregate): (MapLongVariableNames::visitLoop): (MapLongVariableNames::visitBranch): (MapLongVariableNames::mapVaryingLongName):
  • src/compiler/MapLongVariableNames.h: Added.
  • src/compiler/OutputESSL.cpp: Added. (TOutputESSL::TOutputESSL): (TOutputESSL::writeVariablePrecision):
  • src/compiler/OutputESSL.h: Added.
  • src/compiler/OutputGLSL.cpp: (TOutputGLSL::TOutputGLSL): (TOutputGLSL::writeVariablePrecision):
  • src/compiler/OutputGLSL.h:
  • src/compiler/OutputGLSLBase.cpp: Added. (TOutputGLSLBase::TOutputGLSLBase): (TOutputGLSLBase::writeTriplet): (TOutputGLSLBase::writeVariableType): (TOutputGLSLBase::writeFunctionParameters): (TOutputGLSLBase::writeConstantUnion): (TOutputGLSLBase::visitSymbol): (TOutputGLSLBase::visitConstantUnion): (TOutputGLSLBase::visitBinary): (TOutputGLSLBase::visitUnary): (TOutputGLSLBase::visitSelection): (TOutputGLSLBase::visitAggregate): (TOutputGLSLBase::visitLoop): (TOutputGLSLBase::visitBranch): (TOutputGLSLBase::visitCodeBlock):
  • src/compiler/OutputGLSLBase.h: Added. (TOutputGLSLBase::objSink):
  • src/compiler/OutputHLSL.cpp: (sh::OutputHLSL::OutputHLSL): (sh::OutputHLSL::header): (sh::OutputHLSL::visitUnary): (sh::OutputHLSL::visitAggregate): (sh::OutputHLSL::visitSelection): (sh::OutputHLSL::visitLoop): (sh::OutputHLSL::visitBranch): (sh::OutputHLSL::handleExcessiveLoop): (sh::OutputHLSL::outputLineDirective):
  • src/compiler/OutputHLSL.h:
  • src/compiler/ParseHelper.cpp: (TParseContext::precisionErrorCheck): (TParseContext::constructorErrorCheck): (TParseContext::nonInitErrorCheck):
  • src/compiler/ParseHelper.h: (TParseContext::TParseContext):
  • src/compiler/ShHandle.h:
  • src/compiler/ShaderLang.cpp: (getVariableInfo): (ShConstructCompiler): (ShGetInfo): (ShGetActiveAttrib): (ShGetActiveUniform):
  • src/compiler/TranslatorESSL.cpp: Added. (TranslatorESSL::TranslatorESSL): (TranslatorESSL::translate): (TranslatorESSL::writeExtensionBehavior):
  • src/compiler/TranslatorESSL.h: Added.
  • src/compiler/ValidateLimitations.cpp: (ValidateLimitations::visitBinary): (ValidateLimitations::visitLoop):
  • src/compiler/ValidateLimitations.h:
  • src/compiler/VariableInfo.cpp: (getVariableInfo): (getBuiltInVariableInfo): (getUserDefinedVariableInfo): (CollectAttribsUniforms::visitAggregate):
  • src/compiler/VariableInfo.h:
  • src/compiler/VersionGLSL.cpp: (TVersionGLSL::visitSymbol): (TVersionGLSL::visitConstantUnion): (TVersionGLSL::visitBinary): (TVersionGLSL::visitUnary): (TVersionGLSL::visitSelection): (TVersionGLSL::visitAggregate): (TVersionGLSL::visitLoop): (TVersionGLSL::visitBranch):
  • src/compiler/VersionGLSL.h:
  • src/compiler/glslang.y:
  • src/compiler/glslang_tab.cpp:
  • src/compiler/glslang_tab.h:
  • src/compiler/intermediate.h: (TIntermLoop::TIntermLoop): (TIntermLoop::setUnrollFlag): (TIntermLoop::getUnrollFlag): (TIntermSymbol::TIntermSymbol): (TIntermSymbol::setId): (TIntermSymbol::setSymbol): (TIntermSymbol::getOriginalSymbol): (TIntermAggregate::TIntermAggregate): (TIntermAggregate::setEndLine): (TIntermAggregate::getEndLine):
  • src/compiler/preprocessor/atom.c: (AddString):
  • src/compiler/preprocessor/compile.h:
  • src/compiler/preprocessor/cpp.c: (CPPelse): (eval): (CPPif): (CPPifdef): (readCPPline): (ChkCorrectElseNesting):
  • src/compiler/preprocessor/cppstruct.c: (ResetPreprocessor):
  • src/compiler/preprocessor/scanner.c: (byte_scan): (yylex_CPP):
  • src/compiler/preprocessor/scanner.h:
  • src/libEGL/Config.cpp: (egl::Config::Config): (egl::Config::set): (egl::ConfigSet::add): (egl::ConfigSet::getConfigs):
  • src/libEGL/Config.h:
  • src/libEGL/Display.cpp: (egl::Display::Display): (egl::Display::initialize): (egl::Display::terminate): (egl::Display::getConfigAttrib): (egl::Display::createDevice): (egl::Display::createWindowSurface): (egl::Display::createOffscreenSurface): (egl::Display::createContext): (egl::Display::destroyContext): (egl::Display::isInitialized): (egl::Display::getAdapterIdentifier): (egl::Display::isDeviceLost): (egl::Display::getBufferPool): (egl::Display::initExtensionString): (egl::Display::getExtensionString): (egl::Display::getVertexTextureSupport): (egl::Display::getNonPower2TextureSupport):
  • src/libEGL/Display.h: (egl::Display::isD3d9ExDevice):
  • src/libEGL/Surface.cpp: (egl::Surface::Surface): (egl::Surface::initialize): (egl::Surface::release): (egl::Surface::resetSwapChain): (egl::SurfaceWindowProc): (egl::Surface::subclassWindow): (egl::Surface::unsubclassWindow): (egl::Surface::swap): (egl::Surface::getRenderTarget): (egl::Surface::getOffscreenTexture): (egl::Surface::getTextureFormat): (egl::Surface::getTextureTarget): (egl::Surface::setBoundTexture): (egl::Surface::getBoundTexture): (egl::Surface::getFormat):
  • src/libEGL/Surface.h: (egl::Surface::getShareHandle):
  • src/libEGL/libEGL.cpp: (validateDisplay): (validateConfig): (validateContext): (validateSurface):
  • src/libEGL/libEGL.rc: Added.
  • src/libEGL/libEGL.vcproj:
  • src/libEGL/main.cpp: (DllMain):
  • src/libEGL/main.h:
  • src/libEGL/resource.h: Added.
  • src/libGLESv2/Blit.cpp: (gl::Blit::initGeometry): (gl::Blit::copy):
  • src/libGLESv2/Blit.h:
  • src/libGLESv2/Buffer.cpp: (gl::Buffer::Buffer): (gl::Buffer::~Buffer): (gl::Buffer::bufferData): (gl::Buffer::bufferSubData): (gl::Buffer::getStaticVertexBuffer): (gl::Buffer::getStaticIndexBuffer): (gl::Buffer::invalidateStaticData): (gl::Buffer::promoteStaticUsage):
  • src/libGLESv2/Buffer.h:
  • src/libGLESv2/Context.cpp: (gl::Context::Context): (gl::Context::~Context): (gl::Context::makeCurrent): (gl::Context::markAllStateDirty): (gl::Context::setActiveSampler): (gl::Context::createFramebuffer): (gl::Context::createFence): (gl::Context::deleteFramebuffer): (gl::Context::deleteFence): (gl::Context::bindTexture2D): (gl::Context::bindTextureCubeMap): (gl::Context::getTexture2D): (gl::Context::getTextureCubeMap): (gl::Context::getSamplerTexture): (gl::Context::getIntegerv): (gl::Context::applyRenderTarget): (gl::Context::applyState): (gl::Context::applyVertexBuffer): (gl::Context::applyShaders): (gl::Context::applyTextures): (gl::Context::readPixels): (gl::Context::clear): (gl::Context::drawArrays): (gl::Context::drawElements): (gl::Context::finish): (gl::Context::flush): (gl::Context::drawClosingLine): (gl::Context::getMaximumVertexTextureImageUnits): (gl::Context::getMaximumCombinedTextureImageUnits): (gl::Context::supportsNonPower2Texture): (gl::Context::detachTexture): (gl::Context::getIncompleteTexture): (gl::Context::initExtensionString): (gl::Context::blitFramebuffer): (gl::VertexDeclarationCache::VertexDeclarationCache): (gl::VertexDeclarationCache::~VertexDeclarationCache): (gl::VertexDeclarationCache::applyDeclaration):
  • src/libGLESv2/Context.h:
  • src/libGLESv2/Framebuffer.cpp: (gl::Framebuffer::lookupRenderbuffer): (gl::Framebuffer::completeness):
  • src/libGLESv2/Framebuffer.h:
  • src/libGLESv2/HandleAllocator.cpp: Added. (gl::HandleAllocator::HandleAllocator): (gl::HandleAllocator::~HandleAllocator): (gl::HandleAllocator::setBaseHandle): (gl::HandleAllocator::allocate): (gl::HandleAllocator::release):
  • src/libGLESv2/HandleAllocator.h: Added.
  • src/libGLESv2/IndexDataManager.cpp: Added. (gl::IndexDataManager::IndexDataManager): (gl::IndexDataManager::~IndexDataManager): (gl::convertIndices): (gl::computeRange): (gl::IndexDataManager::prepareIndexData): (gl::IndexDataManager::indexSize): (gl::IndexDataManager::typeSize): (gl::IndexBuffer::IndexBuffer): (gl::IndexBuffer::~IndexBuffer): (gl::IndexBuffer::getBuffer): (gl::IndexBuffer::unmap): (gl::StreamingIndexBuffer::StreamingIndexBuffer): (gl::StreamingIndexBuffer::~StreamingIndexBuffer): (gl::StreamingIndexBuffer::map): (gl::StreamingIndexBuffer::reserveSpace): (gl::StaticIndexBuffer::StaticIndexBuffer): (gl::StaticIndexBuffer::~StaticIndexBuffer): (gl::StaticIndexBuffer::map): (gl::StaticIndexBuffer::reserveSpace): (gl::StaticIndexBuffer::lookupType): (gl::StaticIndexBuffer::lookupRange): (gl::StaticIndexBuffer::addRange):
  • src/libGLESv2/IndexDataManager.h: Added. (gl::IndexBuffer::size):
  • src/libGLESv2/Program.cpp: (gl::Program::getSemanticIndex): (gl::Program::getSamplerMapping): (gl::Program::getSamplerTextureType): (gl::Program::compileToBinary): (gl::Program::packVaryings): (gl::Program::linkVaryings): (gl::Program::link): (gl::Program::linkUniforms): (gl::Program::defineUniform): (gl::Program::applyUniform1iv): (gl::Program::appendToInfoLogSanitized): (gl::Program::unlink): (gl::Program::getActiveUniformMaxLength): (gl::Program::validate): (gl::Program::validateSamplers):
  • src/libGLESv2/Program.h:
  • src/libGLESv2/Renderbuffer.cpp: (gl::Renderbuffer::getWidth): (gl::Renderbuffer::getHeight): (gl::Renderbuffer::getInternalFormat): (gl::Renderbuffer::getRedSize): (gl::Renderbuffer::getGreenSize): (gl::Renderbuffer::getBlueSize): (gl::Renderbuffer::getAlphaSize): (gl::Renderbuffer::getDepthSize): (gl::Renderbuffer::getStencilSize): (gl::Renderbuffer::getSamples): (gl::RenderbufferStorage::RenderbufferStorage): (gl::RenderbufferStorage::getWidth): (gl::RenderbufferStorage::getHeight): (gl::RenderbufferStorage::getInternalFormat): (gl::RenderbufferStorage::getRedSize): (gl::RenderbufferStorage::getGreenSize): (gl::RenderbufferStorage::getBlueSize): (gl::RenderbufferStorage::getAlphaSize): (gl::RenderbufferStorage::getDepthSize): (gl::RenderbufferStorage::getStencilSize): (gl::RenderbufferStorage::getD3DFormat): (gl::Colorbuffer::Colorbuffer): (gl::Colorbuffer::getWidth): (gl::Colorbuffer::getHeight): (gl::Colorbuffer::getInternalFormat): (gl::Colorbuffer::getType): (gl::Colorbuffer::getD3DFormat): (gl::Colorbuffer::isColorbuffer): (gl::Colorbuffer::getRenderTarget): (gl::DepthStencilbuffer::DepthStencilbuffer): (gl::Depthbuffer::Depthbuffer): (gl::Stencilbuffer::Stencilbuffer):
  • src/libGLESv2/Renderbuffer.h:
  • src/libGLESv2/ResourceManager.cpp: (gl::ResourceManager::createBuffer): (gl::ResourceManager::createShader): (gl::ResourceManager::createProgram): (gl::ResourceManager::createTexture): (gl::ResourceManager::createRenderbuffer): (gl::ResourceManager::deleteBuffer): (gl::ResourceManager::deleteShader): (gl::ResourceManager::deleteProgram): (gl::ResourceManager::deleteTexture): (gl::ResourceManager::deleteRenderbuffer): (gl::ResourceManager::checkTextureAllocation):
  • src/libGLESv2/ResourceManager.h:
  • src/libGLESv2/Shader.cpp: (gl::Shader::Shader): (gl::Shader::compileToHLSL):
  • src/libGLESv2/Shader.h:
  • src/libGLESv2/Texture.cpp: (gl::Texture::Image::Image): (gl::Texture::Image::~Image): (gl::Texture::Image::isRenderable): (gl::Texture::Image::getD3DFormat): (gl::Texture::Texture): (gl::Texture::setMinFilter): (gl::Texture::setMagFilter): (gl::Texture::setWrapS): (gl::Texture::setWrapT): (gl::Texture::loadImageData): (gl::Texture::loadAlphaImageData): (gl::Texture::loadAlphaFloatImageData): (gl::Texture::loadAlphaHalfFloatImageData): (gl::Texture::loadLuminanceImageData): (gl::Texture::loadLuminanceFloatImageData): (gl::Texture::loadLuminanceHalfFloatImageData): (gl::Texture::loadLuminanceAlphaImageData): (gl::Texture::loadLuminanceAlphaFloatImageData): (gl::Texture::loadLuminanceAlphaHalfFloatImageData): (gl::Texture::loadRGBUByteImageData): (gl::Texture::loadRGB565ImageData): (gl::Texture::loadRGBFloatImageData): (gl::Texture::loadRGBHalfFloatImageData): (gl::Texture::loadRGBAUByteImageDataSSE2): (gl::Texture::loadRGBAUByteImageData): (gl::Texture::loadRGBA4444ImageData): (gl::Texture::loadRGBA5551ImageData): (gl::Texture::loadRGBAFloatImageData): (gl::Texture::loadRGBAHalfFloatImageData): (gl::Texture::loadBGRAImageData): (gl::Texture::loadCompressedImageData): (gl::Texture::createSurface): (gl::Texture::setImage): (gl::Texture::setCompressedImage): (gl::Texture::subImage): (gl::Texture::subImageCompressed): (gl::Texture::copyToImage): (gl::Texture::getTexture): (gl::Texture::isDirtyParameter): (gl::Texture::isDirtyImage): (gl::Texture::resetDirty): (gl::Texture::getSerial): (gl::Texture::creationLevels): (gl::Texture::levelCount): (gl::Texture::issueSerial): (gl::Texture2D::Texture2D): (gl::Texture2D::~Texture2D): (gl::Texture2D::getWidth): (gl::Texture2D::getHeight): (gl::Texture2D::getInternalFormat): (gl::Texture2D::getType): (gl::Texture2D::getD3DFormat): (gl::Texture2D::redefineTexture): (gl::Texture2D::setImage): (gl::Texture2D::bindTexImage): (gl::Texture2D::releaseTexImage): (gl::Texture2D::setCompressedImage): (gl::Texture2D::commitRect): (gl::Texture2D::copyImage): (gl::Texture2D::copySubImage): (gl::Texture2D::isComplete): (gl::Texture2D::isCompressed): (gl::Texture2D::getBaseTexture): (gl::Texture2D::createTexture): (gl::Texture2D::updateTexture): (gl::Texture2D::convertToRenderTarget): (gl::Texture2D::generateMipmaps): (gl::Texture2D::getRenderbuffer): (gl::Texture2D::getRenderTarget): (gl::TextureCubeMap::getWidth): (gl::TextureCubeMap::getHeight): (gl::TextureCubeMap::getInternalFormat): (gl::TextureCubeMap::getType): (gl::TextureCubeMap::getD3DFormat): (gl::TextureCubeMap::setImagePosX): (gl::TextureCubeMap::setImageNegX): (gl::TextureCubeMap::setImagePosY): (gl::TextureCubeMap::setImageNegY): (gl::TextureCubeMap::setImagePosZ): (gl::TextureCubeMap::setImageNegZ): (gl::TextureCubeMap::setCompressedImage): (gl::TextureCubeMap::commitRect): (gl::TextureCubeMap::isComplete): (gl::TextureCubeMap::isCompressed): (gl::TextureCubeMap::getBaseTexture): (gl::TextureCubeMap::createTexture): (gl::TextureCubeMap::updateTexture): (gl::TextureCubeMap::convertToRenderTarget): (gl::TextureCubeMap::setImage): (gl::TextureCubeMap::redefineTexture): (gl::TextureCubeMap::copyImage): (gl::TextureCubeMap::getCubeMapSurface): (gl::TextureCubeMap::copySubImage): (gl::TextureCubeMap::generateMipmaps): (gl::TextureCubeMap::getRenderbuffer): (gl::TextureCubeMap::getRenderTarget):
  • src/libGLESv2/Texture.h:
  • src/libGLESv2/VertexDataManager.cpp: Added. (gl::VertexDataManager::VertexDataManager): (gl::VertexDataManager::~VertexDataManager): (gl::VertexDataManager::writeAttributeData): (gl::VertexDataManager::prepareVertexData): (gl::VertexDataManager::spaceRequired): (gl::VertexDataManager::checkVertexCaps): (gl::VertexDataManager::typeIndex): (gl::VertexBuffer::VertexBuffer): (gl::VertexBuffer::~VertexBuffer): (gl::VertexBuffer::unmap): (gl::VertexBuffer::getBuffer): (gl::ConstantVertexBuffer::ConstantVertexBuffer): (gl::ConstantVertexBuffer::~ConstantVertexBuffer): (gl::ArrayVertexBuffer::ArrayVertexBuffer): (gl::ArrayVertexBuffer::~ArrayVertexBuffer): (gl::ArrayVertexBuffer::addRequiredSpace): (gl::ArrayVertexBuffer::addRequiredSpaceFor): (gl::StreamingVertexBuffer::StreamingVertexBuffer): (gl::StreamingVertexBuffer::~StreamingVertexBuffer): (gl::StreamingVertexBuffer::map): (gl::StreamingVertexBuffer::reserveRequiredSpace): (gl::StaticVertexBuffer::StaticVertexBuffer): (gl::StaticVertexBuffer::~StaticVertexBuffer): (gl::StaticVertexBuffer::map): (gl::StaticVertexBuffer::reserveRequiredSpace): (gl::StaticVertexBuffer::lookupAttribute): (gl::VertexDataManager::formatConverter):
  • src/libGLESv2/VertexDataManager.h: Added. (gl::ArrayVertexBuffer::size): (gl::VertexDataManager::dirtyCurrentValue):
  • src/libGLESv2/libGLESv2.cpp: (validImageSize): (Extension::glBindTexImage):
  • src/libGLESv2/libGLESv2.def:
  • src/libGLESv2/libGLESv2.rc: Added.
  • src/libGLESv2/libGLESv2.vcproj:
  • src/libGLESv2/main.cpp: (error):
  • src/libGLESv2/mathutil.h: (gl::clamp): (gl::clamp01): (gl::transformPixelRect): (gl::transformPixelYOffset): (gl::adjustWinding): (gl::supportsSSE2):
  • src/libGLESv2/resource.h: Added.
  • src/libGLESv2/utilities.cpp: (gl::ComputeCompressedPitch): (es2dx::ConvertCubeFace): (es2dx::ConvertPrimitiveType): (es2dx::ConvertRenderbufferFormat): (es2dx::GetMultisampleTypeFromSamples): (dx2es::GetStencilSize): (dx2es::GetAlphaSize): (dx2es::GetRedSize): (dx2es::GetGreenSize): (dx2es::GetBlueSize): (dx2es::GetDepthSize): (getTempPath): (writeFile):
  • src/libGLESv2/utilities.h:
  • src/libGLESv2/vertexconversion.h: Added. (gl::Identity::convert): (gl::Cast::convert): (gl::Normalize::convert): (gl::FixedToFloat::convert): (gl::SimpleDefaultValues::zero): (gl::SimpleDefaultValues::one): (gl::NormalizedDefaultValues::zero): (gl::NormalizedDefaultValues::one): (gl::VertexDataConverter::convertArray): (gl::VertexDataConverter::pointerAddBytes): (gl::VertexDataConverter::copyComponent):

2011-06-20 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Update ANGLE to r696
https://bugs.webkit.org/show_bug.cgi?id=56396

  • fast/canvas/webgl/glsl-conformance.html: Fix a bug in the test (otherwise after the roll this test will fail).
  • platform/chromium/test_expectations.txt: Once this test is fixed, it should pass in chromium.
6:41 PM Changeset in webkit [89329] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed Chromium expectations update. Suppressions after recent commits.

  • platform/chromium/test_expectations.txt:
6:35 PM Changeset in webkit [89328] by eric@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Group load-initiating and stopping functions in FrameLoader.h
https://bugs.webkit.org/show_bug.cgi?id=63030

No function change, thus no tests.

  • loader/FrameLoader.h:
6:33 PM Changeset in webkit [89327] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/efl

2011-06-20 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] ChromeClientEfl doesn't need to check whether m_view is null.
https://bugs.webkit.org/show_bug.cgi?id=62978

Remove unnecessary check routines of m_view because ChromeClientEfl have
valid m_view always.

  • WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::ChromeClientEfl): Add ASSERT(m_view) (WebCore::ChromeClientEfl::windowRect): (WebCore::ChromeClientEfl::setWindowRect): (WebCore::ChromeClientEfl::pageRect):
6:22 PM Changeset in webkit [89326] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-06-20 Sailesh Agrawal <sail@chromium.org>

Reviewed by Mihai Parparita.

[Chromium] Draw search tickmarks on overlay scrollbars
https://bugs.webkit.org/show_bug.cgi?id=62783

This change adds search tickmark support for overlay scrollbars. Tickmarks are only drawn when the scroll track is visible.

  • platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:Split the scrollbar drawing code into a track and knob version.
  • platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm: (wkScrollbarPainterPaint): (wkScrollbarPainterPaintTrack): (wkScrollbarPainterPaintKnob):
  • platform/chromium/ScrollbarThemeChromiumMac.h:
  • platform/chromium/ScrollbarThemeChromiumMac.mm:Factor out the paint tickmark code and call it from the overlay scrollbar drawing code. (WebCore::ScrollbarThemeChromiumMac::paint): (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):
6:07 PM Changeset in webkit [89325] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Adam Barth <abarth@webkit.org>

Mac build fix. In addition to adding the files to the project, we need
to add them to the WebCore target.

  • WebCore.xcodeproj/project.pbxproj:
6:01 PM Changeset in webkit [89324] by abarth@webkit.org
  • 3 edits
    2 adds in trunk/LayoutTests

2011-06-20 Adam Barth <abarth@webkit.org>

Update image results after mpilgrim's exception type change.

  • platform/chromium-linux/svg/dom/SVGNumberList-basics-expected.png:
  • platform/chromium-linux/svg/dom/SVGStringList-basics-expected.png:
  • platform/chromium-mac/svg/dom/SVGNumberList-basics-expected.png: Added.
  • platform/chromium-mac/svg/dom/SVGStringList-basics-expected.png: Added.
6:00 PM Changeset in webkit [89323] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Remove numRequests
https://bugs.webkit.org/show_bug.cgi?id=63028

numRequests exists just to cargo-cult null-check m_frame->document(),
which is always non-null.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): (WebCore::FrameLoader::numPendingOrLoadingRequests):
5:57 PM Changeset in webkit [89322] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

2011-06-20 Alexey Proskuryakov <ap@apple.com>

Reviewed by Darin Adler.

startWordBoundary() in visible_units.cpp assumes that all characters are 16 bit
https://bugs.webkit.org/show_bug.cgi?id=63027

No new tests, because I don't see this affect any webkit.org ports.

  • editing/visible_units.cpp: (WebCore::startWordBoundary): Previous offset is not just minus one - we need to use a proper macro to iterate.
5:36 PM Changeset in webkit [89321] by jcivelli@chromium.org
  • 11 edits
    2 moves in trunk/Source/WebCore

2011-06-20 Jay Civelli <jcivelli@chromium.org>

Reviewed by Adam Barth.

Making SharedBufferCRLFLineReader more generic, so it can be used to read MHTML
file with binary parts.
https://bugs.webkit.org/show_bug.cgi?id=62966

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • loader/archive/mhtml/MHTMLParser.cpp: (WebCore::skipLinesUntilBoundaryFound): (WebCore::MHTMLParser::MHTMLParser): (WebCore::MHTMLParser::parseNextPart):
  • loader/archive/mhtml/MHTMLParser.h:
  • platform/SharedBufferChunkReader.cpp: Renamed from Source/WebCore/platform/SharedBufferCRLFLineReader.cpp. (WebCore::SharedBufferChunkReader::SharedBufferChunkReader): (WebCore::SharedBufferChunkReader::setSeparator): (WebCore::SharedBufferChunkReader::nextChunk):
  • platform/SharedBufferChunkReader.h: Renamed from Source/WebCore/platform/SharedBufferCRLFLineReader.h.
  • platform/network/MIMEHeader.cpp: (WebCore::retrieveKeyValuePairs): (WebCore::MIMEHeader::parseHeader):
  • platform/network/MIMEHeader.h:
5:36 PM Changeset in webkit [89320] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed Chromium expectations update. Revert the expectations
for http/tests/misc/acid3.html after r89233 was rolled out.
Commented on other test expectations added for r89233.

  • platform/chromium/test_expectations.txt:
5:34 PM Changeset in webkit [89319] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] Windowless plugins sometimes crash with a BadMatch error
https://bugs.webkit.org/show_bug.cgi?id=63020

Do not try to create an XPixmap with any of the dimensions as zero.

  • plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::updatePluginWidget): Guard against and empty window rect before trying to create a windowless plugin pixmap.
5:04 PM Changeset in webkit [89318] by tonikitoo@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Antonio Gomes <agomes@rim.com>

Reviewed by Ryosuke Niwa.

Stop adding empty rects in FrameSelection::getClippedVisibleTextRectangles
https://bugs.webkit.org/show_bug.cgi?id=63018

No new tests needed, since it causes no behavioral change.

  • editing/FrameSelection.cpp: (WebCore::FrameSelection::getClippedVisibleTextRectangles):
5:01 PM Changeset in webkit [89317] by Joseph Pecoraro
  • 4 edits
    4 adds in trunk

2011-06-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Pavel Feldman.

Web Inspector: CRASH if Expanding Event Listener on document
https://bugs.webkit.org/show_bug.cgi?id=61834

Add a test to list the event listeners in the sidebar.
This test includes event listeners on the document, and
it expands each of the sections which would have caused
the CRASH fixed by this patch.

  • http/tests/inspector/elements-test.js: (initialize_ElementTest.InspectorTest.expandAndDumpSelectedElementEventListeners): (initialize_ElementTest.InspectorTest.expandSelectedElementEventListeners): (initialize_ElementTest.InspectorTest.expandSelectedElementEventListenersSubsections): (initialize_ElementTest.InspectorTest.expandSelectedElementEventListenersEventBars): (initialize_ElementTest.InspectorTest.dumpSelectedElementEventListeners): (initialize_ElementTest.InspectorTest.dumpObjectPropertySection):
  • inspector/elements/event-listener-sidebar-expected.txt: Added.
  • inspector/elements/event-listener-sidebar.html: Added.
  • platform/chromium/inspector/elements/event-listener-sidebar-expected.txt: Added. Chromium has slightly different results. It has more properties and includes extra information, like line numbers, for functions.

2011-06-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Pavel Feldman.

Web Inspector: CRASH if Expanding Event Listener on document
https://bugs.webkit.org/show_bug.cgi?id=61834

Node::ownerDocument returns null for a document node. So, in
the case of a document node in resolveNode, use Node::document
which returns the node, as a document.

  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::resolveNode):
5:01 PM Changeset in webkit [89316] by Joseph Pecoraro
  • 10 edits
    4 adds in trunk

2011-06-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

Minimize memory due to layer backing stores for pages in the Page Cache
https://bugs.webkit.org/show_bug.cgi?id=62675

Test the layer tree of a page with composited content,
including content in iframes, looks like we expect.
Enabling clearing backing stores in the PageCache should
produce the same expected results.

  • compositing/iframes/page-cache-layer-tree-expected.txt: Added.
  • compositing/iframes/page-cache-layer-tree.html: Added.
  • compositing/iframes/resources/page-cache-helper.html: Added.
  • compositing/iframes/resources/page-cache-iframe.html: Added.

2011-06-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Simon Fraser.

Minimize memory due to layer backing stores for pages in the Page Cache
https://bugs.webkit.org/show_bug.cgi?id=62675

When a page enters the page cache there is now an option on
the PageCache singleton to clear the backing stores and layers
of the cached page. This can be useful to minimize the amount
of memory the stored page consumes.

This only affects memory usage and is disabled by default, so no test.

  • history/CachedFrame.h:
  • history/CachedFrame.cpp: (WebCore::CachedFrameBase::CachedFrameBase): Save whether or not the page had composited content or not in a new instance variable, m_isComposited.

(WebCore::CachedFrameBase::restore):
When restoring, rebuild the compositing tree if it may have
been destroyed.

(WebCore::CachedFrame::CachedFrame):
When saving, clear the backing stores if the page is in
compositing mode, and the PageCache setting is enabled.

  • history/PageCache.cpp: (WebCore::PageCache::PageCache):
  • history/PageCache.h: (WebCore::PageCache::shouldClearBackingStores): (WebCore::PageCache::setShouldClearBackingStores): A setting to opt-in to the new behavior of clearing the backing stores.
  • page/FrameView.h:
  • page/FrameView.cpp: (WebCore::FrameView::clearBackingStores): (WebCore::FrameView::restoreBackingStores): To clear all backing stores we disable compositing for the frame, to detach the root platform layer, and recursively clear backing stores from the root layer of the FrameView.
  • rendering/RenderLayer.h:
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::clearBackingIncludingDescendants): Recursively call clearBacking.
4:54 PM Changeset in webkit [89315] by abarth@webkit.org
  • 30 edits in trunk

2011-06-20 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IDL generator should throw TypeError instead of SyntaxError on not enough arguments
https://bugs.webkit.org/show_bug.cgi?id=63011

To align with WebIDL, we should throw TypeError whenever a function
is called with missing required arguments.

  • fast/canvas/canvas-overloads-drawImageFromRect-expected.txt:
  • fast/canvas/canvas-overloads-fillText-expected.txt:
  • fast/canvas/canvas-overloads-strokeText-expected.txt:
  • fast/canvas/script-tests/canvas-overloads-drawImageFromRect.js:
  • fast/canvas/script-tests/canvas-overloads-fillText.js:
  • fast/canvas/script-tests/canvas-overloads-strokeText.js:
  • fast/canvas/webgl/data-view-test-expected.txt:
  • http/tests/xmlhttprequest/exceptions-expected.txt:
  • platform/chromium-mac/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
  • platform/chromium-win/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
  • svg/dom/SVGAngle-expected.txt:
  • svg/dom/SVGColor-expected.txt:
  • svg/dom/SVGLength-expected.txt:
  • svg/dom/SVGLengthList-basics-expected.txt:
  • svg/dom/SVGMatrix-expected.txt:
  • svg/dom/SVGNumberList-basics-expected.txt:
  • svg/dom/SVGPaint-expected.txt:
  • svg/dom/SVGPoint-expected.txt:
  • svg/dom/SVGPointList-basics-expected.txt:
  • svg/dom/SVGStringList-basics-expected.txt:
  • svg/dom/SVGTransform-expected.txt:
  • svg/dom/SVGTransformList-basics-expected.txt:
  • svg/dom/SVGTransformList-expected.txt:
  • svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:

2011-06-20 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

IDL generator should throw TypeError instead of SyntaxError on not enough arguments
https://bugs.webkit.org/show_bug.cgi?id=63011

To align with WebIDL, we should throw TypeError whenever a function
is called with missing required arguments.

  • bindings/scripts/CodeGeneratorJS.pm:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
4:51 PM Changeset in webkit [89314] by Martin Robinson
  • 27 edits in trunk

2011-05-03 Martin Robinson <mrobinson@igalia.com>

Reviewed by Dirk Schulze.

REGRESSION: [CAIRO] wrong drawing of Gradients and Patterns on texts
https://bugs.webkit.org/show_bug.cgi?id=31507

Unskip a test which is now passing and update pixel results with correct
output.

  • platform/gtk/Skipped:
  • platform/gtk/fast/canvas/canvas-text-alignment-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png:
  • platform/gtk/svg/batik/text/textDecoration-expected.png:
  • platform/gtk/svg/batik/text/textEffect-expected.png:
  • platform/gtk/svg/batik/text/textEffect3-expected.png:
  • platform/gtk/svg/css/composite-shadow-text-expected.png:
  • platform/gtk/svg/css/text-gradient-shadow-expected.png:
  • platform/gtk/svg/custom/js-late-gradient-and-object-creation-expected.png:
  • platform/gtk/svg/custom/js-late-gradient-creation-expected.png:
  • platform/gtk/svg/custom/js-late-pattern-and-object-creation-expected.png:
  • platform/gtk/svg/custom/js-late-pattern-creation-expected.png:
  • platform/gtk/svg/custom/pattern-with-transformation-expected.png:
  • platform/gtk/svg/text/text-align-03-b-expected.png:
  • platform/gtk/svg/transforms/text-with-pattern-with-svg-transform-expected.png:

2011-05-03 Martin Robinson <mrobinson@igalia.com>

Reviewed by Dirk Schulze.

REGRESSION: [CAIRO] wrong drawing of Gradients and Patterns on texts
https://bugs.webkit.org/show_bug.cgi?id=31507

When painting text, be sure to set the pattern fill or gradient before modifying the Cairo
context CTM. This ensures that gradients and patterns are scaled and positioned properly in
the coordinate system of the page. Abstract out the fill preparation to avoid repeating this
logic and perform a bit of cleanup.

  • platform/graphics/cairo/FontCairo.cpp: (WebCore::prepareContextForGlyphDrawing): Now set the x and y position of the text using the glyph offsets. This avoids having to set a transformation matrix when there is no synthetic oblique. (WebCore::drawGlyphsToContext): Add a newline as part of cleanup. Call prepareContextForGlyphDrawing from here and restor the original CTM when exiting. (WebCore::drawGlyphsShadow): Use drawGlyphsToContext here to ensure that all glyph drawing goes through the same path. (WebCore::Font::drawGlyphs): Fix a C-style cast and use the glyph offsets to position the glyphs instead of adjusting the transformation matrix. Use GC::prepareForFilling and GC::prepareForStroking instead of setting up the fill and stroke manually.
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::fillRectWithColor): Renamed fillRectSourceOver to fillRectWithColor to make it clearer why this is different than the slower fill method. Moved the no transparency early return here. (WebCore::drawPathShadow): Instead of calling setPlatformFill, just perform a cheap fill and stroke with red color. Since the shadow is used as a mask, the actual fill shouldn't matter. (WebCore::reduceSourceByAlpha): Added this helper. (WebCore::GraphicsContext::prepareForFilling): Added this method adapted from setPlatformFill, which correctly handles the transformation matrix. (WebCore::GraphicsContext::prepareForStroking): Ditto for stroking. (WebCore::shadowAndFillCurrentCairoPath): Adapted from fillCurrentCairoPath, but renamed to clarify what it does and no uses prepareForFilling. (WebCore::shadowAndStrokeCurrentCairoPath): Ditto for stroking. (WebCore::GraphicsContext::drawRect): Update for new method names. (WebCore::GraphicsContext::drawLine): Ditto. (WebCore::GraphicsContext::fillPath): Ditto. (WebCore::GraphicsContext::strokePath): Ditto. (WebCore::GraphicsContext::fillRect): Ditto. Remove the unnecessary save/restore pair here. (WebCore::GraphicsContext::strokeRect): Update to reflect new method names.
  • platform/graphics/cairo/PlatformContextCairo.cpp: (WebCore::reduceSourceByAlpha): Added this helper. (WebCore::GraphicsContext::prepareForFilling): Added this method adapted from setPlatformFill, which correctly handles the transformation matrix. (WebCore::GraphicsContext::prepareForStroking): Ditto for stroking. (WebCore::reduceSourceByAlpha):
  • platform/graphics/cairo/PlatformContextCairo.h: Added new method declarations.
4:44 PM Changeset in webkit [89313] by commit-queue@webkit.org
  • 3 edits
    5 adds in trunk

2011-06-20 Tim Horton <timothy_horton@apple.com>

Reviewed by Darin Adler.

Incorrect clamping on SVG masks when root element is not located at (0,0)
https://bugs.webkit.org/show_bug.cgi?id=63019

  • platform/mac/svg/custom/absolute-root-position-masking-expected.png: Added.
  • platform/mac/svg/custom/absolute-root-position-masking-expected.txt: Added.
  • platform/qt/svg/custom/absolute-root-position-masking-expected.png: Added.
  • platform/qt/svg/custom/absolute-root-position-masking-expected.txt: Added.
  • svg/custom/absolute-root-position-masking.xhtml: Added.

2011-06-20 Tim Horton <timothy_horton@apple.com>

Reviewed by Darin Adler.

Incorrect clamping on SVG masks when root element is not located at (0,0)
https://bugs.webkit.org/show_bug.cgi?id=63019

We should be using frameRect(), not contentBoxRect() for the rect to
clamp to when creating an SVG mask image.

Test: svg/custom/absolute-root-position-masking.xhtml

  • rendering/svg/SVGImageBufferTools.cpp: (WebCore::SVGImageBufferTools::clampedAbsoluteTargetRectForRenderer):
4:32 PM Changeset in webkit [89312] by abarth@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-06-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove FrameLoader::m_workingURL
https://bugs.webkit.org/show_bug.cgi?id=63021

FrameLoader shouldn't keep the working URL in separate state. It's
just a function of other state. m_workingURL exists only to create
bugs and confusion.

  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::documentURL):
  • loader/DocumentLoader.h:
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): (WebCore::FrameLoader::didOpenURL): (WebCore::FrameLoader::receivedFirstData): (WebCore::FrameLoader::willSetEncoding): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::open): (WebCore::FrameLoader::finishedLoadingDocument):
  • loader/FrameLoader.h:
4:29 PM Changeset in webkit [89311] by kbr@google.com
  • 71 edits
    14 deletes in trunk

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed.

Rolled out r89233 and r89235 because of crashes in http/tests/misc/acid3.html on Snow Leopard and other platforms
https://bugs.webkit.org/show_bug.cgi?id=63022

  • platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
  • platform/mac/svg/batik/text/textEffect-expected.png:
  • platform/mac/svg/batik/text/textEffect-expected.txt:
  • platform/mac/svg/batik/text/textEffect3-expected.png:
  • platform/mac/svg/batik/text/textEffect3-expected.txt:
  • platform/mac/svg/batik/text/xmlSpace-expected.png:
  • platform/mac/svg/batik/text/xmlSpace-expected.txt:
  • platform/mac/svg/custom/glyph-selection-lang-attribute-expected.png:
  • platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt:
  • platform/mac/svg/custom/svg-fonts-fallback-expected.png: Removed.
  • platform/mac/svg/custom/svg-fonts-fallback-expected.txt: Removed.
  • platform/mac/svg/custom/svg-fonts-segmented-expected.png: Removed.
  • platform/mac/svg/custom/svg-fonts-segmented-expected.txt: Removed.
  • platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.png:
  • platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
  • platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.png:
  • platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
  • platform/mac/svg/custom/svg-fonts-word-spacing-expected.png: Removed.
  • platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt: Removed.
  • platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
  • platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
  • platform/mac/svg/foreignObject/text-tref-02-b-expected.png:
  • platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
  • platform/mac/svg/text/text-altglyph-01-b-expected.png:
  • platform/mac/svg/text/text-altglyph-01-b-expected.txt:
  • platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.png: Removed.
  • platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Removed.
  • platform/mac/svg/text/text-text-04-t-expected.png:
  • platform/mac/svg/text/text-text-04-t-expected.txt:
  • platform/mac/svg/text/text-text-05-t-expected.png:
  • platform/mac/svg/text/text-text-05-t-expected.txt:
  • platform/mac/svg/text/text-text-06-t-expected.png:
  • platform/mac/svg/text/text-text-06-t-expected.txt:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.png:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
  • platform/mac/svg/wicd/test-rightsizing-b-expected.png:
  • platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
  • svg/custom/resources/ABCFont.svg:
  • svg/custom/svg-fonts-fallback.xhtml: Removed.
  • svg/custom/svg-fonts-segmented.xhtml: Removed.
  • svg/custom/svg-fonts-word-spacing.html: Removed.
  • svg/text/select-text-svgfont-expected.txt: Removed.
  • svg/text/select-text-svgfont.html: Removed.
  • svg/text/text-overflow-ellipsis-svgfont.html: Removed.

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed.

Rolled out r89233 and r89235 because of crashes in http/tests/misc/acid3.html on Snow Leopard and other platforms
https://bugs.webkit.org/show_bug.cgi?id=63022

  • wtf/Platform.h:

2011-06-20 Kenneth Russell <kbr@google.com>

Unreviewed.

Rolled out r89233 and r89235 because of crashes in http/tests/misc/acid3.html on Snow Leopard and other platforms
https://bugs.webkit.org/show_bug.cgi?id=63022

  • features.pri:
  • page/DOMWindow.idl:
  • platform/graphics/Font.cpp: (WebCore::Font::drawText): (WebCore::Font::drawEmphasisMarks): (WebCore::Font::width): (WebCore::Font::selectionRectForText): (WebCore::Font::offsetForPosition): (WebCore::Font::codePath):
  • platform/graphics/Font.h:
  • platform/graphics/FontFallbackList.h:
  • platform/graphics/FontFastPath.cpp: (WebCore::Font::glyphDataForCharacter): (WebCore::Font::getEmphasisMarkGlyphData): (WebCore::Font::drawGlyphBuffer):
  • platform/graphics/FontMetrics.h:
  • platform/graphics/GlyphPageTreeNode.cpp: (WebCore::fill):
  • platform/graphics/SVGGlyph.h: (WebCore::SVGGlyph::SVGGlyph): (WebCore::SVGGlyph::operator==):
  • platform/graphics/SimpleFontData.cpp: (WebCore::SimpleFontData::SimpleFontData):
  • platform/graphics/SimpleFontData.h: (WebCore::SimpleFontData::widthForGlyph):
  • platform/graphics/TextRun.h:
  • platform/graphics/WidthIterator.cpp: (WebCore::WidthIterator::advance):
  • platform/graphics/WidthIterator.h:
  • platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: (WebCore::scaleEmToUnits):
  • platform/graphics/mac/SimpleFontDataMac.mm: (WebCore::scaleEmToUnits):
  • platform/graphics/win/SimpleFontDataCGWin.cpp: (WebCore::scaleEmToUnits):
  • rendering/svg/SVGTextMetrics.cpp: (WebCore::SVGTextMetrics::SVGTextMetrics): (WebCore::constructTextRun): (WebCore::SVGTextMetrics::measureCharacterRange):
  • rendering/svg/SVGTextMetrics.h:
  • rendering/svg/SVGTextRunRenderingContext.cpp: (WebCore::convertEmUnitToPixel): (WebCore::isVerticalWritingMode): (WebCore::firstParentRendererForNonTextNode): (WebCore::referencingRenderObjectFromRun): (WebCore::SVGTextRunWalker::SVGTextRunWalker): (WebCore::SVGTextRunWalker::walk): (WebCore::floatWidthUsingSVGFontCallback): (WebCore::floatWidthMissingGlyphCallback): (WebCore::floatWidthOfSubStringUsingSVGFont): (WebCore::SVGTextRunRenderingContext::floatWidthUsingSVGFont): (WebCore::drawTextUsingSVGFontCallback): (WebCore::drawTextMissingGlyphCallback): (WebCore::SVGTextRunRenderingContext::drawTextUsingSVGFont): (WebCore::SVGTextRunRenderingContext::selectionRectForTextUsingSVGFont): (WebCore::SVGTextRunRenderingContext::offsetForPositionForTextUsingSVGFont):
  • rendering/svg/SVGTextRunRenderingContext.h:
  • svg/SVGAltGlyphElement.cpp: (WebCore::SVGAltGlyphElement::glyphElement):
  • svg/SVGAltGlyphElement.h:
  • svg/SVGFontData.cpp: (WebCore::SVGFontData::initializeFontData):
  • svg/SVGFontData.h:
  • svg/SVGFontElement.cpp: (WebCore::SVGFontElement::registerLigaturesInGlyphCache): (WebCore::SVGFontElement::ensureGlyphCache):
  • svg/SVGGlyphMap.h: (WebCore::SVGGlyphMap::addGlyphByUnicodeString):
  • svg/svgtags.in:
4:29 PM Changeset in webkit [89310] by Lucas Forschler
  • 5 edits in branches/safari-534-branch/Source

Versioning.

4:27 PM Changeset in webkit [89309] by Lucas Forschler
  • 1 copy in tags/Safari-534.48

New tag.

4:27 PM Changeset in webkit [89308] by Lucas Forschler
  • 1 delete in tags/Safari-534.45/safari-534-branch

removing typo tag.

4:24 PM Changeset in webkit [89307] by Lucas Forschler
  • 1 copy in tags/Safari-534.45/safari-534-branch

New tag.

4:23 PM Changeset in webkit [89306] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-06-20 Dmitry Lomov <dslomov@google.com>

Reviewed by David Levin.

https://bugs.webkit.org/show_bug.cgi?id=63017
"Unit tests" step on bots should provide more information in case of failure.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: added --verbose flag to UnitTests step.
4:16 PM Changeset in webkit [89305] by commit-queue@webkit.org
  • 13 edits
    3 adds in trunk/Source

2011-06-20 Scott Byer <scottbyer@chromium.org>

Reviewed by Adam Barth.

Smooth scrolling for Chromium, initial patch.
https://bugs.webkit.org/show_bug.cgi?id=61878

Add in a default scrolling animator in the platform directory, with a run time enable switch, to provide
animated / smooth scrolling on platforms and for input devices where it's not provided by the platform, and to
be easily configurable to what situatuations the animations are provided for. The smooth scrolling code is
compiled out by default.

Unit tests in chromium/ScrollAnimatorNoneTest.cpp

  • WebCore.gypi:
  • page/FrameView.cpp: (WebCore::FrameView::scrollAnimatorEnabled):
  • page/FrameView.h:
  • page/Settings.cpp: (WebCore::Settings::Settings):
  • page/Settings.h: (WebCore::Settings::setEnableScrollAnimator): (WebCore::Settings::scrollAnimatorEnabled):
  • platform/ScrollAnimatorNone.cpp: Added. (WebCore::ScrollAnimator::create): (WebCore::ScrollAnimatorNone::Parameters::Parameters): (WebCore::ScrollAnimatorNone::PerAxisData::curveAt): (WebCore::ScrollAnimatorNone::PerAxisData::attackCurve): (WebCore::ScrollAnimatorNone::PerAxisData::releaseCurve): (WebCore::ScrollAnimatorNone::PerAxisData::curveDerivativeAt): (WebCore::ScrollAnimatorNone::PerAxisData::PerAxisData): (WebCore::ScrollAnimatorNone::PerAxisData::reset): (WebCore::ScrollAnimatorNone::PerAxisData::updateDataFromParameters): (WebCore::ScrollAnimatorNone::PerAxisData::animateScroll): (WebCore::ScrollAnimatorNone::ScrollAnimatorNone): (WebCore::ScrollAnimatorNone::~ScrollAnimatorNone): (WebCore::ScrollAnimatorNone::scroll): (WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation): (WebCore::ScrollAnimatorNone::animationTimerFired): (WebCore::ScrollAnimatorNone::stopAnimationTimerIfNeeded):
  • platform/ScrollAnimatorNone.h: Added.
  • platform/ScrollableArea.h: (WebCore::ScrollableArea::scrollAnimatorEnabled):

2011-06-20 Scott Byer <scottbyer@chromium.org>

Reviewed by Adam Barth.

Smooth scrolling for Chromium, initial patch.
https://bugs.webkit.org/show_bug.cgi?id=61878

Add in a default scrolling animator in the platform directory, with a run time enable switch, to provide
animated / smooth scrolling on platforms and for input devices where it's not provided by the platform, and to
be easily configurable to what situatuations the animations are provided for. The smooth scrolling code is
compiled out by default.

Unit tests ScrollAnimatorNoneTest.cpp

  • WebKit.gypi:
  • features.gypi:
  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setEnableScrollAnimator):
  • src/WebSettingsImpl.h:
  • tests/ScrollAnimatorNoneTest.cpp: Added. (MockScrollableArea::MockScrollableArea): (MockScrollableArea::scrollAnimatorEnabled): (MockScrollAnimatorNone::MockScrollAnimatorNone): (MockScrollAnimatorNone::currentX): (MockScrollAnimatorNone::currentY): (MockScrollAnimatorNone::reset): (TEST): (ScrollAnimatorNoneTest::ScrollAnimatorNoneTest): (ScrollAnimatorNoneTest::SetUp): (ScrollAnimatorNoneTest::TearDown): (ScrollAnimatorNoneTest::reset): (ScrollAnimatorNoneTest::updateDataFromParameters): (ScrollAnimatorNoneTest::animateScroll): (ScrollAnimatorNoneTest::curveIntegralAt): (ScrollAnimatorNoneTest::attackArea): (ScrollAnimatorNoneTest::releaseArea): (ScrollAnimatorNoneTest::attackCurve): (ScrollAnimatorNoneTest::releaseCurve): (ScrollAnimatorNoneTest::curveDerivativeAt): (ScrollAnimatorNoneTest::curveTestInner): (ScrollAnimatorNoneTest::curveTest): (TEST_F):
4:14 PM Changeset in webkit [89304] by jchaffraix@webkit.org
  • 8 edits in trunk/Source/WebCore

2011-06-20 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Darin Adler.

Remove some unsafe static_cast in rendering/
https://bugs.webkit.org/show_bug.cgi?id=63014

Mechanical refactoring, no test needed.

  • rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::placeBoxesInBlockDirection): (WebCore::InlineFlowBox::computeOverAnnotationAdjustment):
  • rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::getEmphasisMarkPosition):
  • rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::LineBreaker::nextLineBreak):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::destroyScrollbar):
  • rendering/RenderRuby.cpp: (WebCore::rubyBeforeBlock): (WebCore::rubyAfterBlock): (WebCore::lastRubyRun): (WebCore::findRubyRunParent):
  • rendering/RenderRubyBase.cpp: (WebCore::RenderRubyBase::rubyRun):
  • rendering/RenderRubyRun.cpp: (WebCore::RenderRubyRun::removeChild): Use the proper conversion methods at the previous call-sites.
4:11 PM Changeset in webkit [89303] by andersca@apple.com
  • 2 edits in trunk/Source/WebCore

2011-06-20 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Web archive resource loads are scheduled together with network loads
https://bugs.webkit.org/show_bug.cgi?id=63024
<rdar://problem/9508564>

If the resource being loaded is loaded from a web archive we don't need to schedule the load
since it won't touch the network.

  • loader/ResourceLoadScheduler.cpp: (WebCore::ResourceLoadScheduler::scheduleLoad):
4:05 PM Changeset in webkit [89302] by dpranke@chromium.org
  • 2 edits in trunk/Tools

2011-06-20 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: order shards by name, not number of tests
https://bugs.webkit.org/show_bug.cgi?id=62753

  • Scripts/webkitpy/layout_tests/layout_package/manager.py:
4:02 PM Changeset in webkit [89301] by rniwa@webkit.org
  • 4 edits in trunk/LayoutTests

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

Qt Rebaseline for r89257.

  • platform/qt/fast/tokenizer/002-expected.txt:
  • platform/qt/fast/tokenizer/external-script-document-write_2-expected.txt:
  • platform/qt/fast/tokenizer/script_extra_close-expected.txt:
3:45 PM Changeset in webkit [89300] by psolanki@apple.com
  • 8 edits in trunk

2011-06-20 Pratik Solanki <psolanki@apple.com>

Reviewed by David Kilzer.

HTTP pipelining functions on mac should match windows
https://bugs.webkit.org/show_bug.cgi?id=63012

Use a CFURLRequestRef instead of NSURLRequest for the HTTP pipelining functions.

  • platform/mac/WebCoreSystemInterface.h:
  • platform/mac/WebCoreSystemInterface.mm:
  • platform/network/mac/ResourceRequestMac.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): (WebCore::ResourceRequest::doUpdatePlatformRequest):

2011-06-20 Pratik Solanki <psolanki@apple.com>

Reviewed by David Kilzer.

HTTP pipelining functions on mac should match windows
https://bugs.webkit.org/show_bug.cgi?id=63012

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
3:36 PM Changeset in webkit [89299] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

Fix bit flag collision.

  • editing/FrameSelection.h:
3:25 PM Changeset in webkit [89298] by rniwa@webkit.org
  • 4 edits in trunk/Source/WebKit

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

WinCE build fix after r89293.

  • WebCoreSupport/EditorClientWinCE.cpp: (WebKit::EditorClientWinCE::handleEditingKeyboardEvent):

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

EFL build fix after r89293.

  • WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
3:22 PM Changeset in webkit [89297] by Martin Robinson
  • 4 edits in trunk/LayoutTests

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Rebaseline some tests for GTK+ after r89257.

  • platform/gtk/fast/tokenizer/002-expected.txt:
  • platform/gtk/fast/tokenizer/external-script-document-write_2-expected.txt:
  • platform/gtk/fast/tokenizer/script_extra_close-expected.txt:
3:21 PM Changeset in webkit [89296] by jer.noble@apple.com
  • 2 edits in trunk/Source/WebCore

Unreviewed build fix; Fix Leopard WebCore build.

  • platform/mac/WebVideoFullscreenHUDWindowController.mm: On Leopard, NSWindowDelegate

is a category, not a protocol.

3:16 PM Changeset in webkit [89295] by Lucas Forschler
  • 5 edits in branches/safari-534-branch

Merge r89281.

3:13 PM Changeset in webkit [89294] by Martin Robinson
  • 33 edits
    1 add in trunk/LayoutTests

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Rebaseline many SVG tests for GTK+ after r89233 and update the skipped list to include
a new test that relies on the didRunInsecureContent callback. Add a platform-specific
result for fast/dom/Window/window-properties.html as we now have the media stream
feature enabled on the bots.

  • platform/gtk/Skipped: Update the skipped list.
  • platform/gtk/fast/dom/Window/window-properties-expected.txt: Added.
  • platform/gtk/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
  • platform/gtk/svg/batik/text/textEffect-expected.png:
  • platform/gtk/svg/batik/text/textEffect-expected.txt:
  • platform/gtk/svg/batik/text/textEffect3-expected.png:
  • platform/gtk/svg/batik/text/textEffect3-expected.txt:
  • platform/gtk/svg/batik/text/xmlSpace-expected.png:
  • platform/gtk/svg/batik/text/xmlSpace-expected.txt:
  • platform/gtk/svg/custom/glyph-selection-lang-attribute-expected.png:
  • platform/gtk/svg/custom/glyph-selection-lang-attribute-expected.txt:
  • platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.png:
  • platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
  • platform/gtk/svg/foreignObject/text-tref-02-b-expected.png:
  • platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:
  • platform/gtk/svg/text/text-altglyph-01-b-expected.png:
  • platform/gtk/svg/text/text-altglyph-01-b-expected.txt:
  • platform/gtk/svg/text/text-text-04-t-expected.png:
  • platform/gtk/svg/text/text-text-04-t-expected.txt:
  • platform/gtk/svg/text/text-text-05-t-expected.png:
  • platform/gtk/svg/text/text-text-05-t-expected.txt:
  • platform/gtk/svg/text/text-text-06-t-expected.png:
  • platform/gtk/svg/text/text-text-06-t-expected.txt:
  • platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.png:
  • platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
  • platform/gtk/svg/wicd/test-rightsizing-b-expected.png:
  • platform/gtk/svg/wicd/test-rightsizing-b-expected.txt:
  • platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png:
3:03 PM Changeset in webkit [89293] by rniwa@webkit.org
  • 8 edits in trunk/Source/WebCore

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Various editing functions take boolean userTriggered but should be replaced by an enum
https://bugs.webkit.org/show_bug.cgi?id=62933

Replaced boolean userTriggered in many functions by new EUserTriggered enum.

  • WebCore.exp.in: FrameSelection::modify's signature changed.
  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::setSelectedVisiblePositionRange): Calls FrameSelection::moveTo.
  • editing/EditorCommand.cpp: (WebCore::executeMoveBackward): Calls FrameSelection::modify. (WebCore::executeMoveBackwardAndModifySelection): Ditto. (WebCore::executeMoveDown): Ditto. (WebCore::executeMoveDownAndModifySelection): Ditto. (WebCore::executeMoveForward): Ditto. (WebCore::executeMoveForwardAndModifySelection): Ditto. (WebCore::executeMoveLeft): Ditto. (WebCore::executeMoveLeftAndModifySelection): Ditto. (WebCore::executeMovePageDown): Ditto. (WebCore::executeMovePageDownAndModifySelection): Ditto. (WebCore::executeMovePageUp): Ditto. (WebCore::executeMovePageUpAndModifySelection): Ditto. (WebCore::executeMoveRight): Ditto. (WebCore::executeMoveRightAndModifySelection): Ditto. (WebCore::executeMoveToBeginningOfDocument): Ditto. (WebCore::executeMoveToBeginningOfDocumentAndModifySelection): Ditto. (WebCore::executeMoveToBeginningOfLine): Ditto. (WebCore::executeMoveToBeginningOfLineAndModifySelection): Ditto. (WebCore::executeMoveToBeginningOfParagraph): Ditto. (WebCore::executeMoveToBeginningOfParagraphAndModifySelection): Ditto. (WebCore::executeMoveToBeginningOfSentence): Ditto. (WebCore::executeMoveToBeginningOfSentenceAndModifySelection): Ditto. (WebCore::executeMoveToEndOfDocument): Ditto. (WebCore::executeMoveToEndOfDocumentAndModifySelection): Ditto. (WebCore::executeMoveToEndOfSentence): Ditto. (WebCore::executeMoveToEndOfSentenceAndModifySelection): Ditto. (WebCore::executeMoveToEndOfLine): Ditto. (WebCore::executeMoveToEndOfLineAndModifySelection): Ditto. (WebCore::executeMoveToEndOfParagraph): Ditto. (WebCore::executeMoveToEndOfParagraphAndModifySelection): Ditto. (WebCore::executeMoveParagraphBackwardAndModifySelection): Ditto. (WebCore::executeMoveParagraphForwardAndModifySelection): Ditto. (WebCore::executeMoveUp): Ditto. (WebCore::executeMoveUpAndModifySelection): Ditto. (WebCore::executeMoveWordBackward): Ditto. (WebCore::executeMoveWordBackwardAndModifySelection): Ditto. (WebCore::executeMoveWordForward): Ditto. (WebCore::executeMoveWordForwardAndModifySelection): Ditto. (WebCore::executeMoveWordLeft): Ditto. (WebCore::executeMoveWordLeftAndModifySelection): Ditto. (WebCore::executeMoveWordRight): Ditto. (WebCore::executeMoveWordRightAndModifySelection): Ditto. (WebCore::executeMoveToLeftEndOfLine): Ditto. (WebCore::executeMoveToLeftEndOfLineAndModifySelection): Ditto. (WebCore::executeMoveToRightEndOfLine): Ditto. (WebCore::executeMoveToRightEndOfLineAndModifySelection): Ditto.
  • editing/FrameSelection.cpp: (WebCore::FrameSelection::moveTo): Takes EUserTriggered instead of a boolean. (WebCore::FrameSelection::setSelection): Ditto. (WebCore::FrameSelection::modify): Ditto. (WebCore::FrameSelection::setStart): Ditto. (WebCore::FrameSelection::setEnd): Ditto. (WebCore::FrameSelection::setBase): Ditto. (WebCore::FrameSelection::setExtent): Ditto. (WebCore::FrameSelection::selectAll): Ditto. (WebCore::FrameSelection::notifyRendererOfSelectionChange): Ditto.
  • editing/FrameSelection.h: Extracted EUserTriggered out of SetSelectionOption; SetSelectionOptions now takes the union of values of SetSelectionOption and EUserTriggered. (WebCore::FrameSelection::selectionOptionsToUserTriggered): Converts SetSelectionOptions to EUserTriggered.
  • page/DOMSelection.cpp: (WebCore::DOMSelection::modify): Calls FrameSelection::modify.
  • page/EventHandler.cpp: (WebCore::EventHandler::handleMouseReleaseEvent): Ditto. (WebCore::handleKeyboardSelectionMovement): Ditto.
2:56 PM Changeset in webkit [89292] by jer.noble@apple.com
  • 5 edits in trunk/Source/WebCore

Unreviewed build fix; Fix 32-bit build.

Code recently moved from WebKit -> WebCore does not pass WebCore's more strict compiler warnings. Use
CGFloat, and float constants wherever possible, and use narrowPrecisionToFloat() where not.

  • WebCore.xcodeproj/project.pbxproj: Add '-Wno-undef' flag for WebVideoFullScreenController.mm
  • platform/mac/WebVideoFullscreenController.mm:

(constrainFrameToRatioOfFrame): Use CGFloat instead of Double.
(-[WebVideoFullscreenWindow animateFromRect:toRect:withSubAnimation:controllerAction:]): Use float constant.

  • platform/mac/WebVideoFullscreenHUDWindowController.mm:

(-[WebVideoFullscreenHUDWindowController updateVolume]): Use float for volume.
(-[WebVideoFullscreenHUDWindowController maxVolume]): Ditto.
(-[WebVideoFullscreenHUDWindowController volumeChanged:]): Ditto.
(-[WebVideoFullscreenHUDWindowController decrementVolume]): Ditto.
(-[WebVideoFullscreenHUDWindowController incrementVolume]): Ditto.
(-[WebVideoFullscreenHUDWindowController volume]): Ditto.
(-[WebVideoFullscreenHUDWindowController setVolume:]): Ditto.
(timeToString): Narrow precision to float when converting to seconds.

  • platform/mac/WebWindowAnimation.mm:

(scaledRect): Use CGFloat.
(-[WebWindowScaleAnimation init]): Use float constant.
(-[WebWindowScaleAnimation currentValue]): Ditto.
(-[WebWindowScaleAnimation additionalDurationNeededToReachFinalFrame]): Ditto.
(-[WebWindowFadeAnimation currentAlpha]): Ditto.

2:33 PM Changeset in webkit [89291] by levin@chromium.org
  • 4 edits in trunk/LayoutTests

Expand Web Worker test coverage for onerror to have test for url/line numbers.
https://bugs.webkit.org/show_bug.cgi?id=62898

Reviewed by Dmitry Titov.

  • fast/workers/resources/worker-script-error-bubbled.js:

(onerror): Added a check for the url and put the last part in the message.

  • fast/workers/worker-script-error-expected.txt: Update to have the new result.
  • fast/workers/worker-script-error.html: Actually print the message from the worker.
2:30 PM Changeset in webkit [89290] by dpranke@chromium.org
  • 4 edits in trunk/Tools

2011-06-20 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

we should only log the test names to the tests_run.txt files during layout_tests
https://bugs.webkit.org/show_bug.cgi?id=62751

  • Scripts/old-run-webkit-tests:
  • Scripts/webkitpy/layout_tests/layout_package/worker.py:
2:23 PM Changeset in webkit [89289] by eric@webkit.org
  • 6 edits in trunk/Tools

2011-06-20 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

commit-queue/ews-bots should run run-bindings-tests for every patch
https://bugs.webkit.org/show_bug.cgi?id=63010

  • Scripts/webkitpy/common/config/ports.py:
  • Scripts/webkitpy/tool/commands/download_unittest.py:
  • Scripts/webkitpy/tool/steps/runtests.py:
  • Scripts/webkitpy/tool/steps/runtests_unittest.py:
  • Scripts/webkitpy/tool/steps/steps_unittest.py:
2:18 PM Changeset in webkit [89288] by Martin Robinson
  • 3 edits in trunk/Source/WebKit/gtk

2011-06-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] webkit_web_settings_copy does not copy all settings
https://bugs.webkit.org/show_bug.cgi?id=62424

Instead of trying to keep webkit_web_settings_copy up to date with
property additions, create the object copy by dynamically initializing
all webkit_web_settings properties at once.

  • tests/testwebsettings.c: (test_webkit_web_settings_copy): Create a test for webkit_web_settings copy. (main): Run the new test.
  • webkit/webkitwebsettings.cpp: (webkit_web_settings_copy): Dynamically initialize all properties of the copy.
1:53 PM Changeset in webkit [89287] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] [WebKit2] Disable GDK double buffering
https://bugs.webkit.org/show_bug.cgi?id=62770

Explicitly disable GDK double-buffering when instantiating
a WebKit2 view widget. This prevents one extra pixmap copy.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkit_web_view_base_init):
1:27 PM Changeset in webkit [89286] by cevans@google.com
  • 2 edits
    2 copies in branches/chromium/782

Merge 89165
BUG=86502
Review URL: http://codereview.chromium.org/7200036

1:24 PM Changeset in webkit [89285] by andersca@apple.com
  • 2 edits in trunk/Source

Fix broken ChangeLogs.

1:22 PM Changeset in webkit [89284] by kevino@webkit.org
  • 8 edits in trunk/Source/WebKit/wx

Reviewed by Kevin Ollivier.

Make showing the dialog optional, and add handling for Javascript print() calls.

https://bugs.webkit.org/show_bug.cgi?id=63008

1:21 PM Changeset in webkit [89283] by andersca@apple.com
  • 13 edits in trunk/Source

2011-06-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Disallow assigning into PassOwnArrayPtr, PassOwnPtr and PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=62940

Remove clear() and all assignment operators except one which now has a COMPILE_ASSERT.

  • wtf/PassOwnArrayPtr.h: (WTF::PassOwnArrayPtr::operator=):
  • wtf/PassOwnPtr.h: (WTF::PassOwnPtr::operator=):
  • wtf/PassRefPtr.h: (WTF::PassRefPtr::operator=): (WTF::NonNullPassRefPtr::operator=):

2011-06-18 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Disallow assigning into PassOwnArrayPtr, PassOwnPtr and PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=62940

Make sure that we never assign into any already existing PassRefPtr.

  • accessibility/AccessibilityMediaControls.cpp: (WebCore::AccessibilityMediaControl::create): Remove local PassRefPtr variable.
  • dom/Document.cpp: (WebCore::Document::setBody): Rename the PassRefPtr parameter and create a RefPtr variable.

(WebCore::Document::setFocusedNode):
Ditto.

  • editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::removeInlineStyle): There's no reason to use a PassRefPtr here. Use a RefPtr, and don't initialize it since it's implicitly initialized.
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::prune): Rename the PassRefPtr parameter and create a RefPtr variable.
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::insertAsListItems): Ditto.
  • editing/htmlediting.cpp: (WebCore::createTabSpanElement): Ditto.
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setStrokeStyle): (WebCore::CanvasRenderingContext2D::setFillStyle): Ditto.
  • platform/network/mac/FormDataStreamMac.mm: (WebCore::formFinalize): Ditto.

(WebCore::setHTTPBody):
Use an OwnPtr instead of explicitly deleting the form variable.

1:12 PM Changeset in webkit [89282] by Martin Robinson
  • 4 edits in trunk/Source/WebKit/gtk

2011-06-20 Martin Robinson <mrobinson@igalia.com>

Reviewed by Eric Seidel.

[GTK] Clean up unecessary boilerplate from WebKitWebSettings and make private members meet WebKit style guidelines
https://bugs.webkit.org/show_bug.cgi?id=61972

Rename all private members of WebKitWebSettings to meet WebKit style guidelines and
put the private struct definition in webkitwebsettingsprivate.h so it can be
accessed from webkitwebview.cpp. This cuts down on the boilerplate immensely.

  • webkit/webkitwebsettings.cpp: Rename private members to meet WebKit style guidelines and allocate the private section with new/delete. This allows for using CString and removes the need for manual string memory management.
  • webkit/webkitwebsettingsprivate.h: Move the private struct definition here.
  • webkit/webkitwebview.cpp: Update to reflect new struct names. Remove boilerplate and other very small code cleanups.
12:46 PM Changeset in webkit [89281] by oliver@apple.com
  • 5 edits in trunk

2011-06-20 Oliver Hunt <oliver@apple.com>

Reviewed by Darin Adler.

REGRESSION (r79060): Searching for a flight at united.com fails
https://bugs.webkit.org/show_bug.cgi?id=63003

Roll out tests that were added by the patch we're rolling out, and add
a test for the united.com Date.

  • fast/js/date-parse-test-expected.txt:
  • fast/js/script-tests/date-parse-test.js:

2011-06-20 Oliver Hunt <oliver@apple.com>

Reviewed by Darin Adler.

REGRESSION (r79060): Searching for a flight at united.com fails
https://bugs.webkit.org/show_bug.cgi?id=63003

This original change also broke Twitter, and we attempted to refine the fix to
address that problem (http://trac.webkit.org/changeset/80542), but since it still breaks United,
we need to revert the change until we understand the problem better.

  • wtf/DateMath.cpp: (WTF::parseDateFromNullTerminatedCharacters):
12:45 PM Changeset in webkit [89280] by Martin Robinson
  • 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebCore

Merging r89248

12:43 PM Changeset in webkit [89279] by Martin Robinson
  • 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebCore

Merging r85181

12:41 PM Changeset in webkit [89278] by Martin Robinson
  • 2 edits in releases/WebKitGTK/webkit-1.4/Source/JavaScriptCore

Merging r86957

12:39 PM Changeset in webkit [89277] by Martin Robinson
  • 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebKit/gtk

Merging r88240

12:38 PM Changeset in webkit [89276] by Martin Robinson
  • 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebCore

Merging r82344

12:37 PM Changeset in webkit [89275] by jamesr@google.com
  • 4 edits
    3 copies in branches/chromium/782

Merge 88386 - 2011-06-08 John Bauman <jbauman@chromium.org>

Reviewed by James Robinson.

Only draw portions of tiles in contentRect
https://bugs.webkit.org/show_bug.cgi?id=62243

  • platform/chromium/test_expectations.txt:
  • compositing/repaint/shrink-layer.html: Added.
  • compositing/repaint/shrink-layer-expected.png: Added.
  • compositing/repaint/shrink-layer-expected.txt: Added.

2011-06-08 John Bauman <jbauman@chromium.org>

Reviewed by James Robinson.

Only draw portions of tiles in contentRect
https://bugs.webkit.org/show_bug.cgi?id=62243

Old garbage data can remain in tiles, so make sure to draw only those
portions that are supposed to be drawn.

Test: compositing/repaint/shrink-layer.html

  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::draw):

BUG=84901
TBR=jamesr@google.com
Review URL: http://codereview.chromium.org/7210023

12:36 PM Changeset in webkit [89274] by kevino@webkit.org
  • 2 edits in trunk/Source/WebKit/wx

[wx] Unreviewed build fix after method rename.

12:35 PM Changeset in webkit [89273] by commit-queue@webkit.org
  • 3 edits
    21 adds in trunk

2011-06-20 Alex Milowski <alex@milowski.com>

Reviewed by Darin Adler.

New tests for scripting changes to DOM for msub, msup, msubsup.
https://bugs.webkit.org/show_bug.cgi?id=62098

  • mathml/presentation/msub-base-changed.xhtml: Added.
  • mathml/presentation/msub-sub-changed.xhtml: Added.
  • mathml/presentation/msubsup-base-changed.xhtml: Added.
  • mathml/presentation/msubsup-sub-changed.xhtml: Added.
  • mathml/presentation/msubsup-sup-changed.xhtml: Added.
  • mathml/presentation/msup-base-changed.xhtml: Added.
  • mathml/presentation/msup-sup-changed.xhtml: Added.
  • platform/mac/mathml/presentation/msub-base-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msub-base-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msub-sub-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msub-sub-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msubsup-base-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msubsup-base-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msubsup-sub-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msubsup-sub-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msubsup-sup-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msubsup-sup-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msup-base-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msup-base-changed-expected.txt: Added.
  • platform/mac/mathml/presentation/msup-sup-changed-expected.png: Added.
  • platform/mac/mathml/presentation/msup-sup-changed-expected.txt: Added.

2011-06-20 Alex Milowski <alex@milowski.com>

Reviewed by Darin Adler.

This patch addresses handling wrapping of child properly to maintain the layout regardless of whether
this is the initial build of the render tree or the result of DOM manipulation.
https://bugs.webkit.org/show_bug.cgi?id=62098

Tests: mathml/presentation/msub-base-changed.xhtml

mathml/presentation/msub-sub-changed.xhtml
mathml/presentation/msubsup-base-changed.xhtml
mathml/presentation/msubsup-sub-changed.xhtml
mathml/presentation/msubsup-sup-changed.xhtml
mathml/presentation/msup-base-changed.xhtml
mathml/presentation/msup-sup-changed.xhtml

  • rendering/mathml/RenderMathMLSubSup.cpp: (WebCore::RenderMathMLSubSup::addChild): (WebCore::RenderMathMLSubSup::stretchToHeight): (WebCore::RenderMathMLSubSup::baselinePosition):
12:29 PM Changeset in webkit [89272] by Martin Robinson
  • 6 edits in releases/WebKitGTK/webkit-1.4

Merging r82599

12:29 PM Changeset in webkit [89271] by jer.noble@apple.com
  • 11 edits
    6 moves in trunk/Source

2011-06-01 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

Move Full Screen Controllers into WebCore.

Remove dependency on QTKit from wekitExitFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=61843

No new tests; the existing media full screen tests are sufficient.

  • WebCore.exp.in: Add new exports.
  • WebCore.xcodeproj/project.pbxproj: Add references to moved files.
  • platform/mac/WebCoreSystemInterface.h: Add new WCSI interfaces to WKSI functions.
  • platform/mac/WebCoreSystemInterface.mm:
  • platform/mac/WebVideoFullscreenController.h: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenController.h.
  • platform/mac/WebVideoFullscreenController.mm: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenController.mm.

The following functions have had UNUSED_PARAM added:
(-[WebVideoFullscreenController applicationDidResignActive:]):
(-[WebVideoFullscreenController applicationDidChangeScreenParameters:]):
(-[WebVideoFullscreenWindow mouseMoved:]):

Source/WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.h.

  • platform/mac/WebVideoFullscreenHUDWindowController.mm: Renamed from Source/WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.mm.

The following functions have had UNUSED_PARAM added:
(-[WebVideoFullscreenHUDWindow cancelOperation:]):
(-[WebVideoFullscreenHUDWindowController timelinePositionChanged:]):
(-[WebVideoFullscreenHUDWindowController setVolumeToZero:]):
(-[WebVideoFullscreenHUDWindowController setVolumeToMaximum:]):
(-[WebVideoFullscreenHUDWindowController togglePlaying:]):
(-[WebVideoFullscreenHUDWindowController mouseEntered:]):
(-[WebVideoFullscreenHUDWindowController mouseExited:]):
(-[WebVideoFullscreenHUDWindowController rewind:]):
(-[WebVideoFullscreenHUDWindowController fastForward:]):
(-[WebVideoFullscreenHUDWindowController windowDidExpose:]):
(-[WebVideoFullscreenHUDWindowController windowDidClose:]):

The following functions have had WKSI calls converted to WCSI ones:
(createControlWithMediaUIControlType):
(createTimeTextField):

  • platform/mac/WebWindowAnimation.h: Renamed from Source/WebKit/mac/WebView/WebWindowAnimation.h.
  • platform/mac/WebWindowAnimation.mm: Renamed from Source/WebKit/mac/WebView/WebWindowAnimation.m. (WebWindowAnimationDurationFromDuration):

The following functions have had WKSI calls converted to WCSI ones:
(-[WebWindowScaleAnimation setCurrentProgress:]):
(-[WebWindowFadeAnimation initWithDuration:window:initialAlpha:finalAlpha:]):

2011-06-01 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

Move Full Screen Controllers into WebCore.

Remove dependency on QTKit from wekitExitFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=61843

WebVideoFullscreenController, WebVideoFullscreenHUDController, and WebWindowAnimation
have been moved into WebCore.

  • WebKit.xcodeproj/project.pbxproj:

2011-06-01 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

Move Full Screen Controllers into WebCore.

Remove dependency on QTKit from wekitExitFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=61843

WebVideoFullscreenController, WebVideoFullscreenHUDController, and WebWindowAnimation
have been moved into WebCore.

  • WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Add support for four WKSI functions in WCSI.
  • WebView/WebFullScreenController.mm: Remove unused #include.
  • WebView/WebView.mm: Change the include location of

WebVideoFullscreenController.h

12:25 PM Changeset in webkit [89270] by commit-queue@webkit.org
  • 5 edits in trunk

2011-06-20 Chang Shu <cshu@webkit.org>

Reviewed by Adam Barth.

fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code tests fail when showModalDialog isn't supported
https://bugs.webkit.org/show_bug.cgi?id=53676

  • platform/mac-wk2/Skipped:
  • platform/qt-wk2/Skipped:

2011-06-20 Chang Shu <cshu@webkit.org>

Reviewed by Adam Barth.

fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code tests fail when showModalDialog isn't supported
https://bugs.webkit.org/show_bug.cgi?id=53676

  • WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
12:22 PM Changeset in webkit [89269] by commit-queue@webkit.org
  • 307 edits in trunk/Source/WebCore

2011-06-20 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Adam Barth.

Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
https://bugs.webkit.org/show_bug.cgi?id=62904

After bug 62750, there are many IDL files that contain the new
LegacyDefaultOptionalArguments flag that don't actually need it.
Some examples:

  • the IDL file contains no functions
  • the IDL file contains only functions with no arguments
  • the IDL file contains functions, *all* of which use the [RequiresAllArguments=raise] extended attribute

This patch simplifies such IDL files by removing the
LegacyDefaultOptionalArguments flag and (if needed) removing the
[RequiresAllArguments=raise] extended attribute from each function
declaration. This patch does not make any required arguments optional
or any optional arguments required. It changes no behavior at all.

No new tests needed, all existing tests pass.

  • bindings/scripts/CodeGeneratorJS.pm:
  • bindings/scripts/test/TestInterface.idl:
  • bindings/scripts/test/TestSerializedScriptValueInterface.idl:
  • css/CSSCharsetRule.idl:
  • css/CSSFontFaceRule.idl:
  • css/CSSImportRule.idl:
  • css/CSSPageRule.idl:
  • css/CSSRule.idl:
  • css/CSSStyleRule.idl:
  • css/CSSUnknownRule.idl:
  • css/CSSValue.idl:
  • css/Counter.idl:
  • css/RGBColor.idl:
  • css/Rect.idl:
  • css/StyleSheet.idl:
  • css/WebKitCSSKeyframeRule.idl:
  • css/WebKitCSSTransformValue.idl:
  • dom/Attr.idl:
  • dom/CDATASection.idl:
  • dom/ClientRect.idl:
  • dom/Comment.idl:
  • dom/DOMCoreException.idl:
  • dom/DOMStringMap.idl:
  • dom/DocumentType.idl:
  • dom/Entity.idl:
  • dom/EntityReference.idl:
  • dom/EventException.idl:
  • dom/GeneratedStream.idl:
  • dom/MessageChannel.idl:
  • dom/NodeIterator.idl:
  • dom/Notation.idl:
  • dom/ProcessingInstruction.idl:
  • dom/RangeException.idl:
  • dom/Touch.idl:
  • dom/TreeWalker.idl:
  • fileapi/DOMFileSystem.idl:
  • fileapi/DOMFileSystemSync.idl:
  • fileapi/DirectoryReaderSync.idl:
  • fileapi/File.idl:
  • fileapi/FileEntrySync.idl:
  • fileapi/FileError.idl:
  • fileapi/FileException.idl:
  • fileapi/Metadata.idl:
  • fileapi/OperationNotAllowedException.idl:
  • fileapi/WebKitFlags.idl:
  • html/DOMSettableTokenList.idl:
  • html/HTMLAppletElement.idl:
  • html/HTMLAreaElement.idl:
  • html/HTMLBRElement.idl:
  • html/HTMLBaseElement.idl:
  • html/HTMLBaseFontElement.idl:
  • html/HTMLBlockquoteElement.idl:
  • html/HTMLBodyElement.idl:
  • html/HTMLDListElement.idl:
  • html/HTMLDataListElement.idl:
  • html/HTMLDetailsElement.idl:
  • html/HTMLDirectoryElement.idl:
  • html/HTMLEmbedElement.idl:
  • html/HTMLFontElement.idl:
  • html/HTMLFormElement.idl:
  • html/HTMLFrameElement.idl:
  • html/HTMLFrameSetElement.idl:
  • html/HTMLHRElement.idl:
  • html/HTMLHeadElement.idl:
  • html/HTMLHeadingElement.idl:
  • html/HTMLHtmlElement.idl:
  • html/HTMLIFrameElement.idl:
  • html/HTMLImageElement.idl:
  • html/HTMLIsIndexElement.idl:
  • html/HTMLLIElement.idl:
  • html/HTMLLabelElement.idl:
  • html/HTMLLegendElement.idl:
  • html/HTMLLinkElement.idl:
  • html/HTMLMapElement.idl:
  • html/HTMLMarqueeElement.idl:
  • html/HTMLMenuElement.idl:
  • html/HTMLMetaElement.idl:
  • html/HTMLMeterElement.idl:
  • html/HTMLModElement.idl:
  • html/HTMLOListElement.idl:
  • html/HTMLOptGroupElement.idl:
  • html/HTMLOptionElement.idl:
  • html/HTMLParagraphElement.idl:
  • html/HTMLParamElement.idl:
  • html/HTMLPreElement.idl:
  • html/HTMLProgressElement.idl:
  • html/HTMLQuoteElement.idl:
  • html/HTMLScriptElement.idl:
  • html/HTMLSourceElement.idl:
  • html/HTMLStyleElement.idl:
  • html/HTMLTableCaptionElement.idl:
  • html/HTMLTableCellElement.idl:
  • html/HTMLTableColElement.idl:
  • html/HTMLTitleElement.idl:
  • html/HTMLTrackElement.idl:
  • html/HTMLUListElement.idl:
  • html/ImageData.idl:
  • html/MediaError.idl:
  • html/SpellcheckRange.idl:
  • html/TextMetrics.idl:
  • html/ValidityState.idl:
  • html/VoidCallback.idl:
  • html/canvas/ArrayBuffer.idl:
  • html/canvas/ArrayBufferView.idl:
  • html/canvas/CanvasPattern.idl:
  • html/canvas/CanvasPixelArray.idl:
  • html/canvas/CanvasRenderingContext.idl:
  • html/canvas/DataView.idl:
  • html/canvas/OESStandardDerivatives.idl:
  • html/canvas/OESTextureFloat.idl:
  • html/canvas/WebGLActiveInfo.idl:
  • html/canvas/WebGLBuffer.idl:
  • html/canvas/WebGLContextAttributes.idl:
  • html/canvas/WebGLFramebuffer.idl:
  • html/canvas/WebGLProgram.idl:
  • html/canvas/WebGLRenderbuffer.idl:
  • html/canvas/WebGLShader.idl:
  • html/canvas/WebGLTexture.idl:
  • html/canvas/WebGLUniformLocation.idl:
  • html/canvas/WebGLVertexArrayObjectOES.idl:
  • html/canvas/WebKitLoseContext.idl:
  • inspector/ScriptProfile.idl:
  • inspector/ScriptProfileNode.idl:
  • page/AbstractView.idl:
  • page/BarInfo.idl:
  • page/Coordinates.idl:
  • page/Geoposition.idl:
  • page/MemoryInfo.idl:
  • page/NavigatorUserMediaError.idl:
  • page/Performance.idl:
  • page/PerformanceNavigation.idl:
  • page/PerformanceTiming.idl:
  • page/PositionError.idl:
  • page/Screen.idl:
  • page/SpeechInputEvent.idl:
  • page/SpeechInputResult.idl:
  • page/WebKitAnimation.idl:
  • page/WebKitPoint.idl:
  • page/WorkerNavigator.idl:
  • plugins/DOMMimeType.idl:
  • storage/Database.idl:
  • storage/DatabaseSync.idl:
  • storage/IDBAny.idl:
  • storage/IDBCursorWithValue.idl:
  • storage/IDBDatabaseError.idl:
  • storage/IDBDatabaseException.idl:
  • storage/IDBKey.idl:
  • storage/IDBVersionChangeEvent.idl:
  • storage/IDBVersionChangeRequest.idl:
  • storage/SQLError.idl:
  • storage/SQLException.idl:
  • storage/SQLResultSet.idl:
  • svg/SVGAElement.idl:
  • svg/SVGAltGlyphElement.idl:
  • svg/SVGAngle.idl:
  • svg/SVGAnimateColorElement.idl:
  • svg/SVGAnimateElement.idl:
  • svg/SVGAnimateMotionElement.idl:
  • svg/SVGAnimateTransformElement.idl:
  • svg/SVGAnimatedAngle.idl:
  • svg/SVGAnimatedBoolean.idl:
  • svg/SVGAnimatedEnumeration.idl:
  • svg/SVGAnimatedInteger.idl:
  • svg/SVGAnimatedLength.idl:
  • svg/SVGAnimatedLengthList.idl:
  • svg/SVGAnimatedNumber.idl:
  • svg/SVGAnimatedNumberList.idl:
  • svg/SVGAnimatedPreserveAspectRatio.idl:
  • svg/SVGAnimatedRect.idl:
  • svg/SVGAnimatedString.idl:
  • svg/SVGAnimatedTransformList.idl:
  • svg/SVGCircleElement.idl:
  • svg/SVGClipPathElement.idl:
  • svg/SVGColor.idl:
  • svg/SVGComponentTransferFunctionElement.idl:
  • svg/SVGCursorElement.idl:
  • svg/SVGDefsElement.idl:
  • svg/SVGDescElement.idl:
  • svg/SVGElement.idl:
  • svg/SVGEllipseElement.idl:
  • svg/SVGExternalResourcesRequired.idl:
  • svg/SVGFEBlendElement.idl:
  • svg/SVGFEColorMatrixElement.idl:
  • svg/SVGFEComponentTransferElement.idl:
  • svg/SVGFECompositeElement.idl:
  • svg/SVGFEConvolveMatrixElement.idl:
  • svg/SVGFEDiffuseLightingElement.idl:
  • svg/SVGFEDisplacementMapElement.idl:
  • svg/SVGFEDistantLightElement.idl:
  • svg/SVGFEFloodElement.idl:
  • svg/SVGFEFuncAElement.idl:
  • svg/SVGFEFuncBElement.idl:
  • svg/SVGFEFuncGElement.idl:
  • svg/SVGFEFuncRElement.idl:
  • svg/SVGFEImageElement.idl:
  • svg/SVGFEMergeElement.idl:
  • svg/SVGFEMergeNodeElement.idl:
  • svg/SVGFEOffsetElement.idl:
  • svg/SVGFEPointLightElement.idl:
  • svg/SVGFESpecularLightingElement.idl:
  • svg/SVGFESpotLightElement.idl:
  • svg/SVGFETileElement.idl:
  • svg/SVGFETurbulenceElement.idl:
  • svg/SVGFilterPrimitiveStandardAttributes.idl:
  • svg/SVGFitToViewBox.idl:
  • svg/SVGFontElement.idl:
  • svg/SVGFontFaceElement.idl:
  • svg/SVGFontFaceFormatElement.idl:
  • svg/SVGFontFaceNameElement.idl:
  • svg/SVGFontFaceSrcElement.idl:
  • svg/SVGFontFaceUriElement.idl:
  • svg/SVGForeignObjectElement.idl:
  • svg/SVGGElement.idl:
  • svg/SVGGlyphElement.idl:
  • svg/SVGGradientElement.idl:
  • svg/SVGHKernElement.idl:
  • svg/SVGImageElement.idl:
  • svg/SVGLangSpace.idl:
  • svg/SVGLength.idl:
  • svg/SVGLengthList.idl:
  • svg/SVGLineElement.idl:
  • svg/SVGLinearGradientElement.idl:
  • svg/SVGMPathElement.idl:
  • svg/SVGMaskElement.idl:
  • svg/SVGMatrix.idl:
  • svg/SVGMetadataElement.idl:
  • svg/SVGMissingGlyphElement.idl:
  • svg/SVGNumber.idl:
  • svg/SVGNumberList.idl:
  • svg/SVGPaint.idl:
  • svg/SVGPathSeg.idl:
  • svg/SVGPathSegArcAbs.idl:
  • svg/SVGPathSegArcRel.idl:
  • svg/SVGPathSegClosePath.idl:
  • svg/SVGPathSegCurvetoCubicAbs.idl:
  • svg/SVGPathSegCurvetoCubicRel.idl:
  • svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
  • svg/SVGPathSegCurvetoCubicSmoothRel.idl:
  • svg/SVGPathSegCurvetoQuadraticAbs.idl:
  • svg/SVGPathSegCurvetoQuadraticRel.idl:
  • svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
  • svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
  • svg/SVGPathSegLinetoAbs.idl:
  • svg/SVGPathSegLinetoHorizontalAbs.idl:
  • svg/SVGPathSegLinetoHorizontalRel.idl:
  • svg/SVGPathSegLinetoRel.idl:
  • svg/SVGPathSegLinetoVerticalAbs.idl:
  • svg/SVGPathSegLinetoVerticalRel.idl:
  • svg/SVGPathSegList.idl:
  • svg/SVGPathSegMovetoAbs.idl:
  • svg/SVGPathSegMovetoRel.idl:
  • svg/SVGPatternElement.idl:
  • svg/SVGPoint.idl:
  • svg/SVGPointList.idl:
  • svg/SVGPolygonElement.idl:
  • svg/SVGPolylineElement.idl:
  • svg/SVGPreserveAspectRatio.idl:
  • svg/SVGRadialGradientElement.idl:
  • svg/SVGRect.idl:
  • svg/SVGRectElement.idl:
  • svg/SVGRenderingIntent.idl:
  • svg/SVGScriptElement.idl:
  • svg/SVGSetElement.idl:
  • svg/SVGStopElement.idl:
  • svg/SVGStringList.idl:
  • svg/SVGSwitchElement.idl:
  • svg/SVGSymbolElement.idl:
  • svg/SVGTRefElement.idl:
  • svg/SVGTSpanElement.idl:
  • svg/SVGTextElement.idl:
  • svg/SVGTextPathElement.idl:
  • svg/SVGTextPositioningElement.idl:
  • svg/SVGTitleElement.idl:
  • svg/SVGTransform.idl:
  • svg/SVGTransformList.idl:
  • svg/SVGTransformable.idl:
  • svg/SVGURIReference.idl:
  • svg/SVGUnitTypes.idl:
  • svg/SVGUseElement.idl:
  • svg/SVGVKernElement.idl:
  • svg/SVGViewElement.idl:
  • svg/SVGViewSpec.idl:
  • svg/SVGZoomAndPan.idl:
  • svg/SVGZoomEvent.idl:
  • testing/Internals.idl:
  • webaudio/AudioChannelMerger.idl:
  • webaudio/AudioChannelSplitter.idl:
  • webaudio/AudioDestinationNode.idl:
  • webaudio/AudioGain.idl:
  • webaudio/AudioGainNode.idl:
  • webaudio/AudioProcessingEvent.idl:
  • webaudio/AudioSourceNode.idl:
  • webaudio/BiquadFilterNode.idl:
  • webaudio/ConvolverNode.idl:
  • webaudio/DelayNode.idl:
  • webaudio/DynamicsCompressorNode.idl:
  • webaudio/HighPass2FilterNode.idl:
  • webaudio/JavaScriptAudioNode.idl:
  • webaudio/LowPass2FilterNode.idl:
  • webaudio/OfflineAudioCompletionEvent.idl:
  • workers/SharedWorker.idl:
  • workers/SharedWorkerContext.idl:
  • workers/WorkerLocation.idl:
  • xml/XMLHttpRequestException.idl:
  • xml/XMLHttpRequestProgressEvent.idl:
  • xml/XPathException.idl:
12:17 PM Changeset in webkit [89268] by commit-queue@webkit.org
  • 11 edits in trunk

2011-06-20 Alex Milowski <alex@milowski.com>

Reviewed by Darin Adler.

New baselines for tests for the change to use anonymous blocks in the fix for:
https://bugs.webkit.org/show_bug.cgi?id=57901

  • platform/mac/mathml/presentation/over-expected.png:
  • platform/mac/mathml/presentation/over-expected.txt:
  • platform/mac/mathml/presentation/row-alignment-expected.png:
  • platform/mac/mathml/presentation/row-alignment-expected.txt:
  • platform/mac/mathml/presentation/under-expected.png:
  • platform/mac/mathml/presentation/under-expected.txt:
  • platform/mac/mathml/presentation/underover-expected.png:
  • platform/mac/mathml/presentation/underover-expected.txt:

2011-06-20 Alex Milowski <alex@milowski.com>

Reviewed by Darin Adler.

A change to mark wrapping blocks created by the renderer as anonymous to fix the crash for:
https://bugs.webkit.org/show_bug.cgi?id=57901

  • rendering/mathml/RenderMathMLUnderOver.cpp: (WebCore::RenderMathMLUnderOver::addChild): (WebCore::RenderMathMLUnderOver::nonOperatorHeight):
12:04 PM Changeset in webkit [89267] by eric@webkit.org
  • 10 edits in trunk

2011-06-20 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

buildbots should run run-bindings-tests
https://bugs.webkit.org/show_bug.cgi?id=63001

The test results were out of date, so I'm updating them.
(This is exactly the problem that making the buildbots run them will solve.)

  • bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture): (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
  • bindings/scripts/test/V8/V8TestCallback.cpp: (WebCore::V8TestCallback::callbackWithStringList):
  • bindings/scripts/test/V8/V8TestCallback.h:
  • bindings/scripts/test/V8/V8TestInterface.cpp: (WebCore::V8TestInterface::GetRawTemplate): (WebCore::V8TestInterface::GetTemplate):
  • bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: (WebCore::V8TestMediaQueryListListener::GetRawTemplate): (WebCore::V8TestMediaQueryListListener::GetTemplate):
  • bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::withDynamicFrameAndUserGestureCallback): (WebCore::TestObjInternal::withDynamicFrameAndUserGestureASADCallback): (WebCore::V8TestObj::GetRawTemplate): (WebCore::V8TestObj::GetTemplate):
  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate): (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):

2011-06-20 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

buildbots should run run-bindings-tests
https://bugs.webkit.org/show_bug.cgi?id=63001

run-bindings-tests takes 2.4 seconds on my machine, so
I expect this will not be noticeable on the bots.

I also removed tiger-specific checks since Tiger is no
longer a supported platform for webkit.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
11:55 AM Changeset in webkit [89266] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk/Source/WebCore

2011-06-20 Cary Clark <caryclark@google.com>

Reviewed by Eric Seidel.

Add Font interface to support Skia on Mac Chrome port
https://bugs.webkit.org/show_bug.cgi?id=62889

No new tests. This combination (using Skia as the
WebCore renderer on Chrome for Mac) is not yet
enabled, so adding this file has no functional
change. The corresponding changes to the gyp files
exclude FontSkia for all current builds.

  • WebCore.gyp/WebCore.gyp: Exclude FontSkia for all non-mac builds. An existing rule excludes *Skia for mac builds.
  • WebCore.gypi: Add FontSkia to the list of files.
  • platform/graphics/skia/FontSkia.cpp: Added. (WebCore::Font::canReturnFallbackFontsForComplexText): (WebCore::Font::canExpandAroundIdeographsInComplexText): (WebCore::isCanvasMultiLayered): (WebCore::adjustTextRenderMode): (WebCore::setupPaint): (WebCore::Font::drawGlyphs): These functions are similar to their counterparts in platform/graphics/chromium/FontLinux.cpp. The differences are: The setupPaint uses CTFont instead of FreeType. The width/height font metrics have different accessors. Harfbuzz is not needed in the Mac port.
11:51 AM Changeset in webkit [89265] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

make-hash-tools.pl: Perl 5.14 compatibility
https://bugs.webkit.org/show_bug.cgi?id=61890

No new tests needed.

  • make-hash-tools.pl: Use if/elsif instead of switch/case.
11:30 AM Changeset in webkit [89264] by kevino@webkit.org
  • 2 edits in trunk/Source/WebCore

[wx] Unreviewed build fix, fix the codepaths run under each CPU type.

11:28 AM QtWebKitRelease22 edited by joel.parks@nokia.com
(diff)
11:28 AM Changeset in webkit [89263] by rniwa@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-06-20 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Ojan Vafai.

FrameSelection::modify should take verticalDisplacement instead of verticalDistance
https://bugs.webkit.org/show_bug.cgi?id=62932

Added new VerticalDirection enum to the argument list of FrameSelection::modify that takes
verticalDistance. Also changed the type of verticalDistance from int to unsigned int
to accidentally pass a negative distance in the future.

  • editing/EditorCommand.cpp: (WebCore::verticalScrollDistance): Returns unsigned int instead of int. (WebCore::executeMovePageDown): Calls FrameSelection::modify. (WebCore::executeMovePageDownAndModifySelection): Ditto. (WebCore::executeMovePageUp): Ditto. (WebCore::executeMovePageUpAndModifySelection): Ditto.
  • editing/FrameSelection.cpp: (WebCore::FrameSelection::modify): Takes VerticalDirection as an argument.
  • editing/FrameSelection.h:
11:03 AM Changeset in webkit [89262] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-20 Stephen White <senorblanco@chromium.org>

Unreviewed, test_expectations fix.

Revert some unintentional changes from my last patch.

  • platform/chromium/test_expectations.txt:
10:55 AM Changeset in webkit [89261] by andersca@apple.com
  • 2 edits in trunk/Source/WebCore

2011-06-20 Anders Carlsson <andersca@apple.com>

Reviewed by Adam Barth.

Don't use PassRefPtr variables in the V8 bindings generator
https://bugs.webkit.org/show_bug.cgi?id=62947

  • bindings/scripts/CodeGeneratorV8.pm:
10:54 AM Changeset in webkit [89260] by abarth@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-20 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Several pyauto tests are failing because some infobars
https://bugs.webkit.org/show_bug.cgi?id=62968

This function used to evaluate script as if there was a user gesture
(due to the lack of a source URL). This patch re-introduces the user
gesture (this time explicitly), which causes the pyauto tests listed in
http://code.google.com/p/chromium/issues/detail?id=86397 to start
passing again. It's unclear whether this forced gesture is needed in
non-test scenarios.

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScriptAndReturnValue):
10:52 AM Changeset in webkit [89259] by senorblanco@chromium.org
  • 9 edits
    1 delete in trunk/LayoutTests

2011-06-20 Stephen White <senorblanco@chromium.org>

Unreviewed.

New baselines for tests affected by r62988.

  • platform/chromium-linux-x86/svg/wicd/test-scalable-background-image2-expected.png: Removed.
  • platform/chromium-linux/plugins/embed-attributes-style-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-08-b-expected.png:
  • platform/chromium-linux/svg/batik/text/textDecoration-expected.png:
  • platform/chromium-linux/svg/css/text-shadow-multiple-expected.png:
  • platform/chromium-linux/svg/filters/sourceAlpha-expected.png:
  • platform/chromium-linux/svg/text/text-text-08-b-expected.png:
  • platform/chromium-linux/svg/wicd/test-scalable-background-image2-expected.png:
  • platform/chromium/test_expectations.txt:
10:51 AM Changeset in webkit [89258] by abarth@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-20 Adam Barth <abarth@webkit.org>

Reviewed by Alexey Proskuryakov.

ASSERT in WebCore::HTMLToken::appendToAttributeName when visiting www.nba.com
https://bugs.webkit.org/show_bug.cgi?id=61774

  • fast/parser/attributes-on-close-script-expected.txt: Added.
  • fast/parser/attributes-on-close-script.html: Added.

2011-06-20 Adam Barth <abarth@webkit.org>

Reviewed by Alexey Proskuryakov.

ASSERT in WebCore::HTMLToken::appendToAttributeName when visiting www.nba.com
https://bugs.webkit.org/show_bug.cgi?id=61774

This ASSERT triggers for the same underlying issue that causes
Bug 62971: When we tokenize a </script> tag, we don't realize that
we've already consumed the "</script>" from the input stream when we
extracted the previous token. That causes the source tracker to be
out-of-sync, triggering the incorrect view-source highlighting and this
ASSERT.

For now, let's just silence the assert while we work on Bug 62971.

Test: fast/parser/attributes-on-close-script.html

  • html/parser/HTMLToken.h: (WebCore::HTMLToken::appendToAttributeName): (WebCore::AtomicHTMLToken::initializeAttributes):
10:49 AM Changeset in webkit [89257] by oliver@apple.com
  • 307 edits in trunk

2011-06-20 Juan C. Montemayor <jmont@apple.com>

Reviewed by Oliver Hunt.

No context for javascript parse errors.
https://bugs.webkit.org/show_bug.cgi?id=62613

Ran 'run-webkit-tests --reset' with 'fast/js/' and 'sputnik' to update
those tests with the new parser error messages.

The test 'fast/js/script-tests/parser-syntax-check.js' was fixed to
not fail with the new parser error messages.

  • fast/dom/SelectorAPI/unknown-pseudo-expected.txt:
  • fast/dom/javascript-url-exception-isolation-expected.txt:
  • fast/encoding/meta-in-script-expected.txt:
  • fast/events/window-onerror5-expected.txt:
  • fast/events/window-onerror6-expected.txt:
  • fast/js/assign-expected.txt:
  • fast/js/basic-strict-mode-expected.txt:
  • fast/js/break-ASI-expected.txt:
  • fast/js/function-declaration-expected.txt:
  • fast/js/function-toString-object-literals-expected.txt:
  • fast/js/function-toString-parentheses-expected.txt:
  • fast/js/js-continue-break-restrictions-expected.txt:
  • fast/js/kde/garbage-n-expected.txt:
  • fast/js/kde/parse-expected.txt:
  • fast/js/kde/string-1-n-expected.txt:
  • fast/js/kde/string-2-n-expected.txt:
  • fast/js/mozilla/strict/12.14.1-expected.txt:
  • fast/js/mozilla/strict/13.1-expected.txt:
  • fast/js/mozilla/strict/regress-532254-expected.txt:
  • fast/js/no-semi-insertion-at-end-of-script-expected.txt:
  • fast/js/numeric-escapes-in-string-literals-expected.txt:
  • fast/js/object-extra-comma-expected.txt:
  • fast/js/object-literal-syntax-expected.txt:
  • fast/js/parser-xml-close-comment-expected.txt:
  • fast/js/postfix-syntax-expected.txt:
  • fast/js/regexp-compile-crash-expected.txt:
  • fast/js/removing-Cf-characters-expected.txt:
  • fast/js/reserved-words-as-property-expected.txt:
  • fast/js/script-tests/parser-syntax-check.js: (runTest):
  • fast/parser/entity-end-script-tag-expected.txt:
  • fast/regex/non-pattern-characters-expected.txt:
  • html5lib/runner-expected.txt:
  • http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
  • http/tests/workers/shared-worker-importScripts-expected.txt:
  • http/tests/workers/worker-importScripts-expected.txt:
  • inspector/console/console-log-syntax-error-expected.txt:
  • inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt:
  • java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
  • loader/reload-subresource-when-type-changes-expected.txt:
  • platform/mac/fast/tokenizer/002-expected.txt:
  • platform/mac/fast/tokenizer/external-script-document-write_2-expected.txt:
  • platform/mac/fast/tokenizer/script_extra_close-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt:
  • sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt:
  • sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt:
  • sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt:
  • sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt:
  • sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt:
  • sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt:
  • sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt:
  • sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt:
  • sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt:
  • sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt:
  • sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt:
  • sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt:
  • sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt:
  • sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt:
  • sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.1_eval/S15.1.2.1_A2_T2-expected.txt:
  • sputnik/Conformance/15_Native_Objects/15.3_Function/15.3.4/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1-expected.txt:

2011-06-20 Juan C. Montemayor <jmont@apple.com>

Reviewed by Oliver Hunt.

No context for javascript parse errors.
https://bugs.webkit.org/show_bug.cgi?id=62613

Parse errors now show more details like:
"Unexpected token: ]"
or
"Expected token: while"

For reserved names, numbers, indentifiers, strings, lexer errors,
and EOFs, the following error messages are printed:

"Use of reserved word: super"
"Unexpected number: 42"
"Unexpected identifier: "
"Unexpected string: "foobar""
"Invalid token character sequence: \u4023"
"Unexpected EOF"

  • parser/JSParser.cpp: (JSC::JSParser::consume): (JSC::JSParser::getToken): (JSC::JSParser::getTokenName): (JSC::JSParser::updateErrorMessageSpecialCase): (JSC::JSParser::updateErrorMessage): (JSC::JSParser::updateErrorWithNameAndMessage): (JSC::jsParse): (JSC::JSParser::JSParser): (JSC::JSParser::parseProgram): (JSC::JSParser::parseVarDeclarationList): (JSC::JSParser::parseForStatement): (JSC::JSParser::parseBreakStatement): (JSC::JSParser::parseContinueStatement): (JSC::JSParser::parseWithStatement): (JSC::JSParser::parseTryStatement): (JSC::JSParser::parseStatement): (JSC::JSParser::parseFormalParameters): (JSC::JSParser::parseFunctionInfo): (JSC::JSParser::parseAssignmentExpression): (JSC::JSParser::parsePrimaryExpression): (JSC::JSParser::parseMemberExpression): (JSC::JSParser::parseUnaryExpression):
  • parser/JSParser.h:
  • parser/Lexer.cpp: (JSC::Lexer::lex):
  • parser/Parser.cpp: (JSC::Parser::parse):
10:49 AM Changeset in webkit [89256] by Carlos Garcia Campos
  • 5 edits in trunk/Source/WebKit2

2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[UNIX] Don't use WebCore::PluginPackage to get plugin information
https://bugs.webkit.org/show_bug.cgi?id=62899

The problem is that both PluginPackage in WebCore and
NetscapePluginModule in webkit2 install their own netscape browser
functions and that can cause conflicts in some situations.

  • Shared/Plugins/Netscape/NetscapePluginModule.h: Add helper function to set plugin mime type descriptions.
  • Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: (WebKit::NetscapePluginModule::setMIMEDescription): Helper function to set plugin mime type descriptions. (WebKit::NetscapePluginModule::getPluginInfo): Use NetscapePluginModule instead of PluginPackage.
  • UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp: Remove unneeded header include.
  • WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_GetValue): Do not try to get the XDisplay if the plugin doesn't have a view. It fixes a crash with flash plugin and matches WebCore.
10:35 AM Changeset in webkit [89255] by Carlos Garcia Campos
  • 2 edits in trunk/Tools

2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Fix WebKit2 GTK build after r89249.

  • GtkLauncher/main.c: (main):
10:18 AM Changeset in webkit [89254] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Andras Becsi <abecsi@webkit.org>

Unreviewed build fix.

[Qt][V8] Include missing UnusedParam.h.

No new tests needed.

  • rendering/svg/SVGTextLayoutEngineSpacing.cpp:
10:01 AM Changeset in webkit [89253] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Andras Becsi <abecsi@webkit.org>

Rubber-stamped by Csaba Osztrogonác.

[Qt][V8] Remove non-existing headers from project file.

No new tests needed.

  • WebCore.pro: Remove ChildThreadDOMData.h and MainThreadDOMData.h, since they have been already removed earlier from tree.
9:48 AM Changeset in webkit [89252] by pfeldman@chromium.org
  • 23 edits in trunk

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
https://bugs.webkit.org/show_bug.cgi?id=62994

  • public/WebDevToolsAgent.h:
  • src/WebDevToolsAgentImpl.cpp:
  • src/WebDevToolsAgentImpl.h:

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
https://bugs.webkit.org/show_bug.cgi?id=62994

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-06-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
https://bugs.webkit.org/show_bug.cgi?id=62994

  • DumpRenderTree/LayoutTestController.cpp: (closeWebInspectorCallback): (LayoutTestController::staticFunctions):
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  • DumpRenderTree/chromium/DRTDevToolsAgent.h:
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:
9:40 AM Changeset in webkit [89251] by Carlos Garcia Campos
  • 7 edits in trunk/Source

2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Split libWebCore into two libWebCore and libWebCoreGtk
https://bugs.webkit.org/show_bug.cgi?id=60539

libWebCore contains all the webcore files except the ones actually
using gtk while libWebCoreGtk contains only the files using
gtk. It allows us to build a common WebCore lib and two different
gtk WebCore libs depending on the gtk version. In WeKit2 gtk2 is
not supported, but the plugin process needs to be built using gtk2
because plugins like flash still use gtk2. For WebKit2, we build
the common libWebCore and two libWebCoreGtk, one using gtk3 and
the other one using gtk2.

  • GNUmakefile.am:
  • GNUmakefile.list.am:

2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Split libWebCore into two libWebCore and libWebCoreGtk
https://bugs.webkit.org/show_bug.cgi?id=60539

  • GNUmakefile.am: Link to libWebCoreGtk.la too.

2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Split libWebCore into two libWebCore and libWebCoreGtk
https://bugs.webkit.org/show_bug.cgi?id=60539

  • GNUmakefile.am: Link to libWebCoreGtk.la too.
9:37 AM Changeset in webkit [89250] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Mike Reed <reed@google.com>

Reviewed by Stephen White.

[Skia] remove repeated calls to setColor, which ignored global-alpha (previous setupPaintFor... already set the color+alpha)
https://bugs.webkit.org/show_bug.cgi?id=62988

No new tests. removing redundant calls

  • platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::drawGlyphs):
9:25 AM Changeset in webkit [89249] by Martin Robinson
  • 2 edits in trunk/Tools

2011-06-20 Lukasz Slachciak <l.slachciak@samsung.com>

Reviewed by Martin Robinson.

[GTK] General mechanism for adjusting WebKitWebSettings in GtkLauncher.
https://bugs.webkit.org/show_bug.cgi?id=55308

  • GtkLauncher/main.c: Added general mechanism for adjusting WebKitWebSettings. (parseOptionEntryCallback): Callback for parsing option entry. (getOptionEntriesFromWebKitWebSettings): Basing on the WebKitWebSettings properties prepare list of option entries. (transformStringToBoolean): Transform function for boolean convertion used by parseOptionEntryCallback. (transformStringToInt): Transform function for int convertion used by parseOptionEntryCallback. (transformStringToFloat): Transform function for float convertion used by parseOptionEntryCallback. (parseAdditionalOptions): Help function parsing additional commandline options. (main): Added call to parseAdditionalOptions.
8:50 AM Changeset in webkit [89248] by Martin Robinson
  • 2 edits in trunk/Source/WebCore

2011-06-19 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] ASSERTION FAILED: it != gFontDataCache->end() in FontCache.cpp:318
https://bugs.webkit.org/show_bug.cgi?id=62942

Fix the == operator overload of the FreeType FontPlatformData to properly make the
distinction between the hash table deleted value and the hash table empty value.

No new tests. This is covered by existing tests, which should no longer
hit assertions.

  • platform/graphics/freetype/FontPlatformDataFreeType.cpp: (WebCore::FontPlatformData::operator==): Reorder the logic for determining if two FontPlatformData instances are equal. Do a pointer comparison on the Fontconfig patterns, instead of using FcPatternEqual. If the two Fontconfig patterns have different pointers they were created at different times and the overload should return false.
8:03 AM Changeset in webkit [89247] by ager@chromium.org
  • 3 edits in branches/chromium/782/Source/WebCore

Merge 89236 - 2011-06-19 Mads Ager <ager@chromium.org>

Reviewed by Adam Barth.

[V8] Fix WebGL bindings for subarrays
https://bugs.webkit.org/show_bug.cgi?id=62864

Mark WebGL subarrays as independent of other DOM objects in the
V8 bindings. This allows us to clean them up independently which
greatly improves performance.

  • bindings/v8/V8Proxy.h: (WebCore::toV8Independent):
  • bindings/v8/custom/V8ArrayBufferViewCustom.h: (WebCore::constructWebGLArrayWithArrayBufferArgument): (WebCore::constructWebGLArray):

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/7189061

7:31 AM Changeset in webkit [89246] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-06-20 Mike Reed <reed@google.com>

Reviewed by Stephen White.

disable test in preparation for chromium change and new baseline
https://bugs.webkit.org/show_bug.cgi?id=62984

  • platform/chromium/test_expectations.txt:
7:10 AM Changeset in webkit [89245] by loislo@chromium.org
  • 7 edits in trunk

2011-06-20 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: It would be useful to be able to pause on element's style change.
https://bugs.webkit.org/show_bug.cgi?id=62982

Current workaround is to use mutation events but it's awkward and doesn't
compare _usability-wise_ to what could be implemented as native support in web inspector.
In complex applications, being able to see which code causes element to change its style is indispensable.

  • inspector/debugger/dom-breakpoints.html:
  • platform/chromium/inspector/debugger/dom-breakpoints-expected.txt:

2011-06-20 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: It would be useful to be able to pause on element's style change.
https://bugs.webkit.org/show_bug.cgi?id=62982

Current workaround is to use mutation events but it's awkward and doesn't
compare _usability-wise_ to what could be implemented as native support in web inspector.
In complex applications, being able to see which code causes element to change its style is indispensable.

  • inspector/InspectorDOMDebuggerAgent.cpp: (WebCore::InspectorDOMDebuggerAgent::didInvalidateStyleAttr):
  • inspector/InspectorDOMDebuggerAgent.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl):
7:07 AM QtWebKitPackaging edited by Ademar Reis
(diff)
7:04 AM QtWebKitPackaging edited by alexis.menard@openbossa.org
(diff)
6:55 AM Changeset in webkit [89244] by chang.shu@nokia.com
  • 2 edits in trunk/LayoutTests

2011-06-20 Chang Shu <cshu@webkit.org>

unreviewed.

Unskip passing tests. The bug(42317) has been resolved for a long time.

  • platform/qt-wk2/Skipped:
6:15 AM Changeset in webkit [89243] by Csaba Osztrogonác
  • 6 edits in trunk/LayoutTests

[WK2] Daily gardening.

  • platform/mac-wk2/Skipped: Skip some tests bacause of missing animation pause API and skip one test because of missing window.internals.createShadowContentElement.
  • platform/qt-wk2/Skipped: Skip one failing SVG test after r89233.
  • platform/qt-wk2/fast/dom/Window/window-properties-expected.txt: Updated after r89233.
  • platform/qt-wk2/fast/dom/Window/window-property-descriptors-expected.txt: Updated after r89233.
  • platform/qt-wk2/fast/dom/prototype-inheritance-2-expected.txt: Updated after r89233.
5:48 AM Changeset in webkit [89242] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed, add more Chromium expectations for tests which started to fail since r89233.

  • platform/chromium/test_expectations.txt:
5:32 AM QtWebKitRelease22 edited by Ademar Reis
(diff)
3:35 AM Changeset in webkit [89241] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-06-20 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>

Reviewed by Andreas Kling.

[Qt] [WK2] Compile error in ActivateFontsQt.cpp on Mac
https://bugs.webkit.org/show_bug.cgi?id=62869

Add QFont include to fix "incomlete type QFont" error.

  • WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
3:32 AM Changeset in webkit [89240] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed, fix an error in the last edit of Chromium test_expectations.txt.

  • platform/chromium/test_expectations.txt:
3:20 AM Changeset in webkit [89239] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed, add new Chromium test expectations since r89233.

  • platform/chromium/test_expectations.txt:
3:15 AM Changeset in webkit [89238] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt][Mac] Skip failing tests.

  • platform/qt-mac/Skipped:
2:43 AM Changeset in webkit [89237] by Csaba Osztrogonác
  • 63 edits
    9 adds in trunk/LayoutTests

[Qt] Unreviewed, update Qt specific expected results after r89233, and skip failing tests until fix.

Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths
from Font, making it possible to reuse the simple text code path for SVG Fonts
https://bugs.webkit.org/show_bug.cgi?id=59085

  • platform/qt/Skipped:
  • platform/qt/fast/dom/Window/window-properties-expected.png: Added.
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.png: Added.
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-2-expected.png: Added.
  • platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-expected.png: Added.
  • platform/qt/fast/dom/prototype-inheritance-expected.txt:
  • platform/qt/fast/js/global-constructors-expected.png: Added.
  • platform/qt/fast/js/global-constructors-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-08-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
  • platform/qt/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
  • platform/qt/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
  • platform/qt/svg/custom/glyph-transformation-with-hkern-expected.txt: Added.
  • platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
  • platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
  • platform/qt/svg/custom/svg-features-expected.png: Added.
  • platform/qt/svg/custom/svg-features-expected.txt: Added.
  • platform/qt/svg/custom/svg-fonts-in-html-expected.png:
  • platform/qt/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/qt/svg/foreignObject/text-tref-02-b-expected.png:
  • platform/qt/svg/foreignObject/text-tref-02-b-expected.txt:
  • platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.png:
  • platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
  • platform/qt/svg/wicd/test-rightsizing-b-expected.png:
  • platform/qt/svg/wicd/test-rightsizing-b-expected.txt:
2:36 AM Changeset in webkit [89236] by ager@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-06-19 Mads Ager <ager@chromium.org>

Reviewed by Adam Barth.

[V8] Fix WebGL bindings for subarrays
https://bugs.webkit.org/show_bug.cgi?id=62864

Mark WebGL subarrays as independent of other DOM objects in the
V8 bindings. This allows us to clean them up independently which
greatly improves performance.

  • bindings/v8/V8Proxy.h: (WebCore::toV8Independent):
  • bindings/v8/custom/V8ArrayBufferViewCustom.h: (WebCore::constructWebGLArrayWithArrayBufferArgument): (WebCore::constructWebGLArray):
2:18 AM Changeset in webkit [89235] by yutak@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-06-20 Yuta Kitamura <yutak@chromium.org>

Unreviewed build fix for Chromium Clang builders.

  • platform/graphics/FontFallbackList.h: Declare SVGTextRunRenderingContext as class, not struct.
1:35 AM SVG TODO List - Short notes edited by krit@webkit.org
(diff)
1:22 AM Changeset in webkit [89234] by morrita@google.com
  • 4 edits in trunk

2011-06-20 MORITA Hajime <morrita@google.com>

Unreviewed GTK build fix.
This change corrected syntax error on symbols.filter.

  • Source/autotools/symbols.filter:

2011-06-20 MORITA Hajime <morrita@google.com>

Unreviewed GTK build fix.
This change touched the file to make the build happen.

  • dom/EventTarget.cpp:
1:12 AM Changeset in webkit [89233] by Nikolas Zimmermann
  • 71 edits
    14 adds in trunk

2011-06-20 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Rob Buis.

Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
https://bugs.webkit.org/show_bug.cgi?id=59085

  • wtf/Platform.h: Force Qt-EWS into a full rebuild, otherwhise this patch breaks the EWS.

2011-06-20 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Rob Buis.

Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
https://bugs.webkit.org/show_bug.cgi?id=59085

font substitution doesn't work for HTML text using SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=17608

Selection rects are wrong for text with SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=25460

With @font-face, SVG fonts only work as primary, non-segmented
https://bugs.webkit.org/show_bug.cgi?id=32227

When using SVG fonts with @font-face word-spacing and text-align: justify are not being honored
https://bugs.webkit.org/show_bug.cgi?id=34236

SVG @font-face breaks text-overflow: ellipsis
https://bugs.webkit.org/show_bug.cgi?id=36840

REGRESSION: SVG Font selection problems
https://bugs.webkit.org/show_bug.cgi?id=41934

Tests: svg/custom/svg-fonts-fallback.xhtml (for bug 17608, extended the original test from Mark Ambachtsheer)

svg/custom/svg-fonts-segmented.xhtml (for bug 32227)
svg/custom/svg-fonts-word-spacing.html (for bug 34236, from Michael Lewis)
svg/text/select-text-svgfont.html (for bug 25460/41934, from Emil Schutte)
svg/text/text-overflow-ellipsis-svgfont.html (for 36840, from Emil Schutte)

Rewrite the SVG Fonts support to fully integrate within the GlyphPage concept and the "simple" code path used to render platform fonts.
That means the special logic for measuring text using SVG Fonts, calculating offset for positions, computing selection rects etc. is all gone now.
There's no difference anymore between using a native font or a SVG Font, in terms of these operations.

This makes text selection using SVG Fonts possible again.

  • features.pri: Temporarily turn of SVG Fonts for Qt, as long as QRawFont support is not available and the fast path is disabled.
  • page/DOMWindow.idl: Touched file to force Qt regenerating the bindings.
  • platform/graphics/Font.cpp: Remove SVG Font special cases, the simple code path now handles SVG Fonts as well. (WebCore::Font::drawText): (WebCore::Font::drawEmphasisMarks): (WebCore::Font::width): (WebCore::Font::selectionRectForText): (WebCore::Font::offsetForPosition): (WebCore::Font::codePath):
  • platform/graphics/Font.h: Pass TextRun to drawGlyphBuffer/drawEmphasisMarks. Add new glyphDataAndPageForCharacter() method which returns a pair

std::pair<GlyphData, GlyphPage*>, so we know the associated GlyphPage for a certain GlyphData object, which is needed to properly
handle font fallback glyph matching for SVG Fonts..

(WebCore::Font::fontList): Add FontFallbackList accessor.

  • platform/graphics/FontFallbackList.h: Add getters/setters for glyphPageZero -- SVG Fonts support needs access to these objects from SVGTextRunRenderingContext. (WebCore::FontFallbackList::glyphPageZero): (WebCore::FontFallbackList::glyphPages): (WebCore::FontFallbackList::setGlyphPageZero): (WebCore::FontFallbackList::setGlyphPages):
  • platform/graphics/FontFastPath.cpp: (WebCore::Font::glyphDataForCharacter): Move implementation to glyphDataAndPageForCharacter(), and use that method from here. (WebCore::Font::glyphDataAndPageForCharacter): Does the same as before, just returns an additional GlyphPage* pointer. (WebCore::Font::getEmphasisMarkGlyphData): Remove SVG Fonts special case. (WebCore::Font::drawGlyphBuffer): Ditto.
  • platform/graphics/FontMetrics.h: (WebCore::scaleEmToUnits): Refactored scaleEmToUnits free function from SimpleFontDataMac/CGWin to share with SVGFontData/SVGTextRunRenderingContext.
  • platform/graphics/GlyphPageTreeNode.cpp: (WebCore::fill): Stop skipping SVG Fonts, they now also fill the GlyphPage using the glyphs defined in the SVG Font.
  • platform/graphics/SVGGlyph.h: s/isValid/isPartOfLigature/. Its usage has been changed. (WebCore::SVGGlyph::SVGGlyph): (WebCore::SVGGlyph::operator==):
  • platform/graphics/SimpleFontData.cpp: Change font size to be a float, not an int. (WebCore::SimpleFontData::SimpleFontData):
  • platform/graphics/SimpleFontData.h: Add new pure virtual methods to the AdditionalFontData interface, to be implemented in SVGFontData. (WebCore::SimpleFontData::widthForGlyph): Call widthForSVGGlyph, if we encounter a SVG glyph.
  • platform/graphics/TextRun.h:
  • platform/graphics/WidthIterator.cpp: (WebCore::WidthIterator::glyphDataForCharacter): (WebCore::WidthIterator::advance):
  • platform/graphics/WidthIterator.h: Store several new members needed for SVG Fonts support (last processed glyph name used for kerning pair lookup)

and a map mapping each character of a text to its arabic-form (if needed, to perform SVG glyph selection for Arabic text).

(WebCore::WidthIterator::run):
(WebCore::WidthIterator::runWidthSoFar):
(WebCore::WidthIterator::lastGlyphName):
(WebCore::WidthIterator::setLastGlyphName):
(WebCore::WidthIterator::arabicForms):

  • platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Use new scaleEmToUnits free function from FontMetrics.h.
  • platform/graphics/mac/SimpleFontDataMac.mm: Ditto.
  • platform/graphics/win/SimpleFontDataCGWin.cpp: Ditto.
  • rendering/svg/SVGTextMetrics.cpp: (WebCore::SVGTextMetrics::SVGTextMetrics): (WebCore::constructTextRun): (WebCore::SVGTextMetrics::measureCharacterRange):
  • rendering/svg/SVGTextMetrics.h:
  • rendering/svg/SVGTextRunRenderingContext.cpp: Remove drawTextUsingSVGFont/floatWidthUsingSVGFont/selectionRectForTextUsingSVGFont/offsetForPositionForTextUsingSVGFont. (WebCore::firstParentRendererForNonTextNode): Don't assert node() exists, doesn't hold true for generated render objects. (WebCore::renderObjectFromRun): Renamed from referencingRenderObjectFromRun. (WebCore::SVGTextRunRenderingContext::floatWidthUsingSVGFont): Remove extra "extraCharsAvailable" parameter, now solves via TextRun::charactersLength(). (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method. (WebCore::SVGTextRunRenderingContext::drawSVGGlyphs): Main drawing method, this actually creates/renders Paths. (WebCore::SVGTextRunRenderingContext::glyphDataForCharacter): Part 1/2 of SVG Glyph selection code.
  • rendering/svg/SVGTextRunRenderingContext.h:
  • svg/SVGAltGlyphElement.cpp: (WebCore::SVGAltGlyphElement::hasValidGlyphElement):
  • svg/SVGAltGlyphElement.h:
  • svg/SVGFontData.cpp: (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method. (WebCore::SVGFontData::initializeFontData): Changed font size from int to float. (WebCore::SVGFontData::widthForSVGGlyph): Lookup a SVGGlyph from a Glyph using the glyph table in SVGFontElement and calculate its width. (WebCore::SVGFontData::applySVGGlyphSelection): Part 2/2 of SVG Glyph selection code. (WebCore::SVGFontData::fillSVGGlyphPage): Fill GlyphPage using glyphs defined in the SVG Font.
  • svg/SVGFontData.h:
  • svg/SVGFontElement.cpp: (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Enable ligature registration for the use within GlyphPage. (WebCore::SVGFontElement::ensureGlyphCache):
  • svg/SVGGlyphMap.h: (WebCore::SVGGlyphMap::addGlyphByUnicodeString): Remove setting isValid, it's not needed anymore and gone.
  • svg/svgtags.in: Surround vkern in ENABLE_SVG_FONTS block.

2011-06-20 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Rob Buis.

Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
https://bugs.webkit.org/show_bug.cgi?id=59085

font substitution doesn't work for HTML text using SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=17608

Selection rects are wrong for text with SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=25460

With @font-face, SVG fonts only work as primary, non-segmented
https://bugs.webkit.org/show_bug.cgi?id=32227

When using SVG fonts with @font-face word-spacing and text-align: justify are not being honored
https://bugs.webkit.org/show_bug.cgi?id=34236

SVG @font-face breaks text-overflow: ellipsis
https://bugs.webkit.org/show_bug.cgi?id=36840

REGRESSION: SVG Font selection problems
https://bugs.webkit.org/show_bug.cgi?id=41934

Rewrite the SVG Fonts support to fully integrate within the GlyphPage concept and the "simple" code path used to render platform fonts.
That means the special logic for measuring text using SVG Fonts, calculating offset for positions, computing selection rects etc. is all gone now.
There's no difference anymore between using a native font or a SVG Font, in terms of these operations.

Update SVG pixel test baseline.

  • platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
  • platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
  • platform/mac/svg/batik/text/textEffect-expected.png:
  • platform/mac/svg/batik/text/textEffect-expected.txt:
  • platform/mac/svg/batik/text/textEffect3-expected.png:
  • platform/mac/svg/batik/text/textEffect3-expected.txt:
  • platform/mac/svg/batik/text/xmlSpace-expected.png:
  • platform/mac/svg/batik/text/xmlSpace-expected.txt:
  • platform/mac/svg/custom/glyph-selection-lang-attribute-expected.png:
  • platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt:
  • platform/mac/svg/custom/svg-fonts-fallback-expected.png: Added.
  • platform/mac/svg/custom/svg-fonts-fallback-expected.txt: Added.
  • platform/mac/svg/custom/svg-fonts-segmented-expected.png: Added.
  • platform/mac/svg/custom/svg-fonts-segmented-expected.txt: Added.
  • platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.png:
  • platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
  • platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.png:
  • platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
  • platform/mac/svg/custom/svg-fonts-word-spacing-expected.png: Added.
  • platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt: Added.
  • platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
  • platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
  • platform/mac/svg/foreignObject/text-tref-02-b-expected.png:
  • platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
  • platform/mac/svg/text/text-altglyph-01-b-expected.png:
  • platform/mac/svg/text/text-altglyph-01-b-expected.txt:
  • platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.png: Added.
  • platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
  • platform/mac/svg/text/text-text-04-t-expected.png:
  • platform/mac/svg/text/text-text-04-t-expected.txt:
  • platform/mac/svg/text/text-text-05-t-expected.png:
  • platform/mac/svg/text/text-text-05-t-expected.txt:
  • platform/mac/svg/text/text-text-06-t-expected.png:
  • platform/mac/svg/text/text-text-06-t-expected.txt:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.png:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
  • platform/mac/svg/wicd/test-rightsizing-b-expected.png:
  • platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
  • svg/custom/resources/ABCFont.svg:
  • svg/custom/svg-fonts-fallback.xhtml: Added.
  • svg/custom/svg-fonts-segmented.xhtml: Added.
  • svg/custom/svg-fonts-word-spacing.html: Added.
  • svg/text/select-text-svgfont-expected.txt: Added.
  • svg/text/select-text-svgfont.html: Added.
  • svg/text/text-overflow-ellipsis-svgfont.html: Added.

Jun 19, 2011:

11:46 PM Changeset in webkit [89232] by morrita@google.com
  • 2 edits in trunk

2011-06-19 MORITA Hajime <morrita@google.com>

Unreviewed GTK build fix.

  • Source/autotools/symbols.filter:
11:23 PM Changeset in webkit [89231] by morrita@google.com
  • 2 edits in trunk/Source/WebKit2

2011-06-19 MORITA Hajime <morrita@google.com>

Unreviewed wincairo build fix.

  • win/WebKit2CFLite.def:
10:08 PM Changeset in webkit [89230] by morrita@google.com
  • 15 edits
    2 adds in trunk

2011-06-19 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

The internals object should have createShadowContentElement()
https://bugs.webkit.org/show_bug.cgi?id=62432

  • Source/autotools/symbols.filter: Added some more symbols necessary for window.internals to function to the global symbol list.

2011-06-19 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

The internals object should have createShadowContentElement()
https://bugs.webkit.org/show_bug.cgi?id=62432

  • fast/dom/shadow/create-content-element-expected.txt: Added.
  • fast/dom/shadow/create-content-element.html: Added.

2011-06-19 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

The internals object should have createShadowContentElement()
https://bugs.webkit.org/show_bug.cgi?id=62432

This change:

  • added Internals::createShadowContentElement(), which creates, ShadowContentElement instance which includes all host children,
  • added Internals::elementRenderTreeAsText() to help content layout testing, and
  • Unabstracted ShadowContentElement by giving a default shouldInclude() implementation.

Test: fast/dom/shadow/create-content-element.html

  • WebCore.exp.in:
  • dom/ShadowContentElement.cpp: (WebCore::ShadowContentElement::create): Added. (WebCore::ShadowContentElement::ShadowContentElement): (WebCore::ShadowContentElement::~ShadowContentElement): (WebCore::ShadowContentElement::shouldInclude): Gave a default implementation which always returns true.
  • dom/ShadowContentElement.h:
  • html/HTMLSummaryElement.cpp: (WebCore::SummaryContentElement::SummaryContentElement):
  • rendering/RenderTreeAsText.cpp: (WebCore::externalRepresentation): Factored out for supportin per-element render tree dump.
  • rendering/RenderTreeAsText.h:
  • testing/Internals.cpp: (WebCore::Internals::createShadowContentElement): Added. (WebCore::Internals::elementRenderTreeAsText): dded.
  • testing/Internals.h:
  • testing/Internals.idl:

2011-06-19 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

The internals object should have createShadowContentElement()
https://bugs.webkit.org/show_bug.cgi?id=62432

  • win/WebKit2.def: Added some more symbols necessary for window.internals to function to the global symbol list.
9:47 PM Changeset in webkit [89229] by keishi@webkit.org
  • 3 edits
    2 adds in trunk

2011-06-19 Keishi Hattori <keishi@webkit.org>

Reviewed by Kent Tamura.

Clicking indeterminate checkbox should flip checkedness state
https://bugs.webkit.org/show_bug.cgi?id=62262

  • fast/forms/checkbox-click-indeterminate-expected.txt: Added.
  • fast/forms/checkbox-click-indeterminate.html: Added. Tests behavior when clicking indeterminate checkbox.

2011-06-19 Keishi Hattori <keishi@webkit.org>

Reviewed by Kent Tamura.

Clicking indeterminate checkbox should flip checkedness state
https://bugs.webkit.org/show_bug.cgi?id=62262

Test: fast/forms/checkbox-click-indeterminate.html

  • html/CheckboxInputType.cpp: (WebCore::CheckboxInputType::willDispatchClick): Changed to flip checked flag when indeterminate.
8:50 PM Changeset in webkit [89228] by oliver@apple.com
  • 5 edits in trunk

2011-06-19 Oliver Hunt <oliver@apple.com>

Reviewed by Sam Weinig.

Correct logic for putting errors on the correct line when handling JSONP
https://bugs.webkit.org/show_bug.cgi?id=62962

Add test case this time

  • fast/js/parser-syntax-check-expected.txt:
  • fast/js/script-tests/parser-syntax-check.js:

2011-06-19 Oliver Hunt <oliver@apple.com>

Reviewed by Sam Weinig.

Correct logic for putting errors on the correct line when handling JSONP
https://bugs.webkit.org/show_bug.cgi?id=62962

Minor fix for the minor fix. *sigh*

  • interpreter/Interpreter.cpp: (JSC::Interpreter::execute):
8:05 PM Changeset in webkit [89227] by commit-queue@webkit.org
  • 8 edits in trunk

2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com>

Reviewed by Martin Robinson.

[GTK] Enable Media Stream feature and make it default on
https://bugs.webkit.org/show_bug.cgi?id=60394

  • configure.ac:

2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com>

Reviewed by Martin Robinson.

[GTK] Enable Media Stream feature and make it default on
https://bugs.webkit.org/show_bug.cgi?id=60394

Unskipped the Media Stream tests.

  • platform/gtk/Skipped:

2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com>

Reviewed by Martin Robinson.

[GTK] Enable Media Stream feature and make it default on
https://bugs.webkit.org/show_bug.cgi?id=60394

  • GNUmakefile.am:

2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com>

Reviewed by Martin Robinson.

[GTK] Enable Media Stream feature and make it default on
https://bugs.webkit.org/show_bug.cgi?id=60394

  • Scripts/build-webkit:
7:57 PM Changeset in webkit [89226] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Minor fix to correct layout test results.

7:44 PM Changeset in webkit [89225] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-06-19 Ryosuke Niwa <rniwa@webkit.org>

Rolled DEPS.

  • DEPS:
7:26 PM Changeset in webkit [89224] by mrowe@apple.com
  • 25 edits in trunk/Source/WebCore

Roll out r89223 since it appears to have broken all of the builds.

2:07 PM Changeset in webkit [89223] by Darin Adler
  • 25 edits in trunk/Source/WebCore

2011-06-19 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

RefPtr misused as argument type in a few classes
https://bugs.webkit.org/show_bug.cgi?id=62955

  • dom/DataTransferItem.cpp: (WebCore::DataTransferItem::DataTransferItem):
  • dom/DataTransferItem.h:
  • dom/DataTransferItems.cpp: (WebCore::DataTransferItems::DataTransferItems):
  • dom/DataTransferItems.h:
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
  • editing/CompositeEditCommand.h:
  • inspector/InspectorConsoleInstrumentation.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::addProfileImpl):
  • inspector/InspectorInstrumentation.h:
  • inspector/InspectorProfilerAgent.h:
  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::inspectorStyleForId): (WebCore::InspectorStyleSheet::rememberInspectorStyle):
  • inspector/InspectorStyleSheet.h:
  • page/WebKitAnimationList.cpp: (WebCore::WebKitAnimationList::append): (WebCore::WebKitAnimationList::insertAnimation):
  • page/WebKitAnimationList.h:
  • svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::FEImage): (WebCore::FEImage::create):
  • svg/graphics/filters/SVGFEImage.h:
  • svg/graphics/filters/SVGFilterBuilder.cpp: (WebCore::SVGFilterBuilder::SVGFilterBuilder): (WebCore::SVGFilterBuilder::add): (WebCore::SVGFilterBuilder::appendEffectToEffectReferences):
  • svg/graphics/filters/SVGFilterBuilder.h:
  • websockets/ThreadableWebSocketChannelClientWrapper.cpp: (WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback): (WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback):
  • websockets/ThreadableWebSocketChannelClientWrapper.h:
  • websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::Peer::Peer): (WebCore::WorkerThreadableWebSocketChannel::Bridge::setWebSocketChannel): (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
  • websockets/WorkerThreadableWebSocketChannel.h: Use PassRefPtr or raw pointer as appropriate for RefPtr arguments.
1:48 PM Changeset in webkit [89222] by krit@webkit.org
  • 2 edits in trunk/LayoutTests

2011-06-19 Dirk Schulze <krit@webkit.org>

Uneviewed.

SVGAnimatorFactory does not support SVGNumber
https://bugs.webkit.org/show_bug.cgi?id=62938


Add animation tests of previous patch to skip list for webkit2.

  • platform/mac-wk2/Skipped:
1:48 PM Changeset in webkit [89221] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-06-19 Una Sabovic <una.sabovic@palm.com>

Reviewed by Darin Adler.

Optimization: avoid call to clearRect() when bgColor is valid when painting the root background in RenderBoxModelObject::paintFillLayerExtended
https://bugs.webkit.org/show_bug.cgi?id=62908

When root layers base color is fully transparent backgroundRect was cleared before bgColor is applied.
Instead of clearing the rect we apply CompositeCopy operation when painting the background color.

No new tests. This is an optimization, it doesn't change any existing functionality.

  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::fillRect):
  • platform/graphics/GraphicsContext.h:
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
1:11 PM Changeset in webkit [89220] by krit@webkit.org
  • 14 edits
    11 adds in trunk

2011-06-19 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

SVGAnimatorFactory does not support SVGNumber
https://bugs.webkit.org/show_bug.cgi?id=62938

Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGNumber. With the new animator for the
With the new animator for SVGNumber we also support the scientific notation, and everything else that's supported by
the SVGNumber parsing, removing the SVGAnimate* specific number parsing functionality.

Moving the content of SVGAnimatedType header into its own cpp.


Changed behavior of parseNumberFromString(). It checks if the String simply consits of a number now. parseNumberFromString()
is using genericParseNumber() for parsing numbers. But this method just stops at the first char that does not belong to a number and
returns true. I added a check if the current char pointer is at the last char of the String and return false if not.

Tests: svg/animations/svgnumber-animation-1.html

svg/animations/svgnumber-animation-2.html
svg/animations/svgnumber-animation-3.html

  • CMakeLists.txt: Added new files to build system.
  • GNUmakefile.list.am: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • svg/SVGAllInOne.cpp: Ditto.
  • svg/SVGAnimateElement.cpp: Use SVGAnimatedNumberAnimator for animations of SVGNumbers. (WebCore::SVGAnimateElement::SVGAnimateElement): (WebCore::SVGAnimateElement::calculateAnimatedValue): (WebCore::SVGAnimateElement::calculateFromAndToValues): (WebCore::SVGAnimateElement::calculateFromAndByValues): (WebCore::SVGAnimateElement::resetToBaseValue): (WebCore::SVGAnimateElement::applyResultsToTarget): (WebCore::SVGAnimateElement::calculateDistance):
  • svg/SVGAnimateElement.h: Remove floats for value storage. This is done by SVGAnimatedTypes now.
  • svg/SVGAnimatedNumber.cpp: Added. Animator for SVGNumbers. (WebCore::SVGAnimatedNumberAnimator::SVGAnimatedNumberAnimator): (WebCore::SVGAnimatedNumberAnimator::constructFromString): (WebCore::SVGAnimatedNumberAnimator::calculateFromAndToValues): (WebCore::SVGAnimatedNumberAnimator::calculateFromAndByValues): (WebCore::SVGAnimatedNumberAnimator::calculateAnimatedValue): (WebCore::SVGAnimatedNumberAnimator::calculateDistance):
  • svg/SVGAnimatedNumber.h: (WebCore::SVGAnimatedNumberAnimator::~SVGAnimatedNumberAnimator):
  • svg/SVGAnimatedType.cpp: Added. Moved content from header to cpp. (WebCore::SVGAnimatedType::SVGAnimatedType): (WebCore::SVGAnimatedType::~SVGAnimatedType): (WebCore::SVGAnimatedType::createAngle): (WebCore::SVGAnimatedType::createLength): (WebCore::SVGAnimatedType::createNumber): (WebCore::SVGAnimatedType::angle): (WebCore::SVGAnimatedType::length): (WebCore::SVGAnimatedType::number): (WebCore::SVGAnimatedType::valueAsString): (WebCore::SVGAnimatedType::setValueAsString):
  • svg/SVGAnimatedType.h: Removed method create(). Allways call type specific create funtcions.
  • svg/SVGAnimatorFactory.h: (WebCore::SVGAnimatorFactory::create):
  • svg/SVGParserUtilities.cpp: (WebCore::parseNumberFromString): Check if String simply consits of a number. Return false otherwise.

2011-06-19 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

SVGAnimatorFactory does not support SVGNumber
https://bugs.webkit.org/show_bug.cgi?id=62938


Added new tests to check behavior on SVGNumber animation.

  • svg/animations/script-tests/svgnumber-animation-1.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/script-tests/svgnumber-animation-2.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/script-tests/svgnumber-animation-3.js: Added. (sample1): (sample2): (sample3): (executeTest):
  • svg/animations/svgnumber-animation-1-expected.txt: Added.
  • svg/animations/svgnumber-animation-1.html: Added.
  • svg/animations/svgnumber-animation-2-expected.txt: Added.
  • svg/animations/svgnumber-animation-2.html: Added.
  • svg/animations/svgnumber-animation-3-expected.txt: Added.
  • svg/animations/svgnumber-animation-3.html: Added.
12:47 PM Changeset in webkit [89219] by oliver@apple.com
  • 9 edits in trunk/Source/JavaScriptCore

2011-06-17 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

JSONP is unnecessarily slow
https://bugs.webkit.org/show_bug.cgi?id=62920

JSONP has unfortunately become a fairly common idiom online, yet
it triggers very poor performance in JSC as we end up doing codegen
for a large number of property accesses that will

  • only be run once, so the vast amount of logic we dump to handle caching of accesses is unnecessary.
  • We are doing codegen that is directly proportional to just creating the object in the first place.

This patch extends the use of the literal parser to JSONP-like structures
in global code, handling a number of different forms I have seen online.
In an extreme case this improves performance of JSONP by more than 2x
due to removal of code generation and execution time, and a few optimisations
that I made to the parser itself.

  • API/JSValueRef.cpp: (JSValueMakeFromJSONString):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::callEval): (JSC::Interpreter::execute):
  • parser/Lexer.cpp: (JSC::Lexer::isKeyword):
  • parser/Lexer.h:
  • runtime/JSGlobalObjectFunctions.cpp: (JSC::globalFuncEval):
  • runtime/JSONObject.cpp: (JSC::JSONProtoFuncParse):
  • runtime/LiteralParser.cpp: (JSC::LiteralParser::tryJSONPParse): (JSC::LiteralParser::makeIdentifier): (JSC::LiteralParser::Lexer::lex): (JSC::LiteralParser::Lexer::next): (JSC::isSafeStringCharacter): (JSC::LiteralParser::Lexer::lexString): (JSC::LiteralParser::Lexer::lexNumber): (JSC::LiteralParser::parse):
  • runtime/LiteralParser.h: (JSC::LiteralParser::LiteralParser): (JSC::LiteralParser::tryLiteralParse): (JSC::LiteralParser::Lexer::Lexer):
11:32 AM Changeset in webkit [89218] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

2011-06-19 Stephen White <senorblanco@chromium.org>

Unreviewed.

Marking several tests as crashing on Mac GPU.

  • platform/chromium/test_expectations.txt:
11:16 AM Changeset in webkit [89217] by senorblanco@chromium.org
  • 4 edits in trunk/Tools

2011-06-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r89198.
http://trac.webkit.org/changeset/89198
https://bugs.webkit.org/show_bug.cgi?id=62953

Chromium breakage on "Linux Tests" (Requested by senorblanco
on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
10:00 AM Changeset in webkit [89216] by Dimitri Glazkov
  • 49 edits
    2 copies in trunk/Source

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

Loading an icon and choosing files have similar async nature, but completely different
lifetimes: FileChooser should only exist when we are actually attempting to choose a file,
not anytime we need to render an input with a proper icon.

This patch introduces FileIconLoader, a separate abstraction for loading an icon, and removes
any notion of an icon from the FileChooser.

Also, the loaded icon is now stored on the RenderFileUploadControl, which better matches its
purpose.

Refactoring, covered by existing tests.

  • CMakeLists.txt: Added FileIconLoader to build system.
  • GNUmakefile.list.am: Ditto.
  • WebCore.exp.in: Updated.
  • WebCore.gypi: Added FileIconLoader to build system.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • loader/EmptyClients.h: Updated. (WebCore::EmptyChromeClient::loadIconForFiles): Renamed function to better reflect what it does.
  • page/Chrome.cpp: (WebCore::Chrome::loadIconForFiles): Ditto.
  • page/Chrome.h: Ditto.
  • page/ChromeClient.h: Ditto.
  • platform/FileChooser.cpp: (WebCore::FileChooser::FileChooser): Removed now-unnecessary bool. (WebCore::FileChooser::create): Removed the tangled web. (WebCore::FileChooser::clear): Removed icon-related code. (WebCore::FileChooser::chooseFiles): Ditto.
  • platform/FileChooser.h:
  • platform/FileIconLoader.cpp: Copied from Source/WebCore/platform/FileChooser.cpp. (WebCore::FileIconLoaderClient::~FileIconLoaderClient): Added. (WebCore::FileIconLoader::create): Added. (WebCore::FileIconLoader::disconnectClient): Added. (WebCore::FileIconLoader::notifyFinished): Added. (WebCore::FileIconLoader::FileIconLoader): Added.
  • platform/FileIconLoader.h: Copied from Source/WebCore/platform/FileChooser.cpp.
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::RenderFileUploadControl): Added new member initializations. (WebCore::RenderFileUploadControl::~RenderFileUploadControl): Added FileIconLoader disconnect.s (WebCore::RenderFileUploadControl::requestIcon): Added a helper. (WebCore::RenderFileUploadControl::valueChanged): Changed to request an icon load. (WebCore::RenderFileUploadControl::updateRendering): Added implementation of FileIconLoaderClient func. (WebCore::RenderFileUploadControl::updateFromElement): Added clearing of icon. (WebCore::RenderFileUploadControl::maxFilenameWidth): Changed to use new member directly. (WebCore::RenderFileUploadControl::paintObject): Ditto. (WebCore::RenderFileUploadControl::fileTextValue): Ditto.
  • rendering/RenderFileUploadControl.h: Updated decls.

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::loadIconForFiles): Renamed to better reflect the intent.
  • src/ChromeClientImpl.h: Ditto.
  • src/WebIconLoadingCompletionImpl.cpp: (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl): Changed to use FileIconLoader. (WebKit::WebIconLoadingCompletionImpl::didLoadIcon): Ditto.
  • src/WebIconLoadingCompletionImpl.h: Dito.

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::loadIconForFiles): Renamed.
  • WebCoreSupport/ChromeClientEfl.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::loadIconForFiles): Renamed.
  • WebCoreSupport/ChromeClientGtk.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/ChromeClientHaiku.cpp: (WebCore::ChromeClientHaiku::loadIconForFiles): Renamed.
  • WebCoreSupport/ChromeClientHaiku.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/WebChromeClient.h:
  • WebCoreSupport/WebChromeClient.mm: (WebChromeClient::loadIconForFiles): Renamed.

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::loadIconForFiles): Renamed.
  • WebCoreSupport/ChromeClientQt.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::loadIconForFiles): Renamed.
  • WebCoreSupport/WebChromeClient.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebCoreSupport/ChromeClientWinCE.cpp: (WebKit::ChromeClientWinCE::loadIconForFiles): Renamed.
  • WebCoreSupport/ChromeClientWinCE.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebKitSupport/ChromeClientWx.cpp: (WebCore::ChromeClientWx::chooseIconForFiles): Renamed.
  • WebKitSupport/ChromeClientWx.h:

2011-06-18 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931

  • WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::loadIconForFiles): Renamed.
  • WebProcess/WebCoreSupport/WebChromeClient.h:
6:42 AM Changeset in webkit [89215] by dbates@webkit.org
  • 1 edit in trunk/Tools/ChangeLog

2011-06-19 Daniel Bates <dbates@webkit.org>

Fix change log entry; Change "should use password", "Git.push_local_commits_to_server"
to "should use passed" and "Git.push_local_commits_to_server()", respectively,
in the bug title for changeset 89209 <http://trac.webkit.org/changeset/89209>. Now
the bug title makes sense.

5:55 AM Changeset in webkit [89214] by msaboff@apple.com
  • 2 edits in trunk/Source/WebCore

2011-06-19 Michael Saboff <msaboff@apple.com>

Reviewed by Darin Adler.

Add notify handler to trigger MemoryPressureHandler in all builds
https://bugs.webkit.org/show_bug.cgi?id=62679

Removed SIGUSR2 trigger and added a notify trigger for the
MemoryPressureHandler. The notify trigger is enabled for all builds.

No test added as only added new memory pressure trigger.

  • platform/mac/MemoryPressureHandlerMac.mm: (WebCore::MemoryPressureHandler::install):
3:53 AM Changeset in webkit [89213] by robert@webkit.org
  • 4 edits in trunk

2011-06-19 Robert Hogan <robert@webkit.org>

Reviewed by Alexey Proskuryakov.

[Qt] Qt Counterpart for http://trac.webkit.org/changeset/42078
https://bugs.webkit.org/show_bug.cgi?id=62514

  • platform/qt/Skipped: Unskip http/tests/xmlhttprequest/redirect-cross-origin-tripmine.html

2011-06-19 Robert Hogan <robert@webkit.org>

Reviewed by Alexey Proskuryakov.

[Qt] Qt Counterpart for http://trac.webkit.org/changeset/42078
https://bugs.webkit.org/show_bug.cgi?id=62514

  • platform/network/qt/ResourceHandleQt.cpp: (WebCore::WebCoreSynchronousLoader::willSendRequest):
Note: See TracTimeline for information about the timeline view.