Timeline



Apr 20, 2011:

11:33 PM Changeset in webkit [84472] by commit-queue@webkit.org
  • 33 edits
    2 adds in trunk

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Exercise the new layoutTestController methods.

  • fast/dom/shadow/layout-tests-can-access-shadow-expected.txt: Added.
  • fast/dom/shadow/layout-tests-can-access-shadow.html: Added.

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Test: fast/dom/shadow/layout-tests-can-access-shadow.html

  • WebCore.exp.in: Mac DRT needs to see Element::ensure/removeShadowRoot

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Chromium DRT relies on the Chromium WebKit API

  • public/WebElement.h:
  • src/WebElement.cpp: (WebKit::WebElement::shadowRoot): don't steal a zero refcount (WebKit::WebElement::ensureShadowRoot): added (WebKit::WebElement::removeShadowRoot): added

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Support for new methods in GTK DRT.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::ensureShadowRoot): (DumpRenderTreeSupportGtk::removeShadowRoot):
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Support for new methods in Mac DRT.

  • DOM/WebDOMOperations.mm: (-[DOMElement _ensureShadowRoot:]): (-[DOMElement _removeShadowRoot]):
  • DOM/WebDOMOperationsPrivate.h:

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Support for new methods in Qt DRT.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::ensureShadowRoot): (DumpRenderTreeSupportQt::removeShadowRoot):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Support for new methods in WK2 WebKitTestRunner.

  • WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp: (WKBundleNodeHandleCopyElementEnsureShadowRoot): (WKBundleNodeHandleRemoveShadowRoot):
  • WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h:
  • WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp: (WebKit::InjectedBundleNodeHandle::elementShadowRoot): (WebKit::InjectedBundleNodeHandle::elementEnsureShadowRoot): (WebKit::InjectedBundleNodeHandle::elementRemoveShadowRoot):
  • WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:

2011-04-20 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

layoutTestController can create and destroy shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=59058

Chromium, Mac, GTK and Qt DRT; and WK2 test runner.

  • DumpRenderTree/LayoutTestController.cpp: (ensureShadowRootCallback): (removeShadowRootCallback): (LayoutTestController::staticFunctions):
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::ensureShadowRoot): (LayoutTestController::removeShadowRoot):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::ensureShadowRoot): (LayoutTestController::removeShadowRoot):
  • DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::shadowRoot): (LayoutTestController::ensureShadowRoot): (LayoutTestController::removeShadowRoot):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::ensureShadowRoot): (LayoutTestController::removeShadowRoot):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
  • DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::ensureShadowRoot): (LayoutTestController::removeShadowRoot):
  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::shadowRoot): (WTR::LayoutTestController::ensureShadowRoot): (WTR::LayoutTestController::removeShadowRoot):
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:
10:49 PM Changeset in webkit [84471] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Make video/image-zoom fail on GPU on all ports.

  • platform/chromium/test_expectations.txt:
10:42 PM Changeset in webkit [84470] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
10:29 PM Changeset in webkit [84469] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

Add test failures for r84454, r84457, flakiness on deps bots.

  • platform/chromium/test_expectations.txt:
10:20 PM Changeset in webkit [84468] by psolanki@apple.com
  • 2 edits in trunk/Source/WebCore

Follow on fix for https://bugs.webkit.org/show_bug.cgi?id=58926

Reviewed by Ryosuke Niwa.

Fix assertions in Chromium builds.

  • platform/graphics/Image.cpp:

(WebCore::Image::drawTiled): Skia and Wx do not have proper implementations of
BitmapImage::checkForSolidColor() so we shouldn't assert on those platforms.

10:19 PM Writing Reftests edited by hayato@chromium.org
(diff)
9:50 PM Changeset in webkit [84467] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

new-run-webkit-tests: handle ctrl-c more cleanly
https://bugs.webkit.org/show_bug.cgi?id=58849

  • Scripts/new-run-webkit-tests:
  • Scripts/webkitpy/layout_tests/layout_package/worker.py:
9:20 PM Changeset in webkit [84466] by adamk@chromium.org
  • 7 edits in trunk/Source/JavaScriptCore

2011-04-20 Adam Klein <adamk@chromium.org>

Reviewed by David Levin.

Rename all uses of JSC_MULTIPLE_THREADS under wtf/... to WTF_MULTIPLE_THREADS
https://bugs.webkit.org/show_bug.cgi?id=59040

This will be used to fix https://bugs.webkit.org/show_bug.cgi?id=55728
by enabling WTF_MULTIPLE_THREADS for Chromium.

  • wtf/CryptographicallyRandomNumber.cpp: (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomNumber): (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomValues):
  • wtf/FastMalloc.cpp:
  • wtf/Platform.h: Enable WTF_MULTIPLE_THREADS whenever JSC_MULTIPLE_THREADS is enabled.
  • wtf/RandomNumber.cpp: (WTF::randomNumber):
  • wtf/RefCountedLeakCounter.cpp: (WTF::RefCountedLeakCounter::increment): (WTF::RefCountedLeakCounter::decrement):
  • wtf/dtoa.cpp: (WTF::pow5mult):
9:14 PM Changeset in webkit [84465] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebCore

2011-04-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Eric Seidel.

[EFL] Add timeline to mediaControlsEfl.css
https://bugs.webkit.org/show_bug.cgi?id=58865

Add timeline to mediaControlsEfl.css in order to show playing time of media
content.

  • css/mediaControlsEfl.css: (audio): (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel): (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button): (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button): (audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container): (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display): (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline): (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button): (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button): (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button): (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
8:49 PM Changeset in webkit [84464] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

Suppress failures for inspector/debugger/live-edit.html
and inspector/console/console-object-constructor-name.html

  • platform/chromium/test_expectations.txt:
8:41 PM Changeset in webkit [84463] by Simon Fraser
  • 3 edits in trunk/Source/WebCore

2011-04-20 Simon Fraser <Simon Fraser>

Reviewed by Eric Seidel.

Create RIAA class for GraphicsContext::save() and restore()
https://bugs.webkit.org/show_bug.cgi?id=58807

Make a stack-based class that can be used to save and restore
the graphics state. It has conditional behavior to deal with the many cases
where we decide to save/restore based on some runtime condition.

Change RenderBoxModelObject to use it for now; it can be used more widely
once committed.

  • platform/graphics/GraphicsContext.h: (WebCore::GraphicsContextStateSaver::GraphicsContextStateSaver): (WebCore::GraphicsContextStateSaver::~GraphicsContextStateSaver): (WebCore::GraphicsContextStateSaver::saveState):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::paintOneBorderSide): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::drawBoxSideFromPath): (WebCore::RenderBoxModelObject::paintBoxShadow):
8:33 PM Changeset in webkit [84462] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Bug 59069 - DFG JIT - register allocate r8, r9, r10

Rubber stamped by Geoff Garen

  • dfg/DFGJITCompiler.h:

(JSC::DFG::JITCompiler::gprToRegisterID):

8:26 PM Changeset in webkit [84461] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

Suppress failures for media/csp-blocks-video.html and
plugins/embed-attributes-style.html

  • platform/chromium/test_expectations.txt:
8:21 PM Changeset in webkit [84460] by abarth@webkit.org
  • 5 edits
    6 adds in trunk

2011-04-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP frame-src is missing
https://bugs.webkit.org/show_bug.cgi?id=58643

Tests the basic functionality of frame-src.

  • http/tests/security/contentSecurityPolicy/frame-src-allowed-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/frame-src-allowed.html: Added.
  • http/tests/security/contentSecurityPolicy/frame-src-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/frame-src-blocked.html: Added.
  • http/tests/security/contentSecurityPolicy/resources/alert-fail.html: Added.
  • http/tests/security/contentSecurityPolicy/resources/alert-pass.html: Added.

2011-04-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP frame-src is missing
https://bugs.webkit.org/show_bug.cgi?id=58643

This is a first cut at an implementation of frame-src. There are a
couple things that will need to be improved:

1) I don't think we're handling in-frame navigation properly. This

patch only covers setting the src attribute of the frame, but I
think the intent of the spec is to cover navigation as well.

2) The console message is printed twice, once when we try to load the

frame and again when we attach the frame to the render tree.

I'll file bugs about these issues (blocking
https://bugs.webkit.org/show_bug.cgi?id=53572) once this patch lands.

Tests: http/tests/security/contentSecurityPolicy/frame-src-allowed.html

http/tests/security/contentSecurityPolicy/frame-src-blocked.html

  • html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::isURLAllowed):
  • page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowChildFrameFromSource): (WebCore::ContentSecurityPolicy::addDirective):
  • page/ContentSecurityPolicy.h:
8:02 PM Changeset in webkit [84459] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-04-20 Jia Pu <jpu@apple.com>

Reviewed by Maciej Stachowiak.

[Mac] Correction panel shows up at incorrect location after webpage is scrolled.
https://bugs.webkit.org/show_bug.cgi?id=59052
<rdar://problem/9312513>

Fixed a regression caused by interaction between patch for bug 57353 and patch for bug 55571.
See bug webpage for detail.

  • editing/Editor.cpp: (WebCore::Editor::selectionStartHasMarkerFor):
  • editing/SpellingCorrectionController.cpp: (WebCore::SpellingCorrectionController::windowRectForRange):
7:47 PM Changeset in webkit [84458] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
7:33 PM Changeset in webkit [84457] by abarth@webkit.org
  • 22 edits
    2 copies
    12 adds
    4 deletes in trunk

2011-04-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP policy violations should log to the console
https://bugs.webkit.org/show_bug.cgi?id=58646

Now with console messages. I had to split a bunch of these tests into
smaller pieces to avoid race conditions in the new test output.

  • http/tests/security/contentSecurityPolicy/directive-parsing-expected.txt:
  • http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/image-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/inline-script-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy-expected.txt:
  • http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy.html:
  • http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy.html.
  • http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked-expected.txt.
  • http/tests/security/contentSecurityPolicy/javascript-url-allowed.html: Added.
  • http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/javascript-url-blocked.html: Added.
  • http/tests/security/contentSecurityPolicy/javascript-url-expected.txt: Removed.
  • http/tests/security/contentSecurityPolicy/javascript-url.html: Removed.
  • http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/object-src-none-allowed-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/object-src-none-allowed.html: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none.html.
  • http/tests/security/contentSecurityPolicy/object-src-none-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/object-src-none-blocked.html: Renamed from LayoutTests/http/tests/security/contentSecurityPolicy/object-src-none.html.
  • http/tests/security/contentSecurityPolicy/object-src-none-expected.txt: Removed.
  • http/tests/security/contentSecurityPolicy/script-src-none-expected.txt:
  • http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt:
  • http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt:
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-01-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-01.html: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-02-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-02.html: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-03-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-blocked-03.html: Added.
  • http/tests/security/contentSecurityPolicy/script-src-self-expected.txt:
  • http/tests/security/contentSecurityPolicy/script-src-self.html:
  • http/tests/security/contentSecurityPolicy/source-list-parsing-expected.txt:
  • http/tests/security/contentSecurityPolicy/style-blocked-expected.txt:
  • http/tests/security/contentSecurityPolicy/xsl-blocked-expected.txt:
  • media/csp-blocks-video-expected.txt:

2011-04-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP policy violations should log to the console
https://bugs.webkit.org/show_bug.cgi?id=58646

We now log policy violations to the JavaScript console to help
developers debug what's going on with their Content-Security-Policy.

Tests: http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html

http/tests/security/contentSecurityPolicy/javascript-url-allowed.html
http/tests/security/contentSecurityPolicy/javascript-url-blocked.html
http/tests/security/contentSecurityPolicy/object-src-none-allowed.html
http/tests/security/contentSecurityPolicy/object-src-none-blocked.html
http/tests/security/contentSecurityPolicy/script-src-self-blocked-01.html
http/tests/security/contentSecurityPolicy/script-src-self-blocked-02.html
http/tests/security/contentSecurityPolicy/script-src-self-blocked-03.html

  • dom/Document.cpp: (WebCore::Document::initSecurityContext):
  • page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::ContentSecurityPolicy): (WebCore::ContentSecurityPolicy::allowJavaScriptURLs): (WebCore::ContentSecurityPolicy::allowInlineEventHandlers): (WebCore::ContentSecurityPolicy::allowInlineScript): (WebCore::ContentSecurityPolicy::allowEval): (WebCore::ContentSecurityPolicy::allowScriptFromSource): (WebCore::ContentSecurityPolicy::allowObjectFromSource): (WebCore::ContentSecurityPolicy::allowImageFromSource): (WebCore::ContentSecurityPolicy::allowStyleFromSource): (WebCore::ContentSecurityPolicy::allowFontFromSource): (WebCore::ContentSecurityPolicy::allowMediaFromSource): (WebCore::ContentSecurityPolicy::addDirective):
  • page/ContentSecurityPolicy.h: (WebCore::ContentSecurityPolicy::create):
7:23 PM Changeset in webkit [84456] by aestes@apple.com
  • 2 edits in trunk/LayoutTests

fast/images/animated-gif-restored-from-bfcache.html fails on Windows bots
https://bugs.webkit.org/show_bug.cgi?id=59062

  • platform/win/Skipped:
7:20 PM Changeset in webkit [84455] by commit-queue@webkit.org
  • 5 edits in trunk/Tools

2011-04-20 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84431.
http://trac.webkit.org/changeset/84431
https://bugs.webkit.org/show_bug.cgi?id=59061

Breaks for folks who don't have editbugs (Requested by abarth
on #webkit).

  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/tool/commands/upload_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
  • Scripts/webkitpy/tool/steps/postdiff.py:
7:13 PM Changeset in webkit [84454] by mitz@apple.com
  • 4 edits
    2 adds in trunk

<rdar://problem/9095366> With a non-1 page scale, scrolling to reveal selection fails
https://bugs.webkit.org/show_bug.cgi?id=59046

Reviewed by Maciej Stachowiak.

Source/WebCore:

Test: fast/transforms/selection-bounds-in-transformed-view.html

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::repaintUsingContainer): If the repaint container is the RenderView, and
it has a composited layer that paints straight to the window, then translate from view coordinates
to window coordinates here.

  • rendering/RenderView.cpp:

(WebCore::RenderView::mapLocalToContainer): Do not apply our transform if we are the painting root.
(WebCore::RenderView::computeRectForRepaint): Ditto. Applying the transform here was compensating
for not applying it in RenderObject::repaintUsingContainer(), but for purposes other than repainting,
such as computing selection bounds, this function was returning the wrong results.

LayoutTests:

  • fast/transforms/selection-bounds-in-transformed-view-expected.txt: Added.
  • fast/transforms/selection-bounds-in-transformed-view.html: Added.
7:07 PM Changeset in webkit [84453] by leo.yang@torchmobile.com.cn
  • 2 edits in trunk/Tools

2011-04-20 Leo Yang <leo.yang@torchmobile.com.cn>

Unreviewed.

Adding myself to committers.py.

  • Scripts/webkitpy/common/config/committers.py:
7:03 PM Changeset in webkit [84452] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

<rdar://problem/9304956> media/broken-video.html crashes

Reviewed by Eric Carlson.

  • platform/graphics/MediaPlayer.cpp:

(WebCore::nextMediaEngine): Fixed an off-by-one error.

6:58 PM Changeset in webkit [84451] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

Merge forward more suppressions from the chromium overrides
file.

  • platform/chromium/test_expectations.txt:
6:55 PM Changeset in webkit [84450] by eric@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-20 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Split out isIteratorTarget from bidiNext and bidiFirst
https://bugs.webkit.org/show_bug.cgi?id=59033

This is the first (tiny) step of many. When I tried to
make larger changes to this function I broke stuff, so
doing this in tiny pieces so we know it's right.

  • rendering/InlineIterator.h: (WebCore::isIteratorTarget): (WebCore::bidiNext): (WebCore::bidiFirstSkippingInlines): (WebCore::bidiFirstNotSkippingInlines):
6:38 PM Changeset in webkit [84449] by commit-queue@webkit.org
  • 5 edits in trunk/Source

2011-04-20 Alexey Marinichev <amarinichev@chromium.org>

Reviewed by Kenneth Russell.

Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
https://bugs.webkit.org/show_bug.cgi?id=59045

Lose context extension test might not catch this bug, more reliable
way is forcing the crash of the GPU process, which is done by Chromium
browser tests.

  • platform/graphics/chromium/WebGLLayerChromium.cpp: (WebCore::WebGLLayerChromium::updateCompositorResources): (WebCore::WebGLLayerChromium::setContext):
  • platform/graphics/chromium/WebGLLayerChromium.h:

2011-04-20 Alexey Marinichev <amarinichev@chromium.org>

Reviewed by Kenneth Russell.

Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
https://bugs.webkit.org/show_bug.cgi?id=59045

  • src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform layer and unregister itself.
6:28 PM Changeset in webkit [84448] by commit-queue@webkit.org
  • 2 edits
    1 add in trunk/Source/WebCore

2011-04-20 Jia Pu <jpu@apple.com>

Reviewed by Maciej Stachowiak.

[Mac]Regression: extending word that is already marked misspelled doesn't remove misspelling underline.
https://bugs.webkit.org/show_bug.cgi?id=59032
<rdar://problem/9312444>

This fixes a regression introduced in recent refactoring work in Editor. See bug webpage for detail.

manual test: Source/WebCore/manual-tests/autocorrection/remove-misspelling-marker-after-appending-letter.html

  • editing/Editor.cpp: (WebCore::Editor::insertTextWithoutSendingTextEvent):
  • manual-tests/autocorrection/remove-misspelling-marker-after-appending-letter.html: Added.
6:10 PM Changeset in webkit [84447] by adamk@chromium.org
  • 1 edit in trunk/Tools/Scripts/webkitpy/common/config/committers.py

Unreviewed. Add myself to the committers script.

6:04 PM Changeset in webkit [84446] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Build fix - revert accidental change.

  • wtf/Platform.h:
6:03 PM Changeset in webkit [84445] by barraclough@apple.com
  • 6 edits in trunk/Source/JavaScriptCore

Add SAMPLING_FLAGS tool to DFG JIT.

Reviewed by Sam Weinig.

  • bytecode/SamplingTool.h:

(JSC::SamplingFlags::addressOfFlags):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::setSamplingFlag):
(JSC::DFG::JITCompiler::clearSamplingFlag):

  • dfg/DFGJITCompiler.h:
  • jit/JITInlineMethods.h:

(JSC::JIT::setSamplingFlag):
(JSC::JIT::clearSamplingFlag):

  • wtf/Platform.h:
5:54 PM Changeset in webkit [84444] by Chris Fleizach
  • 3 edits in trunk/Source/WebCore

2011-04-20 Chris Fleizach <Chris Fleizach>

Reviewed by Beth Dakin.

CrashTracer: 301 crashes in Safari at com.apple.WebCore: WebCore::AccessibilityRenderObject::visiblePositionForPoint const + 297
https://bugs.webkit.org/show_bug.cgi?id=57405

The offending line in this crash was a null pointer access in

m_renderer->document()->topDocument()->renderer()->view()->frameView();

It seems likely that one of those calls was invalid. I could not reproduce and there was no
information on reproducible steps, hence the absence of a layout test.

  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::topRenderer): (WebCore::AccessibilityRenderObject::topDocument): (WebCore::AccessibilityRenderObject::topDocumentFrameView): (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
  • accessibility/AccessibilityRenderObject.h:
5:46 PM Changeset in webkit [84443] by aestes@apple.com
  • 4 edits
    3 adds in trunk

2011-04-20 Andy Estes <aestes@apple.com>

Reviewed by Maciej Stachowiak.

REGRESSION (WK2): Animated GIF stops when navigating forward, back
https://bugs.webkit.org/show_bug.cgi?id=59042

  • fast/images/animated-gif-restored-from-bfcache-expected.txt: Added.
  • fast/images/animated-gif-restored-from-bfcache.html: Added.
  • fast/images/resources/animated-10color.gif: Added.
  • platform/mac-wk2/Skipped: Sadly, this test for a WebKit2-specific fix has to be skipped for now on WebKit2 since it doesn't implement layoutTestController.overridePreference().

2011-04-20 Andy Estes <aestes@apple.com>

Reviewed by Maciej Stachowiak.

REGRESSION (WK2): Animated GIF stops when navigating forward, back
https://bugs.webkit.org/show_bug.cgi?id=59042

When loading the page from the b/f cache,
document()->view()->isOffscreen() returns true in
RenderObject::willRenderImage(), so BitmapImage::startAnimation()
returns without actually kicking off the animation.

In WebKit1, the ScrollView is a platform widget, so
ScrollView::isOffscreen() calls [NSWindow isVisible]. In WebKit2, the
ScrollView isn't a platform widget so it asks the WebCore Widget
whether or not it is visible. It always returns false since
setParentVisible(false) was called on the old ScrollView before
navigating to a new page, but setParentVisible(true) is never called
when restoring it from the back/forward cache. This is probably a
long-standing bug.

Fix this by calling setParentVisible(true) when a cached main frame is
being restored.

Test: fast/images/animated-gif-restored-from-bfcache.html

  • history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore): If the cached frame is the main frame, call setParentVisible(true) on the frame's view.
5:35 PM Changeset in webkit [84442] by weinig@apple.com
  • 2 edits in trunk/Source/WebCore

2011-04-20 Sam Weinig <sam@webkit.org>

Reviewed by Anders Carlsson.

WebKit2: Can't scroll page after printing on Yahoo.com and other sites
<rdar://problem/9233291>
https://bugs.webkit.org/show_bug.cgi?id=59049

  • page/Frame.cpp: (WebCore::Frame::setPrinting): Match Mac WebKit1 code when ending printing, and call forceLayout() instead of forceLayoutForPagination().
5:28 PM Changeset in webkit [84441] by kbr@google.com
  • 2 edits in trunk/Source/WebCore

2011-04-20 Kenneth Russell <kbr@google.com>

Reviewed by James Robinson.

Reduce size of GraphicsContext3D's compiled code
https://bugs.webkit.org/show_bug.cgi?id=59029

Changed format conversion operations to work line-by-line instead
of pixel-by-pixel, and passed them as function pointers rather
than template parameters. Simplified computation of source
increment, since elements per row is now all that is needed.

These changes reduce the size of GraphicsContext3D.o in release
mode on Linux from 299 KB to 53 KB.

No new tests. Existing layout tests cover these format conversions
well, and caught one typo in the restructuring. Also ran WebGL
conformance suite and other demos.

  • platform/graphics/GraphicsContext3D.cpp: (WebCore::doUnpackingAndPacking): (WebCore::computeSourceElementsPerRow): (WebCore::doPacking): (WebCore::doFloatingPointPacking): (WebCore::GraphicsContext3D::packPixels):
5:23 PM Changeset in webkit [84440] by Dimitri Glazkov
  • 3 edits
    2 adds in trunk

2011-04-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

REGRESSION(r82376): Clicking on a label, associated with a disabled input element changes state of the element.
https://bugs.webkit.org/show_bug.cgi?id=59037

  • fast/events/simulated-click-disabled-expected.txt: Added.
  • fast/events/simulated-click-disabled.html: Added.

2011-04-20 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

REGRESSION(r82376): Clicking on a label, associated with a disabled input element changes state of the element.
https://bugs.webkit.org/show_bug.cgi?id=59037

Test: fast/events/simulated-click-disabled.html

  • dom/EventDispatcher.cpp: (WebCore::EventDispatcher::dispatchSimulatedClick): Added check for disabled element.
5:21 PM Changeset in webkit [84439] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Pull in more flaky expectations.

  • platform/chromium/test_expectations.txt:
4:55 PM Changeset in webkit [84438] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change. Pull in expectations from
overrides file.

  • platform/chromium/test_expectations.txt:
4:50 PM Changeset in webkit [84437] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-20 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Don't discard backing stores for hung web processes
https://bugs.webkit.org/show_bug.cgi?id=59039
<rdar://problem/9237090>

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::viewStateDidChange): (WebKit::WebPageProxy::processDidBecomeUnresponsive): (WebKit::WebPageProxy::processDidBecomeResponsive): Call updateBackingStoreDiscardableState.

(WebKit::WebPageProxy::updateBackingStoreDiscardableState):
Never mark the backing store as discardable if the web process is hung

4:48 PM Changeset in webkit [84436] by eric@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-04-20 Eric Seidel <eric@webkit.org>

Reviewed by Ryosuke Niwa.

Split bidiFirst into two functions
https://bugs.webkit.org/show_bug.cgi?id=59025

I don't have a full understanding of the skipInlines case yet
(hence it's not as pretty as the non-skipping case), but
this is clearly a win, as both functions are much simpler
than their combined version.

Both of these functions still have bad names. However the
bidiNext/bidiFirst names date all the way back to revision 1
of the WebKit repository. :) So I don't feel too bad keeping
them for the moment.

  • rendering/InlineIterator.h: (WebCore::bidiNext): (WebCore::bidiFirstSkippingInlines): (WebCore::bidiFirstNotSkippingInlines):
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::simplifiedNormalFlowLayout):
  • rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::layoutInlineChildren): (WebCore::RenderBlock::determineStartPosition):
4:43 PM Changeset in webkit [84435] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebKit/win

Provide missing implementation of WebMutableURLRequest::mutableCopy.
This was preventing DumpRenderTree from working properly under
the WinCairo port.
https://bugs.webkit.org/show_bug.cgi?id=59034

Reviewed by Martin Robinson.

  • WebMutableURLRequest.cpp:

(WebMutableURLRequest::mutableCopy): Implement cURL version of the
copy operation.

4:41 PM Changeset in webkit [84434] by mjs@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by Sam Weinig.

Reproducible crash under WebPageProxy::didReceiveEvent
https://bugs.webkit.org/show_bug.cgi?id=59036
<rdar://problem/9252083>

  • UIProcess/API/mac/WKView.mm: (-[WKView _resendKeyDownEvent:]): Protect against self-destruction when re-dispatching the event.
  • UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::createWebPage): Fixed a type mismatch I noticed while debugging.
4:35 PM Changeset in webkit [84433] by commit-queue@webkit.org
  • 7 edits in trunk/Source/WebCore

2011-04-20 Jia Pu <jpu@apple.com>

Reviewed by Adele Peterson.

[Mac] Like autocorrection, other types of substitution need to respect undo.
https://bugs.webkit.org/show_bug.cgi?id=59009
<rdar://problem/8601537>

Similar to autocorrection, we use SpellingCorrectionCommand to carry out other types of text substitution, so that
if user undoes the substitution, it will not be applied again. For CreateLinkCommand, we add marker when it's undone
so that we won't automatically add link again.

  • editing/CreateLinkCommand.h: (WebCore::CreateLinkCommand::isCreateLinkCommand):
  • editing/EditCommand.cpp: (WebCore::EditCommand::isCreateLinkCommand):
  • editing/EditCommand.h:
  • editing/Editor.cpp: (WebCore::Editor::unappliedEditing): (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
  • editing/SpellingCorrectionController.cpp: (WebCore::SpellingCorrectionController::respondToAppliedEditing): (WebCore::SpellingCorrectionController::respondToUnappliedEditing):
  • editing/SpellingCorrectionController.h: (WebCore::SpellingCorrectionController::UNLESS_ENABLED):
4:20 PM Changeset in webkit [84432] by tony@chromium.org
  • 2 edits
    1 add
    2 deletes in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Update 2 more tests that are missing png files.

  • platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.checksum: Removed.
  • platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.png: Added. png with embedded checksum pulled from the bot.
  • platform/chromium-win/compositing/repaint/become-overlay-composited-layer-expected.checksum: Removed. This file is not used since we don't

run compositing tests w/CPU rendering and there's a GPU result in chromium-gpu-win.

  • platform/chromium/test_expectations.txt: Remove these tests.
4:08 PM Changeset in webkit [84431] by abarth@webkit.org
  • 5 edits in trunk/Tools

2011-04-20 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

webkit-patch upload should assign the bug to you
https://bugs.webkit.org/show_bug.cgi?id=33699

This patch only re-assigns the bug if it is currently unassigned. We
can be more aggressive in the future if people want us to be more
agressive.

  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/tool/commands/upload_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
  • Scripts/webkitpy/tool/steps/postdiff.py:
4:07 PM Changeset in webkit [84430] by jianli@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, fixed typo in the failed test added to chromium test
expectations.

  • platform/chromium/test_expectations.txt:
3:57 PM Changeset in webkit [84429] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk/Source/WebCore

2011-04-20 Steve Lacey <sjl@chromium.org>

Reviewed by Eric Carlson.

[chromium] Move Chromium media controls into own root element.
https://bugs.webkit.org/show_bug.cgi?id=59018

No new tests as there is no functional change

  • WebCore.gypi:
  • css/mediaControlsChromium.css: (audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container):
  • html/shadow/MediaControlRootElementChromium.cpp: Added. Clone of html/shadow/MediaControlRootElement.cpp with all unused code removed.
  • html/shadow/MediaControlRootElementChromium.h: Added.
3:54 PM Changeset in webkit [84428] by tony@chromium.org
  • 2 edits
    1 add
    1 delete in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

More .checksum file cleanup.

  • fast/css/background-clip-values-expected.checksum: Removed. This is a duplicate of the .checksum

file in platform/mac.

  • platform/mac-leopard/fast/backgrounds/size/contain-and-cover-expected.checksum: Correct checksum by

regenerating on my leopard machine.

  • platform/mac-leopard/fast/backgrounds/size/contain-and-cover-expected.png: Added.
3:32 PM Changeset in webkit [84427] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/chromium

2011-04-20 Yuzhu Shen <yzshen@chromium.org>

Reviewed by Tony Chang.

[chromium] linux chromium doesn't set click count for mouse up events.
https://bugs.webkit.org/show_bug.cgi?id=58921

The reason why we need such a fix is that the Pepper API passes this information to plugins,
and some consumers (e.g., Flash) need it to detect double-clicks.

  • src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
3:26 PM Changeset in webkit [84426] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-20 Charlie Lee <chocobo@chromium.org>

Reviewed by Dirk Schulze.

LEFilter change doesn't compile on ARM neon targets
https://bugs.webkit.org/show_bug.cgi?id=58671

Build fix for Chromium ARM/NEON platform. Added platform/graphics/filters/arm directory to build system.

  • WebCore.gyp/WebCore.gyp:
3:20 PM Changeset in webkit [84425] by xji@chromium.org
  • 5 edits in trunk

2011-04-20 Xiaomei Ji <xji@chromium.org>

Reviewed by Ryosuke Niwa.

Continue (3rd) experiment with moving caret by word in visual order.
https://bugs.webkit.org/show_bug.cgi?id=58294

This patch along with r82588 and r83483 implements moving caret by
word in visual order.


The overall algorithm is:

  1. First get the InlineBox and offset of the pass-in VisiblePosition.
  2. Based on the position (left boundary, middle, right boundary) of the offset and the direction of the movement, look for visually adjacent word breaks. 2.1 If the offset is the minimum offset of the box,

return the rightmost word boundary in previous boxes if moving left.
return the leftmost word boundary in box and next boxes if moving right.

2.2 Similar for the case when offset is at the maximum offset of the box.
2.3 When offset is inside the box (not at boundaries), first find the previousWordPosition

or nextWordPosition based on the directionality of the box. If this word break position
is also inside the same box, return it. Otherwise (the nextWordPosition or
previousWordPosition is not in the same box or is at the box boundary), collect all the
word breaks in the box and search for the one closest to the input "offset" based on
box directionality, block directionality, and movement direction. Continue search in
adjacent boxes if needed.

Notes:

  1. Word boundaries are collected one box at a time. Only when a boundary that is closest to the input position (in the moving direction) is not available in current box, word boundaries in adjacent box will be collected. So, there is no need to save InlineBox in word boundaries. Instead, the word boundaries are saved as a pair (VisiblePosition, offset) to avoid recomputing VisiblePosition.


  1. We only collect boundaries of the right kind (i.e. left boundary of a word in LTR block and right boundary of a word in RTL block). And word boundaries are collected using previousWordPosition() and nextWordPosition(). So when box directionality is the same as block directionality, word boundaries are collected from right to left visually in a LTR box, and word boundaries are collected from left to right visually in a RTL box. It is the other way around when box directionality is different from block directionality.
  1. To find the right kinds of word boundaries, we must move back and forth between words in some situations. For example, if we're moving to the right in a LTR box in LTR block, we cannot simply return nextWordPosition() because it would return the right boundary of a word. Instead, we return nextWordPosition()'s nextWordPosition()'s previousWordPosition().
  1. When collecting word breaks inside a box, it first computes a start position, then collect the right kind of word breaks until it reaches the end of (or beyond) the box. In the meanwhile, it might need special handling on the rightmost or leftmost position based on the directionality of the box and block. These computations do not consider the box's bidi level.
  • editing/visible_units.cpp: (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality): (WebCore::collectWordBreaksInBox): (WebCore::previousWordBoundaryInBox): (WebCore::nextWordBoundaryInBox): (WebCore::visuallyLastWordBoundaryInBox): (WebCore::leftWordBoundary): (WebCore::rightWordBoundary): (WebCore::leftWordPosition): (WebCore::rightWordPosition):

2011-04-20 Xiaomei Ji <xji@chromium.org>

Reviewed by Ryosuke Niwa.

Continue (3rd) experiment with moving caret by word in visual order.
https://bugs.webkit.org/show_bug.cgi?id=58294

  • editing/selection/move-by-word-visually-expected.txt:
  • editing/selection/move-by-word-visually.html:
3:15 PM April 2011 Meeting edited by Dimitri Glazkov
(diff)
3:09 PM Changeset in webkit [84424] by timothy@apple.com
  • 11 edits in trunk/Source/WebKit2

Make the Web Insepctor come to the front when a breakpoint is hit.

<https://webkit.org/b/57480> REGRESSION (WebKit2): Inspector doesn't come to the front when a breakpoint is hit in the debugger
<rdar://problem/9209472>

Reviewed by Adam Roben.

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::bringToFront): Added. Call platformBringToFront.

  • UIProcess/WebInspectorProxy.h:
  • UIProcess/WebInspectorProxy.messages.in: Added BringToFront.
  • UIProcess/mac/WebInspectorProxyMac.mm:

(WebKit::WebInspectorProxy::platformBringToFront): Added. Call orderFront:.

  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::platformBringToFront): Added. Call SetWindowPos.

  • WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:

(WebKit::WebInspectorFrontendClient::bringToFront): Call WebInspector::bringToFront.

  • WebProcess/WebPage/WebInspector.cpp:

(WebKit::WebInspector::bringToFront): Added. Send WebInspectorProxy::BringToFront message.

  • WebProcess/WebPage/WebInspector.h: Added bringToFront.
2:57 PM Changeset in webkit [84423] by Csaba Osztrogonác
  • 2 edits in trunk/Tools

Modify builder.html template to allow easy access
to list more builds on the builder's page.

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2011-04-20
Reviewed by Csaba Osztrogonác.

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

  • BuildSlaveSupport/build.webkit.org-config/templates/builder.html:
2:57 PM Changeset in webkit [84422] by cdn@chromium.org
  • 3 edits
    2 adds in trunk

2011-04-20 Cris Neckar <cdn@chromium.org>

Reviewed by Dirk Schulze.

Tests for crash when copying a filter effect after applying tranforms.
https://bugs.webkit.org/show_bug.cgi?id=57885

  • svg/filters/svg-transform-blur-crash-expected.txt: Added.
  • svg/filters/svg-transform-blur-crash.xhtml: Added.

2011-04-20 Cris Neckar <cdn@chromium.org>

Reviewed by Dirk Schulze.

Return early when the paint rect and the source rect do not overlap as no bytes need to be copied.
https://bugs.webkit.org/show_bug.cgi?id=57885

Test: svg/filters/svg-transform-blur-crash.xhtml

  • platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::copyImageBytes):
2:48 PM Changeset in webkit [84421] by Csaba Osztrogonác
  • 1 edit
    1 add in trunk/Tools

2011-04-20 Peter Gal <galpeter@inf.u-szeged.hu>

Reviewed by Csaba Osztrogonác.

Add the default template for builder page.

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

  • BuildSlaveSupport/build.webkit.org-config/templates/builder.html: Added.
2:45 PM Changeset in webkit [84420] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-20 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

move page generation into a single function
https://bugs.webkit.org/show_bug.cgi?id=59027

Now executing the script doesn't create any state. We should then
be able to write tests for this by setting custom results data.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
2:39 PM Changeset in webkit [84419] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-20 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

move global state into a shared object
https://bugs.webkit.org/show_bug.cgi?id=59023

This makes the code more testable.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
2:38 PM Changeset in webkit [84418] by jianli@chromium.org
  • 4 edits
    3 adds in trunk

Support DataView in workers
https://bugs.webkit.org/show_bug.cgi?id=59014

Reviewed by Kenneth Russell.

Source/WebCore:

Test: fast/canvas/webgl/worker-data-view-test.html

  • workers/WorkerContext.idl: Expose DataView constructor.

LayoutTests:

  • fast/canvas/webgl/resources/worker-data-view-test.js: Added.
  • fast/canvas/webgl/worker-data-view-test-expected.txt: Added.
  • fast/canvas/webgl/worker-data-view-test.html: Added.
  • platform/chromium/test_expectations.txt:
2:33 PM Changeset in webkit [84417] by tony@chromium.org
  • 2 edits
    12 deletes in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Cleanup .checksum files that don't have .png files.

If the test is marked as failing, just delete the .checksum file.
If the test is marked as passing, put it in test_expectations.txt so
the bots will generate results.

  • platform/chromium-mac-leopard/fast/borders/border-radius-split-inline-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/repaint/positioned-document-element-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/text/basic/014-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/input-appearance-bkcolor-expected.checksum: Removed.
  • platform/chromium-mac/fast/images/imagemap-focus-ring-expected.checksum: Removed.
  • platform/chromium-mac/tables/mozilla/core/misc-expected.checksum: Removed.
  • platform/chromium-win/fast/forms/searchfield-heights-expected.checksum: Removed.
  • platform/chromium/test_expectations.txt:
2:09 PM Changeset in webkit [84416] by cmarrin@apple.com
  • 10 edits in trunk/Source

2011-04-20 Chris Marrin <cmarrin@apple.com>

Reviewed by Adam Roben.

REGRESSION (WebKit2): CSS animations on pages that use accelerated compositing stop after switching tabs
https://bugs.webkit.org/show_bug.cgi?id=57868


Running CACFAnimations aren't remembered when layer tree is unparented and
then reparented. Added a new ensureAnimationsSubmitted function to
PlatformCALayer to traverse the tree and resubmit animations, setting the
beginTime to the original start time of the animation. This is called in WK2
when layer tree is newly parented.


I also consolidated currentTimeToMediaTime into PlatformCALayer so it can be shared
between PlatformCALayer and GraphicsLayerCA.

  • platform/graphics/ca/GraphicsLayerCA.cpp:
  • platform/graphics/ca/PlatformCAAnimation.h:

Remember actual animation start time in CACFAnimation beginTime property

  • platform/graphics/ca/PlatformCALayer.h:

New ensureAnimationsSubmitted function which traverses layers and resubmits all animations

  • platform/graphics/ca/mac/PlatformCALayerMac.mm:
  • platform/graphics/ca/win/PlatformCALayerWin.cpp:

2011-04-20 Chris Marrin <cmarrin@apple.com>

Reviewed by Adam Roben.

REGRESSION (WebKit2): CSS animations on pages that use accelerated compositing stop after switching tabs
https://bugs.webkit.org/show_bug.cgi?id=57868


Subclassed setRootCompositingLayer so it can call ensureAnimationsSubmitted on Win.

  • WebProcess/WebPage/ca/LayerTreeHostCA.h:

Make setRootCompositingLayer protected so it can be called from subclass

  • WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:

Override setRootCompositingLayer to add call to root layer's
PlatformCALayer::ensureAnimationsSubmitted method

  • WebProcess/WebPage/ca/win/LayerTreeHostCAWin.h:
2:03 PM ThreadCommunication edited by levin@chromium.org
Filled in api for sync case. (diff)
2:02 PM Changeset in webkit [84415] by eric.carlson@apple.com
  • 14 edits in trunk

2011-04-20 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Adopt QTKit API for listing and deleting file in its media cache.
<rdar://problem/9130029>
https://bugs.webkit.org/show_bug.cgi?id=58795

Not possible to test automatically, verified manually.

  • WebCore.exp.in: Export new media download cache functions.
  • platform/graphics/mac/MediaPlayerPrivateQTKit.h:
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine): Register cache management functions. (WebCore::MediaPlayerPrivateQTKit::getSitesInMediaCache): New, return cache origins. (WebCore::MediaPlayerPrivateQTKit::clearMediaCache): New, empty the media cache. (WebCore::MediaPlayerPrivateQTKit::clearMediaCacheForSite): New, delete files in the media

cache for one origin.

  • platform/mac/WebCoreSystemInterface.h: Add new WKSI functions.
  • platform/mac/WebCoreSystemInterface.mm: Ditto.

2011-04-20 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Adopt QTKit API for listing and deleting file in its media cache.
<rdar://problem/9130029>
https://bugs.webkit.org/show_bug.cgi?id=58795

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:

2011-04-20 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Adopt QTKit API for listing and deleting file in its media cache.
<rdar://problem/9130029>

  • WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize new functions.

2011-04-18 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Adopt QTKit API for listing and deleting file in its media cache.
<rdar://problem/9130029>

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize new functions.
2:00 PM Changeset in webkit [84414] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Dirk Pranke <dpranke@chromium.org>

Unreviewed, fix duplicate expectations.

  • platform/chromium/test_expectations.txt:
1:47 PM Changeset in webkit [84413] by barraclough@apple.com
  • 5 edits in trunk/Source/JavaScriptCore

Bug 59022 - DFG JIT - Optimize branch-on-relational-compare

Reviewed by Oliver Hunt.

If a relational compare (< or <=) is immediately followed by a branch,
we can combine the two, avoiding generation of a boolean into a register.

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::branch32):
(JSC::MacroAssemblerX86Common::invert):
(JSC::MacroAssemblerX86Common::commute):

  • dfg/DFGNode.h:

(JSC::DFG::Node::adjustedRefCount):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::isJSConstantWithInt32Value):
(JSC::DFG::SpeculativeJIT::detectPeepHoleBranch):

1:47 PM Changeset in webkit [84412] by tony@chromium.org
  • 6191 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Unreviewed, embedding checksums in png files in platform/mac.

1:28 PM Changeset in webkit [84411] by robert@webkit.org
  • 2 edits
    1 add in trunk/LayoutTests

2011-04-20 Robert Hogan <robert@webkit.org>

Reviewed by Antonio Gomes.

[Qt] DRT sideeffect revealed by r63657 and r75305
https://bugs.webkit.org/show_bug.cgi?id=42578

Unskip tests passing since r76958

The NetworkAccessManager's authentication cache is getting
cleared now on every page load, so these no longer leak
credentials between tests.

  • platform/qt/Skipped:
1:05 PM Changeset in webkit [84410] by krit@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-04-20 Dirk Schulze <krit@webkit.org>

Reviewed by Simon Fraser.

SVG feDropShadow implementation of SVG Filters 1.2
https://bugs.webkit.org/show_bug.cgi?id=52513

Support different radii for horizontal and vertical blurring in ShadowBlur. This is a preperation for feDropShadow.
feDropShadow is a new shorthand filter effect for the up-comming Filter 1.0 specification and will use ShadowBlur.
feGaussianBlur might make use of ShadowBlur as well later (on SourceAlpha input).
Added ShadowBlur to remaining platforms.

The changes can't be tested before the changes in feGaussianBlur or feDropShadow. Current behavior is not affected.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.pro:
  • platform/graphics/FloatSize.h: (WebCore::FloatSize::scale):
  • platform/graphics/ShadowBlur.cpp: (WebCore::ScratchBuffer::ScratchBuffer): (WebCore::ScratchBuffer::setLastShadowValues): (WebCore::ScratchBuffer::setLastInsetShadowValues): (WebCore::ScratchBuffer::matchesLastShadow): (WebCore::ScratchBuffer::matchesLastInsetShadow): (WebCore::ScratchBuffer::clearScratchBuffer): (WebCore::ShadowBlur::ShadowBlur): (WebCore::calculateLobes): (WebCore::ShadowBlur::blurLayerImage): (WebCore::ShadowBlur::adjustBlurRadius): (WebCore::ShadowBlur::calculateLayerBoundingRect): (WebCore::computeSliceSizesFromRadii): (WebCore::ShadowBlur::templateSize): (WebCore::ShadowBlur::drawInsetShadowWithTiling): (WebCore::ShadowBlur::drawRectShadowWithTiling): (WebCore::ShadowBlur::drawLayerPieces):
  • platform/graphics/ShadowBlur.h:
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::fillRoundedRect): (WebCore::GraphicsContext::fillRectWithRoundedHole):
12:56 PM Changeset in webkit [84409] by vrk@chromium.org
  • 4 edits in trunk/LayoutTests

2011-03-07 Victoria Kirst <vrk@google.com>

Reviewed by Mihai Parparita.

Make LayoutTests robust to latency btwn playing event and frame rendering
https://bugs.webkit.org/show_bug.cgi?id=55918

  • media/controls-after-reload.html:
  • media/controls-without-preload.html:
  • media/video-paint-test.js:
  • platform/chromium/test_expectations.txt:
12:54 PM Changeset in webkit [84408] by commit-queue@webkit.org
  • 5 edits in trunk/LayoutTests

2011-04-20 Taiju TSUIKI <tzik@google.com>

Reviewed by David Levin.

Add overwrite copy/move tests for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=58864

  • fast/filesystem/op-copy-expected.txt:
  • fast/filesystem/op-move-expected.txt:
  • fast/filesystem/resources/op-copy.js:
  • fast/filesystem/resources/op-move.js:
12:52 PM WebKit Team edited by mahesh.kulkarni@nokia.com
(diff)
12:48 PM Changeset in webkit [84407] by mahesh.kulkarni@nokia.com
  • 1 edit in trunk/Tools/Scripts/webkitpy/common/config/committers.py

Adding myself to committer list

12:38 PM Changeset in webkit [84406] by tony@chromium.org
  • 5331 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Unreviewed, embedding checksums in png files in platform/chromium-linux*.

12:21 PM Changeset in webkit [84405] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-20 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

add expandAll/collapseAll links
https://bugs.webkit.org/show_bug.cgi?id=59011

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
12:18 PM Changeset in webkit [84404] by yael.aharon@nokia.com
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed.

Adjust Windows results after r84398.

  • platform/win/fast/borders: Added.
  • platform/win/fast/borders/bidi-012-expected.txt: Added.
12:13 PM Changeset in webkit [84403] by tony@chromium.org
  • 5595 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Unreviewed, embedding checksums in png files in platform/chromium-win*.

12:09 PM Changeset in webkit [84402] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

ARMv7 build fix II.

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::softModulo):

12:02 PM Changeset in webkit [84401] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

ARMv7 build fix.

  • assembler/MacroAssemblerARM.h:

(JSC::MacroAssemblerARM::test8):

11:54 AM Changeset in webkit [84400] by evan@chromium.org
  • 4 edits in trunk/Source/WebKit/chromium

2011-04-20 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] expose title text direction on WebDataSource
https://bugs.webkit.org/show_bug.cgi?id=59010

  • public/WebDataSource.h:
  • src/WebDataSourceImpl.cpp: (WebKit::WebDataSourceImpl::pageTitle): (WebKit::WebDataSourceImpl::pageTitleDirection):
  • src/WebDataSourceImpl.h:
11:44 AM Changeset in webkit [84399] by barraclough@apple.com
  • 12 edits in trunk/Source/JavaScriptCore

Rationalize MacroAssembler branch methods
https://bugs.webkit.org/show_bug.cgi?id=58950

Reviewed by Oliver Hunt.

The MacroAssembler currently exposes x86's weird behaviour that the 'setcc'
instruction only sets the low 8 bits of a register. Stop that.

Having done so, to clarify remove the 'set32' prefix from test & compare
instructions - these methods all now set a full 32/64 bit register (Ptr size).
The size in the function name should indicate the amount of data being compared.

Also split out the 'Condition' enum into 'RelationalCondition' and
'ResultCondition'. The former is used in binary comparison, the latter is a unary
condition check on the result of an operation.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • assembler/MacroAssembler.h:

(JSC::MacroAssembler::branchPtr):
(JSC::MacroAssembler::branch32):
(JSC::MacroAssembler::branch16):
(JSC::MacroAssembler::branchTestPtr):
(JSC::MacroAssembler::comparePtr):
(JSC::MacroAssembler::branchAddPtr):
(JSC::MacroAssembler::branchSubPtr):
(JSC::MacroAssembler::branchTest8):

  • assembler/MacroAssemblerARM.h:

(JSC::MacroAssemblerARM::branch8):
(JSC::MacroAssemblerARM::branch32):
(JSC::MacroAssemblerARM::branch32WithUnalignedHalfWords):
(JSC::MacroAssemblerARM::branch16):
(JSC::MacroAssemblerARM::branchTest8):
(JSC::MacroAssemblerARM::branchTest32):
(JSC::MacroAssemblerARM::branchAdd32):
(JSC::MacroAssemblerARM::branchMul32):
(JSC::MacroAssemblerARM::branchSub32):
(JSC::MacroAssemblerARM::branchNeg32):
(JSC::MacroAssemblerARM::branchOr32):
(JSC::MacroAssemblerARM::compare32):
(JSC::MacroAssemblerARM::test32):
(JSC::MacroAssemblerARM::test8):
(JSC::MacroAssemblerARM::branchPtrWithPatch):
(JSC::MacroAssemblerARM::ARMCondition):

  • assembler/MacroAssemblerARMv7.h:

(JSC::MacroAssemblerARMv7::branch32):
(JSC::MacroAssemblerARMv7::branch32WithUnalignedHalfWords):
(JSC::MacroAssemblerARMv7::branch16):
(JSC::MacroAssemblerARMv7::branch8):
(JSC::MacroAssemblerARMv7::branchTest32):
(JSC::MacroAssemblerARMv7::branchTest8):
(JSC::MacroAssemblerARMv7::branchAdd32):
(JSC::MacroAssemblerARMv7::branchMul32):
(JSC::MacroAssemblerARMv7::branchOr32):
(JSC::MacroAssemblerARMv7::branchSub32):
(JSC::MacroAssemblerARMv7::compare32):
(JSC::MacroAssemblerARMv7::test32):
(JSC::MacroAssemblerARMv7::test8):
(JSC::MacroAssemblerARMv7::branchPtrWithPatch):
(JSC::MacroAssemblerARMv7::makeBranch):
(JSC::MacroAssemblerARMv7::armV7Condition):

  • assembler/MacroAssemblerMIPS.h:

(JSC::MacroAssemblerMIPS::branch8):
(JSC::MacroAssemblerMIPS::branch32):
(JSC::MacroAssemblerMIPS::branch32WithUnalignedHalfWords):
(JSC::MacroAssemblerMIPS::branch16):
(JSC::MacroAssemblerMIPS::branchTest32):
(JSC::MacroAssemblerMIPS::branchTest8):
(JSC::MacroAssemblerMIPS::branchAdd32):
(JSC::MacroAssemblerMIPS::branchMul32):
(JSC::MacroAssemblerMIPS::branchSub32):
(JSC::MacroAssemblerMIPS::branchOr32):
(JSC::MacroAssemblerMIPS::compare32):
(JSC::MacroAssemblerMIPS::test8):
(JSC::MacroAssemblerMIPS::test32):
(JSC::MacroAssemblerMIPS::branchPtrWithPatch):

  • assembler/MacroAssemblerX86.h:

(JSC::MacroAssemblerX86::branch32):
(JSC::MacroAssemblerX86::branchPtrWithPatch):

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::branch8):
(JSC::MacroAssemblerX86Common::branch32):
(JSC::MacroAssemblerX86Common::branch32WithUnalignedHalfWords):
(JSC::MacroAssemblerX86Common::branch16):
(JSC::MacroAssemblerX86Common::branchTest32):
(JSC::MacroAssemblerX86Common::branchTest8):
(JSC::MacroAssemblerX86Common::branchAdd32):
(JSC::MacroAssemblerX86Common::branchMul32):
(JSC::MacroAssemblerX86Common::branchSub32):
(JSC::MacroAssemblerX86Common::branchNeg32):
(JSC::MacroAssemblerX86Common::branchOr32):
(JSC::MacroAssemblerX86Common::compare32):
(JSC::MacroAssemblerX86Common::test8):
(JSC::MacroAssemblerX86Common::test32):
(JSC::MacroAssemblerX86Common::x86Condition):

  • assembler/MacroAssemblerX86_64.h:

(JSC::MacroAssemblerX86_64::comparePtr):
(JSC::MacroAssemblerX86_64::branchPtr):
(JSC::MacroAssemblerX86_64::branchTestPtr):
(JSC::MacroAssemblerX86_64::branchAddPtr):
(JSC::MacroAssemblerX86_64::branchSubPtr):
(JSC::MacroAssemblerX86_64::branchPtrWithPatch):
(JSC::MacroAssemblerX86_64::branchTest8):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_eq):
(JSC::JIT::emit_op_neq):
(JSC::JIT::compileOpStrictEq):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::emit_op_eq):
(JSC::JIT::emit_op_neq):
(JSC::JIT::compileOpStrictEq):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):

11:30 AM ThreadCommunication edited by levin@chromium.org
Small fix. (diff)
11:15 AM Changeset in webkit [84398] by yael.aharon@nokia.com
  • 1 edit
    4 adds
    11 deletes in trunk/LayoutTests

Replace bidi-004.html with its new version.
https://bugs.webkit.org/show_bug.cgi?id=58984

Reviewed by Eric Seidel.

  • fast/borders/bidi-004.html: Removed.
  • fast/borders/bidi-012.html: Added.
  • platform/chromium-linux/fast/borders/bidi-004-expected.png: Removed.
  • platform/chromium-mac-leopard/fast/borders/bidi-004-expected.png: Removed.
  • platform/chromium-win/fast/borders/bidi-004-expected.png: Removed.
  • platform/chromium-win/fast/borders/bidi-004-expected.txt: Removed.
  • platform/gtk/fast/borders/bidi-004-expected.checksum: Removed.
  • platform/gtk/fast/borders/bidi-004-expected.png: Removed.
  • platform/gtk/fast/borders/bidi-004-expected.txt: Removed.
  • platform/mac/fast/borders/bidi-004-expected.checksum: Removed.
  • platform/mac/fast/borders/bidi-004-expected.png: Removed.
  • platform/mac/fast/borders/bidi-004-expected.txt: Removed.
  • platform/mac/fast/borders/bidi-012-expected.checksum: Added.
  • platform/mac/fast/borders/bidi-012-expected.png: Added.
  • platform/mac/fast/borders/bidi-012-expected.txt: Added.
11:09 AM Changeset in webkit [84397] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Unreviewed typo fix.

  • platform/qt-wk2/Skipped:
10:57 AM Changeset in webkit [84396] by kevino@webkit.org
  • 7 edits in trunk/Tools

[wx] Unreviewed build fixes for wx 2.9.1, Cocoa and 64-bit builds.

10:46 AM Changeset in webkit [84395] by tony@chromium.org
  • 1841 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Unreviewed, embedding checksums in png files in platform/google*,
platform/chromium-gpu*, platform/chromium-mac*.

10:25 AM Changeset in webkit [84394] by rolandsteiner@chromium.org
  • 13 edits in trunk/Source/WebCore

2011-04-19 Roland Steiner <rolandsteiner@chromium.org>

Reviewed by Dimitri Glazkov.

Bug 52963 - Enable O(1) access to root from any node in shadow DOM subtree
https://bugs.webkit.org/show_bug.cgi?id=52963

.) Change base class of ShadowRoot from DocumentFragment to TreeScope.
.) Re-enable tree scope handling in Node (had ASSERT_NOT_REACHED, etc.).
.) Merged setTreeScope() with setTreeScopeRecursively()
.) Call setTreeScopeRecursively in DOM manipulation functions where applicable.
.) Adapt JavaScript Node wrappers (temporary code - see https://bugs.webkit.org/show_bug.cgi?id=58704).

No new tests. (refactoring)

  • bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline):
  • bindings/v8/custom/V8NodeCustom.cpp: (WebCore::toV8Slow):
  • dom/ContainerNode.cpp: (WebCore::ContainerNode::takeAllChildrenFrom): (WebCore::ContainerNode::removeBetween): (WebCore::ContainerNode::removeChildren): (WebCore::ContainerNode::parserAddChild):
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::~Document): (WebCore::Document::setDocType):
  • dom/Element.h:
  • dom/Node.cpp: (WebCore::Node::treeScope): (WebCore::Node::setTreeScopeRecursively):
  • dom/Node.h: (WebCore::Node::document):
  • dom/ShadowRoot.cpp: (WebCore::ShadowRoot::ShadowRoot): (WebCore::ShadowRoot::~ShadowRoot): (WebCore::ShadowRoot::nodeType): (WebCore::ShadowRoot::cloneNode): (WebCore::ShadowRoot::childTypeAllowed):
  • dom/ShadowRoot.h: (WebCore::toShadowRoot):
  • dom/TreeScope.cpp: (WebCore::TreeScope::TreeScope): (WebCore::TreeScope::setParentTreeScope):
  • dom/TreeScope.h:
  • rendering/RenderSlider.cpp:
10:24 AM Changeset in webkit [84393] by tony@chromium.org
  • 4555 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Unreviewed, embedding checksums in png files in platform/mac-*.

10:16 AM Changeset in webkit [84392] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt][WK2] WebProcess crashes intermittently: "FAIL: TestControllerRunLoop timed out."

  • platform/qt-wk2/Skipped: Add http/tests/security/contentSecurityPolicy/media-src-blocked.html.
10:09 AM Changeset in webkit [84391] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt][WK2] Skip new failing tests.

  • platform/qt-wk2/Skipped:
10:06 AM Changeset in webkit [84390] by mdelaney@apple.com
  • 3 edits in trunk/LayoutTests

2011-04-20 Matthew Delaney <mdelaney@apple.com>

Reviewed by Dan Bernstein.

Update fast/canvas/font-update.html to use dumpAsText.
https://bugs.webkit.org/show_bug.cgi?id=59003

  • fast/canvas/font-update-expected.txt:
  • fast/canvas/font-update.html: This test is only useful as a pixel test. Dumping the render tree will always show the same thing regardless of what's done on the canvas in the test. However, with new render tree schemes (canvases in layers and such) the render trees will even look different but not actually failing what the test tests.
10:00 AM Changeset in webkit [84389] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-20 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Update front-end files list in WebCore.vcproj
https://bugs.webkit.org/show_bug.cgi?id=58896

  • WebCore.vcproj/WebCore.vcproj:
9:56 AM Changeset in webkit [84388] by kerz@chromium.org
  • 1 copy in branches/chromium/742

branching for chromium m12

9:55 AM Changeset in webkit [84387] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Mike Reed <reed@google.com>

Reviewed by Steve Block.

prepare tests for rebaselining
https://bugs.webkit.org/show_bug.cgi?id=58989

  • platform/chromium/test_expectations.txt:
9:47 AM Changeset in webkit [84386] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Tony Chang <tony@chromium.org>

Fixed lint errors in test_expectations.txt.

  • platform/chromium/test_expectations.txt:
9:46 AM Changeset in webkit [84385] by Dimitri Glazkov
  • 2 edits in trunk/Source/WebCore

2011-04-20 Dimitri Glazkov <Dimitri Glazkov>

Qt build fix after r84380.

  • css/CSSPrimitiveValueMappings.h: Moved EBorderCollapse-related casts from under ENABLE(SVG) guard.
9:41 AM Changeset in webkit [84384] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Remove crash expectation for http/tests/local/formdata/send-form-data-with-sliced-file.html
https://bugs.webkit.org/show_bug.cgi?id=59004

  • platform/chromium/test_expectations.txt:
9:39 AM Changeset in webkit [84383] by alex
  • 2 edits in trunk/Source/WebKit2

2011-04-20 Alejandro G. Castro <alex@igalia.com>

Fixed GTK+ compilation after r84206.

  • GNUmakefile.am:
9:24 AM Changeset in webkit [84382] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Adjust test expectations.
https://bugs.webkit.org/show_bug.cgi?id=59002

  • platform/chromium/test_expectations.txt:
9:21 AM Changeset in webkit [84381] by Carlos Garcia Campos
  • 4 edits in trunk/Source

2011-04-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Build libWebCore with the gtk sources too
https://bugs.webkit.org/show_bug.cgi?id=58968

In some cases webcore files are compiled twice, so it improves the
build time.

  • GNUmakefile.am: Add webcore gtk sources to libWebCore sources.

2011-04-20 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Build libWebCore with the gtk sources too
https://bugs.webkit.org/show_bug.cgi?id=58968

In some cases webcore files are compiled twice, so it improves the
build time.

  • GNUmakefile.am: Remove webcore gtk sources from libwebkitgtk sources.
9:14 AM Changeset in webkit [84380] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-04-20 Luke Macpherson <macpherson@chromium.org>

Reviewed by Dimitri Glazkov.

Allow casting between CSSPrimitiveValue and EBorderCollapse to remove special-case logic from CSSStyleSelector.
https://bugs.webkit.org/show_bug.cgi?id=58964

No new tests as no new functionality added.

  • css/CSSPrimitiveValueMappings.h: Support casting to/from EBorderCollapse.
  • css/CSSStyleSelector.cpp: Use new casting ability to simplify code.
  • rendering/style/RenderStyle.h: Use EBorderCollapse instead of a bool for representing border collapse member variable.
  • rendering/style/RenderStyleConstants.h: Added EBorderCollapse enum.
9:11 AM Changeset in webkit [84379] by Adam Roben
  • 19 edits
    18 copies
    4 adds
    1 delete in trunk/LayoutTests

Add Windows 7 SP1 baselines for some SVG tests that progressed in SP1

These baselines were previously thought to be WebKit2-specific. However, it turned out that
the WebKit2 bots had Windows 7 SP1 installed, while the WebKit1 bots just had Windows 7
installed, and that was the crucial difference. So this patch reclassifies the new baselines
as being SP1 vs. not-SP1, rather than WK2 vs. WK1. I also added pixel results.

Fixes <http://webkit.org/b/56617> Several tests fail on Windows 7 SP1 due to font
differences from Windows 7 "SP0"

  • platform/win-7sp0/svg/W3C-I18N/text-dirLTR-ubOverride-expected.checksum:
  • platform/win-7sp0/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png:
  • platform/win-7sp0/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.checksum:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.checksum:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.checksum:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.checksum:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png:
  • platform/win-7sp0/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt:
  • platform/win-7sp0/svg/text/bidi-text-query-expected.checksum:
  • platform/win-7sp0/svg/text/bidi-text-query-expected.png:
  • platform/win-7sp0/svg/text/bidi-text-query-expected.txt:

Copied these results from platform/win.

  • platform/win-wk2/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
  • platform/win-wk2/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt:
  • platform/win-wk2/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt:
  • platform/win-wk2/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt:
  • platform/win-wk2/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt:
  • platform/win-wk2/svg/text/bidi-text-query-expected.txt:

Moved these results to platform/win.

  • platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.checksum:
  • platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png:
  • platform/win/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.checksum:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.checksum:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png:
  • platform/win/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.checksum:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.checksum:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png:
  • platform/win/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt:
  • platform/win/svg/text/bidi-text-query-expected.checksum:
  • platform/win/svg/text/bidi-text-query-expected.png:
  • platform/win/svg/text/bidi-text-query-expected.txt:

The .txt files came from platform/win-wk2, and the .png/.checksum files were
newly-generated.

9:05 AM Changeset in webkit [84378] by Martin Robinson
  • 1 edit
    3 deletes in trunk/LayoutTests

2011-04-20 Martin Robinson <mrobinson@igalia.com>

platform/gtk/fast/dom/gc-10-expected.png is corrupt
https://bugs.webkit.org/show_bug.cgi?id=58940

Remove expected results for fast/dom/gc-10.html since it is crashing on GTK+.

  • platform/gtk/fast/dom/gc-10-expected.checksum: Removed.
  • platform/gtk/fast/dom/gc-10-expected.png: Removed.
  • platform/gtk/fast/dom/gc-10-expected.txt: Removed.
9:05 AM Changeset in webkit [84377] by Adam Roben
  • 3 edits in trunk/Tools

Replace old-run-webkit-tests's win-7 platform with win-7sp0

It was an error that we had a win-7 platform to begin with. Windows 7 was the most recent
version of Windows we cared about, so its results should just go in win. But now that
Windows 7 SP1 exists (and has different results for some tests), we need a place to store
results for Windows 7 without SP1 (and older versions of Windows).

Part of <http://webkit.org/b/56617> Several tests fail on Windows 7 SP1 due to font
differences from Windows 7 "SP0"

Reviewed by David Kilzer.

  • Scripts/old-run-webkit-tests: Replaced win-7 with win-7sp0. Newer versions of Windows 7

will just use "win".

  • Scripts/webkitdirs.pm:

(isWindows7SP0): Added. Replaces isWindows7, because that function had no remaining callers.

8:44 AM Changeset in webkit [84376] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark css2.1/t140201-c533-bgimage-00-a.html as crash on Linux, Win Debug
https://bugs.webkit.org/show_bug.cgi?id=58995

Accidentally indicated MAC instead of WIN.

  • platform/chromium/test_expectations.txt:
8:39 AM Changeset in webkit [84375] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark css2.1/t140201-c533-bgimage-00-a.html as crash on Linux, Win Debug
https://bugs.webkit.org/show_bug.cgi?id=58995

  • platform/chromium/test_expectations.txt:
7:54 AM Changeset in webkit [84374] by senorblanco@chromium.org
  • 7 edits
    2 moves in trunk/Source/WebCore

2011-04-19 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

Move and rename GLES2Canvas.
https://bugs.webkit.org/show_bug.cgi?id=58927

Move GLES2Canvas to platform/graphcs/gpu, where all the other
gpu-related files live, and rename it to GraphicsContextGPU to better
reflect its purpose.

Covered by existing tests.

  • WebCore.gypi:
  • platform/graphics/chromium/GLES2Canvas.cpp:
  • platform/graphics/chromium/GLES2Canvas.h:
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::setPlatformShadow):
  • platform/graphics/skia/ImageBufferSkia.cpp:
  • platform/graphics/skia/ImageSkia.cpp: (WebCore::drawBitmapGLES2):
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
  • platform/graphics/skia/PlatformContextSkia.h: (WebCore::PlatformContextSkia::gpuCanvas):
7:46 AM Changeset in webkit [84373] by benjamin.poulain@nokia.com
  • 2 edits in trunk/Source/WebCore

[Qt] Clean the style of our cookie methods
https://bugs.webkit.org/show_bug.cgi?id=58987

Reviewed by Andreas Kling.

Got rid of the variables named "u" in favor just converting the url when needed.

  • platform/qt/CookieJarQt.cpp:

(WebCore::setCookies): The variable p was unused.
The ::toAscii() depends on the default codec, use toLatin1() instead.
(WebCore::cookies): foreach() should use const reference.
(WebCore::cookieRequestHeaderFieldValue):

7:44 AM Changeset in webkit [84372] by Adam Roben
  • 2 edits in trunk/Tools

Teach webkitdirs::winVersion about build numbers

The build number isn't currently used, but soon will be.

As a bonus, winVersion now works on non-Cygwin variants of Perl!

Fixes <http://webkit.org/b/58991> Need a way to distinguish between Windows 7 and Windows 7
SP1

Reviewed by Anders Carlsson.

  • Scripts/webkitdirs.pm:

(isAnyWindows): Added. Returns true if we're running on any Windows-ish Perl.
(determineWinVersion): Use cmd /c ver to get the version number, including the build
number. Parse the version number into a hash, similar to how osXVersion() works.

(isWindows7):
(isWindowsVista):
(isWindowsXP):
Updated for changes to winVersion().

7:40 AM Changeset in webkit [84371] by mihaip@chromium.org
  • 37 edits in trunk/Source/WebCore

2011-04-19 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

ScriptController.h is included in too many places
https://bugs.webkit.org/show_bug.cgi?id=58963

Remove ScriptController.h #includes from a bunch of .cpp files where it
doesn't appear to be necessary.

  • bindings/js/JSCustomPositionCallback.cpp:
  • bindings/js/JSCustomPositionErrorCallback.cpp:
  • bindings/js/JSCustomVoidCallback.cpp:
  • bindings/js/JSCustomXPathNSResolver.cpp:
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/JSDOMWindowShell.cpp:
  • bindings/js/JSDocumentCustom.cpp:
  • bindings/js/ScriptDebugServer.cpp:
  • bindings/v8/NPV8Object.cpp:
  • bindings/v8/ScriptCachedFrameData.cpp:
  • bindings/v8/V8DOMWindowShell.cpp:
  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8IsolatedContext.cpp:
  • bindings/v8/V8Proxy.cpp:
  • bindings/v8/custom/V8LocationCustom.cpp:
  • dom/Node.cpp:
  • dom/ScriptElement.cpp:
  • dom/XMLDocumentParser.cpp:
  • dom/XMLDocumentParserQt.cpp:
  • html/HTMLEmbedElement.cpp:
  • html/HTMLObjectElement.cpp:
  • html/HTMLPlugInElement.cpp:
  • html/parser/HTMLConstructionSite.cpp:
  • html/parser/HTMLTreeBuilder.cpp:
  • inspector/InspectorProfilerAgent.cpp:
  • loader/icon/IconDatabase.cpp:
  • page/Chrome.cpp:
  • page/Navigator.cpp:
  • page/Page.cpp:
  • plugins/PluginView.cpp:
  • plugins/gtk/PluginViewGtk.cpp:
  • plugins/qt/PluginViewQt.cpp:
  • plugins/symbian/PluginViewSymbian.cpp:
  • plugins/win/PluginViewWin.cpp:
  • svg/SVGDocumentExtensions.cpp:
  • xml/XMLTreeViewer.cpp:
7:23 AM Changeset in webkit [84370] by Adam Roben
  • 2 edits in trunk/Source/WebKit2

Remove some unnecessary VS junk related to NativeWebMouseEventWin.cpp

  • win/WebKit2.vcproj:
7:21 AM Changeset in webkit [84369] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

[Snow Leopard Intel WebKit2 Release Tests] editing/execCommand/convert-style-elements-to-spans.html
flakey.
https://bugs.webkit.org/show_bug.cgi?id=58183

Skip the flakey test in order to get the bots green.

  • platform/mac-wk2/Skipped:
7:17 AM Changeset in webkit [84368] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Leon Scroggins <scroggo@google.com>

Reviewed by Kenneth Russell.

Mark tests as failing for rebaselining.
https://bugs.webkit.org/show_bug.cgi?id=58839

We are making a change to the way gradients
are calculated, so disable tests for now.

  • platform/chromium/test_expectations.txt:
7:11 AM Changeset in webkit [84367] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-04-20 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip GTK crashing test
storage/open-database-set-empty-version.html.

  • platform/gtk/Skipped:
7:04 AM Changeset in webkit [84366] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

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

Add another test that uses layoutTestController.overridePreference
(fast/loader/scroll-position-restored-on-back.html) to the Skipped list to get the bots
green.

  • platform/mac-wk2/Skipped:
6:49 AM Changeset in webkit [84365] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-20 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add Save As to the Resources panel context menu.
https://bugs.webkit.org/show_bug.cgi?id=58983

  • English.lproj/localizedStrings.js:
  • inspector/front-end/ResourcesPanel.js: (WebInspector.FrameResourceTreeElement.prototype.onattach): (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent.save): (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent): (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent.save): (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
6:46 AM Changeset in webkit [84364] by kbalazs@webkit.org
  • 8 edits in trunk/Source

2011-04-20 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Cleanup includepath adjustment for generated files
https://bugs.webkit.org/show_bug.cgi?id=58869

  • JavaScriptCore.pri: Add the directory of generated files to the include path with absolute path to make it valid in the final build step.

2011-04-20 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Cleanup includepath adjustment for generated files
https://bugs.webkit.org/show_bug.cgi?id=58869

Build cleanup, no new tests.

  • WebCore.pri: Add the directory of generated files to the include path with absolute path to make it valid in the final build step. Remove unnecessary logic.

2011-04-20 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Cleanup includepath adjustment for generated files
https://bugs.webkit.org/show_bug.cgi?id=58869

  • QtWebKit.pro: Revert the hacky fix in r84174. Remove unnecessary logic.

2011-04-20 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Cleanup includepath adjustment for generated files
https://bugs.webkit.org/show_bug.cgi?id=58869

  • WebKit2.pri: Add the directory of generated files to the include path with absolute path to make it valid in the final build step.
6:42 AM Changeset in webkit [84363] by jknotten@chromium.org
  • 8 edits
    1 move
    8 deletes in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline some border-related tests on Mac
https://bugs.webkit.org/show_bug.cgi?id=58985

Most likely related to http://trac.webkit.org/changeset/84341/
"background color of elements with border-radius shows around outer edge of border at corners"

  • platform/chromium-mac-leopard/fast/forms/menulist-clip-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-narrow-width-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png:
  • platform/chromium-mac-leopard/fast/forms/select-baseline-expected.png:
  • platform/chromium-mac/fast/borders/borderRadiusDashed01-expected.checksum: Removed.
  • platform/chromium-mac/fast/borders/borderRadiusDashed01-expected.png:
  • platform/chromium-mac/fast/forms/menulist-clip-expected.png: Removed.
  • platform/chromium-mac/fast/forms/menulist-narrow-width-expected.png: Removed.
  • platform/chromium-mac/fast/forms/menulist-option-wrap-expected.png: Removed.
  • platform/chromium-mac/fast/forms/menulist-restrict-line-height-expected.png: Removed.
  • platform/chromium-mac/fast/forms/menulist-style-color-expected.png: Removed.
  • platform/chromium-mac/fast/forms/select-baseline-expected.png: Removed.
  • platform/chromium-mac/fast/forms/select-empty-option-height-expected.png: Removed.
6:20 AM Changeset in webkit [84362] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-20 Mariusz Grzegorczyk <mariusz.g@samsung.com>

Reviewed by Andreas Kling.

[EFL] Initializing m_window member field in PluginView.cpp for efl port
https://bugs.webkit.org/show_bug.cgi?id=58311

No new tests needed: only initializing class member.

  • plugins/PluginView.cpp: (WebCore::PluginView::PluginView):
6:17 AM Changeset in webkit [84361] by wjmaclean@chromium.org
  • 6 edits in trunk/Tools

2011-04-20 W. James MacLean <wjmaclean@chromium.org>

Reviewed by Kenneth Russell.

Add support for composite-to-texture to DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=58675

  • DumpRenderTree/chromium/DumpRenderTree.cpp: (main):
  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::TestShell): (TestShell::resetWebSettings):
  • DumpRenderTree/chromium/TestShell.h: (TestShell::setCompositeToTexture):
  • DumpRenderTree/chromium/WebPreferences.cpp: (WebPreferences::reset): (WebPreferences::applyTo):
  • DumpRenderTree/chromium/WebPreferences.h:
5:45 AM Changeset in webkit [84360] by yurys@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-20 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Tony Gentilcore.

http/tests/misc/unloadable-script.html fails if <script> error event doesn't bubble
https://bugs.webkit.org/show_bug.cgi?id=58981

  • http/tests/misc/unloadable-script.html: canged the test so that it uses <script onerror> instead od <body onerror>
5:40 AM Changeset in webkit [84359] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-20 Pavel Feldman <pfeldman@google.com>

Not reviewed: fix Leopard compile.

  • inspector/InspectorFrontendClient.h:
  • inspector/InspectorFrontendClientLocal.h: (WebCore::InspectorFrontendClientLocal::saveAs):
5:27 AM Changeset in webkit [84358] by pfeldman@chromium.org
  • 15 edits in trunk/Source

2011-04-20 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add saveAs into the InspectorFrontendHost binding.
https://bugs.webkit.org/show_bug.cgi?id=58979

  • English.lproj/localizedStrings.js:
  • inspector/InspectorFrontendClient.h: (WebCore::InspectorFrontendClient::saveAs): (WebCore::InspectorFrontendClient::saveSessionSetting): (WebCore::InspectorFrontendClient::loadSessionSetting):
  • inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::saveAs):
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js: (.WebInspector.InspectorFrontendHostStub.prototype.saveAs.fr.onload): (.WebInspector.InspectorFrontendHostStub.prototype.saveAs):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._contextMenu): (WebInspector.NetworkPanel.prototype._copyAll): (WebInspector.NetworkPanel.prototype._copyResource): (WebInspector.NetworkPanel.prototype._exportAll): (WebInspector.NetworkPanel.prototype._exportResource):
  • inspector/front-end/Settings.js:
  • inspector/front-end/utilities.js: ():

2011-04-20 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add saveAs into the InspectorFrontendHost binding.
https://bugs.webkit.org/show_bug.cgi?id=58979

  • public/WebDevToolsFrontendClient.h: (WebKit::WebDevToolsFrontendClient::saveAs):
  • src/InspectorFrontendClientImpl.cpp: (WebKit::InspectorFrontendClientImpl::saveAs):
  • src/InspectorFrontendClientImpl.h:
  • src/js/DevTools.js:
4:52 AM Changeset in webkit [84357] by yurys@chromium.org
  • 12 edits
    2 adds in trunk

2011-04-20 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Tony Gentilcore.

Error event in <script> element shouldn't bubble
https://bugs.webkit.org/show_bug.cgi?id=51040

  • fast/events/onerror-bubbling-expected.txt:
  • fast/events/onerror-bubbling.html:
  • svg/dom/SVGScriptElement/script-load-and-error-events.svg: error event is dispatched on the corresponding SVGScriptElement and shouldn't bubble, so the global error handler should never be invoked for script load errors. This behaviour is consistent with HTMLScriptElement element.
  • svg/dom/SVGScriptElement/script-onerror-bubbling-expected.txt: Added.
  • svg/dom/SVGScriptElement/script-onerror-bubbling.svg: Added.

2011-04-20 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Tony Gentilcore.

Error event in <script> element shouldn't bubble
https://bugs.webkit.org/show_bug.cgi?id=51040

Test: svg/dom/SVGScriptElement/script-onerror-bubbling.svg

  • dom/ScriptElement.cpp: (WebCore::ScriptElement::dispatchErrorEvent): the method now has same implementation for all script elements, script load error event doesn' bubble.
  • dom/ScriptElement.h:
  • html/HTMLScriptElement.cpp:
  • html/HTMLScriptElement.h:
  • html/parser/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent):
  • svg/SVGScriptElement.cpp: (WebCore::SVGScriptElement::parseMappedAttribute): SVG script element now supports onerror hanlder which behaves the same way as onerror in HTML script element: it's invoked when script loading fails and the event doesn't bubble.
  • svg/SVGScriptElement.h:
4:10 AM Changeset in webkit [84356] by jknotten@chromium.org
  • 2 edits
    3 adds in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline fast/repaint/trailing-floats-root-line-box-overflow fast/canvas/webgl/css-webkit-canvas fast/canvas/webgl/css-webkit-canvas-repaint
https://bugs.webkit.org/show_bug.cgi?id=58978

Windows bots are now generating baselines, so include them.
fast/repaint/trailing-floats-root-line-box-overflow looks like correct output.

  • platform/chromium-mac/fast/repaint/trailing-floats-root-line-box-overflow-expected.png: Added.
  • platform/chromium-win/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
  • platform/chromium-win/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
  • platform/chromium/test_expectations.txt:
3:57 AM Changeset in webkit [84355] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] REGRESSION(r84296): platform/qt/fast/history/back-to-unreachable-url-then-forward.html fails
https://bugs.webkit.org/show_bug.cgi?id=58977

  • platform/qt/Skipped: Add platform/qt/fast/history/back-to-unreachable-url-then-forward.html.
3:00 AM Changeset in webkit [84354] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-04-20 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip failing test on GTK.

[GTK] fast/events/overflow-viewport-renderer-deleted.html crashes
https://bugs.webkit.org/show_bug.cgi?id=58976

  • platform/gtk/Skipped:
2:44 AM Changeset in webkit [84353] by Philippe Normand
  • 5 edits
    21 adds in trunk/LayoutTests

2011-04-20 Philippe Normand <pnormand@igalia.com>

Unreviewed, new GTK baselines for tests added in r84273.
Also skip a couple of failing tests.

  • platform/gtk/Skipped:
  • platform/gtk/fast/backgrounds/background-leakage-expected.checksum: Added.
  • platform/gtk/fast/backgrounds/background-leakage-expected.png: Added.
  • platform/gtk/fast/backgrounds/background-leakage-expected.txt: Added.
  • platform/gtk/fast/backgrounds/background-leakage-transforms-expected.checksum: Added.
  • platform/gtk/fast/backgrounds/background-leakage-transforms-expected.png: Added.
  • platform/gtk/fast/backgrounds/background-leakage-transforms-expected.txt: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-expected.checksum: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-expected.png: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-expected.txt: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-image-expected.checksum: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
  • platform/gtk/fast/backgrounds/border-radius-split-background-image-expected.txt: Added.
  • platform/gtk/fast/borders/border-radius-different-width-001-expected.checksum: Added.
  • platform/gtk/fast/borders/border-radius-different-width-001-expected.png: Added.
  • platform/gtk/fast/borders/border-radius-different-width-001-expected.txt: Added.
  • platform/gtk/fast/borders/border-radius-inset-outset-expected.checksum: Added.
  • platform/gtk/fast/borders/border-radius-inset-outset-expected.png: Added.
  • platform/gtk/fast/borders/border-radius-inset-outset-expected.txt: Added.
  • platform/gtk/fast/borders/table-borders-expected.checksum: Added.
  • platform/gtk/fast/borders/table-borders-expected.png: Added.
  • platform/gtk/fast/borders/table-borders-expected.txt: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.txt:
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.txt:
  • platform/gtk/fast/borders/border-styles-split-expected.txt:
2:35 AM Changeset in webkit [84352] by jknotten@chromium.org
  • 2 edits
    2 adds in trunk/LayoutTests

2011-04-20 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline overhanging-tall-block
https://bugs.webkit.org/show_bug.cgi?id=58974

  • platform/chromium-win/fast/block/float/overhanging-tall-block-expected.png: Added.
  • platform/chromium-win/fast/block/float/overhanging-tall-block-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
2:21 AM Changeset in webkit [84351] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-20 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: minor protocol cleanups (refined types).
https://bugs.webkit.org/show_bug.cgi?id=58970

  • inspector/InjectedScriptSource.js:
  • inspector/Inspector.json:
1:32 AM WebKit Team edited by leo.yang@torchmobile.com.cn
(diff)
1:16 AM Changeset in webkit [84350] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-20 Leo Yang <leo.yang@torchmobile.com.cn>

Reviewed by Eric Seidel.

Leaks beneath RenderSVGShadowTreeRootContainer::updateFromElement seen on SnowLeopard Intel Leaks
https://bugs.webkit.org/show_bug.cgi?id=56672

~RenderSVGShadowTreeRootContainer() cleared shadow host only if
the shadow root is attached. This is wrong because it will
leak shadow root when the root is not attached. For example, it
leaks shadow root of <use> element which is pending on resource.

This patch is clearing shadow host if m_shadowRoot is valid to
prevent leaking.

Fixing leaking, no new tests.

  • rendering/svg/RenderSVGShadowTreeRootContainer.cpp: (WebCore::RenderSVGShadowTreeRootContainer::~RenderSVGShadowTreeRootContainer):
12:39 AM Changeset in webkit [84349] by mjs@apple.com
  • 2 edits in trunk/Source/WebCore

2011-04-19 Maciej Stachowiak <mjs@apple.com>

Reviewed by Antti Koivisto.

Reproducible crash two-finger zooming at multiple sites in WebCore::RenderLayer::isTransparent
https://bugs.webkit.org/show_bug.cgi?id=58868

I could not figure out how to make a test.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintLayer): Check for existence of a parent before calling a method on it.
12:18 AM Changeset in webkit [84348] by gyuyoung.kim@samsung.com
  • 3 edits in trunk/Source/WebCore

2011-04-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Daniel Bates.

[EFL] Add current time to media control panel.
https://bugs.webkit.org/show_bug.cgi?id=58866

Implement paintMediaCurrentTime() to show playing time of media content.

  • platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::RenderThemeEfl): (WebCore::RenderThemeEfl::formatMediaControlsCurrentTime): (WebCore::RenderThemeEfl::paintMediaCurrentTime):
  • platform/efl/RenderThemeEfl.h:

Apr 19, 2011:

11:24 PM Changeset in webkit [84347] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
11:02 PM Changeset in webkit [84346] by jshin@chromium.org
  • 3 edits
    2 adds in trunk

2011-04-19 Jungshik Shin <jshin@chromium.org>

Reviewed by Adam Barth

Update the list of Unicode blocks to treat as complex scripts
per Unicode 6.0. Also, make [U+02E5..U+02E9] (IPA tone marks)
go through the complex script code path.

Test: fast/text/ipa-tone-letters.html

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

  • platform/graphics/Font.cpp: (WebCore::Font::codePath):

2011-04-19 Jungshik Shin <jshin@chromium.org>

Reviewed by Adam Barth

Add a test to test sequences of IPA tone letters are
ligated regardless of text-rendering mode (fast codepath or not).
The test explicitly specifies Arial because it's one of a few fonts
to have layout table entries to support the ligation of IPA tone
letters.

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

  • fast/text/ipa-tone-letters.html: Added.
11:01 PM Changeset in webkit [84345] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

Add chromium suppressions resulting from r84341 - 84344.

  • platform/chromium/test_expectations.txt:
10:45 PM Changeset in webkit [84344] by psolanki@apple.com
  • 3 edits in trunk/Source/WebCore

Follow on fix for https://bugs.webkit.org/show_bug.cgi?id=58926

Reviewed by Simon Fraser.

Move the assert from Image::drawPattern() to Image::drawTiled() so we don't hit it when
trying to paint GeneratedImages.

  • platform/graphics/Image.cpp:

(WebCore::Image::drawTiled):

  • platform/graphics/cg/ImageCG.cpp:

(WebCore::Image::drawPattern):

10:32 PM Changeset in webkit [84343] by Simon Fraser
  • 3 edits in trunk/Source/WebCore

2011-04-19 Simon Fraser <Simon Fraser>

Fix 32-bit builds.

  • rendering/RenderBox.cpp: (WebCore::RenderBox::determineBackgroundBleedAvoidance):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
10:16 PM Changeset in webkit [84342] by commit-queue@webkit.org
  • 5 edits in trunk/Source

2011-04-19 Naoki Takano <takano.naoki@gmail.com>

Reviewed by Kent Tamura.

[Chromium]UI polishes and tweaks to Autofill dropdown menu.
https://bugs.webkit.org/show_bug.cgi?id=58505
http://code.google.com/p/chromium/issues/detail?id=51077

No new tests. Because this is autofill looking problem in Chromium.
Add m_menuType as PopupMenuStyle to change popup style change.
Put kLinePaddingHeight at the top and bottom of each line if m_menuType is AutofillPopup.
Change separator color to #dcdcdc and remove sparatorPadding at the edge if m_menuType is AutofillPopup.
Change the line height of separator as only the piece if m_menuType is AutofillPopup.
Change the label font size 0.9 time smaller than regular font size if m_menuType is AutofillPopup.

  • platform/PopupMenuStyle.h: Add enum PopupMenuType; (WebCore::PopupMenuStyle::PopupMenuStyle): Add m_menuType. (WebCore::PopupMenuStyle::menuType): Add to change the style according to the return value.
  • platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupListBox::paintRow):Change the separator color to #dcdcdc. Change the edge padding according to menuStyle(). (WebCore::PopupListBox::getRowHeight): Add kLineHeightMargin*2 for each line height.

2011-04-19 Naoki Takano <takano.naoki@gmail.com>

Reviewed by Kent Tamura.

[Chromium]UI polishes and tweaks to Autofill dropdown menu.
https://bugs.webkit.org/show_bug.cgi?id=58505

  • src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
10:13 PM Changeset in webkit [84341] by Simon Fraser
  • 87 edits
    4 adds in trunk

2011-04-19 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

background color of elements with border-radius shows around outer edge of border at corners
https://bugs.webkit.org/show_bug.cgi?id=21819

When drawing a background followed by a border with the same rounded
clip, some border color leaks out because of antialiasing.

Fix this by using two different strategies depending on the colors.
If the border is opaque on all sides, we can inset the background by
a device pixel. If not, then we have to draw the unclipped background
and border into a transparency layer, and then clip that.

A futher possible solution is mentioned in a comment in
determineBackgroundBleedAvoidance() but not yet implemented.

Also don't try to paint shadows with zero offset, spread and blur.

Test: fast/backgrounds/background-leakage.html,

fast/backgrounds/background-leakage-transforms.html

  • rendering/RenderBoxModelObject.h: Add a BackgroundBleedAvoidance enum with a value for each strategy.
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): Pass BackgroundBleedAvoidance, bail early if the border rect is empty. If using the transparency layer solution, don't bother to clip to the rounded rect for the background. If the strategy is to shrink the background, do that. (WebCore::BorderEdge::BorderEdge): (WebCore::BorderEdge::obscuresBackgroundEdge): Helper method to determine if this border side will totally obscured by the border edge, allowing us to inset it. (WebCore::RenderBoxModelObject::paintOneBorderSide): Pass BackgroundBleedAvoidance through. (WebCore::RenderBoxModelObject::paintBorderSides): Ditto. (WebCore::RenderBoxModelObject::paintTranslucentBorderSides): Ditto. (WebCore::RenderBoxModelObject::paintBorder): Fill BorderEdges using getBorderEdgeInfo now. Don't clip to the rounded border if we are using the transparency layer solution. (WebCore::RenderBoxModelObject::drawBoxSideFromPath): Pass bleedAvoidance through, and use it for double borders. (WebCore::RenderBoxModelObject::getBorderEdgeInfo): Helper to fill in the BorderEdge array. (WebCore::RenderBoxModelObject::borderObscuresBackgroundEdge): Used to determine if we can use the background shrinkage solution. (WebCore::RenderBoxModelObject::paintBoxShadow): Don't paint shadows that should not be visible.
  • rendering/RenderBox.h:
  • rendering/RenderBox.cpp: (WebCore::RenderBox::paintRootBoxFillLayers): Pass BackgroundBleedNone for the root box.

(WebCore::RenderBox::determineBackgroundBleedAvoidance):
Determine which bleed strategy we can use.

(WebCore::RenderBox::paintBoxDecorationsWithSize):
Based on the bleedAvoidance, make a transparency layer
which will be clipped to the rounded border outside edge,
and pass bleedAvoidance to the background and border-painting
methods.
(WebCore::RenderBox::paintMaskImages):
Use BackgroundBleedNone.
(WebCore::RenderBox::paintFillLayers):
(WebCore::RenderBox::paintFillLayer):
Pass bleedAvoidance through.

  • rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paintFillLayer): (WebCore::InlineFlowBox::paintBoxDecorations): Pass BackgroundBleedNone. At some point we may want to do the right thing for split inlines.
  • rendering/RenderFieldset.cpp: (WebCore::RenderFieldset::paintBoxDecorations):
  • rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paintBackgroundsBehindCell): Pass BackgroundBleedNone.
9:51 PM Changeset in webkit [84340] by yutak@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Yuta Kitamura <yutak@chromium.org>

Reviewed by Alexey Proskuryakov.

WebSocket: Add assertion for SocketStreamError::failingURL.
https://bugs.webkit.org/show_bug.cgi?id=58765

No new tests, because an existing test http/tests/inspector/console-websocket-error.html should cover this.

  • websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didFail): If error.failingURL() is provided, it must be the same as m_handshake.url(). failingURL may be null if SocketStreamHandle has created a SocketStreamError using zero- or one-argument constructor (which is old version but some ports are still using it). In that case, m_handshake.url() is passed to addMessage().
9:33 PM Changeset in webkit [84339] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
9:15 PM Changeset in webkit [84338] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
9:11 PM Changeset in webkit [84337] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
9:04 PM Changeset in webkit [84336] by eric.carlson@apple.com
  • 3 edits in trunk/Source/WebCore

2011-04-19 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dimitri Glazkov.

Media controls status display should not be hidden for live streams
https://bugs.webkit.org/show_bug.cgi?id=58952

Tested manually because we don't have any live streams to test in DRT.

  • html/shadow/MediaControlElements.cpp: (WebCore::MediaControlStatusDisplayElement::update): Set the status to "Loading" only until

there is something to display (readyState exceeds HAVE_METADATA).

  • html/shadow/MediaControlRootElement.cpp: (WebCore::MediaControlRootElement::loadedMetadata): Don't hide the status display for

live streams.

8:35 PM Changeset in webkit [84335] by dimich@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dmitry Titov <dimich@chromium.org>

Reviewed by David Levin.

new-run-webkit-tests: remove formerly flakey tests form test_expectations.
https://bugs.webkit.org/show_bug.cgi?id=57678

Tests fixed by http://trac.webkit.org/changeset/83900

  • platform/mac/test_expectations.txt:
8:21 PM Changeset in webkit [84334] by yi.4.shen@nokia.com
  • 4 edits in trunk/Source/WebKit/qt

2011-04-19 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Andreas Kling.

[Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
https://bugs.webkit.org/show_bug.cgi?id=57254

Skip test for setPalette() which doesn't work
when WTF_USE_QT_MOBILE_THEME is defined.

  • tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  • tests/qwebview/tst_qwebview.cpp:
  • tests/tests.pri:
8:17 PM Changeset in webkit [84333] by eric@webkit.org
  • 6 edits in trunk/Tools

2011-04-19 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

The commit-queue is confused when non-layout tests fail
https://bugs.webkit.org/show_bug.cgi?id=58955

As seen in http://queues.webkit.org/results/8474435

It fails to create an archive of the layout test results
and then throws an exception.

I've fixed this by making it catch the exception as well
as made it so it never calls that path in the common case.

I've updated MockFileSystem to understand rmtree's affect on
directories as well as files.

  • Scripts/webkitpy/common/system/filesystem_mock.py:
  • Scripts/webkitpy/common/system/workspace.py:
  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
7:56 PM Changeset in webkit [84332] by yi.4.shen@nokia.com
  • 2 edits in trunk/Source/WebKit/qt

2011-04-19 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Laszlo Gombos.

[Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
https://bugs.webkit.org/show_bug.cgi?id=58044

Fixing this test by disabling the scrollbars on the graphics view
since QtWebKit handles scrolling and scrollbar automatically and correctly.

  • tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::widgetsRenderingThroughCache):
7:31 PM Changeset in webkit [84331] by dpranke@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, expectations change.

  • platform/chromium/test_expectations.txt:
7:21 PM Changeset in webkit [84330] by dpranke@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, attempting build fix.

Disable leveldb to work around
http://code.google.com/p/leveldb/issues/detail?id=1.

  • features.gypi:
7:13 PM Changeset in webkit [84329] by commit-queue@webkit.org
  • 7 edits
    2 adds in trunk

2011-04-19 Julien Chaffraix <jchaffraix@codeaurora.org>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=45425
HTMLLinkElement.disabled does not forward value to the Stylesheet's disabled attribute on setting

Test case by Bijan Amirzada <bijana@codeaurora.org>.

  • fast/dom/HTMLLinkElement/disabled-attribute-expected.txt: Added.
  • fast/dom/HTMLLinkElement/disabled-attribute.html: Added. Test that the properties are properly forwarded to the stylesheet.
  • fast/dom/boolean-attribute-reflection-expected.txt:
  • fast/dom/script-tests/boolean-attribute-reflection.js: Removed link:disabled as it is not reflected anymore.

2011-04-19 Julien Chaffraix <jchaffraix@codeaurora.org>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=45425
HTMLLinkElement.disabled does not forward value to the Stylesheet's disabled attribute on setting

Test: fast/html/htmllink-disable.html
Test: fast/dom/HTMLLinkElement/disabled-attribute.html

Match the HTML5 specification by forwarding the 'disabled' attribute to our stylesheet.

Based on previous work by Bijan Amirzada <bijana@codeaurora.org>.

  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::disabled): Return our stylesheet's 'disabled' value or false if we don't have a stylesheet. (WebCore::HTMLLinkElement::setDisabled): Set our stylesheet's 'disabled' value or ignore the call if we don't have a stylesheet.
  • html/HTMLLinkElement.h:
  • html/HTMLLinkElement.idl: Remove 'Reflect' as it is not a reflected attribute anymore in HTML5. This matches the way FF4, Opera and IE9 handle the attribute.
7:12 PM Changeset in webkit [84328] by rolandsteiner@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

Check the type of the wrapper when unwrapping NPObjects to native
Ranges and Elements
https://bugs.webkit.org/show_bug.cgi?id=58957

  • src/WebBindings.cpp: (WebKit::getRangeImpl): check HasInstance (WebKit::getElementImpl): check HasInstance
6:56 PM Changeset in webkit [84327] by Simon Fraser
  • 61 edits in trunk/LayoutTests

2011-04-19 Simon Fraser <Simon Fraser>

Rebaseline image results with diffs below the default tolerance,
after earlier border drawing changes.

  • platform/mac/fast/backgrounds/background-leakage-expected.checksum:
  • platform/mac/fast/backgrounds/background-leakage-expected.png:
  • platform/mac/fast/backgrounds/border-radius-split-background-expected.checksum:
  • platform/mac/fast/backgrounds/border-radius-split-background-expected.png:
  • platform/mac/fast/backgrounds/border-radius-split-background-image-expected.checksum:
  • platform/mac/fast/backgrounds/border-radius-split-background-image-expected.png:
  • platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.checksum:
  • platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.png:
  • platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
  • platform/mac/fast/blockflow/border-vertical-lr-expected.png:
  • platform/mac/fast/blockflow/box-shadow-horizontal-bt-expected.checksum:
  • platform/mac/fast/blockflow/box-shadow-horizontal-bt-expected.png:
  • platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.checksum:
  • platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.png:
  • platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.checksum:
  • platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.png:
  • platform/mac/fast/box-shadow/basic-shadows-expected.checksum:
  • platform/mac/fast/box-shadow/basic-shadows-expected.png:
  • platform/mac/fast/box-shadow/inset-box-shadows-expected.checksum:
  • platform/mac/fast/box-shadow/inset-box-shadows-expected.png:
  • platform/mac/fast/box-shadow/inset-expected.checksum:
  • platform/mac/fast/box-shadow/inset-expected.png:
  • platform/mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.checksum:
  • platform/mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
  • platform/mac/fast/css/nested-rounded-corners-expected.checksum:
  • platform/mac/fast/css/nested-rounded-corners-expected.png:
  • platform/mac/fast/forms/001-expected.checksum:
  • platform/mac/fast/forms/001-expected.png:
  • platform/mac/fast/forms/basic-selects-expected.checksum:
  • platform/mac/fast/forms/basic-selects-expected.png:
  • platform/mac/fast/forms/menulist-clip-expected.checksum:
  • platform/mac/fast/forms/menulist-clip-expected.png:
  • platform/mac/fast/forms/menulist-narrow-width-expected.checksum:
  • platform/mac/fast/forms/menulist-narrow-width-expected.png:
  • platform/mac/fast/forms/menulist-option-wrap-expected.checksum:
  • platform/mac/fast/forms/menulist-option-wrap-expected.png:
  • platform/mac/fast/forms/menulist-restrict-line-height-expected.checksum:
  • platform/mac/fast/forms/menulist-restrict-line-height-expected.png:
  • platform/mac/fast/forms/menulist-separator-painting-expected.checksum:
  • platform/mac/fast/forms/menulist-separator-painting-expected.png:
  • platform/mac/fast/forms/menulist-style-color-expected.checksum:
  • platform/mac/fast/forms/menulist-style-color-expected.png:
  • platform/mac/fast/forms/select-background-none-expected.checksum:
  • platform/mac/fast/forms/select-background-none-expected.png:
  • platform/mac/fast/forms/select-baseline-expected.checksum:
  • platform/mac/fast/forms/select-baseline-expected.png:
  • platform/mac/fast/forms/select-empty-option-height-expected.checksum:
  • platform/mac/fast/forms/select-empty-option-height-expected.png:
  • platform/mac/fast/forms/select-style-expected.checksum:
  • platform/mac/fast/forms/select-style-expected.png:
  • platform/mac/fast/forms/validation-message-appearance-expected.checksum:
  • platform/mac/fast/forms/validation-message-appearance-expected.png:
  • platform/mac/fast/overflow/border-radius-clipping-expected.checksum:
  • platform/mac/fast/overflow/border-radius-clipping-expected.png:
  • platform/mac/fast/repaint/border-radius-repaint-expected.checksum:
  • platform/mac/fast/repaint/border-radius-repaint-expected.png:
  • platform/mac/fast/repaint/control-clip-expected.checksum:
  • platform/mac/fast/repaint/control-clip-expected.png:
  • platform/mac/fast/repaint/selection-after-remove-expected.checksum:
  • platform/mac/fast/repaint/selection-after-remove-expected.png:
6:18 PM Changeset in webkit [84326] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

Remove calls to deprecatedOffset and deprecatedNode in TypingCommand
https://bugs.webkit.org/show_bug.cgi?id=58569

Removed all calls to deprecatedOffset and deprecatedNode.

  • editing/TypingCommand.cpp: (WebCore::TypingCommand::insertText): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed):
6:17 PM Changeset in webkit [84325] by crogers@google.com
  • 5 edits
    1 add
    4 deletes in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Rebaseline some tests and update test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=58954

  • platform/chromium-mac-leopard/fast/overflow/border-radius-clipping-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/overflow/border-radius-clipping-expected.png:
  • platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum: Removed.
  • platform/chromium-mac-leopard/svg/custom/svg-fonts-in-html-expected.png: Removed.
  • platform/chromium-mac/fast/overflow/border-radius-clipping-expected.png: Added.
  • platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
  • platform/chromium-win/fast/text/justification-padding-mid-word-expected.txt:
  • platform/chromium/test_expectations.txt:
6:01 PM Changeset in webkit [84324] by jamesr@google.com
  • 1 edit
    1 add in trunk/LayoutTests

2011-04-19 James Robinson <jamesr@chromium.org>

[win] New test compositing/iframes/invisible-nested-iframe-show.html fails on windows
https://bugs.webkit.org/show_bug.cgi?id=58951

Add a failing expectation for this test on windows.

  • platform/win/compositing/iframes/invisible-nested-iframe-show-expected.txt: Added.
5:51 PM Changeset in webkit [84323] by enne@google.com
  • 2 edits in trunk/Source/WebCore

2011-04-19 Adrienne Walker <enne@google.com>

Reviewed by Kenneth Russell.

[chromium] Initialize depth mask to known value before getBooleanv call
https://bugs.webkit.org/show_bug.cgi?id=58948

This trips an assert in the GPU command buffer client code if the
pointed-to value is not initialized to 0 or -1.

  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::clearFramebuffer):
5:50 PM Changeset in webkit [84322] by Simon Fraser
  • 1 edit
    8 adds in trunk/LayoutTests

2011-04-19 Simon Fraser <Simon Fraser>

Add missing results for fast/borders/table-borders.html, and
a new test that shows the background color leaking out through the
border (to facilitate image diffs for an upcoming change).

  • fast/backgrounds/background-leakage.html: Added.
  • platform/mac/compositing/reflections/backface-hidden-reflection-expected.txt: Added.
  • platform/mac/fast/backgrounds/background-leakage-expected.checksum: Added.
  • platform/mac/fast/backgrounds/background-leakage-expected.png: Added.
  • platform/mac/fast/backgrounds/background-leakage-expected.txt: Added.
  • platform/mac/fast/borders/table-borders-expected.checksum: Added.
  • platform/mac/fast/borders/table-borders-expected.png: Added.
  • platform/mac/fast/borders/table-borders-expected.txt: Added.
5:35 PM Changeset in webkit [84321] by psolanki@apple.com
  • 4 edits in trunk/Source/WebCore

BitmapImage::destroyMetadataAndNotify should clear m_checkedForSolidColor
https://bugs.webkit.org/show_bug.cgi?id=58926

Reviewed by Simon Fraser.

  • platform/graphics/BitmapImage.cpp:

(WebCore::BitmapImage::destroyMetadataAndNotify): Set m_checkedForSolidColor to false.

  • platform/graphics/BitmapImage.h:

(WebCore::BitmapImage::assertNotSolidColor):

  • platform/graphics/cg/ImageCG.cpp:

(WebCore::Image::drawPattern): Add assert to make sure this is not called for a 1x1 image.

5:23 PM Changeset in webkit [84320] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Ojan Vafai.

REGRESSION(r83967): Crash in selectionExtentRespectingEditingBoundary
https://bugs.webkit.org/show_bug.cgi?id=58910

The crash was caused by selectionExtentRespectingEditingBoundary's incorrectly assuming that
targetNode always have renderer when there selection has an editable root and the target node
is outside of the editable root.


Fixed the bug by adding an early exit when the target node is null.

No new tests are added since we don't have a reduction for this crash.

  • page/EventHandler.cpp: (WebCore::selectionExtentRespectingEditingBoundary):
5:04 PM Changeset in webkit [84319] by ggaren@apple.com
  • 2 edits in trunk/Source/WebCore

Try to fix v8 build.

  • bindings/scripts/CodeGeneratorV8.pm: This is a pretty bad system.
5:00 PM Changeset in webkit [84318] by andersca@apple.com
  • 4 edits in trunk/Source/WebKit2

2011-04-19 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

UI process thinks the page is unresponsive when a plug-in is showing a context menu
https://bugs.webkit.org/show_bug.cgi?id=58943
<rdar://problem/9299901>

Change the HandleMouseEvent message to have a delayed reply and make the PluginControllerProxy
respond to it immediately, before even passing the event to the plug-in. Since it doesn't matter
for mouse events whether the plug-in handled them or not we can do this.

Another solution could have been to make handleMouseEvent an asynchronous message, but that could
mess up the message ordering so this seemed like the least intrusive change.

  • PluginProcess/PluginControllerProxy.cpp: (WebKit::PluginControllerProxy::handleMouseEvent):
  • PluginProcess/PluginControllerProxy.h:
  • PluginProcess/PluginControllerProxy.messages.in:
4:59 PM Changeset in webkit [84317] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-19 Ojan Vafai <ojan@chromium.org>

Fix check for whether a failure is expected to deal with
flaky tests and FAIL expectations.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
4:58 PM Changeset in webkit [84316] by crogers@google.com
  • 18 edits
    20 adds
    17 deletes in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Rebaseline a bunch of border-radius related layout tests for chromium mac
https://bugs.webkit.org/show_bug.cgi?id=58945

  • platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.png:
  • platform/chromium-mac-leopard/fast/borders/border-radius-constraints-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/borders/border-radius-constraints-expected.png:
  • platform/chromium-mac-leopard/fast/borders/border-radius-huge-assert-expected.png:
  • platform/chromium-mac-leopard/fast/borders/border-radius-inline-flow-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/borders/border-radius-inline-flow-expected.png:
  • platform/chromium-mac-leopard/fast/borders/borderRadiusInvalidColor-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/borders/borderRadiusInvalidColor-expected.png:
  • platform/chromium-mac-leopard/fast/borders/svg-as-border-image-2-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/borders/svg-as-border-image-2-expected.png: Added.
  • platform/chromium-mac-leopard/fast/box-shadow/basic-shadows-expected.png: Added.
  • platform/chromium-mac-leopard/fast/canvas/canvasDrawingIntoSelf-expected.png: Added.
  • platform/chromium-mac-leopard/fast/css/font_property_normal-expected.png: Added.
  • platform/chromium-mac-leopard/fast/forms/basic-selects-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/basic-selects-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-clip-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/menulist-clip-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-narrow-width-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/menulist-narrow-width-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png:
  • platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png:
  • platform/chromium-mac-leopard/fast/forms/select-baseline-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.checksum: Removed.
  • platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.png:
  • platform/chromium-mac/fast/blockflow/box-shadow-horizontal-bt-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/box-shadow-vertical-lr-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/box-shadow-vertical-rl-expected.png: Added.
  • platform/chromium-mac/fast/borders/border-radius-circle-expected.png: Removed.
  • platform/chromium-mac/fast/borders/border-radius-huge-assert-expected.png: Removed.
  • platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.checksum:
  • platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.png: Removed.
  • platform/chromium-mac/fast/box-shadow/basic-shadows-expected.png: Added.
  • platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png: Added.
  • platform/chromium-mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
  • platform/chromium-mac/fast/css/nested-rounded-corners-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/nested-rounded-corners-expected.png:
  • platform/chromium-mac/fast/forms/basic-selects-expected.png: Added.
  • platform/chromium-mac/fast/forms/menulist-clip-expected.png: Added.
  • platform/chromium-mac/fast/forms/menulist-narrow-width-expected.png: Added.
  • platform/chromium-mac/fast/forms/menulist-option-wrap-expected.png: Added.
  • platform/chromium-mac/fast/forms/menulist-restrict-line-height-expected.png: Added.
  • platform/chromium-mac/fast/forms/menulist-separator-painting-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/menulist-separator-painting-expected.png:
  • platform/chromium-mac/fast/forms/menulist-style-color-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-background-none-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-baseline-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-empty-option-height-expected.png: Added.
  • platform/chromium/test_expectations.txt:
4:52 PM Changeset in webkit [84315] by crogers@google.com
  • 17 edits
    19 adds
    12 deletes in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Rebase a bunch of border-radius related layout tests
https://bugs.webkit.org/show_bug.cgi?id=58942

  • platform/chromium-linux/css2.1/t0805-c5517-brdr-s-00-c-expected.checksum: Removed.
  • platform/chromium-linux/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
  • platform/chromium-linux/fast/backgrounds/border-radius-split-background-expected.png: Added.
  • platform/chromium-linux/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
  • platform/chromium-linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Removed.
  • platform/chromium-linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-linux/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
  • platform/chromium-linux/fast/box-shadow/inset-expected.png:
  • platform/chromium-linux/fast/forms/validation-message-appearance-expected.checksum: Removed.
  • platform/chromium-linux/fast/forms/validation-message-appearance-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Added.
  • platform/chromium-mac-leopard/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-mac-leopard/fast/borders/borderRadiusAllStylesAllCorners-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
  • platform/chromium-mac-leopard/fast/box-shadow/inset-expected.png: Removed.
  • platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.checksum: Removed.
  • platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png:
  • platform/chromium-mac/css2.1/t0805-c5517-brdr-s-00-c-expected.png: Added.
  • platform/chromium-mac/fast/backgrounds/border-radius-split-background-expected.png: Added.
  • platform/chromium-mac/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
  • platform/chromium-mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Removed.
  • platform/chromium-mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-mac/fast/borders/borderRadiusAllStylesAllCorners-expected.checksum: Removed.
  • platform/chromium-mac/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
  • platform/chromium-mac/fast/borders/table-borders-expected.png: Added.
  • platform/chromium-mac/fast/borders/table-borders-expected.txt: Added.
  • platform/chromium-mac/fast/box-shadow/inset-expected.png: Added.
  • platform/chromium-mac/fast/events/overflow-viewport-renderer-deleted-expected.txt: Added.
  • platform/chromium-mac/fast/forms/validation-message-appearance-expected.png: Added.
  • platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Added.
  • platform/chromium-win/css2.1/t0805-c5517-brdr-s-00-c-expected.checksum: Removed.
  • platform/chromium-win/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
  • platform/chromium-win/fast/backgrounds/border-radius-split-background-expected.png: Added.
  • platform/chromium-win/fast/backgrounds/border-radius-split-background-expected.txt: Added.
  • platform/chromium-win/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
  • platform/chromium-win/fast/backgrounds/border-radius-split-background-image-expected.txt: Added.
  • platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Removed.
  • platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-win/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
  • platform/chromium-win/fast/borders/table-borders-expected.png: Added.
  • platform/chromium-win/fast/borders/table-borders-expected.txt: Added.
  • platform/chromium-win/fast/box-shadow/inset-expected.png:
  • platform/chromium-win/fast/events/overflow-viewport-renderer-deleted-expected.txt: Added.
  • platform/chromium-win/fast/forms/validation-message-appearance-expected.checksum: Removed.
  • platform/chromium-win/fast/forms/validation-message-appearance-expected.png:
  • platform/chromium/test_expectations.txt:
4:48 PM Changeset in webkit [84314] by tony@chromium.org
  • 104 edits in trunk/LayoutTests

2011-04-19 Tony Chang <tony@chromium.org>

Add checksums to png files in platform win, win-wk2, and win-xp.

4:43 PM Changeset in webkit [84313] by ojan@chromium.org
  • 3 edits in trunk/Tools

2011-04-19 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

don't show missing text results for tests that only dump image results
https://bugs.webkit.org/show_bug.cgi?id=58931

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
4:38 PM Changeset in webkit [84312] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-19 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

don't show failures table if there are only new tests
https://bugs.webkit.org/show_bug.cgi?id=58929

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
4:37 PM Changeset in webkit [84311] by enrica@apple.com
  • 5 edits
    2 adds in trunk

REGRESSION(r55762): Highlight color can't be copied in gmail.
https://bugs.webkit.org/show_bug.cgi?id=58925
<rdar://problem/9253057>

Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: editing/pasteboard/copy-text-with-backgroundcolor.html

The changes of r55762 uncovered the underlying issue here. The markup fragment
placed in the pasteboard does not contain the background color style.
This occurs only if the selection is limited to a single text node, whereas if the
selection spans across multiple nodes, the style is preserved correctly.
The fix consists in changing the logic that decides whether we should include the wrapping
node in the markup. That logic is based on the code in highestAncestorToWrapMarkup which relies
on isElementPresentational to choose candidates to be the wrapping node.
I've extended it to accept nodes that have non fully transparent background colors.

  • editing/Editor.cpp:

(WebCore::Editor::hasTransparentBackgroundColor): Now is a static method of the class.

  • editing/Editor.h:
  • editing/markup.cpp:

(WebCore::isElementPresentational): Modified to use hasTransparentBackgroundColor.

LayoutTests:

The following test checks that when we copy a text node surrounded by an element that
has non transparent background color we preserve the background color as well.

  • editing/pasteboard/copy-text-with-backgroundcolor-expected.txt: Added.
  • editing/pasteboard/copy-text-with-backgroundcolor.html: Added.
4:35 PM Changeset in webkit [84310] by ojan@chromium.org
  • 3 edits in trunk/Tools

2011-04-19 Ojan Vafai <ojan@chromium.org>

Fix unittest failures from http://trac.webkit.org/changeset/84294.

  • Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
4:32 PM Changeset in webkit [84309] by ggaren@apple.com
  • 10 edits in trunk/Source/WebCore

2011-04-19 Geoffrey Garen <ggaren@apple.com>

Reviewed by Oliver Hunt.

Removed a use of markDOMObjectWrapper: NodeLists
https://bugs.webkit.org/show_bug.cgi?id=58939

  • bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::markChildren): No need to mark node lists, because now they use the opaque roots system to decide their lifetimes.
  • bindings/js/JSNamedNodeMapCustom.cpp: Removed stray newline.
  • bindings/js/JSNodeListCustom.cpp: (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots): (WebCore::JSNodeListOwner::finalize): (WebCore::wrapperOwner): (WebCore::wrapperContext): (WebCore::toJS): Use the opaque roots system to avoid relying on markDOMObjectWrapper.
  • dom/DynamicNodeList.cpp: (WebCore::DynamicNodeList::isDynamicNodeList):
  • dom/DynamicNodeList.h: (WebCore::DynamicNodeList::rootNode): Added the ability to get the node backing a NodeList, for use in the opaque roots system.
  • dom/Node.cpp:
  • dom/Node.h:
  • dom/NodeList.h: (WebCore::NodeList::isDynamicNodeList): Ditto. Removed cruft related to the old way of marking NodeLists.
  • dom/NodeList.idl: We need a custom toJS so we can specify a custom WeakHandleOwner at construction time.
4:27 PM Changeset in webkit [84308] by crogers@google.com
  • 2 edits in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Update test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=58941

  • platform/chromium/test_expectations.txt:
4:23 PM Changeset in webkit [84307] by jamesr@google.com
  • 3 edits
    13 adds in trunk

2011-04-19 Antoine Labour <piman@chromium.org>

Reviewed by James Robinson.

For invisible iframes, propagate compositing to parent instead of setting self
as root.
https://bugs.webkit.org/show_bug.cgi?id=58414

  • compositing/iframes/invisible-iframe-expected.checksum: Added.
  • compositing/iframes/invisible-iframe-expected.png: Added.
  • compositing/iframes/invisible-iframe-expected.txt: Added.
  • compositing/iframes/invisible-iframe.html: Added.
  • compositing/iframes/invisible-nested-iframe-expected.checksum: Added.
  • compositing/iframes/invisible-nested-iframe-expected.png: Added.
  • compositing/iframes/invisible-nested-iframe-expected.txt: Added.
  • compositing/iframes/invisible-nested-iframe-hide-expected.txt: Added.
  • compositing/iframes/invisible-nested-iframe-hide.html: Added.
  • compositing/iframes/invisible-nested-iframe-show-expected.txt: Added.
  • compositing/iframes/invisible-nested-iframe-show.html: Added.
  • compositing/iframes/invisible-nested-iframe.html: Added.
  • platform/chromium-gpu/compositing/iframes/invisible-nested-iframe-show-expected.txt: Added.

2011-04-19 Antoine Labour <piman@chromium.org>

Reviewed by James Robinson.

For invisible iframes, propagate compositing to parent instead of setting self
as root.
https://bugs.webkit.org/show_bug.cgi?id=58414

Tests: compositing/iframes/invisible-iframe.html

compositing/iframes/invisible-nested-iframe-hide.html
compositing/iframes/invisible-nested-iframe-show.html
compositing/iframes/invisible-nested-iframe.html

  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame): Propagate compositing to parent even if frame owner has no renderer.
4:15 PM Changeset in webkit [84306] by mdelaney@apple.com
  • 2 edits in trunk/Source/WebKit/mac

2011-04-19 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

WebPreferences in WebKit1 should have CanvasUsesAcceleratedDrawing set to NO by default
https://bugs.webkit.org/show_bug.cgi?id=58936

  • WebView/WebPreferences.mm: (+[WebPreferences initialize]):
4:11 PM Changeset in webkit [84305] by crogers@google.com
  • 2 edits in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Update test_expectations.txt for tests which need rebaselining
https://bugs.webkit.org/show_bug.cgi?id=58938

  • platform/chromium/test_expectations.txt:
3:53 PM Changeset in webkit [84304] by ap@apple.com
  • 20 edits
    1 move
    1 delete in trunk/Source/WebKit2

Reviewed by Adele Peterson.

WebKit2: Merge SelectionState and TextInputState
https://bugs.webkit.org/show_bug.cgi?id=58919

Combined TextInputState and EditorState in one structure, which is updated whenever we get
a chance to. There is no sense to keep possibly stale SelectionState data when we have already
requested the most recent data synchronously.

This also simplifies the code, as we don't need to pass the state around in a separate variable.

  • GNUmakefile.am:
  • Scripts/webkit2/messages.py:
  • Shared/EditorState.h: Copied from Source/WebKit2/Shared/SelectionState.h. (WebKit::EditorState::EditorState):
  • Shared/SelectionState.h: Removed.
  • Shared/mac/TextInputState.h: Removed.
  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::interpretKeyEvent):
  • UIProcess/API/mac/WKView.mm: (-[WKView validRequestorForSendType:returnType:]): (-[WKView validateUserInterfaceItem:]): (-[WKView shouldDelayWindowOrderingForEvent:]): (-[WKView doCommandBySelector:]): (-[WKView insertText:replacementRange:]): (-[WKView _handleStyleKeyEquivalent:]): (-[WKView _executeSavedKeypressCommands]): (-[WKView inputContext]): (-[WKView hasMarkedText]): (-[WKView unmarkText]): (-[WKView setMarkedText:selectedRange:replacementRange:]): (-[WKView attributedSubstringForProposedRange:actualRange:]): (-[WKView _interpretKeyEvent:savingCommandsTo:WebCore::]): (-[WKView _updateSecureInputState]):
  • UIProcess/API/mac/WKViewInternal.h:
  • UIProcess/PageClient.h:
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::editorStateChanged):
  • UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::editorState): (WebKit::WebPageProxy::hasSelectedRange): (WebKit::WebPageProxy::isContentEditable):
  • UIProcess/WebPageProxy.messages.in:
  • UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::setComposition): (WebKit::WebPageProxy::confirmComposition): (WebKit::WebPageProxy::insertText): (WebKit::WebPageProxy::executeKeypressCommands): (WebKit::WebPageProxy::writeSelectionToPasteboard): (WebKit::WebPageProxy::readSelectionFromPasteboard): (WebKit::WebPageProxy::interpretQueuedKeyEvent):
  • UIProcess/win/WebView.cpp: (WebKit::WebView::compositionSelectionChanged): (WebKit::WebView::onIMEComposition): (WebKit::WebView::onIMEEndComposition): (WebKit::WebView::onIMERequestCharPosition): (WebKit::WebView::onIMERequest):
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/WebCoreSupport/WebEditorClient.cpp: (WebKit::WebEditorClient::respondToChangedSelection):
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::editorState):
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::handleEditingKeyboardEvent): (WebKit::WebPage::setComposition): (WebKit::WebPage::confirmComposition): (WebKit::WebPage::insertText): (WebKit::WebPage::executeKeypressCommands):
  • win/WebKit2.vcproj:
3:43 PM ThreadCommunication edited by levin@chromium.org
Added "case study" of converting code to using the new api. (diff)
3:36 PM Changeset in webkit [84303] by tony@chromium.org
  • 5256 edits in trunk/LayoutTests

2011-04-19 Tony Chang <tony@chromium.org>

Add checksums to png files in platform/gtk.

3:35 PM Changeset in webkit [84302] by andersca@apple.com
  • 9 edits in trunk/Source/WebKit2

2011-04-19 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Terminate hung plug-in processes after 45 seconds
https://bugs.webkit.org/show_bug.cgi?id=58932
<rdar://problem/8083219>

  • UIProcess/Plugins/PluginProcessManager.cpp: (WebKit::PluginProcessManager::pluginSyncMessageSendTimedOut): Find the plug-in process proxy and terminate it.

(WebKit::PluginProcessManager::pluginProcessWithPath):
Add new helper function.

(WebKit::PluginProcessManager::getOrCreatePluginProcess):
Call pluginProcessWithPath.

  • UIProcess/Plugins/PluginProcessProxy.cpp: (WebKit::PluginProcessProxy::terminate): Terminate the process.
  • UIProcess/Plugins/PluginProcessProxy.h:
  • UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::pluginSyncMessageSendTimedOut): Call PluginProcessManager::pluginSyncMessageSendTimedOut.
  • UIProcess/WebProcessProxy.h:
  • UIProcess/WebProcessProxy.messages.in: Add PluginSyncMessageSendTimedOut message.
  • WebProcess/Plugins/PluginProcessConnection.cpp: (WebKit::defaultSyncMessageTimeout): (WebKit::PluginProcessConnection::PluginProcessConnection): Set a sync message timeout on the plug-in process connection.

(WebKit::PluginProcessConnection::syncMessageSendTimedOut):
Send a message to the web process proxy.

3:33 PM Changeset in webkit [84301] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-04-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove unneeded deprecated methods from MarkStack
https://bugs.webkit.org/show_bug.cgi?id=58853

Remove deprecated methods

  • heap/MarkStack.h:
3:29 PM Changeset in webkit [84300] by mitz@apple.com
  • 3 edits
    2 adds in trunk

<rdar://problem/9271848> Crash when the document element is removed

Reviewed by Beth Dakin.

Source/WebCore:

Test: fast/events/overflow-viewport-renderer-deleted.html

  • page/FrameView.cpp:

(WebCore::FrameView::calculateScrollbarModesForLayout): Reset m_viewportRenderer, in case this
function takes a code path that doesn’t call applyOverflowToViewport().
(WebCore::FrameView::layout): Whitespace change.

LayoutTests:

  • fast/events/overflow-viewport-renderer-deleted-expected.txt: Added.
  • fast/events/overflow-viewport-renderer-deleted.html: Added.
3:18 PM Changeset in webkit [84299] by jamesr@google.com
  • 2 edits in trunk/LayoutTests

2011-04-19 James Robinson <jamesr@chromium.org>

Fix lint errors in test_expectations.txt

  • platform/chromium/test_expectations.txt:
3:15 PM Changeset in webkit [84298] by tony@chromium.org
  • 3021 edits in trunk/LayoutTests

2011-04-19 Tony Chang <tony@chromium.org>

Add checksums to png files in platform/qt.

2:37 PM Changeset in webkit [84297] by ap@apple.com
  • 2 edits in trunk/Source/WebKit2

Reviewed by Timothy Hatcher.

100% reproducible crash when right-clicking any element in Web Inspector on any page
https://bugs.webkit.org/show_bug.cgi?id=58822

Web Inspector changes selection from JavaScript, and checks in UI process are insufficient
when selection is changing asynchronously.

  • WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::writeSelectionToPasteboard): Check that there is a selection, matching WK1 and UI process side. Perhaps the check should really be in WebCore, but for now, it's a WebKit responsibility. (WebKit::WebPage::readSelectionFromPasteboard): Same check, for no other reason but consistency.
2:30 PM Changeset in webkit [84296] by Beth Dakin
  • 5 edits
    3 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=57898
REGRESSION (r82185): Scroll position not restored on navigation back to a page in
the page cache
-and corresponding-
<rdar://problem/9226652>

Reviewed by Maciej Stachowiak.

Source/WebCore:

Setting the contentsSize of a ScrollView to (0, 0) necessarily causes the scroll
position to be lost. (The scroll position is computed based on the
visibleContentSize.) This patch provides a mechanism to cache the current scroll
position, and then the HistoryController accesses only the cached position rather
than calling scrollPosition() which does a computation based on the
visibleContentSize.

  • loader/HistoryController.cpp:

(WebCore::HistoryController::saveScrollPositionAndViewStateToItem):

  • page/FrameView.cpp:

(WebCore::FrameView::resetScrollbarsAndClearContentsSize):

  • platform/ScrollView.h:

(WebCore::ScrollView::cacheCurrentScrollPosition):
(WebCore::ScrollView::cachedScrollPosition):

LayoutTests:

  • fast/loader/resources/empty-document-goes-back.html: Added.
  • fast/loader/scroll-position-restored-on-back-expected.txt: Added.
  • fast/loader/scroll-position-restored-on-back.html: Added.
2:28 PM Changeset in webkit [84295] by mrowe@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Things work best when the Xcode project refers to the file at a path that exists.

2:18 PM Changeset in webkit [84294] by ojan@chromium.org
  • 7 edits in trunk/Tools

2011-04-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

switch new-run-webkit-tests to using the new results file
https://bugs.webkit.org/show_bug.cgi?id=58861

  • Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
2:16 PM Changeset in webkit [84293] by andersca@apple.com
  • 15 edits in trunk/Source/WebKit2

2011-04-19 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Add syncMessageSendTimedOut CoreIPC Connection::Client member function
https://bugs.webkit.org/show_bug.cgi?id=58928

  • Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::waitForSyncReply): Call syncMessageSendTimedOut.
  • Platform/CoreIPC/Connection.h: Add syncMessageSendTimedOut to Connection::Client.
  • PluginProcess/PluginProcess.cpp:
  • PluginProcess/PluginProcess.h:
  • PluginProcess/WebProcessConnection.cpp:
  • PluginProcess/WebProcessConnection.h:
  • UIProcess/Plugins/PluginProcessProxy.cpp:
  • UIProcess/Plugins/PluginProcessProxy.h:
  • UIProcess/WebProcessProxy.cpp:
  • UIProcess/WebProcessProxy.h:
  • WebProcess/Plugins/PluginProcessConnection.cpp:
  • WebProcess/Plugins/PluginProcessConnection.h:
  • WebProcess/WebProcess.cpp:
  • WebProcess/WebProcess.h: Add syncMessageSendTimedOut stubs.
2:15 PM Changeset in webkit [84292] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Ryosuke Niwa <rniwa@webkit.org>

Skip the test added by r84264. The bug tracked by
https://bugs.webkit.org/show_bug.cgi?id=58741

  • platform/qt/Skipped:
1:57 PM Changeset in webkit [84291] by jberlin@webkit.org
  • 2 edits in trunk/WebKitLibraries

Roll r81683 back in.

Reviewed by Sam Weinig.

Going to certain pages causes a download of "st.html" or "jsp.html" (news.yahoo.com, etc.)
<rdar://problem/9139245>

"Windows edition".

  • win/lib/WebKitSystemInterface.lib:
1:54 PM Changeset in webkit [84290] by reni@webkit.org
  • 9 edits
    4 adds in trunk

2011-04-19 Renata Hodovan <reni@webkit.org>

Reviewed by Eric Seidel.

Move the alignment related macros from Vector.h to new Alignment.h.
https://bugs.webkit.org/show_bug.cgi?id=56000

Adding the new file to the forwarding headers of Tools.

  • DumpRenderTree/ForwardingHeaders/wtf/Alignment.h: Added.

2011-04-19 Renata Hodovan <reni@webkit.org>

Reviewed by Eric Seidel.

Move the alignment related macros in Vector.h to new Alignment.h.
https://bugs.webkit.org/show_bug.cgi?id=56000

2011-04-19 Renata Hodovan <reni@webkit.org>

Reviewed by Eric Seidel.

Move the alignment related macros in Vector.h to new Alignment.h.
https://bugs.webkit.org/show_bug.cgi?id=56000

Adding the new file to the forwarding headers of JavaScriptGlue.

  • ForwardingHeaders/wtf/Alignment.h: Added.

2011-04-19 Renata Hodovan <reni@webkit.org>

Reviewed by Eric Seidel.

Move the alignment related macros in Vector.h to new Alignment.h.
https://bugs.webkit.org/show_bug.cgi?id=56000

Adding the new file to the forwarding headers of WebCore.

  • ForwardingHeaders/wtf/Alignment.h: Added.
1:52 PM Changeset in webkit [84289] by oliver@apple.com
  • 4 edits in trunk/Source/JavaScriptCore

2011-04-19 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove DeprecatedPtr
https://bugs.webkit.org/show_bug.cgi?id=58718

Remove the class an all functions that still exist to support it.

  • heap/MarkStack.h: (JSC::MarkStack::append):
  • runtime/JSValue.h:
  • runtime/WriteBarrier.h:
1:47 PM Changeset in webkit [84288] by andersca@apple.com
  • 7 edits in trunk/Source/WebKit2

2011-04-19 Anders Carlsson <andersca@apple.com>

Reviewed by Alexey Proskuryakov.

Replace the didFailToSendSyncMessage Connection::Client function with a flag
https://bugs.webkit.org/show_bug.cgi?id=58923

  • Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::Connection): Initialize m_shouldExitOnSyncMessageSendFailure to false.

(CoreIPC::Connection::setShouldExitOnSyncMessageSendFailure):
Set m_didCloseOnConnectionWorkQueueCallback.

(CoreIPC::Connection::sendSyncMessage):
Call didFailToSendSyncMessage if we fail to send the sync message for some reason.

(CoreIPC::Connection::didFailToSendSyncMessage):
if m_shouldExitOnSyncMessageSendFailure is true, exit.

  • Platform/CoreIPC/Connection.h: Remove didFailToSendSyncMessage from Connection::Client.
  • PluginProcess/PluginProcess.cpp:
  • PluginProcess/PluginProcess.h: Remove didFailToSendSyncMessage.
  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::initialize):
  • WebProcess/WebProcess.h: Remove didFailToSendSyncMessage. Call setShouldExitOnSyncMessageSendFailure on our UI process connection.
1:44 PM Changeset in webkit [84287] by tony@chromium.org
  • 3 edits in trunk/LayoutTests

2011-04-19 Tony Chang <tony@chromium.org>

Skipping plugins/mouse-click-iframe-to-plugin.html on mac/win.

  • platform/mac/Skipped:
  • platform/win/Skipped:
1:40 PM Changeset in webkit [84286] by oliver@apple.com
  • 4 edits in trunk/Source/WebCore

2011-04-19 Oliver Hunt <oliver@apple.com>

Reviewed by Andreas Kling.

[Qt] QtInstance method cache ownership rules are unclear
https://bugs.webkit.org/show_bug.cgi?id=58820

Make the QtInstance method cache use WriteBarrier, and handle
ownership properly.

  • bridge/qt/qt_class.cpp: (JSC::Bindings::QtClass::fallbackObject): (JSC::Bindings::QtClass::fieldNamed):
  • bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::~QtInstance): (JSC::Bindings::QtInstance::removeCachedMethod): (JSC::Bindings::QtInstance::newRuntimeObject): (JSC::Bindings::QtInstance::markAggregate):
  • bridge/qt/qt_instance.h:
1:06 PM Changeset in webkit [84285] by crogers@google.com
  • 2 edits in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Update test_expectations.txt due to border radius bugs in Skia
https://bugs.webkit.org/show_bug.cgi?id=58920

  • platform/chromium/test_expectations.txt:
12:44 PM Changeset in webkit [84284] by ddkilzer@apple.com
  • 2 edits in trunk/Source/WebCore

<http://webkit.org/b/57867> Re-order enum ResourceLoadPriority to make Unresolved value less important

Reviewed by Antti Koivisto.

  • platform/network/ResourceLoadPriority.h:

(enum ResourceLoadPriority): Moved Unresolved enum to the top of
the list and set to -1 to emphasize the fact that this is an
unresolved priority (rather than one higher than the highest
priority). Removed whitespace from the end of all enum lines.

12:33 PM Changeset in webkit [84283] by Simon Fraser
  • 12 edits
    8 adds in trunk

2011-04-19 Simon Fraser <Simon Fraser>

Reviewed by David Hyatt.

Background radius is wrong for split inline
https://bugs.webkit.org/show_bug.cgi?id=58843

When computing the radii for a segment of a split inline, we have to
constrain those radii for the current segment, while still drawing
using the entire logical width.

Tests: fast/backgrounds/border-radius-split-background-image.html

fast/backgrounds/border-radius-split-background.html

  • rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paintFillLayer): Pass height and width for this box only to paintFillLayer()
  • rendering/RenderBox.cpp: (WebCore::RenderBox::paintFillLayer): Pass 0 for unused inlineBox height and width.
  • rendering/RenderBoxModelObject.h:
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::getBackgroundRoundedRect): When computing the rounded background rect, we have to take the size of this segment of the inline box into account for radius constraining. (WebCore::RenderBoxModelObject::paintFillLayerExtended): Call getBackgroundRoundedRect() in two places.
12:32 PM Changeset in webkit [84282] by crogers@google.com
  • 2 edits in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Update test_expectations.txt with now passing test : media/video-zoom.html
https://bugs.webkit.org/show_bug.cgi?id=58916

  • platform/chromium/test_expectations.txt:
12:28 PM Changeset in webkit [84281] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-19 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Add a way to set the default sync message timeout for a CoreIPC connection
https://bugs.webkit.org/show_bug.cgi?id=58908

  • Platform/CoreIPC/Connection.cpp: (CoreIPC::Connection::Connection): Initialize m_defaultSyncMessageTimeout.

(CoreIPC::Connection::setDefaultSyncMessageTimeout):
Set the m_defaultSyncMessageTimeout member variable.

(CoreIPC::Connection::waitForSyncReply):
Handle the timeout being one of our two special magic values.

  • Platform/CoreIPC/Connection.h: Add a DefaultTimeout constant and change the NoTimeout constant to be -1.
12:24 PM Changeset in webkit [84280] by crogers@google.com
  • 2 edits
    5 adds in trunk/LayoutTests

2011-04-19 Chris Rogers <crogers@google.com>

Unreviewed.

Rebaseline some chromium Snow Leopard tests - update test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=58915

  • platform/chromium-mac/fast/borders/svg-as-border-image-2-expected.png: Added.
  • platform/chromium-mac/fast/css/font-face-default-font-expected.png: Added.
  • platform/chromium-mac/fast/css/font_property_normal-expected.png: Added.
  • platform/chromium-mac/fast/repaint/text-in-relative-positioned-inline-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png: Added.
  • platform/chromium/test_expectations.txt:
12:13 PM Changeset in webkit [84279] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-19 Ryosuke Niwa <rniwa@webkit.org>

Skip the test added by r84270 on WebKit2 since it uses eventSender.

  • platform/mac-wk2/Skipped:
12:06 PM Changeset in webkit [84278] by Simon Fraser
  • 2 edits in trunk/Source/WebCore

2011-04-19 Simon Fraser <Simon Fraser>

Build fix. For some reason RenderBoxModelObject.cpp
was missing from my last commit.

  • rendering/RenderBoxModelObject.cpp: (WebCore::borderWillArcInnerEdge): (WebCore::edgeFlagForSide): (WebCore::includesEdge): (WebCore::BorderEdge::BorderEdge): (WebCore::BorderEdge::hasVisibleColorAndStyle): (WebCore::BorderEdge::shouldRender): (WebCore::BorderEdge::presentButInvisible): (WebCore::BorderEdge::usedWidth): (WebCore::BorderEdge::getDoubleBorderStripeWidths): (WebCore::edgesShareColor): (WebCore::styleRequiresClipPolygon): (WebCore::borderStyleFillsBorderArea): (WebCore::borderStyleHasInnerDetail): (WebCore::borderStyleIsDottedOrDashed): (WebCore::borderStyleHasUnmatchedColorsAtCorner): (WebCore::colorsMatchAtCorner): (WebCore::willBeOverdrawn): (WebCore::borderStylesRequireMitre): (WebCore::joinRequiresMitre): (WebCore::RenderBoxModelObject::paintOneBorderSide): (WebCore::RenderBoxModelObject::paintBorderSides): (WebCore::RenderBoxModelObject::paintTranslucentBorderSides): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::drawBoxSideFromPath): (WebCore::findInnerVertex): (WebCore::RenderBoxModelObject::clipBorderSidePolygon): (WebCore::RenderBoxModelObject::paintBoxShadow):
12:03 PM Changeset in webkit [84277] by senorblanco@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-19 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

Refactor GLES2Canvas state application out into its own function.
https://bugs.webkit.org/show_bug.cgi?id=58906

Covered by existing tests in fast/canvas and canvas/philip.

  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::applyState): New function to apply compositing and clipping state. (WebCore::GLES2Canvas::fillPath): (WebCore::GLES2Canvas::fillRect): (WebCore::GLES2Canvas::beginShadowDraw): (WebCore::GLES2Canvas::endShadowDraw): Refactor calls to applyState().
  • platform/graphics/chromium/GLES2Canvas.h:
12:02 PM Changeset in webkit [84276] by evan@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Evan Martin <evan@chromium.org>

Reviewed by Darin Fisher.

[chromium] didReceiveTitle API signature should not change
https://bugs.webkit.org/show_bug.cgi?id=58909

My previous attempt at a temporary shim was wrong.
This second try should correctly work with older clients.

  • public/WebFrameClient.h: (WebKit::WebFrameClient::didReceiveTitle):
11:57 AM Changeset in webkit [84275] by kevino@webkit.org
  • 3 edits in trunk/Tools

[wx] Unreviewed build fix for Win / wx 2.9 wxPython installation.

11:50 AM Changeset in webkit [84274] by tony@chromium.org
  • 14 edits in trunk/LayoutTests

2011-04-19 Tony Chang <tony@chromium.org>

Fixing pngs with bad checksum crcs. There was a 64bit specific bug
in computing crcs of checksums embedded in png files. During that
time, these images were checked in. Just fixing with the correct
crcs (the image result itself is unchanged).

  • platform/gtk/fast/block/positioning/complex-positioned-movement-expected.png:
  • platform/gtk/fast/text/decorations-transformed-expected.png:
  • platform/mac/compositing/images/content-image-change-expected.png:
  • platform/mac/editing/inserting/editable-inline-element-expected.png:
  • platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.png:
  • platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.png:
  • platform/mac/fast/borders/bidi-002-expected.png:
  • platform/mac/fast/borders/bidi-004-expected.png:
  • platform/mac/fast/borders/bidi-009a-expected.png:
  • platform/mac/fast/box-shadow/inset-expected.png:
  • platform/mac/fast/inline/positioned-object-between-replaced-elements-expected.png:
  • platform/mac/fast/overflow/trailing-float-linebox-expected.png:
  • platform/mac/fullscreen/full-screen-zIndex-expected.png:
11:45 AM Changeset in webkit [84273] by Simon Fraser
  • 102 edits
    9 adds in trunk

2011-04-19 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt.

Fix multiple border rendering issues
https://bugs.webkit.org/show_bug.cgi?id=58761

Fix various border-drawing bugs, and optimize some common cases.
Also refactors a lot of the border-drawing code to be more maintainable.

Rounded border rendering with different border widths looks strange
https://bugs.webkit.org/show_bug.cgi?id=17468

paintBorder in RenderObject paint two times the corners
https://bugs.webkit.org/show_bug.cgi?id=20495

Overdraw at box corners when using RGBA colors with alpha
https://bugs.webkit.org/show_bug.cgi?id=21835

Enable antialiasing for border drawing, when transformed
https://bugs.webkit.org/show_bug.cgi?id=22746

Drawing border-radius from path sometimes fails to round outer border in the double style when it should
https://bugs.webkit.org/show_bug.cgi?id=41301

Drawing border-radius from path doesn't appear to always match up border edges correctly
https://bugs.webkit.org/show_bug.cgi?id=41302

Also fixes

Should be able to create Path from RoundedIntRect
https://bugs.webkit.org/show_bug.cgi?id=58809

Tests: fast/borders/border-radius-different-width-001.html

fast/borders/border-radius-inset-outset.html
fast/borders/table-borders.html

  • platform/graphics/FloatPoint.h:
  • platform/graphics/FloatPoint.cpp: (WebCore::findSlope): (WebCore::findIntersection): New geometry helper functions (should eventually move into a new GeometryUtilities file).
  • platform/graphics/Path.h:
  • platform/graphics/Path.cpp: (WebCore::Path::addRoundedRect): Add an overload of addRoundedRect() that takes a RoundedIntRect.
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::addRoundedRectClip): (WebCore::GraphicsContext::clipOutRoundedRect): (WebCore::GraphicsContext::fillRectWithRoundedHole): Can now add a RoundedIntRect to a Path directly.
  • platform/graphics/IntRect.h: (WebCore::IntRect::minXMinYCorner): (WebCore::IntRect::maxXMinYCorner): (WebCore::IntRect::minXMaxYCorner): (WebCore::IntRect::maxXMaxYCorner): Convenience functions to get the rect corners, in a writing-mode- friendly way.
  • platform/graphics/RoundedIntRect.h:
  • platform/graphics/RoundedIntRect.cpp: (WebCore::RoundedIntRect::isRenderable): We need to know when Path::addRoundedRect() will fail because the sum of the radii exceed the height or width. This method tells us that.
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRectWithRoundedHole): Can now add a RoundedIntRect to a Path directly.
  • rendering/RenderBoxModelObject.h:
  • rendering/RenderBoxModelObject.cpp: (WebCore::borderWillArcInnerEdge): This can just to see if there are inner radii now.

(WebCore::edgeFlagForSide):
(WebCore::includesEdge):
Convenience functions for the BorderEdgeFlags bitmask.

(WebCore::BorderEdge::BorderEdge):
(WebCore::BorderEdge::hasVisibleColorAndStyle):
(WebCore::BorderEdge::shouldRender):
(WebCore::BorderEdge::presentButInvisible):
(WebCore::BorderEdge::usedWidth):
(WebCore::BorderEdge::getDoubleBorderStripeWidths):
Convenience class to hold data about how a single edge
is drawn, and to contain some commonly used width-related methods.

(WebCore::edgesShareColor):
(WebCore::styleRequiresClipPolygon):
(WebCore::borderStyleFillsBorderArea):
(WebCore::borderStyleHasInnerDetail):
(WebCore::borderStyleIsDottedOrDashed):
(WebCore::borderStyleHasUnmatchedColorsAtCorner):
(WebCore::colorsMatchAtCorner):
(WebCore::willBeOverdrawn):
(WebCore::borderStylesRequireMitre):
(WebCore::joinRequiresMitre):
Functions used to make the border drawing code more readable,
which are used to determine when corners need a mitre, and
need antialiasing.

(WebCore::RenderBoxModelObject::paintOneBorderSide):
Code to paint one side of a border, either via the path, or
using rects/polygons, the appropriate mitres and antialiasing
at the corners. includeLogicalLeftEdge and includeLogicalRightEdge need
to be passed all the way down here so that when we recompute the
path for double and ridge/groove borders, we correctly handle split box
borders.

(WebCore::RenderBoxModelObject::paintBorderSides):
Paints the 4 border sides (if present).

(WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
Called when one or more of the borders has a non-opaque color,
and uses a transparency layer for each set of same-colored
sides to avoid overdraw at the corners.

(WebCore::RenderBoxModelObject::paintBorder):
Builds an array of BorderEdge so we can iterate over them to
detect different border compbinations, and optimizations. Has
a fast path for all-solid borders.

(WebCore::RenderBoxModelObject::drawBoxSideFromPath):
Moved from RenderObject, since all callers are in RenderBoxModelObject.
Has the following changes:

  • Don't attempt to draw dashes if there is only space for a few, since it looks bad.
  • Handle double and groove borders on split inlines correctly, making use of includeLogicalLeftEdge, includeLogicalRightEdge

(WebCore::findInnerVertex):
For borders with a radiused inner edge, the per-side clip polygon
has to project inside the padding box to avoid clipping the inner edge.
This function computes a reasonable inner corner for the clipping
polygon.
(WebCore::RenderBoxModelObject::clipBorderSidePolygon):
Have the corner joins pass through the corners of the inner and outer
border rectangles, ensure we don't clip the inside if necessary,
and handle antialiasing on the two mitres.

(WebCore::RenderBoxModelObject::paintBoxShadow):
Use RenderStyle::getRoundedInnerBorderFor() rather than computeBorderInnerRect()
etc.

  • rendering/RenderObject.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::drawLineForBoxSide): Moved to RenderBoxModelObject.
  • rendering/style/RenderStyle.h:
  • rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::getRoundedBorderFor): (WebCore::RenderStyle::getRoundedInnerBorderFor): There was some very clumsy code that computed a rounded rect given the border rect and side widths. Cleaned this up by moving some code into RenderStyle. The overloaded getRoundedInnerBorderFor() which takes the border widths is used by the double and groove drawing code.
11:36 AM April 2011 Meeting edited by leviw@chromium.org
Adding myself to a couple events and creating one for switching layout … (diff)
11:19 AM Changeset in webkit [84272] by Adam Roben
  • 2 edits in trunk/Tools

Skip another accelerated-compositing-sensitive test when accelerated compositing is disabled

  • Scripts/old-run-webkit-tests: Skip media/controls-without-preload.html on Windows when

accelerated compositing is disabled.

11:19 AM Changeset in webkit [84271] by jshin@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Jungshik Shin <jshin@chromium.org>

Reviewed by Adam Barth

Fix the compile failure in UniscribeHelperTest.cpp due to
a change in UniscribeHelper made by the CL for bug 48860
(r84264)

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

  • tests/UniscribeHelperTest.cpp: (TEST_F):
11:17 AM Changeset in webkit [84270] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-04-19 Stuart Morgan <stuartmorgan@chromium.org>

Reviewed by Tony Chang.

[chromium] Clicking on plugin for first time blocks focus shift
https://bugs.webkit.org/show_bug.cgi?id=58419

Added new test for cross-iframe focus changes on plugin clicks.

  • plugins/mouse-click-iframe-to-plugin-expected.txt: Added.
  • plugins/mouse-click-iframe-to-plugin.html: Added.

2011-04-19 Stuart Morgan <stuartmorgan@chromium.org>

Reviewed by Tony Chang.

[chromium] Clicking on plugin for first time blocks focus shift
https://bugs.webkit.org/show_bug.cgi?id=58419

Switched to using FocusController when moving focus to a plugin
so that cross-frame focus changes are handled correctly.

  • src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleMouseEvent):
11:17 AM Changeset in webkit [84269] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-19 Ojan Vafai <ojan@chromium.org>

Remove accidentally committed debug code.

  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
11:15 AM Changeset in webkit [84268] by bfulgham@webkit.org
  • 2 edits in trunk/Tools

Unreviewed build correction.

Avoid duplicate stub implementation of test routine
for WinCairo build.

  • WebKitTestRunner/win/TestInvocationWin.cpp: Exclude

WinCairo from using this stub.

11:12 AM Changeset in webkit [84267] by ojan@chromium.org
  • 3 edits in trunk/Tools

2011-04-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

make results file work with audio and reftests
https://bugs.webkit.org/show_bug.cgi?id=58860

Also fix bug with timeout tests and store a bit in the JSON
for new image tests instead of loading the image result to check if it's there.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
11:08 AM Changeset in webkit [84266] by commit-queue@webkit.org
  • 2 edits in trunk/Websites/bugs.webkit.org

2011-04-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>

Reviewed by Adam Roben.

PrettyPatch tries to show images for deleted files
https://bugs.webkit.org/show_bug.cgi?id=28457

When the image data is empty, instead of generating an <img> tag, generate
a text to indicate the image was deleted.

  • PrettyPatch/PrettyPatch.rb:
11:05 AM Changeset in webkit [84265] by rniwa@webkit.org
  • 7 edits in trunk/Source/WebCore

2011-04-19 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Dimitri Glazkov.

REGRESSION(r74228-75294): removing nodes is 200+ times slower when selection is inside a shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=57061

The bug was caused by Range::compareNode's incorrectly returning NODE_INSIDE when the selection is inside
a shadow DOM and the node is outside of the shadow DOM. This caused respondToNodeModification to call
RenderView::clearSelection every time a node is removed when selection is in a shadow DOM and resulted in
a significant performance regression.

Fixed Ranged::compareNode by making Range::compareBoundaryPoints throw a WRONG_DOCUMENT_ERR when there are
no common ancestors between containerA and containerB. This will force compareNode to also throw an exception
and prevents respondToNodeModification from clearing selection.

No new tests because this is a performance improvement and the fix in Range cannot be tested since shadow DOM
isn't exposed to JavaScript.

  • dom/Range.cpp: (WebCore::Range::setStart): Calls compareBoundaryPoints; since we ensures that the root container noes of start and end nodes are same, we should never get an exception from compareBoundaryPoints. (WebCore::Range::setEnd): Ditto. (WebCore::Range::isPointInRange): Calls compareBoundaryPoints; returns false when compareBoundaryPoints throws an exception. (WebCore::Range::comparePoint): Calls compareBoundaryPoints; exit early when an exception is thrown by compareBoundaryPoints. (WebCore::Range::compareBoundaryPoints): Throws an exception when two containers do not have a common ancestor. (WebCore::Range::boundaryPointsValid): Calls compareBoundaryPoints and checks that it didn't throw an exception.
  • dom/Range.h:
  • editing/SelectionController.cpp: (WebCore::SelectionController::respondToNodeModification):
  • editing/htmlediting.cpp: (WebCore::comparePositions): Calls compareBoundaryPoints.
  • editing/markup.cpp: (WebCore::createMarkup): Calls compareBoundaryPoints; since startNode and pastEnd are both in the same document and neither are in a shadow DOM, it should never throw an exception.
  • page/DOMSelection.cpp: (WebCore::DOMSelection::containsNode): Calls compareBoundaryPoints; node is fully selected only if no exception was thrown.
10:40 AM Changeset in webkit [84264] by jshin@chromium.org
  • 13 edits
    2 adds in trunk

Index: Source/JavaScriptCore/ChangeLog
===================================================================
--- Source/JavaScriptCore/ChangeLog (revision 84100)
+++ Source/JavaScriptCore/ChangeLog (working copy)
@@ -1,3 +1,15 @@
+2011-04-17 Jungshik Shin <jshin@chromium.org>
+
+ Reviewed by NOBODY (OOPS!).
+
+ Add U+FEFF (Zero width no-break space) to CharacterNames.h.
+ It's added to the list of characters to treat as zero-width
+ in WebCore.
+
+ https://bugs.webkit.org/show_bug.cgi?id=48860
+
+ * wtf/unicode/CharacterNames.h:
+

2011-04-16 Patrick Gansterer <Patrick Gansterer>


Reviewed by Eric Seidel.

Index: Source/JavaScriptCore/wtf/unicode/CharacterNames.h
===================================================================
--- Source/JavaScriptCore/wtf/unicode/CharacterNames.h (revision 84099)
+++ Source/JavaScriptCore/wtf/unicode/CharacterNames.h (working copy)
@@ -85,6 +85,7 @@ const UChar yenSign = 0x00A5;

const UChar zeroWidthJoiner = 0x200D;
const UChar zeroWidthNonJoiner = 0x200C;
const UChar zeroWidthSpace = 0x200B;

+const UChar zeroWidthNoBreakSpace = 0xFEFF;

} namespace Unicode
}
namespace WTF

@@ -138,5 +139,6 @@ using WTF::Unicode::yenSign;

using WTF::Unicode::zeroWidthJoiner;
using WTF::Unicode::zeroWidthNonJoiner;
using WTF::Unicode::zeroWidthSpace;

+using WTF::Unicode::zeroWidthNoBreakSpace;

#endif CharacterNames_h

Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 84100)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,3 +1,37 @@
+2011-04-17 Jungshik Shin <jshin@chromium.org>
+
+ Reviewed by NOBODY (OOPS!).
+
+ Make U+FEFF be treated as a zero-width character in both
+ simple script and complex script code paths. In Chromium
+ Windows, UniscribeHelper needs a rather extensive changes
+ summarized below. Other ports need minor changes.
+
+ https://bugs.webkit.org/show_bug.cgi?id=48860
+
+ Test: fast/text/zero-width-characters-complex-script.html
+
+ * platform/graphics/Font.h:
+ (WebCore::Font::treatAsZeroWidthSpace): U+FEFF is added to the list
+ (WebCore::Font::treatAsZeroWidthSpaceInComplexScript): Added. Same as the above except that ZWNJ and ZWJ are excluded.
+ * platform/graphics/GlyphPageTreeNode.cpp:
+ (WebCore::GlyphPageTreeNode::initializePage): U+FEFF is made to have zero-width characters in simple script (fast) code path.
+ * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
+ (WebCore::FontMap::getSpaceGlyph): Added to get the gid for space glyph to use in adjustSpaceAdvance when zero-width glyph character has a non-zero width and potentially 'visible' glyph.
+ (WebCore::FontMap::FontData::FontData): spaceGlyph member added.
+ (WebCore::getDerivedFontData): spaceGlyph is retrieved as well.
+ * platform/graphics/chromium/FontUtilsChromiumWin.h:
+ * platform/graphics/chromium/UniscribeHelper.cpp:
+ (WebCore::UniscribeHelper::UniscribeHelper): m_spaceGlyph added.
+ (WebCore::UniscribeHelper::shape): spaceGlyph is obtained stored for a font tried for each item.
+ (WebCore::UniscribeHelper::adjustSpaceAdvances): For zero-width complex script characters, set the advance width to zero and replace a non-zero-width/visible glyph with a space glyph.
+ (WebCore::UniscribeHelper::applySpacing):
+ (WebCore::UniscribeHelper::containsMissingGlyphs): turned to a member function because it cannot work on glyphs alone any more but need to take into account a character corresponding to a glyph
+ * platform/graphics/chromium/UniscribeHelper.h:
+ (WebCore::UniscribeHelper::Shaping::Shaping): m_spaceGlyph is added
+ * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
+ (WebCore::UniscribeHelperTextRun::UniscribeHelperTextRun): When calling UniscriberHelper, add a new argument for spaceGlyph.
+

2011-04-16 Adam Barth <abarth@webkit.org>


Reviewed by Sam Weinig.

Index: Source/WebCore/platform/graphics/Font.h
===================================================================
--- Source/WebCore/platform/graphics/Font.h (revision 84099)
+++ Source/WebCore/platform/graphics/Font.h (working copy)
@@ -203,7 +203,8 @@ public:

FontSelector* fontSelector() const;

static bool treatAsSpace(UChar c) { return c == ' '
c == '\t' c == '\n' c == noBreakSpace; }
static bool treatAsZeroWidthSpace(UChar c) { return c < 0x20 + static bool treatAsZeroWidthSpace(UChar c) { return treatAsZeroWidthSpaceInComplexScript(c) + static bool treatAsZeroWidthSpaceInComplexScript(UChar c) { return c < 0x20
(c >= 0x7F && c < 0xA0) c == softHyphen (c >= 0x200c && c <= 0x200f) (c >= 0x202a && c <= 0x202e) c == objectReplacementCharacter; }
c == 0x200c c == 0x200d; }
(c >= 0x7F && c < 0xA0) c == softHyphen (c >= 0x200e && c <= 0x200f) (c >= 0x202a && c <= 0x202e) c == zeroWidthNoBreakSpace c == objectReplacementCharacter; }

static bool canReceiveTextEmphasis(UChar32 c);


static inline UChar normalizeSpaces(UChar character)

Index: Source/WebCore/platform/graphics/GlyphPageTreeNode.cpp
===================================================================
--- Source/WebCore/platform/graphics/GlyphPageTreeNode.cpp (revision 84099)
+++ Source/WebCore/platform/graphics/GlyphPageTreeNode.cpp (working copy)
@@ -191,6 +191,9 @@ void GlyphPageTreeNode::initializePage(c

} else if (start == (objectReplacementCharacter & ~(GlyphPage::size - 1))) {

Object replacement character must not render at all.
buffer[objectReplacementCharacter - start] = zeroWidthSpace;

+ } else if (start == (zeroWidthNoBreakSpace & ~(GlyphPage::size - 1))) {
+ ZWNBS/BOM must not render at all.
+ buffer[zeroWidthNoBreakSpace - start] = zeroWidthSpace;

}

} else {

bufferLength = GlyphPage::size * 2;

Index: Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.cpp (revision 84099)
+++ Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.cpp (working copy)
@@ -250,17 +250,31 @@ int getAscent(HFONT hfont)

return gotMetrics ? tm.tmAscent : kUndefinedAscent;

}


+WORD getSpaceGlyph(HFONT hfont)
+{
+ HDC dc = GetDC(0);
+ HGDIOBJ oldFont = SelectObject(dc, hfont);
+ WCHAR space = L' ';
+ WORD spaceGlyph = 0;
+ GetGlyphIndices(dc, &space, 1, &spaceGlyph, 0);
+ SelectObject(dc, oldFont);
+ ReleaseDC(0, dc);
+ return spaceGlyph;
+}
+

struct FontData {

FontData()

: hfont(0)
, ascent(kUndefinedAscent)
, scriptCache(0)

+ , spaceGlyph(0)

{
}


HFONT hfont;
int ascent;
mutable SCRIPT_CACHE scriptCache;

+ WORD spaceGlyph;

};


Again, using hash_map does not earn us much here. page_cycler_test intl2

@@ -379,7 +393,8 @@ bool getDerivedFontData(const UChar* fam

LOGFONT* logfont,
int* ascent,
HFONT* hfont,

  • SCRIPT_CACHE scriptCache)

+ SCRIPT_CACHE scriptCache,
+ WORD* spaceGlyph)

{

ASSERT(logfont);
ASSERT(family);

@@ -408,6 +423,7 @@ bool getDerivedFontData(const UChar* fam

cache it so that we won't have to call CreateFontIndirect once
more for HFONT next time.
derived->ascent = getAscent(derived->hfont);

+ derived->spaceGlyph = getSpaceGlyph(derived->hfont);

} else {

derived = &iter->second;
Last time, GetAscent failed so that only HFONT was

@@ -419,6 +435,7 @@ bool getDerivedFontData(const UChar* fam

*hfont = derived->hfont;
*ascent = derived->ascent;
*scriptCache = &(derived->scriptCache);

+ *spaceGlyph = derived->spaceGlyph;

return *ascent != kUndefinedAscent;

}


Index: Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.h (revision 84099)
+++ Source/WebCore/platform/graphics/chromium/FontUtilsChromiumWin.h (working copy)
@@ -78,7 +78,7 @@ const UChar* getFallbackFamily(const UCh

intl2 page-cycler test is noticeably slower with one out param than
the current version although the subsequent 9 passes take about the
same time.

-bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE);
+bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE
, WORD* spaceGlyph);

enum {

FontStyleNormal = 0,

Index: Source/WebCore/platform/graphics/chromium/UniscribeHelper.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/UniscribeHelper.cpp (revision 84099)
+++ Source/WebCore/platform/graphics/chromium/UniscribeHelper.cpp (working copy)
@@ -31,45 +31,16 @@

#include "config.h"
#include "UniscribeHelper.h"


-#include <windows.h>
-
+#include "Font.h"

#include "FontUtilsChromiumWin.h"
#include "PlatformContextSkia.h"
#include "SkiaFontWin.h"
#include "SkPoint.h"

+#include <windows.h>

#include <wtf/Assertions.h>


namespace WebCore {


- This function is used to see where word spacing should be applied inside
-
runs. Note that this must match Font::treatAsSpace so we all agree where
- and how much space this is, so we don't want to do more general Unicode
-
"is this a word break" thing.
-static bool treatAsSpace(UChar c)
-{

return c == ' '
c == '\t' c == '\n' c == 0x00A0;

-}
-
- SCRIPT_FONTPROPERTIES contains glyph indices for default, invalid
-
and blank glyphs. Just because ScriptShape succeeds does not mean
- that a text run is rendered correctly. Some characters may be rendered
-
with default/invalid/blank glyphs. Therefore, we need to check if the glyph
- array returned by ScriptShape contains any of those glyphs to make
-
sure that the text run is rendered successfully.
-static bool containsMissingGlyphs(WORD *glyphs,

  • int length,
  • SCRIPT_FONTPROPERTIES* properties)

-{

  • for (int i = 0; i < length; ++i) {
  • if (glyphs[i] == properties->wgDefault
(glyphs[i] == properties->wgInvalid
  • && glyphs[i] != properties->wgBlank))
  • return true;
  • }

-

  • return false;

-}
-

HFONT is the 'incarnation' of 'everything' about font, but it's an opaque
handle and we can't directly query it to make a new HFONT sharing
its characteristics (height, style, etc) except for family name.

@@ -102,13 +73,15 @@ UniscribeHelper::UniscribeHelper(const U

bool isRtl,
HFONT hfont,
SCRIPT_CACHE* scriptCache,

  • SCRIPT_FONTPROPERTIES* fontProperties)

+ SCRIPT_FONTPROPERTIES* fontProperties,
+ WORD spaceGlyph)

: m_input(input)
, m_inputLength(inputLength)
, m_isRtl(isRtl)
, m_hfont(hfont)
, m_scriptCache(scriptCache)
, m_fontProperties(fontProperties)

+ , m_spaceGlyph(spaceGlyph)

, m_directionalOverride(false)
, m_inhibitLigate(false)
, m_letterSpacing(0)

@@ -546,6 +519,7 @@ bool UniscribeHelper::shape(const UChar*

SCRIPT_CACHE* scriptCache = m_scriptCache;
SCRIPT_FONTPROPERTIES* fontProperties = m_fontProperties;
int ascent = m_ascent;

+ WORD spaceGlyph = m_spaceGlyph;

HDC tempDC = 0;
HGDIOBJ oldFont = 0;
HRESULT hr;

@@ -601,7 +575,7 @@ bool UniscribeHelper::shape(const UChar*

} else if (hr == E_OUTOFMEMORY) {

numGlyphs *= 2;
continue;

} else if (SUCCEEDED(hr) && (lastFallbackTried + } else if (SUCCEEDED(hr) && (lastFallbackTried
!containsMissingGlyphs(&shaping.m_glyphs[0], generatedGlyphs, fontProperties)))
!containsMissingGlyphs(shaping, run, fontProperties)))

break;


The current font can't render this run. clear DC and try

@@ -632,7 +606,9 @@ bool UniscribeHelper::shape(const UChar*

const UChar *family = getFallbackFamily(input, itemLength,

FontDescription::StandardFamily, 0, 0);

bool fontOk = getDerivedFontData(family, m_style, &m_logfont,

  • &ascent, &hfont, &scriptCache);

+ &ascent, &hfont, &scriptCache,
+ &spaceGlyph);
+

if (!fontOk) {

If this GetDerivedFontData is called from the renderer it

@@ -644,7 +620,8 @@ bool UniscribeHelper::shape(const UChar*

Try again.
fontOk = getDerivedFontData(family, m_style, &m_logfont,

  • &ascent, &hfont, &scriptCache);

+ &ascent, &hfont, &scriptCache,
+ &spaceGlyph);

ASSERT(fontOk);

}


@@ -673,6 +650,7 @@ bool UniscribeHelper::shape(const UChar*

because it's not used elsewhere.
shaping.m_hfont = hfont;
shaping.m_scriptCache = scriptCache;

+ shaping.m_spaceGlyph = spaceGlyph;

The ascent of a font for this run can be different from
that of the primary font so that we need to keep track of

@@ -806,22 +784,39 @@ void UniscribeHelper::adjustSpaceAdvance

for (size_t run = 0; run < m_runs.size(); run++) {

Shaping& shaping = m_shapes[run];


+ FIXME: This loop is not UTF-16-safe. Unicode 6.0 has a couple
+
of complex script blocks in Plane 1.

for (int i = 0; i < shaping.charLength(); i++) {

  • if (!treatAsSpace(m_input[m_runs[run].iCharPos + i]))

+ UChar c = m_input[m_runs[run].iCharPos + i];
+ bool treatAsSpace = Font::treatAsSpace(c);
+ if (!treatAsSpace && !Font::treatAsZeroWidthSpaceInComplexScript(c))

continue;


int glyphIndex = shaping.m_logs[i];
int currentAdvance = shaping.m_advance[glyphIndex];


  • currentAdvance does not include additional letter-spacing, but
  • space_width does. Here we find out how off we are from the
  • correct width for the space not including letter-spacing, then
  • just subtract that diff.
  • int diff = currentAdvance - spaceWidthWithoutLetterSpacing;
  • The shaping can consist of a run of text, so only subtract the
  • difference in the width of the glyph.
  • shaping.m_advance[glyphIndex] -= diff;
  • shaping.m_abc.abcB -= diff;

+ if (treatAsSpace) {
+ currentAdvance does not include additional letter-spacing,
+
but m_spaceWidth does. Here we find out how off we are from
+ the correct width (spaceWidthWithoutLetterSpacing) and
+
just subtract that diff.
+ int diff = currentAdvance - spaceWidthWithoutLetterSpacing;
+ The shaping can consist of a run of text, so only subtract
+
the difference in the width of the glyph.
+ shaping.m_advance[glyphIndex] -= diff;
+ shaping.m_abc.abcB -= diff;
+ continue;
+ }
+
+ For characters treated as zero-width space in complex
+
scripts, set the advance width to zero, adjust
+ |abcB| of the current run accordingly and set
+
the glyph to m_spaceGlyph (invisible).
+ shaping.m_advance[glyphIndex] = 0;
+ shaping.m_abc.abcB -= currentAdvance;
+ shaping.m_offsets[glyphIndex].du = 0;
+ shaping.m_offsets[glyphIndex].dv = 0;
+ shaping.m_glyphs[glyphIndex] = shaping.m_spaceGlyph;

}

}

}

@@ -872,7 +867,7 @@ void UniscribeHelper::applySpacing()

extra wordspacing amount for the glyphs they correspond to.
if (m_wordSpacing != 0) {

for (int i = 0; i < shaping.charLength(); i++) {

  • if (!treatAsSpace(m_input[m_runs[run].iCharPos + i]))

+ if (!Font::treatAsSpace(m_input[m_runs[run].iCharPos + i]))

continue;


The char in question is a word separator...

@@ -929,4 +924,31 @@ int UniscribeHelper::advanceForItem(int

return shaping.m_prePadding + justification;

}


+ SCRIPT_FONTPROPERTIES contains glyph indices for default, invalid
+
and blank glyphs. Just because ScriptShape succeeds does not mean
+ that a text run is rendered correctly. Some characters may be rendered
+
with default/invalid/blank glyphs. Therefore, we need to check if the glyph
+ array returned by ScriptShape contains any of those glyphs to make
+
sure that the text run is rendered successfully.
+ However, we should not subject zero-width characters to this test.
+
+bool UniscribeHelper::containsMissingGlyphs(const Shaping& shaping,
+ const SCRIPT_ITEM& run,
+ const SCRIPT_FONTPROPERTIES* properties) const
+{
+ for (int i = 0; i < shaping.charLength(); i++) {
+ UChar c = m_input[run.iCharPos + i];
+
Skip zero-width space characters because they're not considered to be missing in a font.
+ if (Font::treatAsZeroWidthSpaceInComplexScript(c))
+ continue;
+ int glyphIndex = shaping.m_logs[i];
+ WORD glyph = shaping.m_glyphs[glyphIndex];
+ if (glyph == properties->wgDefault

+
(glyph == properties->wgInvalid && glyph != properties->wgBlank))

+ return true;
+ }
+ return false;
+}
+
+

} namespace WebCore

Index: Source/WebCore/platform/graphics/chromium/UniscribeHelper.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/UniscribeHelper.h (revision 84099)
+++ Source/WebCore/platform/graphics/chromium/UniscribeHelper.h (working copy)
@@ -76,7 +76,8 @@ public:

bool isRtl,
HFONT,
SCRIPT_CACHE*,

  • SCRIPT_FONTPROPERTIES*);

+ SCRIPT_FONTPROPERTIES*,
+ WORD);

virtual ~UniscribeHelper();


@@ -225,7 +226,9 @@ private:

: m_prePadding(0)
, m_hfont(NULL)
, m_scriptCache(NULL)

  • , m_ascentOffset(0) {

+ , m_ascentOffset(0)
+ , m_spaceGlyph(0)
+ {

m_abc.abcA = 0;
m_abc.abcB = 0;
m_abc.abcC = 0;

@@ -319,6 +322,8 @@ private:

when drawing a string, to align multiple runs rendered with
different fonts.
int m_ascentOffset;

+
+ WORD m_spaceGlyph;

};


Computes the runs_ array from the text run.

@@ -343,6 +348,10 @@ private:

Returns the total width of a single item.
int advanceForItem(int) const;


+ bool containsMissingGlyphs(const Shaping&,
+ const SCRIPT_ITEM&,
+ const SCRIPT_FONTPROPERTIES*) const;
+

Shapes a run (pointed to by |input|) using |hfont| first.
Tries a series of fonts specified retrieved with NextWinFontData
and finally a font covering characters in |*input|. A string pointed

@@ -384,6 +393,7 @@ private:

int m_ascent;
LOGFONT m_logfont;
int m_style;

+ WORD m_spaceGlyph;

Options, see the getters/setters above.
bool m_directionalOverride;

Index: Source/WebCore/platform/graphics/chromium/UniscribeHelperTextRun.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/UniscribeHelperTextRun.cpp (revision 84099)
+++ Source/WebCore/platform/graphics/chromium/UniscribeHelperTextRun.cpp (working copy)
@@ -43,7 +43,8 @@ UniscribeHelperTextRun::UniscribeHelperT

: UniscribeHelper(run.characters(), run.length(), run.rtl(),

font.primaryFont()->platformData().hfont(),
font.primaryFont()->platformData().scriptCache(),

  • font.primaryFont()->platformData().scriptFontProperties())

+ font.primaryFont()->platformData().scriptFontProperties(),
+ font.primaryFont()->spaceGlyph())

, m_font(&font)
, m_fontIndex(0)

{

@@ -69,7 +70,7 @@ UniscribeHelperTextRun::UniscribeHelperT

SCRIPT_CACHE* scriptCache,
SCRIPT_FONTPROPERTIES* fontProperties)
: UniscribeHelper(input, inputLength, isRtl, hfont,

  • scriptCache, fontProperties)

+ scriptCache, fontProperties, 0)

, m_font(0)
, m_fontIndex(-1)

{

Index: LayoutTests/ChangeLog
===================================================================
--- LayoutTests/ChangeLog (revision 84100)
+++ LayoutTests/ChangeLog (working copy)
@@ -1,3 +1,21 @@
+2011-04-17 Jungshik Shin <jshin@chromium.org>
+
+ Reviewed by NOBODY (OOPS!).
+
+ Add a complex-script version of zero-width-characters.html.
+ and add U+FEFF to zero-width-characters.html
+ Chromium Linux fails the test because U+FEFF is rendered
+ with a non-zero width glyph.
+ Filed http://bugs.webkit.org/show_bug.cgi?id=58741 and noted
+ as such in test_expectation.txt.
+
+ https://bugs.webkit.org/show_bug.cgi?id=48860
+
+ * fast/text/zero-width-characters-complex-script-expected.txt: Added.
+ * fast/text/zero-width-characters-complex-script.html: Added.
+ * fast/text/zero-width-characters.html:
+ * platform/chromium/test_expectations.txt:
+

2011-04-16 Dan Bernstein <mitz@apple.com>


Updated results for fast/block/float/032.html after r84096. Filed http://webkit.org/b/58736 to

Index: LayoutTests/fast/text/zero-width-characters-complex-script-expected.txt
===================================================================
--- LayoutTests/fast/text/zero-width-characters-complex-script-expected.txt (revision 0)
+++ LayoutTests/fast/text/zero-width-characters-complex-script-expected.txt (revision 0)
@@ -0,0 +1,3 @@
+This test checks various characters that should always be zero width to ensure that they are when enclosed by complex script characters. The WebKit text system ensures this in a way that's independent of the fonts installed on the system.
+
+PASS: All characters had zero-width.
Index: LayoutTests/fast/text/zero-width-characters-complex-script.html
===================================================================
--- LayoutTests/fast/text/zero-width-characters-complex-script.html (revision 0)
+++ LayoutTests/fast/text/zero-width-characters-complex-script.html (revision 0)
@@ -0,0 +1,66 @@
+<head>
+<script>
+
+function testChar(ch)
+{
+ Strings a and b selected here do not have any 'interaction' between them.
+ var a = "\u0915\u093E"
+ var b = "\u0916";
+ var span = document.getElementById("characters");
+ span.firstChild.data = a + b;
+ var abWidth = span.offsetWidth;
+ span.firstChild.data = a;
+ var aWidth = span.offsetWidth;
+ span.firstChild.data = a + String.fromCharCode(ch) + b;
+ var abWithChWidth = span.offsetWidth;
+
+ if (abWithChWidth > abWidth)
+ return 1;
+ if (abWidth > aWidth)
+ return 0;
+ return 1;
+}
+
+function test()
+{
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+ var failedCount = 0;
+ for (var i = 1; i < 32; ++i)
+ if (i != 9 && i != 10 && i != 13)
+ failedCount += testChar(i);
+
+ for (var i = 0x7F; i < 0xA0; ++i)
+ failedCount += testChar(i);
+ failedCount += testChar(0xAD);
+
ZWJ (U+200C) and ZWNJ (U+200D) are excluded because they
+ can affect the rendering in complex script text.
+ failedCount += testChar(0x200B);
+ failedCount += testChar(0x200E);
+ failedCount += testChar(0x200F);
+ failedCount += testChar(0x202A);
+ failedCount += testChar(0x202B);
+ failedCount += testChar(0x202C);
+ failedCount += testChar(0x202D);
+ failedCount += testChar(0x202E);
+ failedCount += testChar(0xFEFF);
+ failedCount += testChar(0xFFFC);
+
+ var testArea = document.getElementById("testArea");
+ testArea.parentNode.removeChild(testArea);
+
+ if (failedCount > 0)
+ result = "FAIL: " + failedCount + " characters had non-zero width" +
+ " or failed to get measured.";
+ else
+ result = "PASS: All characters had zero-width.";
+ document.getElementById("result").firstChild.data = result;
+}
+</script>
+</head>
+<body onload="test()">
+<p>This test checks various characters that should always be zero width to ensure that they are when enclosed by complex script characters.
+The WebKit text system ensures this in a way that's independent of the fonts installed on the system.</p>
+<p id="result">FAIL: Script did not run to completion.</p>
+<p id="testArea"><span id="characters">&#x0915;&#x093E;&#x0916;</span></p>
+</body>
Index: LayoutTests/fast/text/zero-width-characters.html
===================================================================
--- LayoutTests/fast/text/zero-width-characters.html (revision 84099)
+++ LayoutTests/fast/text/zero-width-characters.html (working copy)
@@ -13,6 +13,7 @@ function test()

testString += String.fromCharCode(0x200D);
testString += String.fromCharCode(0x200E);
testString += String.fromCharCode(0x200F);

+ testString += String.fromCharCode(0xFEFF);

testString += String.fromCharCode(0xFFFC);
var span = document.getElementById("characters");
var abWidth = span.offsetWidth;

Index: LayoutTests/platform/chromium/test_expectations.txt
===================================================================
--- LayoutTests/platform/chromium/test_expectations.txt (revision 84099)
+++ LayoutTests/platform/chromium/test_expectations.txt (working copy)
@@ -3534,4 +3534,5 @@ BUGMORRITA : fast/html/details-remove-su

BUGMORRITA : fast/html/details-writing-mode.html = FAIL


BUGWK58619 GPU LINUX WIN : media/video-volume-slider.html = IMAGE

+BUGWK58741 LINUX : fast/text/zero-width-characters-complex-script.html = FAIL

10:15 AM Changeset in webkit [84263] by commit-queue@webkit.org
  • 2 edits
    2 adds in trunk

2011-04-19 Igor Oliveira <igor.oliveira@openbossa.org>

Reviewed by Andreas Kling.

[Qt] X11: Text selection is causing oncopy event to be called
https://bugs.webkit.org/show_bug.cgi?id=58656

Always when text is selected the oncopy event is fired, this behavior does
not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
is making multi part-copies (with rich text metadata), the multi-part
data can be obtained by data transfer items interface when supported by QtWebKit.
Also, copies to the clipboard of a selected image, is not supported by Chrome and
Firefox and was removed from QtWebKit.

  • Api/qwebpage.cpp: (QWebPagePrivate::handleClipboard):
10:05 AM Changeset in webkit [84262] by jer.noble@apple.com
  • 5 edits in trunk/Tools

2011-04-19 Jer Noble <jer.noble@apple.com>

Reviewed by Adam Roben.

REGRESSION (r84206): 50 tests failing on SnowLeopard Intel Release (WebKit2 Tests) due to extra "supportsFullScreen() == true" output
https://bugs.webkit.org/show_bug.cgi?id=58890

Add a layoutTestController flag which controls when full screen callbacks are written to stdout.
Defaults to false.

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added dumpFullScreenCallbacks().
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::supportsFullScreen): Only write to stdout if shouldDumpFullScreenCallbacks is set. (WTR::InjectedBundlePage::enterFullScreenForElement): Ditto. (WTR::InjectedBundlePage::exitFullScreenForElement): Ditto.
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::LayoutTestController): Initialize new ivar.
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h: (WTR::LayoutTestController::dumpFullScreenCallbacks): Added. (WTR::LayoutTestController::shouldDumpFullScreenCallbacks): Added.
10:00 AM Changeset in webkit [84261] by bfulgham@webkit.org
  • 3 edits in trunk/Source/WebCore

Extend the DIBPixelData class with the facility for writing the
bitmap representation to disk for debugging purposes.
https://bugs.webkit.org/show_bug.cgi?id=58862.

Reviewed by Adam Roben.

  • platform/graphics/win/DIBPixelData.cpp:

(WebCore::DIBPixelData::writeToFile): New function.

  • platform/graphics/win/DIBPixelData.h:
9:56 AM Changeset in webkit [84260] by commit-queue@webkit.org
  • 61 edits in trunk/Source

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • fileapi/FileReaderLoader.cpp: (WebCore::FileReaderLoader::didReceiveData):
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::didReceiveContentLength):
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::didReceiveContentLength):
  • inspector/InspectorResourceAgent.h:
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkDispatcher.prototype.dataReceived):
  • loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::didReceiveData): (WebCore::DocumentThreadableLoader::didReceiveCachedMetadata):
  • loader/DocumentThreadableLoader.h:
  • loader/FrameLoaderClient.h:
  • loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::didReceiveData):
  • loader/MainResourceLoader.h:
  • loader/NetscapePlugInStreamLoader.cpp: (WebCore::NetscapePlugInStreamLoader::didReceiveData):
  • loader/NetscapePlugInStreamLoader.h:
  • loader/ResourceLoadNotifier.cpp: (WebCore::ResourceLoadNotifier::didReceiveData): (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength): (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
  • loader/ResourceLoadNotifier.h:
  • loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didReceiveData):
  • loader/ResourceLoader.h:
  • loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didReceiveData):
  • loader/SubresourceLoader.h:
  • loader/SubresourceLoaderClient.h: (WebCore::SubresourceLoaderClient::didReceiveData): (WebCore::SubresourceLoaderClient::didReceiveCachedMetadata):
  • loader/WorkerThreadableLoader.cpp: (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData): (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata):
  • loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::didReceiveData):
  • loader/appcache/ApplicationCacheGroup.h:
  • loader/appcache/ApplicationCacheHost.h:
  • notifications/Notification.cpp: (WebCore::Notification::didReceiveData):
  • notifications/Notification.h:
  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: (StreamingClient::didReceiveData):
  • platform/network/BlobResourceHandle.cpp:
  • platform/network/ResourceHandleClient.h: (WebCore::ResourceHandleClient::didReceiveData):
  • platform/network/android/ResourceHandleAndroid.cpp: (WebCore::SyncLoader::didReceiveData):
  • platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::WebCoreSynchronousLoaderClient::didReceiveData):
  • platform/network/curl/ResourceHandleCurl.cpp:
  • platform/network/mac/ResourceHandleMac.mm: (WebCoreSynchronousLoaderClient::didReceiveData):
  • platform/network/soup/ResourceHandleSoup.cpp:
  • platform/network/win/ResourceHandleWin.cpp:
  • workers/WorkerScriptLoader.h:
  • xml/XMLHttpRequest.h:

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

Renamed lengthReceived to encodedDataLength/dataLength.

  • public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::didReceiveData):
  • src/AssociatedURLLoader.cpp: (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
  • src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
  • src/FrameLoaderClientImpl.h:
  • src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::didReceiveData):

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
  • WebCoreSupport/FrameLoaderClientEfl.h:

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
  • WebCoreSupport/FrameLoaderClientGtk.h:
  • webkit/webkitdownload.cpp: (DownloadClient::didReceiveData):

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebCoreSupport/WebFrameLoaderClient.h:
  • WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::dispatchDidReceiveContentLength):

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebCoreSupport/WebFrameLoaderClient.h:

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebCoreSupport/FrameLoaderClientWinCE.h:

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
https://bugs.webkit.org/show_bug.cgi?id=58883

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidReceiveContentLength):
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
9:52 AM Changeset in webkit [84259] by senorblanco@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-19 Stephen White <senorblanco@chromium.org>

Reviewed by Eric Seidel.

Pull framebuffer clearing out into its own function.
https://bugs.webkit.org/show_bug.cgi?id=58897

Covered by fast/canvas and canvas/philip tests.

  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::clearFramebuffer): (WebCore::DrawingBuffer::reset):
  • platform/graphics/gpu/DrawingBuffer.h:
9:36 AM Changeset in webkit [84258] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Chromium DevTools: Network panel timing test is flaky
https://bugs.webkit.org/show_bug.cgi?id=58699

Fixed network timing test flakiness.

  • src/js/Tests.js: (.TestSuite.prototype.testNetworkTiming.finishResource):
9:25 AM Changeset in webkit [84257] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Brian Salomon <bsalomon@google.com>

Reviewed by Eric Seidel.

When flushing GrContext in ~PlatformContextSkia be sure correct GL context is set
https://bugs.webkit.org/show_bug.cgi?id=58788

Chromium browser test will be added that loads canvas page and then an
acclerated-composited page. Test must trigger ~PlatformContextSkia()
followed by invocation of GL compositor.

  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::~PlatformContextSkia):
9:01 AM Changeset in webkit [84256] by commit-queue@webkit.org
  • 4 edits in trunk

2011-04-19 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Andreas Kling.

[Qt] fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html fails (DRT sideeffect)
https://bugs.webkit.org/show_bug.cgi?id=35086

  • platform/qt/Skipped: unskip fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html

2011-04-19 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Andreas Kling.

[Qt] fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html fails (DRT sideeffect)
https://bugs.webkit.org/show_bug.cgi?id=35086

fast/xmlhttprequest/xmlhttprequest-no-file-access.html caused
a DRT sideeffect problem, because the resetSettings didn't set
the default value of LocalContentCanAccessFileUrls.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::resetSettings):
8:38 AM Changeset in webkit [84255] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark fast/block/float/overhanging-tall-block.html as failing on Windows and Linux.
https://bugs.webkit.org/show_bug.cgi?id=58901

  • platform/chromium/test_expectations.txt:
7:43 AM Changeset in webkit [84254] by caseq@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-19 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
https://bugs.webkit.org/show_bug.cgi?id=58894

7:35 AM Changeset in webkit [84253] by andreas.kling@nokia.com
  • 4 edits in trunk/Source/WebKit2

2011-04-19 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Antonio Gomes.

WebKit2: Typo fix in WebPopupMenu::Type.
https://bugs.webkit.org/show_bug.cgi?id=58891

Fixed a typo, Seperator -> Separator.
Also removed m_ prefix on an argument variable name.

  • Shared/WebPopupItem.h:
  • UIProcess/mac/WebPopupMenuProxyMac.mm: (WebKit::WebPopupMenuProxyMac::populate):
  • WebProcess/WebCoreSupport/WebPopupMenu.cpp: (WebKit::WebPopupMenu::populateItems):
7:05 AM Changeset in webkit [84252] by Csaba Osztrogonác
  • 10 edits in trunk

[Qt] REGRESSION(84176): http/tests/xmlhttprequest/event-listener-gc.html fails
https://bugs.webkit.org/show_bug.cgi?id=58871

Unreviewed, rolling out r84176, r84178, r84186, r84212 and r84231.
http://trac.webkit.org/changeset/84176 (original patch)
http://trac.webkit.org/changeset/84178 (original patch - part 2)
http://trac.webkit.org/changeset/84186 (build fix)
http://trac.webkit.org/changeset/84212
http://trac.webkit.org/changeset/84231 (skip failing test)

original bugs:

Source/JavaScriptCore:

  • heap/MarkStack.h:

(JSC::MarkStack::deprecatedAppendValues):
(JSC::MarkStack::append):
(JSC::MarkStack::deprecatedAppend):

  • runtime/JSValue.h:
  • runtime/WriteBarrier.h:

(JSC::DeprecatedPtr::DeprecatedPtr):
(JSC::DeprecatedPtr::get):
(JSC::DeprecatedPtr::operator*):
(JSC::DeprecatedPtr::operator->):
(JSC::DeprecatedPtr::slot):
(JSC::DeprecatedPtr::operator UnspecifiedBoolType*):
(JSC::DeprecatedPtr::operator!):
(JSC::operator==):

Source/WebCore:

  • bridge/qt/qt_class.cpp:

(JSC::Bindings::QtClass::fallbackObject):

  • bridge/qt/qt_instance.cpp:

(JSC::Bindings::QtInstance::removeCachedMethod):
(JSC::Bindings::QtInstance::markAggregate):

  • bridge/qt/qt_instance.h:

LayoutTests:

  • platform/qt/Skipped:
6:41 AM Changeset in webkit [84251] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebCore

2011-04-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84050.
http://trac.webkit.org/changeset/84050
https://bugs.webkit.org/show_bug.cgi?id=58892

fast/dom/HTMLKeygenElement/keygen.html is crashing on Chromium
(Requested by jknotten on #webkit).

  • dom/ContainerNode.cpp: (WebCore::ContainerNode::takeAllChildrenFrom): (WebCore::ContainerNode::removeBetween): (WebCore::ContainerNode::removeChildren): (WebCore::ContainerNode::parserAddChild):
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::~Document): (WebCore::Document::setDocType):
  • dom/Element.h:
  • dom/Node.cpp: (WebCore::Node::treeScope): (WebCore::Node::setTreeScope): (WebCore::Node::setTreeScopeRecursively):
  • dom/Node.h: (WebCore::Node::document):
  • dom/ShadowRoot.cpp: (WebCore::ShadowRoot::ShadowRoot):
  • dom/ShadowRoot.h:
  • dom/TreeScope.cpp: (WebCore::TreeScope::TreeScope): (WebCore::TreeScope::setParentTreeScope):
  • dom/TreeScope.h:
  • rendering/RenderSlider.cpp:
6:15 AM Changeset in webkit [84250] by kinuko@chromium.org
  • 4 edits in trunk/Source/WebKit/chromium

2011-04-19 Kinuko Yasuda <kinuko@chromium.org>

Not reviewed; another build fix attempt.

  • src/StorageInfoChromium.cpp: (WebCore::StorageInfo::queryUsageAndQuota): (WebCore::StorageInfo::requestQuota):
  • src/WebStorageQuotaCallbacksImpl.cpp: (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
  • src/WebStorageQuotaCallbacksImpl.h:
5:49 AM Changeset in webkit [84249] by kinuko@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-19 Kinuko Yasuda <kinuko@chromium.org>

Not reviewed; windows build fix attempt.

  • storage/StorageInfo.cpp: (WebCore::StorageInfo::~StorageInfo):
  • storage/StorageInfo.h:
5:45 AM Changeset in webkit [84248] by jknotten@chromium.org
  • 1 edit
    1 add in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] New mac snowleopard baseline for fast/overflow/003.xml
https://bugs.webkit.org/show_bug.cgi?id=58885

  • platform/chromium-mac/fast/overflow/003-expected.png: Added.
5:37 AM Changeset in webkit [84247] by kinuko@chromium.org
  • 8 edits in trunk/Source

2011-04-19 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by David Levin.

[Chromium] Enable QUOTA API at runtime if enable-quota flag is given
https://bugs.webkit.org/show_bug.cgi?id=58784

  • features.gypi: Added ENABLE_QUOTA=1.
  • public/WebRuntimeFeatures.h:
  • src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableQuota): Added. (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.

2011-04-19 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by David Levin.

[Chromium] Enable QUOTA API at runtime if enable-quota flag is given
https://bugs.webkit.org/show_bug.cgi?id=58784

No new tests as this does not change any functionality.

  • bindings/generic/RuntimeEnabledFeatures.cpp:
  • bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::quotaEnabled): (WebCore::RuntimeEnabledFeatures::setQuotaEnabled):
  • page/DOMWindow.idl:
5:13 AM Changeset in webkit [84246] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark fast/css/create_element_align.xhtml as slow.
https://bugs.webkit.org/show_bug.cgi?id=58884

  • platform/chromium/test_expectations.txt:
5:01 AM Changeset in webkit [84245] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark fast/events/popup-blocking-timers.html as flaky on Debug Win,Mac,Linux
https://bugs.webkit.org/show_bug.cgi?id=58882

Filed chromium bug:
http://code.google.com/p/chromium/issues/detail?id=79857

  • platform/chromium/test_expectations.txt:
4:44 AM Changeset in webkit [84244] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark fast/css/only-child-pseudo-class.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=58881

Filed chromium bug:
http://code.google.com/p/chromium/issues/detail?id=79855

  • platform/chromium/test_expectations.txt:
4:35 AM Changeset in webkit [84243] by kbalazs@webkit.org
  • 2 edits in trunk/LayoutTests

Skip new eventSender dependent tests.

Rubber-stamped by Csaba Osztrogonác.

  • platform/qt-wk2/Skipped:
4:32 AM Changeset in webkit [84242] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark animations/play-state.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=58880

See also existing chromium bug:
http://code.google.com/p/chromium/issues/detail?id=76609

  • platform/chromium/test_expectations.txt:
4:19 AM Changeset in webkit [84241] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark tables/mozilla/bugs/bug28341.html as flaky on Mac
https://bugs.webkit.org/show_bug.cgi?id=58879

See also existing chromium bug:
http://code.google.com/p/chromium/issues/detail?id=32231

  • platform/chromium/test_expectations.txt:
4:09 AM Changeset in webkit [84240] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark svg/text/font-size-below-point-five.svg as flaky on Linux, Mac
https://bugs.webkit.org/show_bug.cgi?id=58878

See also existing chromium bug:
http://code.google.com/p/chromium/issues/detail?id=74710

  • platform/chromium/test_expectations.txt:
3:49 AM Changeset in webkit [84239] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark layout test editing/execCommand/delete-empty-container.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=58877

Chromium bug filed.
http://code.google.com/p/chromium/issues/detail?id=79854

  • platform/chromium/test_expectations.txt:
3:07 AM Changeset in webkit [84238] by johnnyg@google.com
  • 11 edits in trunk/Source

2011-04-19 John Gregg <johnnyg@google.com>

Reviewed by Darin Fisher.

Enable folder drag-n-drop when using a "webkitdirectory" file input
https://bugs.webkit.org/show_bug.cgi?id=58401

This uses a new ChromeClient API to enumerate the directory and
return all the files, as if the user had selected that directory
by clicking the control in the normal way.

  • loader/EmptyClients.h: (WebCore::EmptyChromeClient::enumerateChosenDirectory):
  • page/Chrome.cpp: (WebCore::Chrome::enumerateChosenDirectory):
  • page/Chrome.h:
  • page/ChromeClient.h:
  • platform/network/FormData.cpp: (WebCore::FormData::appendKeyValuePairItems):
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::receiveDropForDirectoryUpload): (WebCore::RenderFileUploadControl::receiveDroppedFiles):
  • rendering/RenderFileUploadControl.h:

2011-04-19 John Gregg <johnnyg@google.com>

Reviewed by Darin Fisher.

Enable folder drag-n-drop when using a "webkitdirectory" file input
https://bugs.webkit.org/show_bug.cgi?id=58401

This uses a new ChromeClient API to enumerate the directory and
return all the files, as if the user had selected that directory
by clicking the control in the normal way.

  • public/WebViewClient.h: (WebKit::WebViewClient::enumerateChosenDirectory):
  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::enumerateChosenDirectory):
  • src/ChromeClientImpl.h:
3:04 AM Changeset in webkit [84237] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark animations/combo-transform-translate+scale.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=58876

Chromium bug filed.
http://code.google.com/p/chromium/issues/detail?id=79853

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

2011-04-19 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84150.
http://trac.webkit.org/changeset/84150
https://bugs.webkit.org/show_bug.cgi?id=58875

Broken backspace in Search box of Web Inspector (Requested by
apavlov on #webkit).

  • inspector/front-end/inspector.js: (WebInspector.documentKeyDown):
2:53 AM Changeset in webkit [84235] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-19 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: NPE in TextEditorModel
https://bugs.webkit.org/show_bug.cgi?id=58870

  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype._frameAdded):
  • inspector/front-end/TextEditorModel.js: (WebInspector.TextEditorModel.prototype.setText):
2:50 AM Changeset in webkit [84234] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Mark fast/table/frame-and-rules.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=58874

Chromium bug filed.
http://code.google.com/p/chromium/issues/detail?id=79851

  • platform/chromium/test_expectations.txt:
2:34 AM Changeset in webkit [84233] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-19 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Reenable layout test canvas/philip/tests/2d.gradient.interpolate.outside.html
https://bugs.webkit.org/show_bug.cgi?id=58873

Fixed in Chromium r81956.
http://code.google.com/p/chromium/issues/detail?id=79725

  • platform/chromium/test_expectations.txt:
2:04 AM Changeset in webkit [84232] by hans@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Hans Wennborg <hans@chromium.org>

Reviewed by Tony Gentilcore.

IndexedDB: Remove accidental header include directive from LevelDB backend.
https://bugs.webkit.org/show_bug.cgi?id=58872

No new functionality, no new tests.

  • storage/IDBLevelDBBackingStore.cpp:
2:02 AM Changeset in webkit [84231] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] REGRESSION(84194): http/tests/xmlhttprequest/event-listener-gc.html fails
https://bugs.webkit.org/show_bug.cgi?id=58871

  • platform/qt/Skipped: Add http/tests/xmlhttprequest/event-listener-gc.html
1:30 AM Changeset in webkit [84230] by mario@webkit.org
  • 13 edits in trunk/LayoutTests

2011-04-19 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, rebaselines to fix wrongly added expectations.

By mistake, I added expectations generated with GTK3 locally
instead of the expectations generated in the bots using GTK2, so
we need to add the expectation files as needed.

  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.checksum:
  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.png:
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.checksum:
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.png:
  • platform/gtk/fast/borders/border-styles-split-expected.checksum:
  • platform/gtk/fast/borders/border-styles-split-expected.png:
  • platform/gtk/fast/borders/mixed-border-styles-radius-expected.checksum:
  • platform/gtk/fast/borders/mixed-border-styles-radius-expected.png:
  • platform/gtk/fast/borders/mixed-border-styles-radius2-expected.checksum:
  • platform/gtk/fast/borders/mixed-border-styles-radius2-expected.png:
  • platform/gtk/fast/borders/webkit-border-radius-expected.checksum:
  • platform/gtk/fast/borders/webkit-border-radius-expected.png:
1:30 AM Changeset in webkit [84229] by jhoneycutt@apple.com
  • 6 edits in trunk/Source/WebKit2

WKContextDownloadURLRequest() should return a WKDownloadRef
https://bugs.webkit.org/show_bug.cgi?id=58867
Part of <rdar://problem/8931717>

Reviewed by Steve Falkenburg.

  • UIProcess/API/C/WKContext.cpp:

(WKContextDownloadURLRequest):
Return the result of calling WebContext::download().

  • UIProcess/API/C/WKContext.h:

Updated return type of WKContextDownloadURLRequest().

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::download):
Return the DownloadProxy returned by createDownloadProxy().
(WebKit::WebContext::createDownloadProxy):
Return the DownloadProxy.

  • UIProcess/WebContext.h:

Changed return type of download() and createDownloadProxy().

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::receivedPolicyDecision):
Call the DownloadProxy's downloadID() function to get the ID.

1:25 AM Changeset in webkit [84228] by zherczeg@webkit.org
  • 2 edits in trunk/Source/WebCore

Build fix.

LEFilter change doesn't compile on ARM neon targets
https://bugs.webkit.org/show_bug.cgi?id=58671

Thanks for Charlie Lee to fixing this.

  • WebCore.gypi:
1:06 AM Changeset in webkit [84227] by mario@webkit.org
  • 1 edit
    21 adds in trunk/LayoutTests

2011-04-19 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, added new baselines for the GTK port.

Added missing baselines to GTK after revisions 83998, 84092 and 84180.

  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.checksum: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.png: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-lr-expected.txt: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.checksum: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.png: Added.
  • platform/gtk/fast/blockflow/border-styles-vertical-rl-expected.txt: Added.
  • platform/gtk/fast/borders/border-styles-split-expected.checksum: Added.
  • platform/gtk/fast/borders/border-styles-split-expected.png: Added.
  • platform/gtk/fast/borders/border-styles-split-expected.txt: Added.
  • platform/gtk/fast/borders/mixed-border-styles-expected.checksum: Added.
  • platform/gtk/fast/borders/mixed-border-styles-expected.png: Added.
  • platform/gtk/fast/borders/mixed-border-styles-expected.txt: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius-expected.checksum: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius-expected.png: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius-expected.txt: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius2-expected.checksum: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius2-expected.png: Added.
  • platform/gtk/fast/borders/mixed-border-styles-radius2-expected.txt: Added.
  • platform/gtk/fast/borders/webkit-border-radius-expected.checksum: Added.
  • platform/gtk/fast/borders/webkit-border-radius-expected.png: Added.
  • platform/gtk/fast/borders/webkit-border-radius-expected.txt: Added.
12:24 AM Changeset in webkit [84226] by dbates@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-19 Daniel Bates <dbates@webkit.org>

Attempt to fix the Qt Linux Release Minimal build after changeset 84225
<http://trac.webkit.org/changeset/84225> (https://bugs.webkit.org/show_bug.cgi?id=52788).

  • dom/EventDispatcher.cpp: (WebCore::EventDispatcher::ensureEventAncestors): Add ENABLE(SVG) guards around call to Node::svgShadowHost() since this method is only defined when building with SVG enabled.

Apr 18, 2011:

10:44 PM Changeset in webkit [84225] by commit-queue@webkit.org
  • 8 edits in trunk/Source/WebCore

2011-04-18 Dominic Cooney <dominicc@chromium.org>

Reviewed by Dimitri Glazkov.

Makes SVG shadow roots and DOM shadow roots distinct.
https://bugs.webkit.org/show_bug.cgi?id=52788

Not a functional change. Covered by existing SVG tests.

  • dom/EventDispatcher.cpp: (WebCore::findElementInstance): (WebCore::EventDispatcher::adjustToShadowBoundaries): (WebCore::EventDispatcher::adjustRelatedTarget): (WebCore::EventDispatcher::ensureEventAncestors):
  • dom/Node.cpp: (WebCore::Node::setShadowHost): (WebCore::Node::svgShadowHost): (WebCore::Node::shadowTreeRootNode):
  • dom/Node.h: (WebCore::Node::isSVGShadowRoot): (WebCore::Node::parentNode): (WebCore::Node::parentNodeGuaranteedHostFree):
  • rendering/svg/RenderSVGShadowTreeRootContainer.cpp: (WebCore::RenderSVGShadowTreeRootContainer::~RenderSVGShadowTreeRootContainer): (WebCore::RenderSVGShadowTreeRootContainer::updateFromElement):
  • rendering/svg/SVGShadowTreeElements.cpp: (WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement): (WebCore::SVGShadowTreeRootElement::create): (WebCore::SVGShadowTreeRootElement::attachElement): (WebCore::SVGShadowTreeRootElement::clearSVGShadowHost):
  • rendering/svg/SVGShadowTreeElements.h: (WebCore::SVGShadowTreeRootElement::isSVGShadowRoot):
  • svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::title):
10:36 PM Changeset in webkit [84224] by commit-queue@webkit.org
  • 55 edits
    2 moves in trunk

2011-04-18 Taiju TSUIKI <develop@tzik.jp>

Reviewed by Darin Fisher.

Vendor-prefix requestFileSystem in FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=58517

Prefix from:

  • window.requestFileSystem to window.webkitRequestFileSystem
  • window.resolveLocalFileSystemURL to window.webkitResolveLocalFileSystemURL
  • window.Flags to window.WebKitFlags
  • WorkerContext.requestFileSystem to WorkerContext.webkitRequestFileSystem
  • WorkerContext.resolveLocalFileSystemURL to WorkerContext.webkitResolveLocalFileSystemURL
  • WorkerContext.Flags to WorkerContext.WebKitFlags
  • fast/dom/script-tests/prototype-inheritance.js:
  • fast/filesystem/flags-passing-expected.txt:
  • fast/filesystem/resources/async-operations.js:
  • fast/filesystem/resources/directory-entry-to-uri.js:
  • fast/filesystem/resources/file-entry-to-uri-sync.js:
  • fast/filesystem/resources/file-entry-to-uri.js:
  • fast/filesystem/resources/file-from-file-entry-sync.js:
  • fast/filesystem/resources/file-from-file-entry.js:
  • fast/filesystem/resources/file-writer-sync-truncate-extend.js:
  • fast/filesystem/resources/file-writer-sync-write-overlapped.js:
  • fast/filesystem/resources/file-writer-utils.js:
  • fast/filesystem/resources/fs-worker-common.js:
  • fast/filesystem/resources/op-tests-helper.js:
  • fast/filesystem/resources/simple-persistent-sync.js:
  • fast/filesystem/resources/simple-persistent.js:
  • fast/filesystem/resources/simple-temporary-sync.js:
  • fast/filesystem/resources/simple-temporary.js:
  • fast/filesystem/resources/sync-operations.js:
  • fast/filesystem/script-tests/filesystem-reference.js:
  • fast/filesystem/script-tests/flags-passing.js:
  • fast/filesystem/script-tests/read-directory.js:
  • http/tests/filesystem/resolve-uri-expected.txt:
  • http/tests/filesystem/script-tests/resolve-uri.js:
  • http/tests/filesystem/workers/resolve-url-expected.txt:
  • http/tests/filesystem/workers/script-tests/resolve-url-sync.js:
  • platform/chromium/fast/dom/prototype-inheritance-expected.txt:

2011-04-18 Taiju TSUIKI <develop@tzik.jp>

Reviewed by Darin Fisher.

Vendor-prefix requestFileSystem in FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=58517

Prefix from:

  • window.requestFileSystem to window.webkitRequestFileSystem
  • window.resolveLocalFileSystemURL to window.webkitResolveLocalFileSystemURL
  • window.Flags to window.WebKitFlags
  • WorkerContext.requestFileSystem to WorkerContext.webkitRequestFileSystem
  • WorkerContext.resolveLocalFileSystemURL to WorkerContext.webkitResolveLocalFileSystemURL
  • WorkerContext.Flags to WorkerContext.WebKitFlags
  • 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/JSDirectoryEntryCustom.cpp: (WebCore::JSDirectoryEntry::getFile): (WebCore::JSDirectoryEntry::getDirectory):
  • bindings/js/JSDirectoryEntrySyncCustom.cpp: (WebCore::getFlags): (WebCore::JSDirectoryEntrySync::getFile): (WebCore::JSDirectoryEntrySync::getDirectory):
  • bindings/v8/custom/V8DirectoryEntryCustom.cpp: (WebCore::V8DirectoryEntry::getDirectoryCallback): (WebCore::V8DirectoryEntry::getFileCallback):
  • bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp: (WebCore::getFlags): (WebCore::V8DirectoryEntrySync::getDirectoryCallback): (WebCore::V8DirectoryEntrySync::getFileCallback):
  • fileapi/DOMFileSystemBase.cpp: (WebCore::DOMFileSystemBase::getFile): (WebCore::DOMFileSystemBase::getDirectory):
  • fileapi/DOMFileSystemBase.h:
  • fileapi/DirectoryEntry.cpp: (WebCore::DirectoryEntry::getFile): (WebCore::DirectoryEntry::getDirectory):
  • fileapi/DirectoryEntry.h:
  • fileapi/DirectoryEntry.idl:
  • fileapi/DirectoryEntrySync.cpp: (WebCore::DirectoryEntrySync::getFile): (WebCore::DirectoryEntrySync::getDirectory):
  • fileapi/DirectoryEntrySync.h:
  • fileapi/DirectoryEntrySync.idl:
  • fileapi/WebKitFlags.h: Renamed from Source/WebCore/fileapi/Flags.h. (WebCore::WebKitFlags::create): (WebCore::WebKitFlags::isCreate): (WebCore::WebKitFlags::setCreate): (WebCore::WebKitFlags::isExclusive): (WebCore::WebKitFlags::setExclusive): (WebCore::WebKitFlags::WebKitFlags):
  • fileapi/WebKitFlags.idl: Renamed from Source/WebCore/fileapi/Flags.idl.
  • page/DOMWindow.cpp: (WebCore::DOMWindow::webkitRequestFileSystem): (WebCore::DOMWindow::webkitResolveLocalFileSystemURL):
  • page/DOMWindow.h:
  • page/DOMWindow.idl:
  • workers/WorkerContext.cpp: (WebCore::WorkerContext::webkitRequestFileSystem): (WebCore::WorkerContext::webkitRequestFileSystemSync): (WebCore::WorkerContext::webkitResolveLocalFileSystemURL): (WebCore::WorkerContext::webkitResolveLocalFileSystemSyncURL):
  • workers/WorkerContext.h:
  • workers/WorkerContext.idl:
9:32 PM Changeset in webkit [84223] by dbates@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-18 Daniel Bates <dbates@rim.com>

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

Skip fast/events/fire-mousedown-while-pressing-mouse-button.html which is failing on
Qt Linux for now. See bug for more details.

This test was added in changeset 84217 <http://trac.webkit.org/changeset/84217>
(https://bugs.webkit.org/show_bug.cgi?id=58700).

  • platform/qt/Skipped:
9:28 PM Changeset in webkit [84222] by commit-queue@webkit.org
  • 14 edits
    2 adds in trunk/Source/WebCore

2011-04-18 Steve Lacey <sjl@chromium.org>

Reviewed by Dimitri Glazkov.

Decouple media controls usage from implementation.
This allows each port to implement thier own controls in a different
manner to the default webkit implementation.

Convert media controls hooks to a client interface
https://bugs.webkit.org/show_bug.cgi?id=58346

No new tests as there is no functional change.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaControls): (WebCore::HTMLMediaElement::ensureMediaControls): (WebCore::HTMLMediaElement::preDispatchEventHandler):
  • html/HTMLMediaElement.h:
  • html/shadow/MediaControlElements.cpp: (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement): (WebCore::MediaControlPanelMuteButtonElement::create): (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): (WebCore::MediaControlTimelineElement::create): (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement): (WebCore::MediaControlFullscreenButtonElement::create):
  • html/shadow/MediaControlElements.h:
  • html/shadow/MediaControlRootElement.cpp: (WebCore::MediaControlRootElement::MediaControlRootElement): (WebCore::MediaControls::create):
  • html/shadow/MediaControlRootElement.h:
  • html/shadow/MediaControls.cpp: Added. (WebCore::MediaControls::MediaControls):
  • html/shadow/MediaControls.h: Added. (WebCore::MediaControls::~MediaControls):
8:49 PM Changeset in webkit [84221] by Martin Robinson
  • 78 edits in trunk

2011-04-18 Zan Dobersek <zandobersek@gmail.com>

Reviewed by Martin Robinson.

Update pixel results for tests that draw the selection rectangle.

  • platform/gtk/editing/selection/4402375-expected.checksum:
  • platform/gtk/editing/selection/4402375-expected.png:
  • platform/gtk/editing/selection/image-before-linebreak-expected.checksum:
  • platform/gtk/editing/selection/image-before-linebreak-expected.png:
  • platform/gtk/editing/selection/replaced-boundaries-1-expected.checksum:
  • platform/gtk/editing/selection/replaced-boundaries-1-expected.png:
  • platform/gtk/editing/selection/replaced-boundaries-2-expected.checksum:
  • platform/gtk/editing/selection/replaced-boundaries-2-expected.png:
  • platform/gtk/editing/selection/replaced-boundaries-3-expected.checksum:
  • platform/gtk/editing/selection/replaced-boundaries-3-expected.png:
  • platform/gtk/editing/selection/transformed-selection-rects-expected.checksum:
  • platform/gtk/editing/selection/transformed-selection-rects-expected.png:
  • platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.checksum:
  • platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.png:
  • platform/gtk/svg/text/selection-doubleclick-expected.checksum:
  • platform/gtk/svg/text/selection-doubleclick-expected.png:
  • platform/gtk/svg/text/selection-tripleclick-expected.checksum:
  • platform/gtk/svg/text/selection-tripleclick-expected.png:
  • platform/gtk/svg/text/text-align-01-b-expected.checksum:
  • platform/gtk/svg/text/text-align-01-b-expected.png:
  • platform/gtk/svg/text/text-align-02-b-expected.checksum:
  • platform/gtk/svg/text/text-align-02-b-expected.png:
  • platform/gtk/svg/text/text-align-03-b-expected.checksum:
  • platform/gtk/svg/text/text-align-03-b-expected.png:
  • platform/gtk/svg/text/text-align-04-b-expected.checksum:
  • platform/gtk/svg/text/text-align-04-b-expected.png:
  • platform/gtk/svg/text/text-align-05-b-expected.checksum:
  • platform/gtk/svg/text/text-align-05-b-expected.png:
  • platform/gtk/svg/text/text-align-06-b-expected.checksum:
  • platform/gtk/svg/text/text-align-06-b-expected.png:
  • platform/gtk/svg/text/text-altglyph-01-b-expected.checksum:
  • platform/gtk/svg/text/text-altglyph-01-b-expected.png:
  • platform/gtk/svg/text/text-deco-01-b-expected.checksum:
  • platform/gtk/svg/text/text-deco-01-b-expected.png:
  • platform/gtk/svg/text/text-fonts-01-t-expected.checksum:
  • platform/gtk/svg/text/text-fonts-01-t-expected.png:
  • platform/gtk/svg/text/text-fonts-02-t-expected.checksum:
  • platform/gtk/svg/text/text-fonts-02-t-expected.png:
  • platform/gtk/svg/text/text-intro-05-t-expected.checksum:
  • platform/gtk/svg/text/text-intro-05-t-expected.png:
  • platform/gtk/svg/text/text-path-01-b-expected.checksum:
  • platform/gtk/svg/text/text-path-01-b-expected.png:
  • platform/gtk/svg/text/text-spacing-01-b-expected.checksum:
  • platform/gtk/svg/text/text-spacing-01-b-expected.png:
  • platform/gtk/svg/text/text-text-01-b-expected.checksum:
  • platform/gtk/svg/text/text-text-01-b-expected.png:
  • platform/gtk/svg/text/text-text-03-b-expected.checksum:
  • platform/gtk/svg/text/text-text-03-b-expected.png:
  • platform/gtk/svg/text/text-text-04-t-expected.checksum:
  • platform/gtk/svg/text/text-text-04-t-expected.png:
  • platform/gtk/svg/text/text-text-05-t-expected.checksum:
  • platform/gtk/svg/text/text-text-05-t-expected.png:
  • platform/gtk/svg/text/text-text-06-t-expected.checksum:
  • platform/gtk/svg/text/text-text-06-t-expected.png:
  • platform/gtk/svg/text/text-text-07-t-expected.checksum:
  • platform/gtk/svg/text/text-text-07-t-expected.png:
  • platform/gtk/svg/text/text-text-08-b-expected.checksum:
  • platform/gtk/svg/text/text-text-08-b-expected.png:
  • platform/gtk/svg/text/text-tref-01-b-expected.checksum:
  • platform/gtk/svg/text/text-tref-01-b-expected.png:
  • platform/gtk/svg/text/text-tselect-01-b-expected.checksum:
  • platform/gtk/svg/text/text-tselect-01-b-expected.png:
  • platform/gtk/svg/text/text-tselect-02-f-expected.checksum:
  • platform/gtk/svg/text/text-tselect-02-f-expected.png:
  • platform/gtk/svg/text/text-tspan-01-b-expected.checksum:
  • platform/gtk/svg/text/text-tspan-01-b-expected.png:
  • platform/gtk/svg/text/text-ws-01-t-expected.checksum:
  • platform/gtk/svg/text/text-ws-01-t-expected.png:
  • platform/gtk/svg/text/text-ws-02-t-expected.checksum:
  • platform/gtk/svg/text/text-ws-02-t-expected.png:
  • platform/gtk/svg/text/textPathBoundsBug-expected.checksum:
  • platform/gtk/svg/text/textPathBoundsBug-expected.png:

2011-04-18 Zan Dobersek <zandobersek@gmail.com>

Reviewed by Martin Robinson.

[GTK] Need support for dumping focus rectangles in pixel results
https://bugs.webkit.org/show_bug.cgi?id=53647

Add a support function that returns the rectangle of the current
selection in frame.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::rectangleForSelection):
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

2011-04-18 Zan Dobersek <zandobersek@gmail.com>

Reviewed by Martin Robinson.

[GTK] Need support for dumping focus rectangles in pixel results
https://bugs.webkit.org/show_bug.cgi?id=53647

Dump the selection rect if it has been requested.

  • DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: (createBitmapContextFromWebView):
8:47 PM Changeset in webkit [84220] by commit-queue@webkit.org
  • 10 edits in trunk/Source

2011-04-18 Jia Pu <jpu@apple.com>

Reviewed by Mark Rowe.

WebKit needs to stop importing <AppKit/NSTextChecker.h>
https://bugs.webkit.org/show_bug.cgi?id=58798
<rdar://problem/9294938>

Use public header <AppKit/NSSpellChecker.h> instead.

  • WebCoreSupport/CorrectionPanel.h:
  • WebCoreSupport/CorrectionPanel.mm: (correctionIndicatorType): (CorrectionPanel::show): (CorrectionPanel::dismissInternal): (CorrectionPanel::handleAcceptedReplacement):
  • WebCoreSupport/WebEditorClient.mm:
  • WebView/WebView.mm:

2011-04-18 Jia Pu <jpu@apple.com>

Reviewed by Mark Rowe.

WebKit needs to stop importing <AppKit/NSTextChecker.h>
https://bugs.webkit.org/show_bug.cgi?id=58798
<rdar://problem/9294938>

Use public header <AppKit/NSSpellChecker.h> instead.

  • UIProcess/mac/CorrectionPanel.h:
  • UIProcess/mac/CorrectionPanel.mm: (correctionIndicatorType): (WebKit::CorrectionPanel::show): (WebKit::CorrectionPanel::dismissInternal): (WebKit::CorrectionPanel::handleAcceptedReplacement):
  • UIProcess/mac/TextCheckerMac.mm:
  • WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
8:43 PM Changeset in webkit [84219] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-04-18 Pascal Massimino <pascal.massimino@gmail.com>

Reviewed by Adam Barth.

Add incremental decoding to WebP decoder
https://bugs.webkit.org/show_bug.cgi?id=58851

No new tests, as it's not possible for the layout test framework to
force the decoders to decode incrementally.

  • platform/image-decoders/webp/WEBPImageDecoder.cpp: (WebCore::WEBPImageDecoder::WEBPImageDecoder): (WebCore::WEBPImageDecoder::decode):
  • platform/image-decoders/webp/WEBPImageDecoder.h:
8:39 PM Changeset in webkit [84218] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-04-18 Mike Reed <reed@google.com>

Reviewed by Kenneth Russell.

remove tests from test_expectations.txt, as they now pass
https://bugs.webkit.org/show_bug.cgi?id=58813

  • platform/chromium/test_expectations.txt:
8:21 PM Changeset in webkit [84217] by dbates@webkit.org
  • 3 edits
    2 adds in trunk

2011-04-18 Daniel Bates <dbates@rim.com>

Reviewed by Adam Roben.

With PAN_SCROLLING, mousedown events for a mouse button aren't dispatched while
pressing-and-holding another mouse button
https://bugs.webkit.org/show_bug.cgi?id=58700

Fixes an issue where mousedown events weren't dispatched when pressing a mouse button A
while pressing and holding a mouse button B, where A != B. This issue only affects builds
that enable PAN_SCROLLING.

On mouse press with autoscroll in progress (m_autoscrollInProgress == true) we stopped
the autoscroll timer, invalidated the click, and swallowed the mouse press. Instead, we
should only stop the autoscroll timer.

Test: fast/events/fire-mousedown-while-pressing-mouse-button.html

  • page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent):

2011-04-18 Daniel Bates <dbates@rim.com>

Reviewed by Adam Roben.

With PAN_SCROLLING, mousedown events for a mouse button aren't dispatched while
pressing-and-holding another mouse button
https://bugs.webkit.org/show_bug.cgi?id=58700

Test to ensure that a mousedown event is fired when pressing a mouse button A
while pressing and holding a mouse button B, where A != B.

  • fast/events/fire-mousedown-while-pressing-mouse-button-expected.txt: Added.
  • fast/events/fire-mousedown-while-pressing-mouse-button.html: Added.
8:11 PM Changeset in webkit [84216] by eric@webkit.org
  • 4 edits
    1 move in trunk/Tools

2011-04-18 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

test-webkitpy should run the ActiveWorkItems tests
https://bugs.webkit.org/show_bug.cgi?id=58859

Also make the unit tests pass. :)

  • QueueStatusServer/model/activeworkitems.py:
  • QueueStatusServer/model/queue.py:
  • QueueStatusServer/model/workitems.py:
7:21 PM Changeset in webkit [84215] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Jon Lee <jonlee@apple.com>

Reviewed by Maciej Stachowiak.

With overlay scrollbars, textarea resize corner gains borders when the textarea becomes scrollable
https://bugs.webkit.org/show_bug.cgi?id=58617
<rdar://problem/9048012>

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintResizer): Check for overlay scrollbars first, and then if the bars were created, before displaying the borders
6:40 PM Changeset in webkit [84214] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Jon Lee <jonlee@apple.com>

Reviewed by Maciej Stachowiak.

Selected item background in list box gets rendered on top of overlay scrollbar knob (58824)
https://bugs.webkit.org/show_bug.cgi?id=58824
<rdar://problem/9292680>

  • rendering/RenderListBox.cpp: (WebCore::RenderListBox::paintObject): Moving the stage of painting the scrollbars to the foreground if using overlay scrollbars
6:35 PM Changeset in webkit [84213] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 John Bauman <jbauman@chromium.org>

Reviewed by Kenneth Russell.

Don't cast BitmapImageSingleFrameSkia to BitmapImage
https://bugs.webkit.org/show_bug.cgi?id=58821

BitmapImageSingleFrameSkia has isBitmap return true, but
can't be cast to a BitmapImage. Instead of using BitmapImage,
use isOpaque from SkBitmap to determine if the image has alpha.

No new tests.

  • platform/graphics/skia/GraphicsContext3DSkia.cpp: (WebCore::GraphicsContext3D::getImageData):
5:34 PM Changeset in webkit [84212] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-04-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove unneeded deprecated methods from MarkStack
https://bugs.webkit.org/show_bug.cgi?id=58853

Remove deprecated methods

  • heap/MarkStack.h:
5:00 PM Changeset in webkit [84211] by eric@webkit.org
  • 4 edits in trunk/Tools

2011-04-18 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

queues.webkit.org should show trailing-days pass counts for queues
https://bugs.webkit.org/show_bug.cgi?id=58812

This lets us see if each bot is pulling its own weight or not.
Before I wrote this patch our suspicious was that one of the
cq bots was doing most of the work. Turns out they're actually
pretty even in their recent pass counts.

  • QueueStatusServer/handlers/queuestatus.py:
  • QueueStatusServer/index.yaml:
  • QueueStatusServer/templates/queuestatus.html:
4:43 PM Changeset in webkit [84210] by dpranke@chromium.org
  • 4 edits
    3 deletes in trunk/Tools

2011-04-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

new-run-webkit-tests: obsolete old threading code, part 1
https://bugs.webkit.org/show_bug.cgi?id=58752

This patch removes support for the 'old-inline' and
'old-threads' worker models, and deletes the corresponding code.
Now that the new code is stable, this stuff is no longer
necessary.

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: Removed.
  • Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Removed.
  • Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Removed.
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
4:43 PM Changeset in webkit [84209] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

WebKitTestRunner needs a more-complete implementation of eventSender.
https://bugs.webkit.org/show_bug.cgi?id=42194

Skip fullscreen/full-screen-cancel.html (which uses eventSender.keyDown) in the WK2 tests.

  • platform/mac-wk2/Skipped:
4:34 PM Changeset in webkit [84208] by jberlin@webkit.org
  • 3 edits in trunk/Source/WebCore

If deleting the StorageTracker.db file fails, local storage is left in a strange state.
https://bugs.webkit.org/show_bug.cgi?id=58805

Reviewed by Steve Falkenburg.

  • storage/StorageTracker.cpp:

(WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
When cleaning up the StorageTracker.db file, is not enough to call syncDeleteOrigin.
deleteOrigin itself must be called to update the data structures that syncDeleteOrigin
depends on and to prevent clashes between a theoretical web page editing local storage
at the same time this method is called.
(WebCore::StorageTracker::syncDeleteAllOrigins):
If it is not possible to delete the StorageTracker.db file, empty it.
(WebCore::StorageTracker::deleteOriginOnMainThread):
Wrapper for deleteOrigin.

  • storage/StorageTracker.h:
4:31 PM Changeset in webkit [84207] by dpranke@chromium.org
  • 7 edits in trunk/Tools

2011-04-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

new-run-webkit-tests: add an --additional-drt-flag option
https://bugs.webkit.org/show_bug.cgi?id=58680

NRWT has a bunch of command line flags that exist to pass
custom flags to DRT, especially on chromium. It would be nice
if there was a generic mechanism to pass through flags so we
didn't have all the custom ones.

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
  • Scripts/webkitpy/layout_tests/port/port_testcase.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4:28 PM Changeset in webkit [84206] by jer.noble@apple.com
  • 14 edits
    2 adds in trunk

2011-04-05 Jer Noble <jer.noble@apple.com>

Reviewed by Sam Weinig.

WebKit2: WKTR should support WebKit2 full screen APIs
https://bugs.webkit.org/show_bug.cgi?id=56318

WKTR does not support the eventSender.keyDown() method, so use mouseDown()
in those cases that keyDown() does not exist.

  • fullscreen/full-screen-test.js: (runWithKeyDown.document.addEventListener): (runWithKeyDown):

2011-04-05 Jer Noble <jer.noble@apple.com>

Reviewed by Sam Weinig.

WebKit2: WKTR should support WebKit2 full screen APIs
https://bugs.webkit.org/show_bug.cgi?id=56318

Add a new WKBundlePage API for Full Screen events, and move some of the implementation
of WebFullScreenManager into the new InjectedBundlePageFullScreenClient class, so that
the default behavior can be overridden by a WKBundlePageFullScreenClient.

  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::supportsFullScreen): Moved contents into InjectedBundlePageFullScreenClient. (WebKit::WebFullScreenManager::enterFullScreenForElement): Ditto. (WebKit::WebFullScreenManager::exitFullScreenForElement): Ditto.
  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKBundlePageSetFullScreenClient): Added. (WKBundlePageWillEnterFullScreenForElement): Added. (WKBundlePageDidEnterFullScreenForElement): Added. (WKBundlePageWillExitFullScreenForElement): Added. (WKBundlePageDidExitFullScreenForElement): Added.
  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp: Added. (WebKit::InjectedBundlePageFullScreenClient::supportsFullScreen): Added. (WebKit::InjectedBundlePageFullScreenClient::enterFullScreenForElement): Added. (WebKit::InjectedBundlePageFullScreenClient::exitFullScreenForElement): Added.
  • WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h: Added.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::initializeInjectedBundleFullScreenClient): Added.
  • WebProcess/WebPage/WebPage.h: (WebKit::WebPage::injectedBundleFullScreenClient): Added.

2011-04-05 Jer Noble <jer.noble@apple.com>

Reviewed by Sam Weinig.

WebKit2: WKTR should support WebKit2 full screen APIs
https://bugs.webkit.org/show_bug.cgi?id=56318

Respond to enterFullScreenForElement() and exitFullScreenForElement(), allowing
WKTR to test the LayoutTest/fullscreen/ tests.

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::InjectedBundlePage): Add support for WKBundlePageFullScreenClient. (WTR::InjectedBundlePage::supportsFullScreen): Added. (WTR::InjectedBundlePage::enterFullScreenForElement): Added. (WTR::InjectedBundlePage::exitFullScreenForElement): Added.
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  • WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues): Enable the full screen preference.
4:20 PM Changeset in webkit [84205] by dpranke@chromium.org
  • 2 edits in trunk/Tools

2011-04-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

new-run-webkit-tests: remove chromium-specific relpath hack for --results-directory
https://bugs.webkit.org/show_bug.cgi?id=58388

  • Scripts/webkitpy/layout_tests/port/chromium.py:
4:11 PM Changeset in webkit [84204] by ggaren@apple.com
  • 2 edits in trunk/Source/WebCore

Build fix.

Added back missing #include.

  • bindings/js/DOMWrapperWorld.cpp:
4:09 PM Changeset in webkit [84203] by enrica@apple.com
  • 2 edits in trunk/Source/WebCore

Dropping a file in a WKView (WebKit2) doesn't load the file.
https://bugs.webkit.org/show_bug.cgi?id=58842
<rdar://problem/8514409>

Reviewed by Maciej Stachowiak.

The URL string for the file contains an extra %00 at the end
that causes the network framework to fail to load the file.

  • platform/win/ClipboardUtilitiesWin.cpp:

(WebCore::getURL):

4:07 PM Changeset in webkit [84202] by ap@apple.com
  • 2 edits in trunk/Source/WebKit2

Reviewed by Maciej Stachowiak.

Re-add a null check lost in r83081
https://bugs.webkit.org/show_bug.cgi?id=58846

  • WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::getSelectedRange):
4:06 PM Changeset in webkit [84201] by andreas.kling@nokia.com
  • 7 edits in trunk/Source/WebKit2

2011-04-18 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Clean up tool-tip/status-bar confusion.
https://bugs.webkit.org/show_bug.cgi?id=58844

Tool-tips were incorrectly hooked up to the status bar text.
Chrome::setStatusbarText() now correctly causes the QWKPage::statusBarMessage() signal.

New API:

  • QWKPage::toolTipChanged(const QString& toolTip) [signal]

QGraphicsWKView will automatically listen for this and set its own toolTip().

  • UIProcess/API/qt/ClientImpl.cpp: (qt_wk_setStatusText):
  • UIProcess/API/qt/ClientImpl.h:
  • UIProcess/API/qt/qgraphicswkview.cpp: (QGraphicsWKView::QGraphicsWKView): (QGraphicsWKViewPrivate::onToolTipChanged):
  • UIProcess/API/qt/qgraphicswkview.h:
  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::toolTipChanged): (QWKPage::QWKPage):
  • UIProcess/API/qt/qwkpage.h:
4:02 PM Changeset in webkit [84200] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-04-18 Dirk Pranke <dpranke@chromium.org>

Unreviewed.

Re-land r84112. It was rolled out in r84127 but it didn't need
to be. Only r84111 actually broke things.

  • Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3:58 PM Changeset in webkit [84199] by evan@chromium.org
  • 14 edits
    2 adds in trunk

2011-04-18 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

[chromium] expose title direction to webkit client
https://bugs.webkit.org/show_bug.cgi?id=58823

  • Tools/DumpRenderTree/chromium/LayoutTestController.cpp:
  • Tools/DumpRenderTree/chromium/LayoutTestController.h: Adapt to new API. Expose title direction to JS so it can be tested.
  • Tools/DumpRenderTree/chromium/WebViewHost.cpp:
  • Tools/DumpRenderTree/chromium/WebViewHost.h: Provide new API.

2011-04-18 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

[chromium] expose title direction to webkit client
https://bugs.webkit.org/show_bug.cgi?id=58823

New test that checks the directionality of the title for some
simple pages.

  • fast/dom/title-directionality-expected.txt: Added.
  • fast/dom/title-directionality.html: Added.

2011-04-18 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

[chromium] expose title direction to webkit client
https://bugs.webkit.org/show_bug.cgi?id=58823

  • public/WebFrameClient.h: (WebKit::WebFrameClient::didReceiveTitle): Add new param to API.
  • src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle): Pass new param in API.

2011-04-18 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

[chromium] expose title direction to webkit client
https://bugs.webkit.org/show_bug.cgi?id=58823

  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::reset):
  • DumpRenderTree/chromium/LayoutTestController.h: (LayoutTestController::setTitleTextDirection): Add member and setter to let us stash the title direction at load time.
  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::didReceiveTitle):
  • DumpRenderTree/chromium/WebViewHost.h: Adapt to new API; push the title into layoutTestController when we receive it.
3:53 PM Changeset in webkit [84198] by ggaren@apple.com
  • 2 edits in trunk/Source/WebCore

2011-04-18 Geoffrey Garen <ggaren@apple.com>

Discovered and rubber-stamped by Stephanie Lewis.

Restored some code I accidentally deleted in <http://trac.webkit.org/changeset/83990>

  • bindings/js/DOMWrapperWorld.cpp: (WebCore::DOMWrapperWorld::~DOMWrapperWorld): (WebCore::DOMWrapperWorld::clearWrappers): Do clear / destroy all our window shells when clearing / destroying ourselves. r83990 removed this behavior for documents since there are no per-document maps anymore, but removing this behavior for window shells too was a typo.
3:53 PM Changeset in webkit [84197] by dpranke@chromium.org
  • 4 edits in trunk/Tools

2011-04-18 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

new-run-webkit-tests: don't run more processes than necessary
https://bugs.webkit.org/show_bug.cgi?id=58751

Previously NRWT would start up 1 process for each processor on
the machine by default, which was a waste if we were only
running a few shards of tests.

  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3:44 PM Changeset in webkit [84196] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebKit/qt

[Qt][WK2] Unreviewed buildfix after r84174.

  • QtWebKit.pro: Missing includepath added.
3:44 PM Changeset in webkit [84195] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

include links to actual.png files for new pixel tests
https://bugs.webkit.org/show_bug.cgi?id=58831

Load image elements to confirm whether the files exist.
Image elements will load without being appended to the DOM.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
3:41 PM Changeset in webkit [84194] by ggaren@apple.com
  • 24 edits in trunk/Source/WebCore

2011-04-18 Geoffrey Garen <ggaren@apple.com>

Reviewed by Oliver Hunt.

Made DOM handle ownership customizable, and customized it for Nodes and NamedAttrMaps
https://bugs.webkit.org/show_bug.cgi?id=58828

  • WebCore.exp.in: Blah.
  • bindings/js/DOMWrapperWorld.cpp: Moved code related to JSNode ownership to JSNodeCustom, where other custom JSNode-related code goes.

(WebCore::JSDOMWrapperOwner::finalize):
(WebCore::DOMWrapperWorld::DOMWrapperWorld):

  • bindings/js/DOMWrapperWorld.h: (WebCore::JSDOMWrapperOwner::JSDOMWrapperOwner): (WebCore::DOMWrapperWorld::defaultWrapperOwner): Renamed DOMObjectHandleOwner to JSDOMWrapperOwner, to match the name of JSDOMWrapper.
  • bindings/js/JSArrayBufferViewHelper.h: (WebCore::toJSArrayBufferView):
  • bindings/js/JSCSSRuleCustom.cpp: (WebCore::toJS):
  • bindings/js/JSCSSValueCustom.cpp: (WebCore::toJS):
  • bindings/js/JSCanvasRenderingContextCustom.cpp: (WebCore::toJS): Removed "DOMObject" and "Node" from the names of wrapper- related functions, since there is no meaningful distinction between the two anymore -- they both use the same extensible interface.


  • bindings/js/JSDOMBinding.cpp: Removed some now-unused functions.
  • bindings/js/JSDOMBinding.h: (WebCore::getInlineCachedWrapper): (WebCore::setInlineCachedWrapper): (WebCore::clearInlineCachedWrapper): (WebCore::wrapperOwner): (WebCore::wrapperContext): (WebCore::getCachedWrapper): (WebCore::cacheWrapper): (WebCore::uncacheWrapper): (WebCore::createWrapper): (WebCore::wrap): Created a generic, extensible mechanism for creating, caching, retrieving, marking, and destroying DOM wrappers. This eliminates the difference between DOM object wrappers and DOM node wrappers, and lays the groundwork for getting rid of MarkStack::deprecatedAppend usage for marking the remainder of our DOM objects.


  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::history): (WebCore::JSDOMWindow::location):
  • bindings/js/JSDataViewCustom.cpp: (WebCore::toJS):
  • bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::location): (WebCore::toJS):
  • bindings/js/JSElementCustom.cpp: (WebCore::toJSNewlyCreated):
  • bindings/js/JSEventCustom.cpp: (WebCore::toJS):
  • bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::toJS):
  • bindings/js/JSImageDataCustom.cpp: (WebCore::toJS): Updated for renames mentioned above.
  • bindings/js/JSNamedNodeMapCustom.cpp: (WebCore::JSNamedNodeMapOwner::isReachableFromOpaqueRoots): (WebCore::JSNamedNodeMapOwner::finalize): (WebCore::wrapperOwner): (WebCore::wrapperContext): (WebCore::JSNamedNodeMap::markChildren): (WebCore::toJS): Updated to use our new interface for customizing wrapper lifetime management through function overloading without using MarkStack::deprecatedAppend.
  • bindings/js/JSNodeCustom.cpp: (WebCore::isObservable): (WebCore::isReachableFromDOM): (WebCore::JSNodeOwner::isReachableFromOpaqueRoots): (WebCore::JSNodeOwner::finalize): (WebCore::createWrapperInline): Moved node-related code from JSDOMBinding to here. Removed special case marking code for JSNamedNodeMap because JSNamedNodeMap now knows how to maintain its own lifetime invariants.
  • bindings/js/JSNodeCustom.h: (WebCore::wrapperOwner): (WebCore::wrapperContext): (WebCore::getInlineCachedWrapper): (WebCore::setInlineCachedWrapper): (WebCore::clearInlineCachedWrapper): (WebCore::toJS): Updated to use our new interface for customizing wrapper lifetime management through function overloading without using MarkStack::deprecatedAppend or special-case code for nodes.


  • bindings/js/JSSVGPathSegCustom.cpp: (WebCore::toJS):
  • bindings/js/JSStyleSheetCustom.cpp: (WebCore::toJS): Updated for renames mentioned above.
  • bindings/scripts/CodeGeneratorJS.pm: Fixed up newlines. Updated for renames mentioned above.
  • dom/NamedNodeMap.idl: NamedNodeMap needs a custom toJS function now because it needs to provide a custom WeakHandleOwner at wrapper creation time.
3:32 PM Changeset in webkit [84193] by mjs@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-04-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Dan Bernstein.

sandbox violation for ~/Library/Dictionaries
https://bugs.webkit.org/show_bug.cgi?id=58841
<rdar://problem/9294770>

  • WebProcess/com.apple.WebProcess.sb: Add to sandbox profile. No obvious harm from allowing this, though it's not 100% clear why it's needed.
3:28 PM Changeset in webkit [84192] by jberlin@webkit.org
  • 4 edits
    1 move in trunk/Source/WebCore

REGRESSION (r84094): Many tests failing assertions in WebCore::localizedString on Windows.
https://bugs.webkit.org/show_bug.cgi?id=58747

Rubber-stamped by Sam Weinig.

Copy the WebCore Localizable.strings file into the output directory.

  • WebCore.vcproj/WebCoreGenerated.vcproj:
  • WebCore.vcproj/WebCoreGeneratedCairo.vsprops:
  • WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
  • WebCore.vcproj/copyInspectorFiles.cmd: Removed.
  • WebCore.vcproj/copyWebCoreResourceFiles.cmd: Copied from Source/WebCore/WebCore.vcproj/copyInspectorFiles.cmd.
3:20 PM Changeset in webkit [84191] by cwzwarich@webkit.org
  • 2 edits in trunk/Source/WebKit/mac

Reviewed by Timothy Hatcher.

Stop using -[NSString initWithContentsOfFile:]
https://bugs.webkit.org/show_bug.cgi?id=58763

-[NSString initWithContentsOfFile:] was deprecated in 10.4, so we should stop using it.

  • WebView/WebView.mm:

(leakMailQuirksUserScriptContents):
(leakOutlookQuirksUserScriptContents):

3:16 PM Changeset in webkit [84190] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-04-18 Oliver Hunt <oliver@apple.com>

Reviewed by Adam Roben.

Off by one initialising repeat callframe
https://bugs.webkit.org/show_bug.cgi?id=58838
<rdar://problem/8756810>

If the end of a callframe made for a repeat call landed on
a page boundary the following page may not have been committed
which means that the off by one could lead to a crash. However
it could only happen in this case and only on windows which is
why it was so hard to repro. Alas given the steps needed to
reproduce are such that it's not really possible to make a
testcase.

This fix makes the code a little less squirrely by not trying
to avoid the unnecessary initialisation of |this|.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::prepareForRepeatCall):
2:56 PM Changeset in webkit [84189] by yi.4.shen@nokia.com
  • 2 edits in trunk/Source/WebKit/qt

2011-04-18 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Laszlo Gombos.

[Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
https://bugs.webkit.org/show_bug.cgi?id=57546

Disable the fullscreen VKB when testing inputFieldFocus().

  • tests/qwebframe/tst_qwebframe.cpp:
2:51 PM Changeset in webkit [84188] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

add a zoomed view for pixel results to the new results html file
https://bugs.webkit.org/show_bug.cgi?id=58827

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
2:48 PM Changeset in webkit [84187] by robert@webkit.org
  • 2 edits
    1 add in trunk/Source/WebCore

2011-04-18 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] PluginViewQt needs to update geometry of plugin widget before scheduling a repaint

When scheduling a repaint for the plugin's widget, PluginViewQt
needs to make sure the widget's geometry is up to date. Otherwise
the paint event happens on the widget's old location.

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

Added a manual test.

  • manual-tests/qt/plugin-painting.html: Added.
  • plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::updatePluginWidget): (WebCore::PluginView::invalidateRect):
2:47 PM QtWebKitFeatures21 edited by Laszlo Gombos
(diff)
2:44 PM Changeset in webkit [84186] by oliver@apple.com
  • 4 edits in trunk/Source/WebCore

Fix Qt build

2:31 PM Changeset in webkit [84185] by barraclough@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Bug 58829 - DFG JIT - Optimize add/sub immediate, multiply.

Reviewed by Geoff Garen.

Add code generation for add/subtract instruction with immediate operands
(where a child is a constant), and don't bail to non-speculative if an
integer multiple results in a +0 result (only if it should be generating -0).

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::isDoubleConstantWithInt32Value):

2:21 PM Changeset in webkit [84184] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

Try to fix the Windows build.

  • Scripts/webkit2/messages.py:
2:20 PM Changeset in webkit [84183] by chang.shu@nokia.com
  • 2 edits in trunk/LayoutTests

2011-04-18 Chang Shu <cshu@webkit.org>

Unreviewed.

Skip failed test due to r84160.

  • platform/win-wk2/Skipped:
2:08 PM Changeset in webkit [84182] by barraclough@apple.com
  • 10 edits in trunk/Source/JavaScriptCore

Bug 58817 - DFG JIT - if speculative compilation fails, throw away code.

Reviewed by Geoff Garen.

If we detect a logical conflict, throw away generated code,
and only compile through the NonSpeculativeJIT.

  • assembler/AbstractMacroAssembler.h:

(JSC::AbstractMacroAssembler::rewindToLabel):

  • assembler/AssemblerBuffer.h:

(JSC::AssemblerBuffer::rewindToOffset):

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::branchAdd32):
(JSC::MacroAssemblerX86Common::branchSub32):

  • assembler/X86Assembler.h:

(JSC::X86Assembler::rewindToLabel):
(JSC::X86Assembler::X86InstructionFormatter::rewindToLabel):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::linkSpeculationChecks):
(JSC::DFG::JITCompiler::compileFunction):

  • dfg/DFGNode.h:
  • dfg/DFGNonSpeculativeJIT.cpp:

(JSC::DFG::NonSpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculationCheckIndexIterator::SpeculationCheckIndexIterator):

2:04 PM Changeset in webkit [84181] by andersca@apple.com
  • 10 edits
    1 delete in trunk/Source/WebKit2

2011-04-18 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Get rid of WebProcessProxyLegacyMessage
https://bugs.webkit.org/show_bug.cgi?id=58825

  • GNUmakefile.am:
  • Platform/CoreIPC/MessageID.h:
  • Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: Removed.
  • UIProcess/WebProcessProxy.cpp:
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/Plugins/PluginProcessConnectionManager.cpp:
  • WebProcess/WebCoreSupport/WebChromeClient.cpp:
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
  • WebProcess/WebPage/WebPage.cpp:
  • win/WebKit2.vcproj:
1:59 PM Changeset in webkit [84180] by Simon Fraser
  • 1 edit
    12 adds in trunk/LayoutTests

2011-04-18 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt.

Add some new tests that exercise border-drawing on split inlines.

  • fast/blockflow/border-styles-vertical-lr.html: Added.
  • fast/blockflow/border-styles-vertical-rl.html: Added.
  • fast/borders/border-styles-split.html: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-lr-expected.checksum: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-lr-expected.png: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-lr-expected.txt: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-rl-expected.checksum: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-rl-expected.png: Added.
  • platform/mac/fast/blockflow/border-styles-vertical-rl-expected.txt: Added.
  • platform/mac/fast/borders/border-styles-split-expected.checksum: Added.
  • platform/mac/fast/borders/border-styles-split-expected.png: Added.
  • platform/mac/fast/borders/border-styles-split-expected.txt: Added.
1:46 PM Changeset in webkit [84179] by andreas.kling@nokia.com
  • 2 edits in trunk/Source/WebKit/qt

2011-04-18 Andreas Kling <kling@webkit.org>

[Qt] DRT: Unreviewed test fix after r84168.


Dump the original request KURL for blocked access attempts.
Turns out converting it to a QUrl lower-cases the hostname.

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1:43 PM Changeset in webkit [84178] by oliver@apple.com
  • 1 edit in trunk/Source/JavaScriptCore/heap/MarkStack.h

Land all of the last patch

1:40 PM Changeset in webkit [84177] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

Fix build.

  • UIProcess/Plugins/PluginInfoStore.h:
1:34 PM Changeset in webkit [84176] by oliver@apple.com
  • 7 edits in trunk/Source

2011-04-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove DeprecatedPtr
https://bugs.webkit.org/show_bug.cgi?id=58718

As simple as it sounds.

  • runtime/JSValue.h:
  • runtime/WriteBarrier.h:

2011-04-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove DeprecatedPtr
https://bugs.webkit.org/show_bug.cgi?id=58718

Replace use of DeprecatedPtr<> with Global<> as ownership rules
aren't obvious, have filed bug #58820 on seeing if this is safe.

  • bridge/qt/qt_class.cpp: (JSC::Bindings::QtClass::fallbackObject):
  • bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::removeCachedMethod): (JSC::Bindings::QtInstance::markAggregate):
  • bridge/qt/qt_instance.h:
1:34 PM Styling Form Controls edited by morrita@google.com
(diff)
1:29 PM Changeset in webkit [84175] by alex
  • 2 edits in trunk/LayoutTests

2011-04-18 Alejandro G. Castro <alex@igalia.com>

Skipping overhanging-tall-block.html, it is crashing in the GTK+ bots.

  • platform/gtk/Skipped:
1:24 PM Changeset in webkit [84174] by andersca@apple.com
  • 11 edits in trunk/Source/WebKit2

2011-04-18 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Use the message generator for the GetPluginProcessConnection message
https://bugs.webkit.org/show_bug.cgi?id=58815

  • Platform/CoreIPC/HandleMessage.h: (CoreIPC::callMemberFunction): (CoreIPC::handleMessageDelayed): Add helper functions.
  • UIProcess/Plugins/PluginInfoStore.h: Mark class noncopyable.
  • UIProcess/Plugins/PluginProcessManager.cpp: (WebKit::PluginProcessManager::getPluginProcessConnection): This now takes a delayed reply.
  • UIProcess/Plugins/PluginProcessProxy.cpp: (WebKit::PluginProcessProxy::getPluginProcessConnection): This now takes a delayed reply.

(WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
(WebKit::PluginProcessProxy::didCreateWebProcessConnection):
Call DelayedReply::send.

  • UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::getPluginProcessConnection): This now takes a delayed reply.


(WebKit::WebProcessProxy::didReceiveSyncMessage):
No need to handle this message here.

  • UIProcess/WebProcessProxy.messages.in: Add GetPluginProcessConnection message.
  • WebProcess/Plugins/PluginProcessConnectionManager.cpp: (WebKit::PluginProcessConnectionManager::getPluginProcessConnection): Don't use deprecatedSendSync.
1:16 PM QtWebKitFeatures21 edited by Ademar Reis
(diff)
1:07 PM QtWebKitFeatures21 edited by Laszlo Gombos
(diff)
1:04 PM Changeset in webkit [84173] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-18 Anders Carlsson <andersca@apple.com>

Reviewed by Adam Roben.

Finish implementing delayed sync replies in the CoreIPC message generator
https://bugs.webkit.org/show_bug.cgi?id=58814

Put the DelayedReply function definitions in the .cpp file and fix bugs found by
actually trying to compile the generated files.

  • Scripts/webkit2/messages.py:
  • Scripts/webkit2/messages_unittest.py:
12:58 PM Changeset in webkit [84172] by mdelaney@apple.com
  • 2 edits in trunk/Source/WebCore

2011-04-14 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

[CG] Use vImage (un)premultiplyImageData functions for get/putImageData with IOSurfaces
https://bugs.webkit.org/show_bug.cgi?id=58088

  • platform/graphics/cg/ImageBufferDataCG.cpp: (WebCore::convertScanline): un/premultiplies and converts a scanline of image data from/to BGRA to/from RGBA (WebCore::unpremultitplyScanline): (WebCore::premultitplyScanline): (WebCore::ImageBufferData::getData): (WebCore::ImageBufferData::putData):
12:49 PM Changeset in webkit [84171] by yi.4.shen@nokia.com
  • 2 edits in trunk/Source/WebKit/qt

2011-04-18 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] Fix Api tests for QWebPage on Symbian
https://bugs.webkit.org/show_bug.cgi?id=56924

Ignores the style attribute that selectedHtml() returns.

  • tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::cursorMovements): (tst_QWebPage::textSelection): (tst_QWebPage::findText):
12:42 PM Changeset in webkit [84170] by jeffm@apple.com
  • 2 edits in trunk/Source/WebCore

2011-04-18 Jeff Miller <jeffm@apple.com>

Reviewed by Dan Bernstein.

Allow all log channels to be initialized from WebCoreLogLevel Windows environment variable
https://bugs.webkit.org/show_bug.cgi?id=58811

  • platform/win/LoggingWin.cpp: (WebCore::InitializeLoggingChannelsIfNecessary): Support initializing LogResourceLoading, LogProgress, and LogFileAPI from WebCoreLogLevel Windows environment variable.
12:27 PM Changeset in webkit [84169] by scherkus@chromium.org
  • 4 edits
    2 adds in trunk

2011-04-18 Andrew Scherkus <scherkus@chromium.org>

Reviewed by Eric Seidel.

Reset fullscreen element reference when leaving fullscreen mode and some other cleanup.

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

  • fullscreen/full-screen-cancel-expected.txt: Added.
  • fullscreen/full-screen-cancel.html: Added.

2011-04-18 Andrew Scherkus <scherkus@chromium.org>

Reviewed by Eric Seidel.

Reset fullscreen element reference when leaving fullscreen mode and some other cleanup.

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

Test: fullscreen/full-screen-cancel.html

  • dom/Document.cpp: (WebCore::Document::Document): Remove m_isFullscreen. (WebCore::Document::webkitWillEnterFullScreenForElement): (WebCore::Document::webkitWillExitFullScreenForElement): Remove duplicate call to setAnimating(). (WebCore::Document::webkitDidExitFullScreenForElement): Reset m_fullScreenElement reference.
  • dom/Document.h: (WebCore::Document::webkitIsFullScreen): Use m_fullScreenElement instead of m_isFullscreen. (WebCore::Document::webkitFullScreenKeyboardInputAllowed): Ditto.
12:23 PM Changeset in webkit [84168] by commit-queue@webkit.org
  • 4 edits in trunk

2011-04-18 Andreas Kling <kling@webkit.org>

Reviewed by Adam Barth.

[Qt] DRT: Unbreak redirection of http:/ URLs.
https://bugs.webkit.org/show_bug.cgi?id=58779

  • platform/qt/Skipped: Unskip http/tests/loading/cross-origin-XHR-willLoadRequest.html

2011-04-18 Andreas Kling <kling@webkit.org>

Reviewed by Adam Barth.

REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
https://bugs.webkit.org/show_bug.cgi?id=58779

KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
QUrl instead to match the behavior of other ports.

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
12:20 PM Changeset in webkit [84167] by crogers@google.com
  • 2 edits in trunk/LayoutTests

2011-04-18 Chris Rogers <crogers@google.com>

Unreviewed.

Update test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=58810

  • platform/chromium/test_expectations.txt:
12:18 PM Changeset in webkit [84166] by mitz@apple.com
  • 3 edits
    4 adds in trunk

<rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off when moving the mouse.
https://bugs.webkit.org/show_bug.cgi?id=58500

Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/repaint/text-in-relative-positioned-inline.html

  • rendering/RenderText.cpp:

(WebCore::RenderText::clippedOverflowRectForRepaint): Use the container’s repaint rect, not
the containing block’s. This matters when the containing block is outside the RenderText’s
enclosing layer, as is the case here.

LayoutTests:

  • fast/repaint/text-in-relative-positioned-inline-expected.checksum: Added.
  • fast/repaint/text-in-relative-positioned-inline-expected.png: Added.
  • fast/repaint/text-in-relative-positioned-inline-expected.txt: Added.
  • fast/repaint/text-in-relative-positioned-inline.html: Added.
12:04 PM Changeset in webkit [84165] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-18 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

add labels to results html page
https://bugs.webkit.org/show_bug.cgi?id=58803

-fix iframe size to be the size of the png results
-fix a bunch of aesthetic nits
-fix some incorrectly styled code

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
11:45 AM Changeset in webkit [84164] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/efl

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84155.
http://trac.webkit.org/changeset/84155
https://bugs.webkit.org/show_bug.cgi?id=58802

"paintEntireContents flag is used for painting outside of the
screen. It's not the right way to fix EFL tiled backing
store." (Requested by demarchi on #webkit).

  • ewk/ewk_view_tiled.c: (_ewk_view_tiled_smart_add):
11:16 AM Changeset in webkit [84163] by senorblanco@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-15 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

Speed up DrawingBuffer::reset().
https://bugs.webkit.org/show_bug.cgi?id=58706

When DrawingBuffer::reset() is called, it should not reallocate
the FBOs if the size has not changed. It should just do a glClear().

Covered by tests in fast/canvas and canvas/philip.

  • platform/graphics/chromium/DrawingBufferChromium.cpp: (WebCore::DrawingBuffer::DrawingBuffer): Initialize the size to -1, -1, so the size change check will work on first reset.
  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::reset): If the size hasn't changed, don't resize the FBOs. Just clear the relevant buffers.
11:00 AM Changeset in webkit [84162] by jamesr@google.com
  • 4 edits in branches/chromium/696/Source/WebCore

Merge 83551 - 2011-04-11 Alexey Marinichev <amarinichev@chromium.org> Reviewed by James Robinson. LayerChromium/CCLayerImpl ownership fix https://bugs.webkit.org/show_bug.cgi?id=58283 CCLayerImpl's m_owner field lifetime should match the lifetime of the corresponding LayerChromium. This change moves resetting of m_owner into LayerChromium's destructor. Tested similarly to bug 57577. * platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::~LayerChromium): * platform/graphics/chromium/cc/CCLayerImpl.cpp: (WebCore::CCLayerImpl::cleanupResources): * platform/graphics/chromium/cc/CCLayerImpl.h: (WebCore::CCLayerImpl::resetOwner):
TBR=commit-queue@webkit.org
BUG=cros 14249

10:56 AM QtWebKitFeatures21 edited by Ademar Reis
(diff)
10:51 AM Changeset in webkit [84161] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: group resources by type in the resources panel.
https://bugs.webkit.org/show_bug.cgi?id=58796

10:50 AM QtWebKitFeatures21 edited by Ademar Reis
(diff)
10:50 AM QtWebKitRelease21 edited by Ademar Reis
(diff)
10:41 AM Changeset in webkit [84160] by commit-queue@webkit.org
  • 9 edits in trunk

2011-04-18 Chang Shu <cshu@webkit.org>

Reviewed by Eric Seidel.

WebKitTestRunner needs layoutTestController.pathToLocalResource
https://bugs.webkit.org/show_bug.cgi?id=42541

Unskip passed tests.

  • platform/mac-wk2/Skipped:
  • platform/qt-wk2/Skipped:

2011-04-18 Chang Shu <cshu@webkit.org>

Reviewed by Eric Seidel.

WebKitTestRunner needs layoutTestController.pathToLocalResource
https://bugs.webkit.org/show_bug.cgi?id=42541

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  • WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm: (WTR::LayoutTestController::pathToLocalResource):
  • WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp: (WTR::LayoutTestController::pathToLocalResource):
  • WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp: (WTR::LayoutTestController::pathToLocalResource):
10:34 AM Changeset in webkit [84159] by timothy@apple.com
  • 2 edits in trunk/Source/WebKit/win

Remove the two commands that make en.lproj and copy Localizable.strings.

Rubber-stamped by Adam Roben.

  • WebKit.vcproj/WebKitLibPostBuild.cmd:
10:29 AM Changeset in webkit [84158] by timothy@apple.com
  • 5 edits
    1 delete in trunk

Make update-webkit-localizable-strings put WebKit/win strings in WebCore
now that all localized strings in WebKit/win use WEB_UI_STRING.

https://webkit.org/b/58747

Reviewed by Dan Bernstein.

Source/WebCore:

  • English.lproj/Localizable.strings: Updated with strings from WebKit/win.

Source/WebKit:

  • English.lproj/Localizable.strings: Removed.

Tools:

  • Scripts/update-webkit-localizable-strings: Remove the code that updated WebKit/win differently.
10:18 AM Changeset in webkit [84157] by commit-queue@webkit.org
  • 1 edit
    11 adds in trunk/LayoutTests

2011-04-18 Hao Zheng <zhenghao@chromium.org>

Reviewed by Eric Seidel.

Rebaseline 3 tests under chromium-gpu-linux port.
https://bugs.webkit.org/show_bug.cgi?id=58627

  • platform/chromium-gpu-linux/fast/media: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.checksum: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.png: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.txt: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.checksum: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.png: Added.
  • platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.txt: Added.
  • platform/chromium-gpu-linux/fast/repaint: Added.
  • platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.checksum: Added.
  • platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.png: Added.
  • platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.txt: Added.
10:14 AM Changeset in webkit [84156] by morrita@google.com
  • 4 edits in trunk/Source/WebCore

2011-04-15 MORITA Hajime <morrita@google.com>

Reviewed by Adam Barth.

REGRESSION: <progress> doesn't animate if it doesn't have value
https://bugs.webkit.org/show_bug.cgi?id=58693

The initial value of RenderProgress::m_position is accidentally same as
the indeterminate value, that makes update code on updateFromElement() skipped.
This change set unique invalid value for the initial value of m_position.

No new tests. Testing animated bar is not possible with DRT.

  • html/HTMLProgressElement.cpp: (WebCore::HTMLProgressElement::position):
  • html/HTMLProgressElement.h:
  • rendering/RenderProgress.cpp: (WebCore::RenderProgress::RenderProgress): (WebCore::RenderProgress::isDeterminate):
10:13 AM Changeset in webkit [84155] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/efl

2011-04-18 Eunsol Park <eunsol47.park@samsung.com>

Reviewed by Eric Seidel.

[EFL] Scroll doesn't work on tiled backing store
https://bugs.webkit.org/show_bug.cgi?id=55021

Scroll doesn't work on tiled backing store, but it works on single.
If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made.
so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add().

  • ewk/ewk_view_tiled.c: (_ewk_view_tiled_smart_add):
10:08 AM Changeset in webkit [84154] by Patrick Gansterer
  • 3 edits in trunk/Tools

2011-04-18 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Roben.

[WIN] Use WCHAR instead of TCHAR
https://bugs.webkit.org/show_bug.cgi?id=58755

We always use the UNICODE versions of windows functions, so
the usage of TCHAR makes no sense and mixing them is bad style.

  • WinLauncher/PrintWebUIDelegate.cpp: Also fix various style issues (including indentation and removal of ugly C-casts).
  • WinLauncher/WinLauncher.cpp:
9:55 AM Changeset in webkit [84153] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-18 Anders Carlsson <andersca@apple.com>

Reviewed by Adam Roben.

Reproducible crash in Find on Page, on pages that use accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=58793
<rdar://problem/9295870>

Move the call to PageOverlay::setNeedsDisplay() back to WebPage::installPageOverlay;
it needs to be called after we've told the drawing area that a page overlay has been installed.

  • WebProcess/WebPage/PageOverlay.cpp: (WebKit::PageOverlay::setPage):
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::installPageOverlay):
9:48 AM Changeset in webkit [84152] by morrita@google.com
  • 2 edits in trunk/Source/WebCore

2011-04-18 MORITA Hajime <morrita@google.com>

Reviewed by Eric Seidel.

REGRESSION: [Chromium Win] details-add-summary-1.html start crashing after r84039
https://bugs.webkit.org/show_bug.cgi?id=58791

On refreshMainSummary(), findMainSummary() possibly releases oldSummary.
We should guard it again RefPtr.

  • html/HTMLDetailsElement.cpp: (WebCore::HTMLDetailsElement::refreshMainSummary):
9:37 AM Changeset in webkit [84151] by Antti Koivisto
  • 2 edits in trunk/Source/WebCore

CSSSelector double frees
https://bugs.webkit.org/show_bug.cgi?id=56124
<rdar://problem/9119036>

Reviewed by Simon Fraser.

In all stacks this is occuring when the document is kept alive by the guard ref only
and the node holding it is deleted.

As a speculative fix, clear the document stylesheets when it turns into a guard ref zombie.
This has a pretty good chance of fixing the actual bug. At minimum it will move the
crash to an earlier, more easily traceble point.

No tests, crash stacks only, no idea how to reproduce.

  • dom/Document.cpp:

(WebCore::Document::removedLastRef):

9:23 AM Changeset in webkit [84150] by apavlov@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Backspace in the Console is broken
https://bugs.webkit.org/show_bug.cgi?id=58764

  • inspector/front-end/inspector.js: (WebInspector.documentKeyDown):
9:13 AM Changeset in webkit [84149] by hans@chromium.org
  • 14 edits
    7 adds in trunk

2011-04-18 Hans Wennborg <hans@chromium.org>

Reviewed by Steve Block.

LevelDB backend for IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=57372

Add LevelDB wrappers to Android.mk.

  • Source/Android.mk:

2011-04-18 Hans Wennborg <hans@chromium.org>

Reviewed by Steve Block.

LevelDB backend for IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=57372

Only available behind a run-time flag. Covered by existing layout
tests.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.pro:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/leveldb/LevelDBComparator.h: Added. (WebCore::LevelDBComparator::~LevelDBComparator):
  • platform/leveldb/LevelDBDatabase.cpp: Added. (WebCore::makeSlice): (WebCore::makeLevelDBSlice): (WebCore::makeVector): (WebCore::LevelDBDatabase::LevelDBDatabase): (WebCore::LevelDBDatabase::~LevelDBDatabase): (WebCore::LevelDBDatabase::open): (WebCore::LevelDBDatabase::put): (WebCore::LevelDBDatabase::remove): (WebCore::LevelDBDatabase::get): (WebCore::LevelDBDatabase::newIterator):
  • platform/leveldb/LevelDBDatabase.h: Added.
  • platform/leveldb/LevelDBIterator.cpp: Added. (WebCore::LevelDBIterator::~LevelDBIterator): (WebCore::LevelDBIterator::LevelDBIterator): (WebCore::makeSlice): (WebCore::makeLevelDBSlice): (WebCore::LevelDBIterator::isValid): (WebCore::LevelDBIterator::seekToLast): (WebCore::LevelDBIterator::seek): (WebCore::LevelDBIterator::next): (WebCore::LevelDBIterator::prev): (WebCore::LevelDBIterator::key): (WebCore::LevelDBIterator::value):
  • platform/leveldb/LevelDBIterator.h: Added.
  • platform/leveldb/LevelDBSlice.h: Added. (WebCore::LevelDBSlice::LevelDBSlice): (WebCore::LevelDBSlice::~LevelDBSlice): (WebCore::LevelDBSlice::begin): (WebCore::LevelDBSlice::end):
  • storage/IDBLevelDBBackingStore.cpp: (WebCore::encodeByte): (WebCore::maxIDBKey): (WebCore::minIDBKey): (WebCore::encodeInt): (WebCore::decodeInt): (WebCore::encodeVarInt): (WebCore::decodeVarInt): (WebCore::encodeString): (WebCore::decodeString): (WebCore::encodeStringWithLength): (WebCore::decodeStringWithLength): (WebCore::encodeDouble): (WebCore::decodeDouble): (WebCore::encodeIDBKey): (WebCore::decodeIDBKey): (WebCore::extractEncodedIDBKey): (WebCore::compareEncodedIDBKeys): (WebCore::getInt): (WebCore::putInt): (WebCore::getString): (WebCore::putString): (WebCore::KeyPrefix::SchemaVersionKey::encode): (WebCore::KeyPrefix::MaxDatabaseIdKey::encode): (WebCore::KeyPrefix::DatabaseFreeListKey::DatabaseFreeListKey): (WebCore::KeyPrefix::DatabaseFreeListKey::decode): (WebCore::KeyPrefix::DatabaseFreeListKey::encode): (WebCore::KeyPrefix::DatabaseFreeListKey::databaseId): (WebCore::KeyPrefix::DatabaseFreeListKey::compare): (WebCore::KeyPrefix::DatabaseNameKey::decode): (WebCore::KeyPrefix::DatabaseNameKey::encode): (WebCore::KeyPrefix::DatabaseNameKey::origin): (WebCore::KeyPrefix::DatabaseNameKey::databaseName): (WebCore::KeyPrefix::DatabaseNameKey::compare): (WebCore::KeyPrefix::DatabaseMetaDataKey::encode): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::ObjectStoreMetaDataKey): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::decode): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::encode): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::objectStoreId): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::metaDataType): (WebCore::KeyPrefix::ObjectStoreMetaDataKey::compare): (WebCore::KeyPrefix::IndexMetaDataKey::IndexMetaDataKey): (WebCore::KeyPrefix::IndexMetaDataKey::decode): (WebCore::KeyPrefix::IndexMetaDataKey::encode): (WebCore::KeyPrefix::IndexMetaDataKey::compare): (WebCore::KeyPrefix::IndexMetaDataKey::indexId): (WebCore::KeyPrefix::IndexMetaDataKey::metaDataType): (WebCore::KeyPrefix::ObjectStoreFreeListKey::ObjectStoreFreeListKey): (WebCore::KeyPrefix::ObjectStoreFreeListKey::decode): (WebCore::KeyPrefix::ObjectStoreFreeListKey::encode): (WebCore::KeyPrefix::ObjectStoreFreeListKey::objectStoreId): (WebCore::KeyPrefix::ObjectStoreFreeListKey::compare): (WebCore::KeyPrefix::IndexFreeListKey::IndexFreeListKey): (WebCore::KeyPrefix::IndexFreeListKey::decode): (WebCore::KeyPrefix::IndexFreeListKey::encode): (WebCore::KeyPrefix::IndexFreeListKey::compare): (WebCore::KeyPrefix::IndexFreeListKey::objectStoreId): (WebCore::KeyPrefix::IndexFreeListKey::indexId): (WebCore::KeyPrefix::ObjectStoreNamesKey::decode): (WebCore::KeyPrefix::ObjectStoreNamesKey::encode): (WebCore::KeyPrefix::ObjectStoreNamesKey::compare): (WebCore::KeyPrefix::ObjectStoreNamesKey::objectStoreName): (WebCore::KeyPrefix::IndexNamesKey::IndexNamesKey): (WebCore::KeyPrefix::IndexNamesKey::decode): (WebCore::KeyPrefix::IndexNamesKey::encode): (WebCore::KeyPrefix::IndexNamesKey::compare): (WebCore::KeyPrefix::IndexNamesKey::indexName): (WebCore::KeyPrefix::ObjectStoreDataKey::decode): (WebCore::KeyPrefix::ObjectStoreDataKey::encode): (WebCore::KeyPrefix::ObjectStoreDataKey::compare): (WebCore::KeyPrefix::ObjectStoreDataKey::userKey): (WebCore::KeyPrefix::ExistsEntryKey::decode): (WebCore::KeyPrefix::ExistsEntryKey::encode): (WebCore::KeyPrefix::ExistsEntryKey::compare): (WebCore::KeyPrefix::ExistsEntryKey::userKey): (WebCore::KeyPrefix::IndexDataKey::IndexDataKey): (WebCore::KeyPrefix::IndexDataKey::decode): (WebCore::KeyPrefix::IndexDataKey::encode): (WebCore::KeyPrefix::IndexDataKey::encodeMaxKey): (WebCore::KeyPrefix::IndexDataKey::compare): (WebCore::KeyPrefix::IndexDataKey::databaseId): (WebCore::KeyPrefix::IndexDataKey::objectStoreId): (WebCore::KeyPrefix::IndexDataKey::indexId): (WebCore::KeyPrefix::IndexDataKey::userKey): (WebCore::KeyPrefix::realCompare): (WebCore::KeyPrefix::compareKeys): (WebCore::KeyPrefix::compareIndexKeys): (WebCore::KeyPrefix::Comparator::compare): (WebCore::KeyPrefix::Comparator::name): (WebCore::setUpMetadata): (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore): (WebCore::IDBLevelDBBackingStore::open): (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData): (WebCore::getNewDatabaseId): (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData): (WebCore::IDBLevelDBBackingStore::getObjectStores): (WebCore::getNewObjectStoreId): (WebCore::IDBLevelDBBackingStore::createObjectStore): (WebCore::deleteRange): (WebCore::IDBLevelDBBackingStore::deleteObjectStore): (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord): (WebCore::getNewVersionNumber): (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord): (WebCore::IDBLevelDBBackingStore::clearObjectStore): (WebCore::IDBLevelDBBackingStore::createInvalidRecordIdentifier): (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord): (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber): (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore): (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord): (WebCore::IDBLevelDBBackingStore::getIndexes): (WebCore::getNewIndexId): (WebCore::IDBLevelDBBackingStore::createIndex): (WebCore::IDBLevelDBBackingStore::deleteIndex): (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord): (WebCore::findGreatestKeyLessThan): (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord): (WebCore::IDBLevelDBBackingStore::getObjectViaIndex): (WebCore::versionExists): (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex): (WebCore::IDBLevelDBBackingStore::keyExistsInIndex): (WebCore::findLastIndexKeyEqualTo): (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor): (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor): (WebCore::IDBLevelDBBackingStore::openIndexCursor): (WebCore::IDBLevelDBBackingStore::createTransaction):
  • storage/IDBLevelDBBackingStore.h:
8:59 AM Changeset in webkit [84148] by pfeldman@chromium.org
  • 7 edits
    3 adds in trunk

2011-04-18 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add test for CSS-resource binding.
https://bugs.webkit.org/show_bug.cgi?id=58786

  • inspector/styles/resources/styles-history.css: Added. (body):
  • inspector/styles/styles-history-expecte.txt: Added.
  • inspector/styles/styles-history.html: Added.
  • inspector/styles/styles-source-offsets.html:

2011-04-18 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add test for CSS-resource binding.
https://bugs.webkit.org/show_bug.cgi?id=58786

Test: inspector/styles/styles-history.html

  • inspector/InspectorCSSAgent.cpp: (WebCore::InspectorCSSAgent::setPropertyText): (WebCore::InspectorCSSAgent::toggleProperty):
  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyle::setPropertyText): (WebCore::InspectorStyle::toggleProperty): (WebCore::InspectorStyleSheet::setPropertyText): (WebCore::InspectorStyleSheet::toggleProperty):
  • inspector/InspectorStyleSheet.h:
  • inspector/front-end/CSSStyleModel.js: (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.if): (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.mycallback): (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged): (WebInspector.CSSStyleModel.prototype.setStyleSheetText): (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt): (WebInspector.CSSProperty.prototype.setText.callback): (WebInspector.CSSProperty.prototype.setText):
8:56 AM Changeset in webkit [84147] by commit-queue@webkit.org
  • 5 edits in trunk

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r83996.
http://trac.webkit.org/changeset/83996
https://bugs.webkit.org/show_bug.cgi?id=58790

layout test editing/selection/move-by-word-visually.html is
failing (Requested by jknotten on #webkit).

  • editing/selection/move-by-word-visually-expected.txt:
  • editing/selection/move-by-word-visually.html:

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r83996.
http://trac.webkit.org/changeset/83996
https://bugs.webkit.org/show_bug.cgi?id=58790

layout test editing/selection/move-by-word-visually.html is
failing (Requested by jknotten on #webkit).

  • editing/visible_units.cpp: (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality): (WebCore::collectWordBreaksInBoxInsideBlockWithDifferntDirectionality): (WebCore::previousWordBreakInBox): (WebCore::leftWordBoundary): (WebCore::rightWordBoundary): (WebCore::leftWordPosition): (WebCore::rightWordPosition):
8:32 AM Changeset in webkit [84146] by Patrick Gansterer
  • 19 edits in trunk/Source/WebKit/win

2011-04-18 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Roben.

Include <WebCore/COMPtr.h> instead of "COMPtr.h"
https://bugs.webkit.org/show_bug.cgi?id=58744

  • DOMCoreClasses.cpp:
  • DOMHTMLClasses.cpp:
  • WebActionPropertyBag.cpp:
  • WebBackForwardList.cpp:
  • WebCoreSupport/WebGeolocationClient.h:
  • WebDownload.h:
  • WebDropSource.h:
  • WebFrame.cpp:
  • WebHistoryItem.cpp:
  • WebIconDatabase.cpp:
  • WebNavigationData.h:
  • WebPreferences.cpp:
  • WebResource.h:
  • WebURLAuthenticationChallenge.cpp:
  • WebURLAuthenticationChallengeSender.cpp:
  • WebURLAuthenticationChallengeSenderCFNet.cpp:
  • WebURLAuthenticationChallengeSenderCurl.cpp:
  • WebView.h:
8:13 AM Changeset in webkit [84145] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Adam Bergkvist <adam.bergkvist@ericsson.com>

Reviewed by Daniel Bates.

Modify make_names.pl to not include conditional includes unconditionally
https://bugs.webkit.org/show_bug.cgi?id=53672

Fixed conditional includes being unconditionally included.

No new tests (no change in functionality)

  • dom/make_names.pl:
    • Modified printJSElementIncludes() to only print unconditional element includes.
    • Modified printElementIncludes() to only print unconditional element includes.
    • Added printConditionalElementIncludes() which takes care of printing conditional element includes.
7:55 AM Changeset in webkit [84144] by jeffm@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-04-18 Jeff Miller <jeffm@apple.com>

Reviewed by Timothy Hatcher.

WKFrameLoadState should be a uint32_t to match our API conventions
https://bugs.webkit.org/show_bug.cgi?id=58785

  • UIProcess/API/C/WKFrame.h: typedef WKFrameLoadState as a uint32_t and define its values as an anonymous enum.
7:44 AM Changeset in webkit [84143] by inferno@chromium.org
  • 3 edits
    4 deletes in trunk

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r83803.
http://trac.webkit.org/changeset/83803
https://bugs.webkit.org/show_bug.cgi?id=58782

Caused focus rings to appear in youtube videos (Requested by
inferno-sec on #webkit).

  • rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint):

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r83803.
http://trac.webkit.org/changeset/83803
https://bugs.webkit.org/show_bug.cgi?id=58782

Caused focus rings to appear in youtube videos (Requested by
inferno-sec on #webkit).

  • fast/frames/iframe-outline.html: Removed.
  • platform/mac/fast/frames/iframe-outline-expected.checksum: Removed.
  • platform/mac/fast/frames/iframe-outline-expected.png: Removed.
  • platform/mac/fast/frames/iframe-outline-expected.txt: Removed.
7:25 AM Changeset in webkit [84142] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip a flaky test on Windows

<http://webkit.org/b/58367> tracks the failure.

  • platform/win/Skipped: Added http/tests/inspector/resource-tree-model.html.
7:19 AM Changeset in webkit [84141] by apavlov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-04-18 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Need a workaround for bug 58422
https://bugs.webkit.org/show_bug.cgi?id=58780

Instead of the A:before content, the link text is displayed as the A tag content.

  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertiesSection.linkifyUncopyable): (WebInspector.StylePropertiesSection):
  • inspector/front-end/inspector.css:
7:15 AM Changeset in webkit [84140] by jknotten@chromium.org
  • 5 edits in trunk/LayoutTests

2011-04-18 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline for fast/html/details-add-summary-1
https://bugs.webkit.org/show_bug.cgi?id=58783

Following changes to after changes to RenderDetailsMarker (r84039).

  • platform/chromium-linux/fast/html/details-add-summary-1-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-1-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-1-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-1-expected.txt:
6:56 AM Changeset in webkit [84139] by commit-queue@webkit.org
  • 8 edits in trunk

2011-04-18 Dominic Cooney <dominicc@chromium.org>

Reviewed by Andreas Kling.

Add layoutTestController.shadowRoot to Qt DRT.
https://bugs.webkit.org/show_bug.cgi?id=58759

  • platform/qt/Skipped: unskip fast/dom/HTMLKeygenElement now

2011-04-18 Dominic Cooney <dominicc@chromium.org>

Reviewed by Andreas Kling.

Add layoutTestController.shadowRoot to Qt DRT.
https://bugs.webkit.org/show_bug.cgi?id=58759

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::shadowRoot): Added.
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-04-18 Dominic Cooney <dominicc@chromium.org>

Reviewed by Andreas Kling.

Add layoutTestController.shadowRoot to Qt DRT.
https://bugs.webkit.org/show_bug.cgi?id=58759

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::shadowRoot): Added.
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
6:54 AM Changeset in webkit [84138] by Carlos Garcia Campos
  • 4 edits
    1 copy in trunk/Source/WebKit2

2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Fix WebKit2 GTK build after 84017.

  • GNUmakefile.am:
  • Shared/NativeWebMouseEvent.h: (WebKit::NativeWebMouseEvent::nativeEvent):
  • Shared/gtk/NativeWebMouseEventGtk.cpp: Copied from Source/WebKit2/Shared/NativeWebMouseEvent.h. (WebKit::NativeWebMouseEvent::NativeWebMouseEvent):
  • UIProcess/gtk/WebView.cpp: (WebKit::WebView::handleMouseEvent):
6:49 AM Changeset in webkit [84137] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebCore

2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Fix WebKit2 GTK build after 82465.

  • platform/gtk/LocalizedStringsGtk.cpp: (WebCore::localizedString):
6:36 AM Changeset in webkit [84136] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Andrey Adaikin <aandrey@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: TAB should not move focus from the text editor while live editing
https://bugs.webkit.org/show_bug.cgi?id=58537

  • inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._registerShortcuts): (WebInspector.TextViewer.prototype._cancelEditing): (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo): (WebInspector.TextEditorMainPanel.prototype.handleTabKeyPress): (WebInspector.TextEditorMainPanel.prototype._setCaretLocation): (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates): (WebInspector.TextEditorMainPanel.prototype._setText):
6:32 AM Changeset in webkit [84135] by apavlov@chromium.org
  • 3 edits
    2 adds in trunk

2011-04-18 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
https://bugs.webkit.org/show_bug.cgi?id=58551

  • inspector/styles/metrics-box-sizing-expected.txt: Added.
  • inspector/styles/metrics-box-sizing.html: Added.

2011-04-18 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
https://bugs.webkit.org/show_bug.cgi?id=58551

Test: inspector/styles/metrics-box-sizing.html

  • inspector/front-end/MetricsSidebarPane.js: (WebInspector.MetricsSidebarPane.prototype._getPropertyValueAsPx): (WebInspector.MetricsSidebarPane.prototype._getBox): (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaWidthPx): (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaHeightPx): (WebInspector.MetricsSidebarPane.prototype._update): (WebInspector.MetricsSidebarPane.prototype.startEditing): (WebInspector.MetricsSidebarPane.prototype.editingCommitted.setEnabledValueCallback): (WebInspector.MetricsSidebarPane.prototype.editingCommitted):
5:25 AM Changeset in webkit [84134] by loislo@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-04-18 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Database agent stops to propagate it's events after navigation.
https://bugs.webkit.org/show_bug.cgi?id=58776

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
  • inspector/InspectorDatabaseAgent.cpp: (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent): (WebCore::InspectorDatabaseAgent::clearFrontend): (WebCore::InspectorDatabaseAgent::enable): (WebCore::InspectorDatabaseAgent::disable): (WebCore::InspectorDatabaseAgent::restore):
  • inspector/InspectorDatabaseAgent.h: (WebCore::InspectorDatabaseAgent::create):
5:15 AM Changeset in webkit [84133] by caseq@chromium.org
  • 2 edits
    12 adds
    2 deletes in trunk/LayoutTests

011-04-18 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Added chromium baselines for new tests.

  • platform/chromium-linux/fast/text/zero-font-size-expected.png: Added.
  • platform/chromium-mac-leopard/fast/text/zero-font-size-expected.png: Added.
  • platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
  • platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png: Added.
  • platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
  • platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Added.
  • platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-background-none-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/select-background-none-expected.png: Removed.
  • platform/chromium-win/fast/forms/select-background-none-expected.png: Added.
  • platform/chromium-win/fast/forms/select-background-none-expected.txt: Added.
  • platform/chromium-win/fast/frames/iframe-outline-expected.png: Added.
  • platform/chromium-win/fast/text/zero-font-size-expected.png: Added.
  • platform/chromium-win/fast/text/zero-font-size-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
4:54 AM Changeset in webkit [84132] by caseq@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-18 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Added suppressions for shadow texts broken by r83936.

  • platform/chromium/test_expectations.txt:
4:51 AM Changeset in webkit [84131] by jknotten@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-18 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Update test expectations for canvas/philip/tests/2d.gradient.interpolate.outside.html
https://bugs.webkit.org/show_bug.cgi?id=58777

Regression caused by Skia roll: Chromium r81836.

  • platform/chromium/test_expectations.txt:
4:29 AM Changeset in webkit [84130] by Patrick Gansterer
  • 2 edits in trunk

2011-04-18 Patrick Gansterer <Patrick Gansterer>

Reviewed by Pavel Feldman.

REGRESSION (r81479): generate-inspector-idl fails on native win32
https://bugs.webkit.org/show_bug.cgi?id=58315

Disable git autocrlf for Inspector.json.

  • .gitattributes:
4:16 AM Changeset in webkit [84129] by jknotten@chromium.org
  • 89 edits
    1 copy
    1 add in trunk/LayoutTests

2011-04-18 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline after changes to RenderDetailsMarker (Linux, Mac) (r84039)
https://bugs.webkit.org/show_bug.cgi?id=58775

  • platform/chromium-linux/fast/html/details-add-summary-1-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-10-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-10-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-2-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-2-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-3-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-3-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-4-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-4-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-5-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-5-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-6-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-6-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-7-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-7-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-8-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-8-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-9-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-add-summary-9-expected.png:
  • platform/chromium-linux/fast/html/details-no-summary1-expected.png:
  • platform/chromium-linux/fast/html/details-no-summary2-expected.png:
  • platform/chromium-linux/fast/html/details-no-summary3-expected.png:
  • platform/chromium-linux/fast/html/details-no-summary4-expected.png:
  • platform/chromium-linux/fast/html/details-open-javascript-expected.png:
  • platform/chromium-linux/fast/html/details-open1-expected.png:
  • platform/chromium-linux/fast/html/details-open2-expected.png:
  • platform/chromium-linux/fast/html/details-open3-expected.png:
  • platform/chromium-linux/fast/html/details-open4-expected.png:
  • platform/chromium-linux/fast/html/details-open5-expected.png:
  • platform/chromium-linux/fast/html/details-open6-expected.png:
  • platform/chromium-linux/fast/html/details-position-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-1-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-1-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-2-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-2-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-3-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-3-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-4-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-4-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-5-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-5-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-6-and-click-expected.png:
  • platform/chromium-linux/fast/html/details-remove-summary-6-expected.png:
  • platform/chromium-linux/fast/html/details-writing-mode-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-1-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-10-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-10-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-2-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-2-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-3-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-3-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-4-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-4-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-5-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-6-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-6-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-7-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-7-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-8-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-8-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-9-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-add-summary-9-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-no-summary1-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-no-summary2-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-no-summary3-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-no-summary4-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open-javascript-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open1-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open2-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open3-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open4-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open5-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-open6-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-position-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-1-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-1-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-2-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-2-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-3-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-3-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-4-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-4-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-5-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-5-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-6-and-click-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-remove-summary-6-expected.png:
  • platform/chromium-mac-leopard/fast/html/details-writing-mode-expected.png:
  • platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png.
  • platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Added.
2:47 AM Changeset in webkit [84128] by loislo@chromium.org
  • 4 edits in trunk/Tools

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84111.
http://trac.webkit.org/changeset/84111
https://bugs.webkit.org/show_bug.cgi?id=58771

Chromium linux layout tests are broken. (Requested by loislo2
on #webkit).

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt.py:
2:45 AM Changeset in webkit [84127] by loislo@chromium.org
  • 3 edits in trunk/Tools

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84112.
http://trac.webkit.org/changeset/84112
https://bugs.webkit.org/show_bug.cgi?id=58770

Chromium linux layout tests are broken. (Requested by loislo2
on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2:34 AM Changeset in webkit [84126] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r83968.
http://trac.webkit.org/changeset/83968
https://bugs.webkit.org/show_bug.cgi?id=58769

Breaks Backspace in Web Inspector console (Requested by
apavlov on #webkit).

  • inspector/front-end/inspector.js: (WebInspector.documentKeyDown):
2:27 AM Changeset in webkit [84125] by yurys@chromium.org
  • 14 edits
    1 copy
    1 add in trunk/Source/WebCore

2011-04-15 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: introduce WorkerInspectorController
https://bugs.webkit.org/show_bug.cgi?id=58668

WorkerInspectorController will be owned by WorkerContext and will hold all inspector
agents and will also manage connection to the inspector frontend.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/ScriptState.cpp: (WebCore::scriptStateFromWorkerContext):
  • bindings/js/ScriptState.h:
  • bindings/v8/ScriptState.cpp: (WebCore::scriptStateFromWorkerContext):
  • bindings/v8/ScriptState.h:
  • inspector/InspectorState.cpp: (WebCore::InspectorState::updateCookie):
  • inspector/WorkerInspectorController.cpp: Added. (WebCore::WorkerInspectorController::WorkerInspectorController): (WebCore::WorkerInspectorController::~WorkerInspectorController): (WebCore::WorkerInspectorController::connectFrontend): (WebCore::WorkerInspectorController::disconnectFrontend): (WebCore::WorkerInspectorController::dispatchMessageFromFrontend):
  • inspector/WorkerInspectorController.h: Copied from Source/WebCore/bindings/js/ScriptState.h.
  • workers/WorkerContext.cpp: (WebCore::WorkerContext::WorkerContext):
  • workers/WorkerContext.h: (WebCore::WorkerContext::workerInspectorController):
2:15 AM Changeset in webkit [84124] by jknotten@chromium.org
  • 90 edits in trunk/LayoutTests

2011-04-18 John Knottenbelt <jknotten@chromium.org>

Unreviewed.

[Chromium] Rebaseline after changes to RenderDetailsMarker (r84039)
https://bugs.webkit.org/show_bug.cgi?id=58767

  • platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-10-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-10-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-2-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-2-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-3-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-3-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-4-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-4-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-5-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-5-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-6-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-6-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-7-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-7-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-8-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-8-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-9-expected.png:
  • platform/chromium-win/fast/html/details-add-summary-9-expected.txt:
  • platform/chromium-win/fast/html/details-no-summary1-expected.png:
  • platform/chromium-win/fast/html/details-no-summary1-expected.txt:
  • platform/chromium-win/fast/html/details-no-summary2-expected.png:
  • platform/chromium-win/fast/html/details-no-summary2-expected.txt:
  • platform/chromium-win/fast/html/details-no-summary3-expected.png:
  • platform/chromium-win/fast/html/details-no-summary3-expected.txt:
  • platform/chromium-win/fast/html/details-no-summary4-expected.png:
  • platform/chromium-win/fast/html/details-no-summary4-expected.txt:
  • platform/chromium-win/fast/html/details-open-javascript-expected.png:
  • platform/chromium-win/fast/html/details-open-javascript-expected.txt:
  • platform/chromium-win/fast/html/details-open1-expected.png:
  • platform/chromium-win/fast/html/details-open1-expected.txt:
  • platform/chromium-win/fast/html/details-open2-expected.png:
  • platform/chromium-win/fast/html/details-open2-expected.txt:
  • platform/chromium-win/fast/html/details-open3-expected.png:
  • platform/chromium-win/fast/html/details-open3-expected.txt:
  • platform/chromium-win/fast/html/details-open4-expected.png:
  • platform/chromium-win/fast/html/details-open4-expected.txt:
  • platform/chromium-win/fast/html/details-open5-expected.png:
  • platform/chromium-win/fast/html/details-open5-expected.txt:
  • platform/chromium-win/fast/html/details-open6-expected.png:
  • platform/chromium-win/fast/html/details-open6-expected.txt:
  • platform/chromium-win/fast/html/details-position-expected.png:
  • platform/chromium-win/fast/html/details-position-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-1-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-1-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-2-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-2-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-3-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-3-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-4-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-4-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-5-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-5-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-6-expected.png:
  • platform/chromium-win/fast/html/details-remove-summary-6-expected.txt:
  • platform/chromium-win/fast/html/details-writing-mode-expected.png:
  • platform/chromium-win/fast/html/details-writing-mode-expected.txt:
  • platform/chromium/test_expectations.txt:

Apr 17, 2011:

11:53 PM Changeset in webkit [84123] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-17 Thierry Reding <thierry.reding@avionic-design.de>

Reviewed by Adam Barth.

Fix build with GCC 4.6.

  • dom/make_names.pl: Execute preprocessor without the -P option. The preprocessor in GCC 4.6 eats empty lines, effectively breaking the parsing performed by this script. Dropping the -P option when invoking the preprocessor keeps the empty lines but as a side-effect also adds additional linemarkers.

From the cpp manpage:

-P Inhibit generation of linemarkers in the output from the

preprocessor. This might be useful when running the preprocessor
on something that is not C code, and will be sent to a program
which might be confused by the linemarkers.

The linemarkers are not problematic, however, because the script
properly handles them by ignoring all lines starting with a #.

10:36 PM Changeset in webkit [84122] by Csaba Osztrogonác
  • 46 edits
    90 adds in trunk/LayoutTests

Update Qt specific expected files after r84039.

  • platform/qt/fast/html/details-[...] : Updated.
10:15 PM Changeset in webkit [84121] by cwzwarich@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

Reviewed by Dan Bernstein.

JSC no longer builds with Clang due to -Woverloaded-virtual warning
https://bugs.webkit.org/show_bug.cgi?id=58760

Rename Structure's specificValue overload of put to putSpecificValue to avoid
Clang's warning for overloading a virtual function.

  • runtime/Structure.cpp:

(JSC::Structure::addPropertyTransition):
(JSC::Structure::addPropertyWithoutTransition):
(JSC::Structure::putSpecificValue):

  • runtime/Structure.h:
9:06 PM Changeset in webkit [84120] by ddkilzer@apple.com
  • 14 edits in trunk/Source

<http://webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
<rdar://problem/9268729>

Reviewed by Dan Bernstein.

This replaces support for the WebKitEnableHTTPPipelining user
default with methods on the WebCore::ResourceRequest class in
WebCore, the WebView class in WebKit1, and the WebContext class
in WebKit2. It also removes support for the
WebKitForceHTTPPipeliningPriorityHigh user default which was not
needed.

Source/WebCore:

Run these commands if you set the user defaults previously,
replacing "BUNDLE.ID" with your application's bundle ID:

defaults delete BUNDLE.ID WebKitEnableHTTPPipelining
defaults delete BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh

  • WebCore.exp.in: Export ResourceRequest::httpPipeliningEnabled()

and ResourceRequest::setHTTPPipeliningEnabled().

  • platform/network/ResourceRequestBase.h:

(WebCore::isHTTPPipeliningEnabled): Removed declaration.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed declaration.

  • platform/network/cf/ResourceRequest.h:

(WebCore::ResourceRequest::httpPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added declaration.

  • platform/network/cf/ResourceRequestCFNet.cpp:

(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Switched
to use ResourceRequest::httpPipeliningEnabled().
(WebCore::readBooleanPreference): Removed.
(WebCore::isHTTPPipeliningEnabled): Removed.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed.

  • platform/network/mac/ResourceRequestMac.mm:

(WebCore::ResourceRequest::doUpdateResourceRequest): Switched to
use ResourceRequest::httpPipeliningEnabled(). Removed check for
shouldForceHTTPPipeliningPriorityHigh().
(WebCore::ResourceRequest::doUpdatePlatformRequest): Ditto.

Source/WebKit/mac:

  • WebView/WebView.mm:

(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added.

  • WebView/WebViewPrivate.h:

(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added declaration.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added declaration.

Source/WebKit2:

  • UIProcess/API/C/WKContext.cpp:

(_WKContextSetHTTPPipeliningEnabled): Added.

  • UIProcess/API/C/WKContextPrivate.h:

(_WKContextSetHTTPPipeliningEnabled): Added declaration.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::setHTTPPipeliningEnabled): Added.
(WebKit::WebContext::httpPipeliningEnabled): Added.

  • UIProcess/WebContext.h:

(WebKit::WebContext::setHTTPPipeliningEnabled): Added declaration.
(WebKit::WebContext::httpPipeliningEnabled): Added declaration.

7:10 PM Changeset in webkit [84119] by mitz@apple.com
  • 7 edits in trunk

REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
https://bugs.webkit.org/show_bug.cgi?id=58736

Reviewed by Maciej Stachowiak.

Source/WebCore:

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so
that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange()
always dirties the line after the last one in the range.

LayoutTests:

Revert to the correct results.

  • platform/chromium-win/fast/block/float/032-expected.txt:
  • platform/gtk/fast/block/float/032-expected.txt:
  • platform/mac/fast/block/float/032-expected.txt:
  • platform/qt/fast/block/float/032-expected.txt:
5:10 PM Changeset in webkit [84118] by weinig@apple.com
  • 5 edits in trunk/Source/WebKit2

2011-04-17 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Make more strings in WebKit2 localizable
https://bugs.webkit.org/show_bug.cgi?id=58757

  • UIProcess/API/mac/PDFViewController.mm: (-[WKPDFView menuForEvent:]):
  • UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setViewportArguments): (WebKit::PageClientImpl::registerEditCommand):
  • UIProcess/WebEditCommandProxy.cpp: (WebKit::WebEditCommandProxy::nameForEditAction):
  • UIProcess/WebEditCommandProxy.h: Use WebCore's localization macro to make more strings localizable.
4:58 PM Changeset in webkit [84117] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Unreviewed. Add missing include to fix build without precompiled header.

  • rendering/RenderMediaControls.cpp:
4:50 PM Changeset in webkit [84116] by dbates@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-17 Daniel Bates <dbates@webkit.org>

Attempt to fix the Chromium build after changeset 84110 <http://trac.webkit.org/changeset/84110>
(https://bugs.webkit.org/show_bug.cgi?id=57842).

  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::canRequest): Rename CachedResource::LinkPrefetch to CachedResource::LinkResource.
4:33 PM Changeset in webkit [84115] by dbates@webkit.org
  • 1 edit in trunk/Tools/ChangeLog

2011-04-17 Daniel Bates <dbates@webkit.org>

Acknowledge Adam Barth for reviewing the patch committed in changeset
84114 <http://trac.webkit.org/changeset/84114>. And fix my email address.

4:27 PM Changeset in webkit [84114] by dbates@webkit.org
  • 6 edits in trunk/Tools

2011-04-17 Daniel Bates <dbates@webkit.com>

Reviewed by Eric Seidel.

webkit-patch land hangs if svn prompts for credentials
https://bugs.webkit.org/show_bug.cgi?id=31500

Prompt for username and password when using git-svn and there aren't cached SVN credentials.

  • Scripts/webkitpy/common/checkout/scm.py:
    • Added mixin class SVNRepository and made both class SVN and Git inherit from it.
    • Moved SVN.has_authorization_for_realm() to class SVNRepository and removed default value for argument realm; modified call sites as needed.
    • Modified AuthenticationError constructor to take optional prompt_for_password argument.
    • Modified {SCM, SVN, Git}.commit_with_message() to take optional password argument.
    • Modified Git._commit_on_branch() to take optional username and password argument.
    • Modified Git.push_local_commits_to_server() to take optional username and password argument and to call has_authorization_for_realm().
  • Scripts/webkitpy/common/checkout/scm_unittest.py:
    • Modified SVNTest.test_commit_without_authorization() to take dummy realm argument.
    • Modified SVNTest.test_not_have_authorization_for_realm() to pass realm argument to SVN.has_authorization_for_realm().
  • Scripts/webkitpy/common/net/credentials.py:
    • Modified Credentials.read_credentials() to call User.prompt_password() instead of using getpass.getpass() directly.
  • Scripts/webkitpy/common/system/user.py:
    • Added User.prompt_password().
  • Scripts/webkitpy/tool/steps/commit.py:
    • Modified Commit.run() to prompt for a password if needed.
4:08 PM Changeset in webkit [84113] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Remove pthread dependency of GCController
https://bugs.webkit.org/show_bug.cgi?id=54833

  • bindings/js/GCController.cpp: (WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):
2:49 PM Changeset in webkit [84112] by dpranke@chromium.org
  • 3 edits in trunk/Tools

2011-04-17 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: save stderr into the layout-test-results dir
https://bugs.webkit.org/show_bug.cgi?id=58690

  • Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2:48 PM Changeset in webkit [84111] by dpranke@chromium.org
  • 4 edits in trunk/Tools

2011-04-17 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: read stderr from chromium DRT separately
https://bugs.webkit.org/show_bug.cgi?id=58708

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  • Scripts/webkitpy/layout_tests/port/mock_drt.py:
2:30 PM Changeset in webkit [84110] by commit-queue@webkit.org
  • 13 edits
    4 adds in trunk

2011-04-17 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Add support for link rel type "subresource"
https://bugs.webkit.org/show_bug.cgi?id=57842

Link rel=prefetch is great for cache warming for resources on
subsequent pages, but it launches requests at too low a priority
to use for subresources of the current page.

During testing, I was dissapointed to see the results for the http
test below don't give the subresource priority ordering. This is
another instance of https://bugs.webkit.org/show_bug.cgi?id=49238
which I'll be working on next, and thus fix the test.

  • fast/dom/HTMLLinkElement/subresource-expected.txt: Added.
  • fast/dom/HTMLLinkElement/subresource.html: Added.
  • http/tests/misc/link-rel-prefetch-and-subresource-expected.txt: Added.
  • http/tests/misc/link-rel-prefetch-and-subresource.html: Added.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-04-17 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Add support for link rel type "subresource"
https://bugs.webkit.org/show_bug.cgi?id=57842

Link rel=prefetch is great for cache warming for resources on
subsequent pages, but it launches requests at too low a priority
to use for subresources of the current page.

Particularly after https://bugs.webkit.org/show_bug.cgi?id=51940
is implemented, a rel type that launches requests at an higher
priority is going to be very useful. This rel type is in the
HTML5 spec at http://wiki.whatwg.org/wiki/RelExtensions . An
expected use case will be for servers to provide subresource hints
in link headers, which will allow servers to help make the web
faster.

This feature continues my implementation of the Link header, which
we've talked about in WebKit-dev in
https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html.

Tests: fast/dom/HTMLLinkElement/subresource.html

http/tests/misc/link-rel-prefetch-and-subresource.html

  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::~HTMLLinkElement): (WebCore::HTMLLinkElement::tokenizeRelAttribute): (WebCore::HTMLLinkElement::process): (WebCore::HTMLLinkElement::onloadTimerFired): (WebCore::HTMLLinkElement::notifyFinished):
  • html/HTMLLinkElement.h: (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
  • loader/cache/CachedResource.cpp: (WebCore::defaultPriorityForResourceType):
  • loader/cache/CachedResource.h: (WebCore::CachedResource::isLinkResource):
  • loader/cache/CachedResourceLoader.cpp: (WebCore::createResource): (WebCore::CachedResourceLoader::requestLinkResource): (WebCore::CachedResourceLoader::canRequest): (WebCore::CachedResourceLoader::incrementRequestCount): (WebCore::CachedResourceLoader::decrementRequestCount):
  • loader/cache/CachedResourceLoader.h:
  • loader/cache/CachedResourceRequest.cpp: (WebCore::cachedResourceTypeToTargetType): (WebCore::CachedResourceRequest::load):
2:09 PM Changeset in webkit [84109] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebKit/mac

2011-04-17 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Dan Bernstein.

Assign to self in WebInspectorWindowController constructors
https://bugs.webkit.org/show_bug.cgi?id=58749

  • WebCoreSupport/WebInspectorClient.mm: (-[WebInspectorWindowController init]): (-[WebInspectorWindowController initWithInspectedWebView:]):
1:41 PM Changeset in webkit [84108] by Joseph Pecoraro
  • 4 edits
    2 adds in trunk/Source/WebKit

2011-04-17 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Timothy Hatcher.

Move WebNodeHighlighter into its own file
https://bugs.webkit.org/show_bug.cgi?id=58746

  • WebKit.xcodeproj/project.pbxproj: Add WebNodeHighlighter.{h,mm}.

2011-04-17 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Timothy Hatcher.

Move WebNodeHighlighter into its own file
https://bugs.webkit.org/show_bug.cgi?id=58746

Extract this class into its own file alongside the
other WebNodeHighlight files. In doing so do some
cleanup on WebInspectorClient removing some methods
that were never called.

  • WebCoreSupport/WebInspectorClient.mm: (WebInspectorClient::WebInspectorClient): style fix.
  • WebInspector/WebNodeHighlighter.h: Added.
  • WebInspector/WebNodeHighlighter.mm: Added. (-[WebNodeHighlighter initWithInspectedWebView:]): call super init. (-[WebNodeHighlighter dealloc]): (-[WebNodeHighlighter highlightNode:]): (-[WebNodeHighlighter hideHighlight]): (-[WebNodeHighlighter didAttachWebNodeHighlight:]): (-[WebNodeHighlighter willDetachWebNodeHighlight:]):
1:23 PM Changeset in webkit [84107] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

<rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats-root-line-box-overflow.html
https://bugs.webkit.org/show_bug.cgi?id=58745

Reviewed by Joseph Pecoraro.

This is really a regression from r82611, but it went unnoticed due to a mistake in r73385,
which was fixed in r83514.

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::layoutInlineChildren): Actually assign the bottom visual overflow to the
variable so named, not the top layout overflow.

12:42 PM April 2011 Meeting edited by rniwa@webkit.org
Adding myself to shadow DOM talk (diff)
12:06 PM Changeset in webkit [84106] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Remove WTF_PLATFORM_SGL
https://bugs.webkit.org/show_bug.cgi?id=58743

WTF_PLATFORM_SGL and PLATFORM(SGL) are not used in the code anywhere.

  • wtf/Platform.h:
12:03 PM Changeset in webkit [84105] by ggaren@apple.com
  • 19 edits in trunk/Source/WebCore

2011-04-17 Geoffrey Garen <ggaren@apple.com>

Strongly suggested, but not necessarily reviewed, by
Sam Weinig and Maciej Stachowiak.

Renamed DOMObject* => JSDOMWrapper*.

  • bindings/js/DOMWrapperWorld.cpp: (WebCore::isObservable): (WebCore::DOMObjectHandleOwner::finalize):
  • bindings/js/DOMWrapperWorld.h:
  • bindings/js/JSArrayBufferViewHelper.h: (WebCore::toJSArrayBufferView):
  • bindings/js/JSCSSRuleCustom.cpp: (WebCore::toJS):
  • bindings/js/JSCSSValueCustom.cpp: (WebCore::toJS):
  • bindings/js/JSDOMBinding.h: (WebCore::JSDOMWrapperWithGlobalPointer::globalObject): (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer): (WebCore::DOMConstructorObject::DOMConstructorObject): (WebCore::createDOMObjectWrapper): (WebCore::getDOMObjectWrapper):
  • bindings/js/JSDOMWrapper.cpp: (WebCore::JSDOMWrapper::~JSDOMWrapper):
  • bindings/js/JSDOMWrapper.h: (WebCore::JSDOMWrapper::JSDOMWrapper):
  • bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::location): (WebCore::toJS):
  • bindings/js/JSEventCustom.cpp: (WebCore::toJS):
  • bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::toJS):
  • bindings/js/JSImageDataCustom.cpp: (WebCore::toJS):
  • bindings/js/JSSVGPathSegCustom.cpp: (WebCore::toJS):
  • bindings/js/JSStyleSheetCustom.cpp: (WebCore::toJS):
  • bindings/js/ScriptWrappable.h: (WebCore::ScriptWrappable::wrapper): (WebCore::ScriptWrappable::setWrapper):
  • bindings/scripts/CodeGeneratorJS.pm:
11:59 AM Changeset in webkit [84104] by Patrick Gansterer
  • 15 edits in trunk

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CA) to USE(CA)
https://bugs.webkit.org/show_bug.cgi?id=58742

  • wtf/Platform.h:

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CA) to USE(CA)
https://bugs.webkit.org/show_bug.cgi?id=58742

  • config.h:
  • platform/graphics/ca/TransformationMatrixCA.cpp:
  • platform/graphics/cg/ImageBufferDataCG.h:
  • platform/graphics/transforms/TransformationMatrix.h:
  • platform/mac/WebCoreSystemInterface.h:
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::containsPaintedContent):
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateBacking):

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CA) to USE(CA)
https://bugs.webkit.org/show_bug.cgi?id=58742

  • WebProcess/WebPage/LayerTreeHost.cpp:
  • WebProcess/WebPage/win/LayerTreeHostWin.cpp: (WebKit::LayerTreeHost::supportsAcceleratedCompositing):

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CA) to USE(CA)
https://bugs.webkit.org/show_bug.cgi?id=58742

  • DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues):
7:29 AM Changeset in webkit [84103] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-17 Young Han Lee <joybro@company100.net>

Reviewed by Benjamin Poulain.

[Texmap] [Qt] Improve readability by using gInVertexAttributeIndex instead of 0.
https://bugs.webkit.org/show_bug.cgi?id=58739

gInVertexAttributeIndex is a constant variable to point the location of
"InVertex" attribute of the vertex shaders.

  • platform/graphics/opengl/TextureMapperGL.cpp: (WebCore::TextureMapperGL::drawTexture): (WebCore::TextureMapperGL::paintToTarget):
4:04 AM Changeset in webkit [84102] by kinuko@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-17 Kinuko Yasuda <kinuko@chromium.org>

Not reviewed: Fix copyright (I had submitted the file with wrong
copyright line).

  • storage/StorageInfo.idl:
3:04 AM Changeset in webkit [84101] by Patrick Gansterer
  • 102 edits in trunk

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • wtf/Platform.h:

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • config.h:
  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::toDataURL):
  • html/HTMLCanvasElement.h:
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setShadow): (WebCore::CanvasRenderingContext2D::drawTextInternal):
  • html/canvas/CanvasRenderingContext2D.h:
  • html/canvas/CanvasStyle.cpp: (WebCore::CanvasStyle::applyStrokeColor): (WebCore::CanvasStyle::applyFillColor):
  • loader/cache/CachedFont.cpp:
  • loader/cache/CachedImage.cpp: (WebCore::CachedImage::createImage):
  • platform/FloatConversion.h:
  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): (WebCore::initializeSupportedImageMIMETypesForEncoding):
  • platform/graphics/BitmapImage.h:
  • platform/graphics/Color.h:
  • platform/graphics/DashArray.h:
  • platform/graphics/FloatPoint.h:
  • platform/graphics/FloatRect.h:
  • platform/graphics/FloatSize.h:
  • platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::hash):
  • platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::advanceAt): (WebCore::GlyphBuffer::add): (WebCore::GlyphBuffer::expandLastAdvance):
  • platform/graphics/Gradient.h:
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::setLegacyShadow):
  • platform/graphics/GraphicsContext.h: (WebCore::GraphicsContextState::GraphicsContextState):
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/Image.cpp:
  • platform/graphics/Image.h:
  • platform/graphics/ImageBuffer.cpp:
  • platform/graphics/ImageBuffer.h:
  • platform/graphics/ImageBufferData.h:
  • platform/graphics/ImageSource.h:
  • platform/graphics/IntPoint.h:
  • platform/graphics/IntRect.h:
  • platform/graphics/IntSize.h:
  • platform/graphics/Path.h:
  • platform/graphics/Pattern.h:
  • platform/graphics/SimpleFontData.h:
  • platform/graphics/cg/ColorCG.cpp:
  • platform/graphics/cg/FloatPointCG.cpp:
  • platform/graphics/cg/FloatRectCG.cpp:
  • platform/graphics/cg/FloatSizeCG.cpp:
  • platform/graphics/cg/ImageCG.cpp:
  • platform/graphics/cg/ImageSourceCG.cpp:
  • platform/graphics/cg/IntPointCG.cpp:
  • platform/graphics/cg/IntRectCG.cpp:
  • platform/graphics/cg/IntSizeCG.cpp:
  • platform/graphics/cg/PDFDocumentImage.cpp:
  • platform/graphics/cg/PDFDocumentImage.h:
  • platform/graphics/cg/PathCG.cpp:
  • platform/graphics/cg/TransformationMatrixCG.cpp:
  • platform/graphics/chromium/ImageLayerChromium.h:
  • platform/graphics/chromium/LayerRendererChromium.cpp:
  • platform/graphics/chromium/LayerRendererChromium.h:
  • platform/graphics/chromium/PlatformCanvas.cpp: (WebCore::PlatformCanvas::resize): (WebCore::PlatformCanvas::AutoLocker::AutoLocker): (WebCore::PlatformCanvas::Painter::Painter):
  • platform/graphics/chromium/PlatformCanvas.h:
  • platform/graphics/chromium/PlatformImage.cpp: (WebCore::PlatformImage::updateFromImage):
  • platform/graphics/opentype/OpenTypeUtilities.cpp:
  • platform/graphics/transforms/AffineTransform.h:
  • platform/graphics/transforms/TransformationMatrix.h:
  • platform/graphics/win/DIBPixelData.h:
  • platform/graphics/win/FontCacheWin.cpp: (WebCore::FontCache::platformInit): (WebCore::createGDIFont): (WebCore::FontCache::createFontPlatformData):
  • platform/graphics/win/FontPlatformDataWin.cpp: (WebCore::FontPlatformData::FontPlatformData):
  • platform/graphics/win/GraphicsContextWin.cpp:
  • platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
  • platform/graphics/win/SimpleFontDataWin.cpp:
  • platform/image-decoders/ImageDecoder.cpp:
  • platform/image-decoders/ImageDecoder.h:
  • rendering/RenderObject.h:
  • rendering/svg/RenderSVGResourceFilter.cpp: (WebCore::RenderSVGResourceFilter::postApplyResource):
  • rendering/svg/RenderSVGResourceGradient.cpp: (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient): (WebCore::RenderSVGResourceGradient::applyResource):
  • rendering/svg/RenderSVGResourceGradient.h:
  • rendering/svg/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
  • rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource):

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): (WebCore::GraphicsContext3DInternal::reshape):
  • src/GraphicsContext3DInternal.h:
  • src/PlatformBridge.cpp:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::doPixelReadbackToCanvas):

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • WebFrame.cpp: (WebFrame::spoolPages):
  • WebFrame.h:
  • WebPreferences.cpp: (WebPreferences::setFontSmoothing): (WebPreferences::setFontSmoothingContrast):
  • WebView.cpp: (systemParameterChanged):

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • Shared/ShareableBitmap.h:
  • Shared/WebCoreArgumentCoders.cpp:
  • Shared/WebCoreArgumentCoders.h:
  • Shared/WebGraphicsContext.cpp: (WebKit::WebGraphicsContext::WebGraphicsContext):
  • Shared/WebGraphicsContext.h:
  • Shared/win/PlatformCertificateInfo.cpp: (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
  • UIProcess/win/WebView.cpp: (WebKit::WebView::setFindIndicator):
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::drawRectToPDF): (WebKit::WebPage::drawPagesToPDF):
  • WebProcess/WebPage/win/WebPageWin.cpp: (WebKit::WebPage::platformPreferencesDidChange):
  • config.h:

2011-04-17 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Rename PLATFORM(CG) to USE(CG)
https://bugs.webkit.org/show_bug.cgi?id=58729

  • DumpRenderTree/PixelDumpSupport.cpp:
  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintRect):
  • DumpRenderTree/config.h:
  • DumpRenderTree/win/PixelDumpSupportWin.cpp: (createBitmapContextFromWebView):
  • TestWebKitAPI/PlatformWebView.h:
  • WebKitTestRunner/config.h:
  • WebKitTestRunner/win/TestInvocationWin.cpp:

Apr 16, 2011:

11:29 PM Changeset in webkit [84100] by commit-queue@webkit.org
  • 3 edits
    14 adds in trunk/Source/WebKit/qt

2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>

Reviewed by Andreas Kling.

[Qt] Autotest got missed in the handover of the QML WebView element
https://bugs.webkit.org/show_bug.cgi?id=41449

Importing WebView QML element test cases from Qt repository. I did some
style modifications and simplifications in the original code but hopefully
without changing the behavior.

Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
issues currently are:

  • pixelCache() test checked the usage of pixel cache by using a subclass of QDeclarativeWebView. We can't do that right now because this class is not exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want this kind of test.
  • elementAtArea() test uses a function that is not exported. But in this case I think we should test it's user, the public method "heuristicZoom".
  • tests/qdeclarativewebview/resources/basic.html: Added.
  • tests/qdeclarativewebview/resources/basic.png: Added.
  • tests/qdeclarativewebview/resources/basic.qml: Added.
  • tests/qdeclarativewebview/resources/elements.html: Added.
  • tests/qdeclarativewebview/resources/elements.qml: Added.
  • tests/qdeclarativewebview/resources/forward.html: Added.
  • tests/qdeclarativewebview/resources/forward.png: Added.
  • tests/qdeclarativewebview/resources/javaScript.html: Added.
  • tests/qdeclarativewebview/resources/javaScript.qml: Added.
  • tests/qdeclarativewebview/resources/loadError.qml: Added.
  • tests/qdeclarativewebview/resources/newwindows.html: Added.
  • tests/qdeclarativewebview/resources/newwindows.qml: Added.
  • tests/qdeclarativewebview/resources/propertychanges.qml: Added.
  • tests/qdeclarativewebview/resources/sethtml.qml: Added.
  • tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: (tst_QDeclarativeWebView::tmpDir): (strippedHtml): (fileContents): (removeRecursive): (tst_QDeclarativeWebView::cleanupTestCase): (tst_QDeclarativeWebView::basicProperties): (tst_QDeclarativeWebView::elementAreaAt): (tst_QDeclarativeWebView::historyNav): (callEvaluateJavaScript): (tst_QDeclarativeWebView::javaScript): (tst_QDeclarativeWebView::loadError): (tst_QDeclarativeWebView::multipleWindows): (tst_QDeclarativeWebView::newWindowComponent): (tst_QDeclarativeWebView::newWindowParent): (tst_QDeclarativeWebView::pressGrabTime): (tst_QDeclarativeWebView::renderingEnabled): (tst_QDeclarativeWebView::setHtml): (tst_QDeclarativeWebView::settings): (tst_QDeclarativeWebView::checkNoErrors):
  • tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
7:25 PM Changeset in webkit [84099] by abarth@webkit.org
  • 3 edits
    1 add in trunk/Source/WebCore

2011-04-16 Adam Barth <abarth@webkit.org>

Reviewed by Sam Weinig.

about:blank documents in new tabs can XHR anywhere
https://bugs.webkit.org/show_bug.cgi?id=58712

Empty security origins have supposed to be low-privilege, we should
mark them as having a unique origin.

  • manual-tests/about-blank-xhr.html: Added.
  • page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::SecurityOrigin):
  • page/SecurityOrigin.h:
5:20 PM Changeset in webkit [84098] by mitz@apple.com
  • 5 edits in trunk/LayoutTests

Updated results for fast/block/float/032.html after r84096. Filed http://webkit.org/b/58736 to
track this change.

  • platform/chromium-win/fast/block/float/032-expected.txt:
  • platform/gtk/fast/block/float/032-expected.txt:
  • platform/mac/fast/block/float/032-expected.txt:
  • platform/qt/fast/block/float/032-expected.txt:
3:51 PM Changeset in webkit [84097] by kbalazs@webkit.org
  • 2 edits in trunk/LayoutTests

Unreviewed.

[Qt][WK2] Unskip fast/loader/null-request-after-willSendRequest.html since
it is passing for a long time.

  • platform/qt-wk2/Skipped:
2:59 PM Changeset in webkit [84096] by mitz@apple.com
  • 6 edits
    4 adds in trunk

<rdar://problem/9190108> Crash when hiding a float

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/block/float/overhanging-tall-block.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::addOverhangingFloats): Moved the call to childLogicalTop() out of the loop.
Capped the logical bottom so that we get the correct maximum.

  • rendering/RenderBlock.h: Decleared appendFloatingObjectToLastLine().
  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::appendFloatingObjectToLastLine): Added. Ensures correct bookkeeping by
extending the float if needed so that it touches the line.
(WebCore::RenderBlock::layoutInlineChildren): Changed to call appendFloatingObjectToLastLine().
(WebCore::RenderBlock::checkFloatsInCleanLine): Capped the float height so the we mark the right
range of lines as dirty.

  • rendering/RootInlineBox.h:

(WebCore::RootInlineBox::appendFloat): Replaced the floats() accessor with this function, which
allows the creation of the vector to be combined with appending the first float.

LayoutTests:

  • fast/block/float/overhanging-tall-block.html: Added.
  • platform/mac/fast/block/float/overhanging-tall-block-expected.checksum: Added.
  • platform/mac/fast/block/float/overhanging-tall-block-expected.png: Added.
  • platform/mac/fast/block/float/overhanging-tall-block-expected.txt: Added.
2:22 PM Changeset in webkit [84095] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-04-16 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Crash when NPP_Write returns -1 when writing the manual stream
https://bugs.webkit.org/show_bug.cgi?id=58735
<rdar://problem/9124993>

If NPP_Write returns -1 we must cancel the stream.

  • WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: (WebKit::NetscapePluginStream::deliverDataToPlugin):
2:19 PM Changeset in webkit [84094] by weinig@apple.com
  • 6 edits in trunk/Source/WebKit/win

2011-04-16 Sam Weinig <sam@webkit.org>

Reviewed by Simon Fraser.

Windows should use WebCore localized strings
<rdar://problem/9119405>
https://bugs.webkit.org/show_bug.cgi?id=58733

  • WebCoreSupport/WebEditorClient.cpp: (undoNameForEditAction): (WebEditorClient::registerCommandForUndo):
  • WebPreferences.cpp: (WebPreferences::initializeDefaultSettings):
  • WebURLResponse.cpp: (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode): (WebURLResponse::localizedStringForStatusCode): Change to use WEB_UI_STRING.
  • WebCoreSupport/WebPlatformStrategies.cpp:
  • WebCoreSupport/WebPlatformStrategies.h: Remove the localization strategy in favor of using the default one.
2:15 PM Changeset in webkit [84093] by Simon Fraser
  • 1 edit
    3 adds in trunk/LayoutTests

2011-04-16 Simon Fraser <Simon Fraser>

Fix border drawing tests to drop -webkit prefix on border-radius, and make the tests compatible with Firefox
https://bugs.webkit.org/show_bug.cgi?id=58734

Add result for new test.

  • platform/mac/fast/borders/webkit-border-radius-expected.checksum: Added.
  • platform/mac/fast/borders/webkit-border-radius-expected.png: Added.
  • platform/mac/fast/borders/webkit-border-radius-expected.txt: Added.
2:13 PM Changeset in webkit [84092] by Simon Fraser
  • 34 edits
    1 add in trunk/LayoutTests

2011-04-16 Simon Fraser <Simon Fraser>

Reviewed by Sam Weinig.

Fix border drawing tests to drop -webkit prefix on border-radius, and make the tests compatible with Firefox
https://bugs.webkit.org/show_bug.cgi?id=58734

Drop the -webkit prefix on border-radius in the tests, and remove -moz-border-radius,
since Firefox supports the unprefixed property now. This avoids the problem where
-moz-border-radius and -webkit-border-radius had different behaviors when given two values.

Also unprefix box-sizing for WebKit, and add a -moz prefixed version for Firefox.

Add a test that compares the behavior of -webkit-border-radius and border-radius with
two values.

  • fast/borders/border-radius-circle.html:
  • fast/borders/border-radius-constraints.html:
  • fast/borders/border-radius-groove-01.html:
  • fast/borders/border-radius-groove-02.html:
  • fast/borders/border-radius-groove-03.html:
  • fast/borders/border-radius-wide-border-01.html:
  • fast/borders/border-radius-wide-border-02.html:
  • fast/borders/border-radius-wide-border-03.html:
  • fast/borders/border-radius-wide-border-04.html:
  • fast/borders/borderRadiusAllStylesAllCorners.html:
  • fast/borders/borderRadiusArcs01.html:
  • fast/borders/borderRadiusDashed01.html:
  • fast/borders/borderRadiusDashed02.html:
  • fast/borders/borderRadiusDashed03.html:
  • fast/borders/borderRadiusDashed04.html:
  • fast/borders/borderRadiusDashed05.html:
  • fast/borders/borderRadiusDashed06.html:
  • fast/borders/borderRadiusDotted01.html:
  • fast/borders/borderRadiusDotted02.html:
  • fast/borders/borderRadiusDotted03.html:
  • fast/borders/borderRadiusDotted04.html:
  • fast/borders/borderRadiusDotted05.html:
  • fast/borders/borderRadiusDotted06.html:
  • fast/borders/borderRadiusDouble02.html:
  • fast/borders/borderRadiusDouble03.html:
  • fast/borders/borderRadiusDouble04.html:
  • fast/borders/borderRadiusDouble05.html:
  • fast/borders/borderRadiusDouble06.html:
  • fast/borders/borderRadiusDouble07.html:
  • fast/borders/borderRadiusDouble08.html:
  • fast/borders/borderRadiusDouble09.html:
  • fast/borders/borderRadiusGroove01.html:
  • fast/borders/borderRadiusGroove02.html:
  • fast/borders/webkit-border-radius.html: Added.
  • platform/mac/fast/borders/border-radius-groove-01-expected.checksum:
  • platform/mac/fast/borders/border-radius-groove-01-expected.png:
  • platform/mac/fast/borders/border-radius-groove-02-expected.png:
  • platform/mac/fast/borders/border-radius-groove-03-expected.checksum:
  • platform/mac/fast/borders/border-radius-groove-03-expected.png:
  • platform/mac/fast/borders/border-radius-inline-flow-expected.png:
  • platform/mac/fast/borders/border-radius-split-inline-expected.png:
  • platform/mac/fast/borders/border-radius-wide-border-01-expected.png:
  • platform/mac/fast/borders/border-radius-wide-border-02-expected.png:
  • platform/mac/fast/borders/border-radius-wide-border-03-expected.checksum:
  • platform/mac/fast/borders/border-radius-wide-border-03-expected.png:
  • platform/mac/fast/borders/border-radius-wide-border-04-expected.checksum:
  • platform/mac/fast/borders/border-radius-wide-border-04-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed01-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed02-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed03-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed04-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed05-expected.png:
  • platform/mac/fast/borders/borderRadiusDashed06-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDashed06-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted01-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted02-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted03-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted04-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted05-expected.png:
  • platform/mac/fast/borders/borderRadiusDotted06-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDotted06-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble01-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble02-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble03-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble04-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble05-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDouble05-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble06-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDouble06-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble07-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDouble07-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble08-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDouble08-expected.png:
  • platform/mac/fast/borders/borderRadiusDouble09-expected.checksum:
  • platform/mac/fast/borders/borderRadiusDouble09-expected.png:
  • platform/mac/fast/borders/borderRadiusGroove01-expected.png:
  • platform/mac/fast/borders/borderRadiusGroove02-expected.png:
  • platform/mac/fast/borders/borderRadiusInset01-expected.png:
  • platform/mac/fast/borders/borderRadiusInvalidColor-expected.png:
  • platform/mac/fast/borders/borderRadiusOutset01-expected.png:
  • platform/mac/fast/borders/borderRadiusRidge01-expected.png:
  • platform/mac/fast/borders/borderRadiusSolid01-expected.png:
  • platform/mac/fast/borders/borderRadiusSolid02-expected.png:
  • platform/mac/fast/borders/borderRadiusSolid03-expected.png:
12:31 PM Changeset in webkit [84091] by weinig@apple.com
  • 9 edits in trunk/Source

2011-04-16 Sam Weinig <sam@webkit.org>

Reviewed by Simon Fraser.

Pages in the PageCache don't have the correct visited link coloring after being restored
https://bugs.webkit.org/show_bug.cgi?id=58721

  • WebCore.exp.in: Add export of markPagesForVistedLinkStyleRecalc for use by WebKit2.
  • history/CachedPage.cpp: (WebCore::CachedPage::CachedPage): (WebCore::CachedPage::restore): (WebCore::CachedPage::clear):
  • history/CachedPage.h: (WebCore::CachedPage::markForVistedLinkStyleRecalc): Add bit, set by calling markForVistedLinkStyleRecalc, which forces a visited link style recalc when being restored.
  • history/PageCache.h:
  • history/PageCache.cpp: (WebCore::PageCache::markPagesForVistedLinkStyleRecalc): Mark all pages in the page cache as requiring visited link style recalc.
  • page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLink): (WebCore::PageGroup::removeVisitedLinks): (WebCore::PageGroup::removeAllVisitedLinks): Set dirty bit when changing any visited link information.


2011-04-16 Sam Weinig <sam@webkit.org>

Reviewed by Simon Fraser.

Pages in the PageCache don't have the correct visited link coloring after being restored
https://bugs.webkit.org/show_bug.cgi?id=58721

  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::visitedLinkStateChanged): (WebKit::WebProcess::allVisitedLinkStateChanged): Mark all pages in the page cache as needing visited link style recalc whenever visited link information changes.
11:37 AM Changeset in webkit [84090] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-04-16 Leo Yang <leoyang.webkit@gmail.com>

Reviewed by Nikolas Zimmermann.

ASSERT failure when svg <use> element changes href
https://bugs.webkit.org/show_bug.cgi?id=58726

Test case to verify assertion at line 509 of SVGUseElement.cpp.
Test passes if no crash occurs in debug mode.

  • svg/custom/use-crash-when-href-change-expected.txt: Added.
  • svg/custom/use-crash-when-href-change.svg: Added.

2011-04-16 Leo Yang <leoyang.webkit@gmail.com>

Reviewed by Nikolas Zimmermann.

ASSERT failure when svg <use> element changes href
https://bugs.webkit.org/show_bug.cgi?id=58726

m_resourceId was not empty after the pending resource
becomes available. This will trigger the assertion at
line 509 of SVGUseElement.cpp when the <use> element's
href becomes empty or invalid.

This patch makes m_resourceId be empty after the pending
resource becomes available to avoid assertion failure.

Test: svg/custom/use-crash-when-href-change.svg

  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::buildPendingResource):
3:55 AM Changeset in webkit [84089] by Patrick Gansterer
  • 2 edits in trunk

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Rename PLATFORM(CAIRO) to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=55192

  • Source/cmake/OptionsEfl.cmake:
3:37 AM Changeset in webkit [84088] by Patrick Gansterer
  • 41 edits in trunk

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Rename PLATFORM(CAIRO) to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=55192

  • wtf/Platform.h:
  • wtf/gobject/GTypedefs.h:

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Rename PLATFORM(CAIRO) to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=55192

  • CMakeListsEfl.txt:
  • config.h:
  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypesForEncoding):
  • platform/graphics/ContextShadow.h:
  • platform/graphics/DashArray.h:
  • platform/graphics/FloatRect.h:
  • platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::hash): (WebCore::FontPlatformData::isHashTableDeletedValue):
  • platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::glyphAt): (WebCore::GlyphBuffer::add):
  • platform/graphics/Gradient.cpp:
  • platform/graphics/Gradient.h:
  • platform/graphics/GraphicsContext.cpp:
  • platform/graphics/GraphicsContext.h: (WebCore::GraphicsContextState::GraphicsContextState):
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/ImageBufferData.h:
  • platform/graphics/ImageSource.h:
  • platform/graphics/Path.h:
  • platform/graphics/Pattern.h:
  • platform/graphics/SimpleFontData.h:
  • platform/graphics/cairo/DrawErrorUnderline.h:
  • platform/graphics/cairo/GraphicsContextCairo.cpp:
  • platform/graphics/cairo/ImageCairo.cpp:
  • platform/graphics/gstreamer/ImageGStreamer.h:
  • platform/graphics/transforms/AffineTransform.h:
  • platform/graphics/transforms/TransformationMatrix.h:
  • platform/graphics/win/FontCacheWin.cpp: (WebCore::createGDIFont): (WebCore::FontCache::createFontPlatformData):
  • platform/graphics/win/FontPlatformDataWin.cpp: (WebCore::FontPlatformData::FontPlatformData):
  • platform/graphics/win/GraphicsContextWin.cpp:
  • plugins/win/PluginViewWin.cpp: (WebCore::PluginView::paintWindowedPluginIntoContext):
  • rendering/RenderObject.h:

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Rename PLATFORM(CAIRO) to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=55192

  • WebFrame.cpp: (WebFrame::spoolPages):
  • WebFrame.h:

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Rename PLATFORM(CAIRO) to USE(CAIRO)
https://bugs.webkit.org/show_bug.cgi?id=55192

  • DumpRenderTree/PixelDumpSupport.cpp:
  • DumpRenderTree/config.h:
  • DumpRenderTree/win/PixelDumpSupportWin.cpp: (createBitmapContextFromWebView):
  • WebKitTestRunner/config.h:
3:12 AM Changeset in webkit [84087] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-04-16 Patrick Gansterer <Patrick Gansterer>

Unreviewed WinCE build fix for r84033.

  • platform/win/LocalizedStringsWin.cpp: (WebCore::localizedString):
2:33 AM Changeset in webkit [84086] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-16 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

show diffs+test inline in the results page
https://bugs.webkit.org/show_bug.cgi?id=58723

Put each row in it's own tbody and sort based on tbodies. That way
we can append the results to the tbody inline as another table row.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
2:02 AM Changeset in webkit [84085] by inferno@chromium.org
  • 4 edits
    2 adds in trunk

2011-04-16 Abhishek Arya <inferno@chromium.org>

Reviewed by Nikolas Zimmermann.

Tests that we do not crash when adding a list item block child
as a before child to svg text.
https://bugs.webkit.org/show_bug.cgi?id=58678

  • svg/text/text-block-child-crash-expected.txt: Added.
  • svg/text/text-block-child-crash.xhtml: Added.

2011-04-16 Abhishek Arya <inferno@chromium.org>

Reviewed by Nikolas Zimmermann.

Only allow inline child for SVG text since we cannot
handle block childs.
https://bugs.webkit.org/show_bug.cgi?id=58678

Test: svg/text/text-block-child-crash.xhtml

  • rendering/svg/RenderSVGText.cpp: (WebCore::RenderSVGText::isChildAllowed):
  • rendering/svg/RenderSVGText.h:
1:47 AM Changeset in webkit [84084] by sergio@webkit.org
  • 46 edits in trunk/LayoutTests

2011-04-16 Sergio Villar Senin <svillar@igalia.com>

Unreviewed, new GTK+ test expectations after r84039.

  • platform/gtk/fast/html/details-add-summary-1-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-1-expected.txt:
  • platform/gtk/fast/html/details-add-summary-10-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-10-expected.txt:
  • platform/gtk/fast/html/details-add-summary-2-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-2-expected.txt:
  • platform/gtk/fast/html/details-add-summary-3-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-3-expected.txt:
  • platform/gtk/fast/html/details-add-summary-4-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-4-expected.txt:
  • platform/gtk/fast/html/details-add-summary-5-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-5-expected.txt:
  • platform/gtk/fast/html/details-add-summary-6-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-6-expected.txt:
  • platform/gtk/fast/html/details-add-summary-7-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-7-expected.txt:
  • platform/gtk/fast/html/details-add-summary-8-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-8-expected.txt:
  • platform/gtk/fast/html/details-add-summary-9-and-click-expected.txt:
  • platform/gtk/fast/html/details-add-summary-9-expected.txt:
  • platform/gtk/fast/html/details-no-summary1-expected.txt:
  • platform/gtk/fast/html/details-no-summary2-expected.txt:
  • platform/gtk/fast/html/details-no-summary3-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-open1-expected.txt:
  • platform/gtk/fast/html/details-open2-expected.txt:
  • platform/gtk/fast/html/details-open3-expected.txt:
  • platform/gtk/fast/html/details-open4-expected.txt:
  • platform/gtk/fast/html/details-open5-expected.txt:
  • platform/gtk/fast/html/details-open6-expected.txt:
  • platform/gtk/fast/html/details-position-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-1-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-1-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-2-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-2-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-3-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-3-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-4-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-4-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-5-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-5-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-6-and-click-expected.txt:
  • platform/gtk/fast/html/details-remove-summary-6-expected.txt:
  • platform/gtk/fast/html/details-writing-mode-expected.txt:
12:28 AM Changeset in webkit [84083] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-16 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

handle new tests in the new results html file
https://bugs.webkit.org/show_bug.cgi?id=58715

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html:
Note: See TracTimeline for information about the timeline view.