Timeline



Mar 4, 2011:

11:43 PM Changeset in webkit [80411] by commit-queue@webkit.org
  • 2 edits
    29 adds in trunk/LayoutTests

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

Reviewed by Eric Carlson.

[chromium] Baselines for media GPU layout tests
https://bugs.webkit.org/show_bug.cgi?id=55796

Adding baselines for some of the media GPU layout tests.
Updates test_expectations with expected media GPU failures.

  • platform/chromium-gpu-linux/media/video-display-toggle-expected.checksum: Added.
  • platform/chromium-gpu-linux/media/video-display-toggle-expected.png: Added.
  • platform/chromium-gpu-linux/media/video-no-audio-expected.checksum: Added.
  • platform/chromium-gpu-linux/media/video-no-audio-expected.png: Added.
  • platform/chromium-gpu-linux/media/video-volume-slider-expected.checksum: Added.
  • platform/chromium-gpu-linux/media/video-volume-slider-expected.png: Added.
  • platform/chromium-gpu-linux/media/video-zoom-expected.checksum: Added.
  • platform/chromium-gpu-linux/media/video-zoom-expected.png: Added.
  • platform/chromium-gpu-mac/media/video-display-toggle-expected.checksum: Added.
  • platform/chromium-gpu-mac/media/video-display-toggle-expected.png: Added.
  • platform/chromium-gpu-mac/media/video-no-audio-expected.checksum: Added.
  • platform/chromium-gpu-mac/media/video-no-audio-expected.png: Added.
  • platform/chromium-gpu-mac/media/video-volume-slider-expected.checksum: Added.
  • platform/chromium-gpu-mac/media/video-volume-slider-expected.png: Added.
  • platform/chromium-gpu-mac/media/video-zoom-expected.checksum: Added.
  • platform/chromium-gpu-mac/media/video-zoom-expected.png: Added.
  • platform/chromium-gpu-win/media/video-canvas-alpha-expected.checksum: Added.
  • platform/chromium-gpu-win/media/video-canvas-alpha-expected.png: Added.
  • platform/chromium-gpu-win/media/video-display-toggle-expected.checksum: Added.
  • platform/chromium-gpu-win/media/video-display-toggle-expected.png: Added.
  • platform/chromium-gpu-win/media/video-no-audio-expected.checksum: Added.
  • platform/chromium-gpu-win/media/video-no-audio-expected.png: Added.
  • platform/chromium-gpu-win/media/video-volume-slider-expected.checksum: Added.
  • platform/chromium-gpu-win/media/video-volume-slider-expected.png: Added.
  • platform/chromium-gpu-win/media/video-zoom-expected.checksum: Added.
  • platform/chromium-gpu-win/media/video-zoom-expected.png: Added.
  • platform/chromium/test_expectations.txt:
11:08 PM Changeset in webkit [80410] by commit-queue@webkit.org
  • 3 edits
    3 adds in trunk

2011-03-04 Xianzhu Wang <wangxianzhu@google.com>

Reviewed by Adam Barth.

Add a test to ensure SVGImage won't cause ResourceLoader leaks.
https://bugs.webkit.org/show_bug.cgi?id=55017

  • fast/images/svg-image-leak-loader-expected.txt: Added.
  • fast/images/svg-image-leak-loader.html: Added.
  • fast/images/resources/load-script.html: Added.

2011-03-04 Xianzhu Wang <wangxianzhu@google.com>

Reviewed by Adam Barth.

Remove fake request loading of SVGImage to avoid MainResourceLoader
leak. The frame->init() already ensures initialization of the
document loader.

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

Test: fast/images/svg-image-leak-loader.html

  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged):
10:32 PM Changeset in webkit [80409] by commit-queue@webkit.org
  • 4 edits in trunk

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

Reviewed by Mihai Parparita.

[Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows
https://bugs.webkit.org/show_bug.cgi?id=49477

  • platform/chromium/test_expectations.txt:

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

Reviewed by Mihai Parparita.

[Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows
https://bugs.webkit.org/show_bug.cgi?id=49477

  • platform/graphics/skia/PathSkia.cpp: (WebCore::Path::addArc):
10:12 PM Changeset in webkit [80408] by commit-queue@webkit.org
  • 7 edits
    2 adds in trunk/Source

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

Reviewed by Darin Adler.

On Mac, the bounding box sent to EditorClient::showCorrectionPanel() is incorrect when the correction occurs in an iframe.
https://bugs.webkit.org/show_bug.cgi?id=55717
<rdar://problem/9018127>

manual-test: manual-tests/platforms/mac/autocorrection/autocorrection-in-iframe.html

Previously, the bounding box passed into EditorClient::showCorrectionPanel() is in the frame's
coordinate. This is incorrect when the correction occurs in an iframe. This patch added code
to convert the bounding box to window coordinate using ScrollView::contentToWindow().

  • dom/Range.cpp: (WebCore::Range::getBoundingClientRect): (WebCore::Range::boundingRect):
  • dom/Range.h:
  • editing/Editor.cpp: (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::correctionPanelTimerFired): (WebCore::Editor::windowRectForRange):
  • editing/Editor.h:
  • manual-tests/autocorrection/autocorrection-in-iframe.html: Added.
  • manual-tests/autocorrection/document-for-iframe-test.html: Added.

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

Reviewed by Darin Adler.

On Mac, the bounding box sent to EditorClient::showCorrectionPanel() is incorrect when the correction occurs in an iframe.
https://bugs.webkit.org/show_bug.cgi?id=55717
<rdar://problem/9018127>

With the change in WebCore, the bounding box passed into EditorClient::showCorrectionPanel()
is already in window coordinate. We don't need to do further conversion anymore.

  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::showCorrectionPanel):
10:02 PM Changeset in webkit [80407] by commit-queue@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-03-04 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] Need symbian version of cryptographicallyRandomValuesFromOS
https://bugs.webkit.org/show_bug.cgi?id=55782

Implement Symbian version of cryptographicallyRandomValuesFromOS

  • wtf/OSRandomSource.cpp: (WTF::cryptographicallyRandomValuesFromOS):
9:41 PM Changeset in webkit [80406] by simonjam@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-03-04 James Simonsen <simonjam@chromium.org>

Reviewed by Adam Barth.

Test that scripts with unknown types aren't loaded.
https://bugs.webkit.org/show_bug.cgi?id=51760

  • fast/dom/HTMLScriptElement/dont-load-unknown-type-expected.txt: Added.
  • fast/dom/HTMLScriptElement/dont-load-unknown-type.html: Added.
9:20 PM Changeset in webkit [80405] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

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

Reviewed by Darin Adler.

Those checking in Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited() should be done with VisiblePosition::isNull().
https://bugs.webkit.org/show_bug.cgi?id=55731

No new tests. There's no behavioral change.

This patch improved clarity and readability of Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited().

  • editing/Editor.cpp: (WebCore::Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited):
8:27 PM Changeset in webkit [80404] by commit-queue@webkit.org
  • 9 edits
    5 adds in trunk

2011-03-04 John Bauman <jbauman@chromium.org>

Reviewed by Kenneth Russell.

[chromium] premultipliedAlpha WebGL context attribute is ignored.
https://bugs.webkit.org/show_bug.cgi?id=55411

Add test case for (non-)premultiplied-alpha compositing.

  • compositing/webgl/webgl-nonpremultiplied-blend.html: Added.
  • platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.checksum: Added.
  • platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.png: Added.
  • platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.txt: Added.
  • platform/mac-wk2/Skipped:
  • platform/mac/Skipped:

2011-03-04 John Bauman <jbauman@chromium.org>

Reviewed by Kenneth Russell.

[chromium] premultipliedAlpha WebGL context attribute is ignored.
https://bugs.webkit.org/show_bug.cgi?id=55411

Update compositor to set the blending of each layer correctly.

Test: compositing/webgl/webgl-nonpremultiplied-blend.html

  • platform/graphics/chromium/CanvasLayerChromium.cpp: (WebCore::CanvasLayerChromium::CanvasLayerChromium): (WebCore::CanvasLayerChromium::draw):
  • platform/graphics/chromium/CanvasLayerChromium.h:
  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::draw):
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::drawLayers):
  • platform/graphics/chromium/WebGLLayerChromium.cpp: (WebCore::WebGLLayerChromium::setContext):
7:58 PM Changeset in webkit [80403] by jhoneycutt@apple.com
  • 3 edits in trunk/Source/WebKit2

WK2 Mac build fix.

  • UIProcess/API/C/WKPage.cpp:

(WKPageComputePagesForPrinting):
(WKPageBeginPrinting):

  • UIProcess/API/C/WKPagePrivate.h:
6:34 PM Changeset in webkit [80402] by jhoneycutt@apple.com
  • 2 edits in trunk/Source/WebKit2

WK2 Mac build fix.

  • UIProcess/API/C/WKPagePrivate.h:
5:54 PM Changeset in webkit [80401] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

[Snow Leopard Release Tests] accessibility/plugin.html,
compositing/geometry/empty-embed-rects.html, and fast/loader/loadInProgress.html timing out.
https://bugs.webkit.org/show_bug.cgi?id=55805
https://bugs.webkit.org/show_bug.cgi?id=55807
https://bugs.webkit.org/show_bug.cgi?id=55808

Unreviewed. Add these tests to the Snow Leopard skipped list to get the bots green.

  • platform/mac-snowleopard/Skipped:
5:48 PM Changeset in webkit [80400] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

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

Reviewed by Eric Seidel.

WebCore GYP build should link with the correct frameworks
https://bugs.webkit.org/show_bug.cgi?id=55804

  • gyp/WebCore.gyp:
5:44 PM Changeset in webkit [80399] by abarth@webkit.org
  • 2 edits in trunk/Source/WebCore

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

Reviewed by Eric Seidel.

WebCore GYP build should Check For Inappropriate Files in Framework
https://bugs.webkit.org/show_bug.cgi?id=55806

  • gyp/WebCore.gyp:
5:21 PM Changeset in webkit [80398] by jhoneycutt@apple.com
  • 9 edits in trunk/Source/WebKit2

WK2 needs printing support on Windows
https://bugs.webkit.org/show_bug.cgi?id=55800
<rdar://problem/8903808>

Reviewed by Darin Adler.

  • UIProcess/API/C/WKPage.cpp:

(ComputedPagesContext::ComputedPagesContext):
(computedPagesCallback):
From the Vector of WebCore::IntRects, build up a Vector of WKRects.
Call the callback, passing these rects and the scale factor.
(printInfoFromWKPrintInfo):
Return a PrintInfo structure from the WKPrintInfo.
(WKPageComputePagesForPrinting):
Call WebPageProxy::computePagesForPrinting(). Pass
computedPagesCallback as the callback function, so that we can
translate the WebCore rect type to WKRect before calling the caller's
callback function.
(WKPageBeginPrinting):
Call WebPageProxy::beginPrinting().
(WKPageDrawPagesToPDF):
Call WebPageProxy::drawPagesToPDF().

  • UIProcess/API/C/WKPagePrivate.h:

Declare the WKPrintInfo type and new functions.

  • UIProcess/WebPageProxy.cpp:

Compile this code on Windows.

  • UIProcess/WebPageProxy.h:

Ditto.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::paint):
We're painting the window; leave printing mode.

  • WebProcess/WebPage/WebPage.cpp:

Compile this code on Windows.

  • WebProcess/WebPage/WebPage.h:

Ditto.

  • WebProcess/WebPage/WebPage.messages.in:

Ditto.

5:15 PM Changeset in webkit [80397] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Bug 54945 - The web page hangs towards the end of page load in Interpreter enabled javascript code in the latest webkit trunk.

Rubber stamped by olliej.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

(1) don't infinite loop.
(2) goto 1.

5:08 PM Changeset in webkit [80396] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

cmake build fix.

  • CMakeLists.txt:
5:07 PM Changeset in webkit [80395] by sfalken@apple.com
  • 11 edits
    2 deletes in trunk/Source

2011-03-04 Steve Falkenburg <sfalken@apple.com>

Reviewed by Darin Adler.

Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784

Calculate the WebKit version for the useragent via autoversion.h
instead of reading it back from the DLL.


We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.

  • WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
  • WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
  • WebView.cpp: (WebView::standardUserAgentWithApplicationName): Use BUILD_NUMBER_SHORT for the version. (osVersion): Removed

2011-03-04 Steve Falkenburg <sfalken@apple.com>

Reviewed by Darin Adler.

Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
<rdar://problem/9021320>

We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.

Fetch the WebKit version from a string resource instead of the version resource.

  • UIProcess/win/WebPageProxyWin.cpp: (WebKit::userVisibleWebKitVersionString): Fetch version from a string resource.
  • win/WebKit2.rc: Removed version, added stringtable.
  • win/WebKit2WebProcess.rc: Removed.
  • win/WebKit2WebProcess.vcproj:
  • win/WebKit2WebProcessPostBuild.cmd: Don't run autoversion script. It isn't used in this project.
  • win/WebKit2WebProcessPreBuild.cmd: Stamp version.
  • win/WebKitPostBuild.cmd: Stamp version.
4:58 PM Changeset in webkit [80394] by jeffm@apple.com
  • 19 edits in trunk/Source/WebKit2

Add WKPageValidateCommand()
https://bugs.webkit.org/show_bug.cgi?id=55793

Reviewed by Darin Adler.

On the Mac, validation of edit menu commands is handled within WebKit2 in WKView.mm.
However, on Windows we need to do this in the client, so expose this functionality
in the API via WKPageValidateCommand().

Change the Mac implementation to call WebPageProxy::validateCommand() with a callback
to match this new API, so it no longer has to go through PageClient to get notified
when a command is validated. This makes PageClient::setEditCommandState() obsolete,
so I removed the stub implementations in qt and gtk as well.

  • UIProcess/API/C/WKPage.cpp:

(WKPageValidateCommand): Added.

  • UIProcess/API/C/WKPage.h: Added WKPageValidateCommand().
  • UIProcess/API/mac/PageClientImpl.h: Removed setEditCommandState().
  • UIProcess/API/mac/PageClientImpl.mm: Removed setEditCommandState().
  • UIProcess/API/mac/WKView.mm:

(validateCommandCallback): Added.
(-[WKView validateUserInterfaceItem:]): Pass callback to validateCommand().

  • UIProcess/API/qt/qwkpage.cpp: Removed setEditCommandState().
  • UIProcess/API/qt/qwkpage_p.h: Removed setEditCommandState().
  • UIProcess/PageClient.h: Removed setEditCommandState().
  • UIProcess/WebPageProxy.cpp: Removed didValidateCommand().

(WebKit::WebPageProxy::validateCommand): This now takes a callback.
(WebKit::WebPageProxy::validateCommandCallback): Added.
(WebKit::WebPageProxy::processDidCrash): Invalidate m_validateCommandCallbacks.

  • UIProcess/WebPageProxy.h: Removed didValidateCommand(), validateCommand() now takes a callback.

(WebKit::ValidateCommandCallback::create): Added.
(WebKit::ValidateCommandCallback::~ValidateCommandCallback): Added.
(WebKit::ValidateCommandCallback::performCallbackWithReturnValue): Added.
(WebKit::ValidateCommandCallback::invalidate): Added.
(WebKit::ValidateCommandCallback::ValidateCommandCallback): Added.

  • UIProcess/WebPageProxy.messages.in: Removed DidValidateCommand, added ValidateCommandCallback.
  • UIProcess/gtk/WebView.cpp: Removed setEditCommandState().
  • UIProcess/gtk/WebView.h: Removed setEditCommandState().
  • UIProcess/win/WebView.cpp: Removed setEditCommandState().
  • UIProcess/win/WebView.h: Removed setEditCommandState().
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::validateCommand): This now takes a callbackID.

  • WebProcess/WebPage/WebPage.h: validateCommand now takes a callbackID.
  • WebProcess/WebPage/WebPage.messages.in: ValidateCommand now takes a callbackID.
4:55 PM Changeset in webkit [80393] by abarth@webkit.org
  • 4 edits
    2 adds in trunk

2011-03-04 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Adam Barth.

Add skeletal WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=55802

  • Source/gyp/configure: Added WebCore.

2011-03-04 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Adam Barth.

Add skeletal WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=55802

This doesn't yet build, but the basic structure is there.

  • WebCore.gypi: Added headers and include directories variables.
  • gyp/WebCore.gyp: Added.
4:35 PM Changeset in webkit [80392] by bweinstein@apple.com
  • 3 edits in trunk/Source/WebKit2

Reference-counting for WKBundlePageResourceLoadClient::willSendRequestForFrame seems unclear/wrong
https://bugs.webkit.org/show_bug.cgi?id=53919
<rdar://problem/8966020>

Reviewed by Darin Adler.

Adopt the result of m_client.willSendRequestForFrame (which will be leaked by the client).

  • WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp:

(WebKit::InjectedBundlePageResourceLoadClient::willSendRequestForFrame):

4:23 PM Changeset in webkit [80391] by Darin Adler
  • 2 edits in trunk/Source/WebKit2

2011-03-04 Darin Adler <Darin Adler>

Reviewed by Mark Rowe.

WebKit2 session state should include even loads too new to be in the back/forward list
https://bugs.webkit.org/show_bug.cgi?id=55781
part of <rdar://problem/8968847>

  • UIProcess/cf/WebPageProxyCF.cpp: (WebKit::WebPageProxy::sessionStateData): Save URLs that are early enough in the loading process to not be included in the back/forward list yet: The pending API request URL and the provisional URL. (WebKit::WebPageProxy::restoreFromSessionStateData): Call loadURL if the back/forward list is not restored and a URL is present. Later we can improve the way we handle the case where we have both a back/forward list and a URL.
4:19 PM Changeset in webkit [80390] by abarth@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

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

Reviewed by Dimitri Glazkov.

Add Copy Files step to JavaScriptCore GYP build for apitest and minidom
https://bugs.webkit.org/show_bug.cgi?id=55798

4:16 PM Changeset in webkit [80389] by abarth@webkit.org
  • 6 edits in trunk/Source

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

Reviewed by Dimitri Glazkov.

Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795

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

Reviewed by Dimitri Glazkov.

Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795

  • WebKit.gyp:

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

Reviewed by Dimitri Glazkov.

Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795

This is just cleanup work, but it was bugging me.

  • WebCore.gyp/WebCore.gyp:
4:13 PM Changeset in webkit [80388] by abarth@webkit.org
  • 1 edit
    1 add in trunk

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

Reviewed by Dimitri Glazkov.

Add a basic configure script for the GYP build
https://bugs.webkit.org/show_bug.cgi?id=55791

This script just calls GYP on the various gyp projects. As we add more
build systems, this script should be able to select which of them you'd
like to generate the project for.

  • Source/gyp/configure: Added.
4:11 PM Changeset in webkit [80387] by abarth@webkit.org
  • 5 edits
    1 add in trunk

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

Reviewed by Dimitri Glazkov.

Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790

This file contains GYP declarations that are shared by all the modules.
Currently, we use this to set up the configurations, albeit primitively.

  • Source/gyp/common.gypi: Added.

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

Reviewed by Dimitri Glazkov.

Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790

Instead of setting up the configuration in each target, just defer to
target_defaults. Also, removed a define that was redundant with the
xcconfig.

  • gyp/JavaScriptCore.gyp:

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

Reviewed by Dimitri Glazkov.

Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790

Instead of setting up the configuration in each target, just defer to
target_defaults. Also, removed a define that was redundant with the
xcconfig.

  • gyp/JavaScriptGlue.gyp:
4:00 PM Changeset in webkit [80386] by jamesr@google.com
  • 2 edits in trunk/Source/WebCore

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

Reviewed by James Robinson.

Option to use skia's native text drawing APIs when drawing text
on Windows, rather than from outlines using drawPath(). This will
only have a significant effect when the skia-gpu backend is enabled.
https://bugs.webkit.org/show_bug.cgi?id=55609

No new tests. This is disabled by default. When enabled, it will draw
essentially the same, but with slightly different antialiased edges, due
to differences between the current scanconverter and GDI's font scaler.
When enabled, we will have to recalibrate layouttest image results.

  • platform/graphics/skia/SkiaFontWin.cpp: (WebCore::skiaDrawText): (WebCore::setupPaintForFont): (WebCore::paintSkiaText):
3:59 PM Changeset in webkit [80385] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-04 Tony Gentilcore <tonyg@chromium.org>

[chromium] Fail new test for JSC feature introduced by r80378
https://bugs.webkit.org/show_bug.cgi?id=55801

  • platform/chromium/test_expectations.txt:
3:57 PM Changeset in webkit [80384] by enne@google.com
  • 5 edits
    5 adds
    2 deletes in trunk

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

Reviewed by James Robinson.

Turn on pixel tests for huge-layer-img.html for better test coverage.
https://bugs.webkit.org/show_bug.cgi?id=55679

Also, modify this test to be more pixel test friendly.

  • compositing/tiling/huge-layer-img-expected.checksum: Added.
  • compositing/tiling/huge-layer-img-expected.png: Added.
  • compositing/tiling/huge-layer-img-expected.txt: Added.
  • compositing/tiling/huge-layer-img.html:
  • platform/chromium-gpu-win/compositing/tiling/huge-layer-img-expected.txt: Removed.
  • platform/chromium-gpu/compositing/tiling/huge-layer-img-expected.txt: Added.
  • platform/mac/compositing/tiling/huge-layer-img-expected.txt: Removed.

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

Reviewed by James Robinson.

[chromium] Fix texture stride issues on large content and image layers.
https://bugs.webkit.org/show_bug.cgi?id=55679

This was an error caused during the refactoring in r80081.

Tests: LayoutTests/compositing/tiling/huge-layer-img.html

  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::updateTexture):
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::updateTextureIfNeeded):
3:38 PM Changeset in webkit [80383] by tonyg@chromium.org
  • 8 edits in trunk

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

Unreviewed, rolling out r80379.
http://trac.webkit.org/changeset/80379
https://bugs.webkit.org/show_bug.cgi?id=55799

"Breaks leopard compile (implicit conversion)" (Requested by
tonyg-cr on #webkit).

  • transitions/matched-transform-functions.html:
  • transitions/retargetted-transition.html:

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

Unreviewed, rolling out r80379.
http://trac.webkit.org/changeset/80379
https://bugs.webkit.org/show_bug.cgi?id=55799

"Breaks leopard compile (implicit conversion)" (Requested by
tonyg-cr on #webkit).

  • css/CSSStyleSelector.cpp: (WebCore::convertToLength): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::createTransformOperations):
  • platform/Length.h: (WebCore::Length::Length): (WebCore::Length::operator==): (WebCore::Length::operator!=): (WebCore::Length::rawValue): (WebCore::Length::type): (WebCore::Length::quirk): (WebCore::Length::setValue): (WebCore::Length::setRawValue): (WebCore::Length::calcFloatValue): (WebCore::Length::isZero): (WebCore::Length::blend):
  • rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::recalcColumn): (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
  • rendering/FixedTableLayout.cpp: (WebCore::FixedTableLayout::calcWidthArray):
3:36 PM Changeset in webkit [80382] by mrowe@apple.com
  • 2 edits in trunk/Tools

<rdar://problem/9055252> DumpRenderTree is crashing with GuardMalloc

Reviewed by Alexey Proskuryakov.

GuardMalloc does not expect the memory containing its malloc_zone_t to ever be read-only.

  • DumpRenderTree/mac/CheckedMalloc.cpp:

(protectionOfRegion): Retrieve the protection flags for the VM region containing the given address.
(makeLargeMallocFailSilently): Save the initial protection flags, temporarily make the region writeable,
and then restore the initial protection flags when we're done.

3:09 PM Changeset in webkit [80381] by jberlin@webkit.org
  • 8 edits in trunk/Source

WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.

Reviewed by Darin Adler.

Add in the CFURLSTORAGESESSIONS guards that I incorrectly left out because the code was
contained within guards that made USE(CFURLSTORAGESESSIONS) always be true.

Source/WebCore:

  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::makeFinalRequest):
(WebCore::ResourceHandle::willSendRequest):

  • platform/network/cf/ResourceRequestCFNet.cpp:
  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::createNSURLConnection):
(WebCore::ResourceHandle::willSendRequest):

  • platform/network/mac/ResourceRequestMac.mm:

Source/WebKit2:

  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::platformInitializeWebProcess):

  • UIProcess/win/WebContextWin.cpp:

(WebKit::WebContext::platformInitializeWebProcess):

3:07 PM Changeset in webkit [80380] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-03-04 Yuqiang Xian <yuqiang.xian@intel.com>

Reviewed by Darin Adler.

improve layout performance by reducing the traversal time of the floating objects
https://bugs.webkit.org/show_bug.cgi?id=55440

We observered large overhead on traversing the floating objects list
in logicalLeftOffsetForLine() and logicalRightOffsetForLine() especially
when the list becomes enormous, for example in the default 30x30 maze test
from http://ie.microsoft.com/testdrive/Performance/MazeSolver/Default.html
there're >3700 floating objects. When placing a new floating object the
entire list (from begin to end) is traversed for multiple times.
There's a low hanging fruit to reduce the chances to do the traversal
which is especially applicable in logicalLeftOffsetForLine and logicalRightOffsetForLine.
As the two routines either cares about FloatLeft objects or FloatRight objects only,
if we know there's no corresponding type floating objects in the list
we can avoid the traversal actually. One thing we could do is to record
the number of FloatLeft objects and the number of FloatRight objects and
add a check before doing the traversal. This can reduce the time by 45%
to resolve the 30x30 Maze measured on N470 Netbook MeeGo using latest
Chromium browser 11 (from 503s to 269s).

No new tests, relying on existing layout tests.

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::~RenderBlock): (WebCore::RenderBlock::addOverflowFromFloats): (WebCore::RenderBlock::repaintOverhangingFloats): (WebCore::RenderBlock::paintFloats): (WebCore::RenderBlock::selectionGaps): (WebCore::RenderBlock::insertFloatingObject): (WebCore::RenderBlock::removeFloatingObject): (WebCore::RenderBlock::removeFloatingObjectsBelow): (WebCore::RenderBlock::positionNewFloats): (WebCore::RenderBlock::positionNewFloatOnLine): (WebCore::RenderBlock::logicalLeftOffsetForLine): (WebCore::RenderBlock::logicalRightOffsetForLine): (WebCore::RenderBlock::nextFloatLogicalBottomBelow): (WebCore::RenderBlock::lowestFloatLogicalBottom): (WebCore::RenderBlock::clearFloats): (WebCore::RenderBlock::addOverhangingFloats): (WebCore::RenderBlock::addIntrudingFloats): (WebCore::RenderBlock::containsFloat): (WebCore::RenderBlock::hitTestFloats): (WebCore::RenderBlock::adjustForBorderFit): (WebCore::RenderBlock::FloatingObjects::clear): (WebCore::RenderBlock::FloatingObjects::increaseObjectsCount): (WebCore::RenderBlock::FloatingObjects::decreaseObjectsCount):
  • rendering/RenderBlock.h: (WebCore::RenderBlock::containsFloats): (WebCore::RenderBlock::FloatingObjects::FloatingObjects): (WebCore::RenderBlock::FloatingObjects::hasLeftObjects): (WebCore::RenderBlock::FloatingObjects::hasRightObjects): (WebCore::RenderBlock::FloatingObjects::set):
  • rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::layoutInlineChildren): (WebCore::RenderBlock::matchedEndLine):
3:05 PM Changeset in webkit [80379] by commit-queue@webkit.org
  • 8 edits in trunk

2011-03-04 Rik Cabanier <cabanier@gmail.com>

Reviewed by David Hyatt.

Fix that allows fixed length values to be floating point
https://bugs.webkit.org/show_bug.cgi?id=52699

Transitions now return matrices in floating point. 2 of the transition tests were failing
because they expected integer values.

  • transitions/matched-transform-functions.html:
  • transitions/retargetted-transition.html:

2011-03-04 Rik Cabanier <cabanier@gmail.com>

Reviewed by David Hyatt.

Fix that allows fixed length values to be floating point
https://bugs.webkit.org/show_bug.cgi?id=52699

  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSStyleSelector.cpp: (WebCore::convertToLength): (WebCore::convertToIntLength): (WebCore::convertToFloatLength): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::createTransformOperations):
  • platform/Length.h: (WebCore::Length::Length): (WebCore::Length::operator==): (WebCore::Length::operator!=): (WebCore::Length::rawValue): (WebCore::Length::type): (WebCore::Length::quirk): (WebCore::Length::setValue): (WebCore::Length::calcFloatValue): (WebCore::Length::isZero): (WebCore::Length::blend): (WebCore::Length::getIntValue): (WebCore::Length::getFloatValue):
  • rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::recalcColumn): (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
  • rendering/FixedTableLayout.cpp: (WebCore::FixedTableLayout::calcWidthArray):
2:34 PM Changeset in webkit [80378] by barraclough@apple.com
  • 127 edits
    3 adds in trunk

Bug 55736 - Implement seal/freeze/preventExtensions for normal object types.
Provide basic functionallity from section 15.2.4 of ECMA-262.
This support will need expanding to cover arrays, too.

Reviewed by Sam Weinig.

Source/JavaScriptCore:

Shows a 0.5% progression on SunSpidey, this seems to be due to changing
ObjectConstructor to use a static table.

(JSC::ExecState::objectConstructorTable):

Add a static table for ObjectConstructor.

  • runtime/CommonIdentifiers.h:
  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):

Add a static table for ObjectConstructor.

  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::reset):

Add a static table for ObjectConstructor.

  • runtime/JSObject.cpp:

(JSC::JSObject::seal):
(JSC::JSObject::freeze):
(JSC::JSObject::preventExtensions):

Transition the object's structure.

(JSC::JSObject::defineOwnProperty):

Check isExtensible.

  • runtime/JSObject.h:

(JSC::JSObject::isSealed):
(JSC::JSObject::isFrozen):
(JSC::JSObject::isExtensible):

These wrap method on structure.

(JSC::JSObject::putDirectInternal):

Check isExtensible.

  • runtime/ObjectConstructor.cpp:

(JSC::ObjectConstructor::ObjectConstructor):
(JSC::ObjectConstructor::getOwnPropertySlot):
(JSC::ObjectConstructor::getOwnPropertyDescriptor):

Change ObjectConstructor to use a static table.

(JSC::objectConstructorSeal):
(JSC::objectConstructorFreeze):
(JSC::objectConstructorPreventExtensions):
(JSC::objectConstructorIsSealed):
(JSC::objectConstructorIsFrozen):
(JSC::objectConstructorIsExtensible):

Add new methods on Object.

  • runtime/ObjectConstructor.h:

(JSC::ObjectConstructor::createStructure):

  • runtime/Structure.cpp:

(JSC::Structure::Structure):

init/propagate m_preventExtensions

(JSC::Structure::sealTransition):
(JSC::Structure::freezeTransition):
(JSC::Structure::preventExtensionsTransition):

transition the structure, materializing the property map, setting m_preventExtensions & changing attributes.

(JSC::Structure::isSealed):
(JSC::Structure::isFrozen):

check attributes to detect if object is sealed/frozen.

  • runtime/Structure.h:

(JSC::Structure::isExtensible):

checks the m_preventExtensions flag.

LayoutTests:

Update results - many more tests PASS.
Also adds a new testcase.

  • fast/js/Object-getOwnPropertyNames-expected.txt:
  • fast/js/script-tests/Object-getOwnPropertyNames.js:
  • ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.10-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.10-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-10-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-11-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-12-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-13-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-14-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-15-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-16-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-17-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-18-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-19-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-20-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-21-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-22-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-23-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-24-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-25-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-26-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-27-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-3-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-4-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-5-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-6-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-7-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-8-expected.txt:
  • ietestcenter/Javascript/15.2.3.11-4-9-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-10-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-11-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-12-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-13-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-14-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-15-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-16-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-17-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-18-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-19-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-20-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-21-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-22-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-23-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-24-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-25-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-26-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-27-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-3-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-4-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-5-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-6-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-7-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-8-expected.txt:
  • ietestcenter/Javascript/15.2.3.12-3-9-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
  • ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
  • ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
  • ietestcenter/Javascript/15.2.3.14-2-5-expected.txt:
  • ietestcenter/Javascript/15.2.3.14-2-6-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-20-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-21-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-23-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-24-expected.txt:
  • ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
  • ietestcenter/Javascript/15.2.3.4-4-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.8-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.8-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.8-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.9-0-1-expected.txt:
  • ietestcenter/Javascript/15.2.3.9-0-2-expected.txt:
  • ietestcenter/Javascript/15.2.3.9-1-expected.txt:
2:08 PM Changeset in webkit [80377] by sfalken@apple.com
  • 1 edit in trunk/Source/WebCore/ChangeLog

Fix ChangeLog

2:07 PM Changeset in webkit [80376] by evan@chromium.org
  • 2 edits in trunk/Tools

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

Reviewed by Tony Chang.

[gdb] pretty-print KURL in gdb
https://bugs.webkit.org/show_bug.cgi?id=55788

  • gdb/webkit.py: extend the pretty-printers to print WTF::CString and KURLGooglePrivate. As always, "p/r" can be used to sidestep pretty-printing.
2:06 PM Changeset in webkit [80375] by sfalken@apple.com
  • 5 edits
    1 delete in trunk/Source/WebCore

Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784

Reviewed by NOBODY Jon Honeycutt.

We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.

  • WebCore.vcproj/QTMovieWin.rc: Removed.
  • WebCore.vcproj/QTMovieWin.vcproj:
  • WebCore.vcproj/QTMovieWinPostBuild.cmd: Stamp version with VersionStamper.
  • WebCore.vcproj/QTMovieWinPreBuild.cmd: Don't run auto-version.sh. We don't use autoversion.h in this project.
  • WebCore.vcproj/WebCoreMediaQT.vsprops: Remove unnecessary include paths for resource files.
2:05 PM Changeset in webkit [80374] by sfalken@apple.com
  • 4 edits
    1 delete in trunk/Source/JavaScriptCore

Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
<rdar://problem/9021273>

Reviewed by Jon Honeycutt.

We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.

2:03 PM Changeset in webkit [80373] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-04 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: follow up to 80355, fixing Qt tests.

  • http/tests/inspector/inspector-test.js:
1:59 PM Changeset in webkit [80372] by mihaip@chromium.org
  • 14 edits
    1 copy
    9 adds in trunk/LayoutTests

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

Unreviewed Chromium Snow Leopard rebaseline.

Rebaseline fast/blockflow.

  • platform/chromium-mac-leopard/fast/blockflow/english-lr-text-expected.checksum: Copied from LayoutTests/platform/chromium-mac/fast/blockflow/english-lr-text-expected.checksum.
  • platform/chromium-mac-leopard/fast/blockflow/english-lr-text-expected.png: Added.
  • platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.checksum:
  • platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.png:
  • platform/chromium-mac/fast/blockflow/english-lr-text-expected.checksum:
  • platform/chromium-mac/fast/blockflow/english-lr-text-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.checksum:
  • platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.png:
  • platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.checksum:
  • platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.png:
  • platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.checksum:
  • platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.png:
  • platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.checksum:
  • platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
  • platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
  • platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.checksum:
  • platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.png:
  • platform/chromium/test_expectations.txt:
1:28 PM Changeset in webkit [80371] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-04 Cosmin Truta <ctruta@chromium.org>

Reviewed by Adam Barth.

Clarify comment about potential memory leak in SVGImage
https://bugs.webkit.org/show_bug.cgi?id=55362

No functionality change. No new tests.

  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged):
12:37 PM Changeset in webkit [80370] by jberlin@webkit.org
  • 13 edits in trunk

WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.

Reviewed by Maciej Stachowiak.

When Private Browsing is enabled, get the cached url response from the cache associated with
the Private Browsing Storage Session.

Source/WebCore:

  • WebCore.exp.in:

Export the symbol for ResourceHandle::privateBrowsingStorageSession.

Source/WebKit/mac:

  • WebView/WebView.mm:

(-[WebView _cachedResponseForURL:]):

Source/WebKit2:

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::platformHasLocalDataForURL):
If Private Browsing is enabled, call into WKSI to get the response.
(WebKit::WebPage::cachedResponseMIMETypeForURL):
Ditto.

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::WebPage::platformHasLocalDataForURL):
If Private Browsing is enabled, call into WKSI to get the CFURLCacheRef.
(WebKit::WebPage::cachedResponseMIMETypeForURL):
Ditto.

WebKitLibraries:

Update WebKitSystemInterface headers and libraries with the new functions.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
12:30 PM Changeset in webkit [80369] by mdelaney@apple.com
  • 1 edit
    1 move in trunk/LayoutTests

2011-03-03 Matthew Delaney <mdelaney@apple.com>

Reviewed by Darin Adler.

Incorrect location for expected result for 2d.line.cap.closed.html
https://bugs.webkit.org/show_bug.cgi?id=55637

  • platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.closed-expected.txt: Copied from LayoutTests/platform/mac/canvas/philip/tests/2d.line.cap.closed-expected.txt.
  • platform/mac/canvas/philip/tests/2d.line.cap.closed-expected.txt: Removed.
11:21 AM Changeset in webkit [80368] by abarth@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

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

Reviewed by Dimitri Glazkov.

JavaScriptCore GYP build should use a header map
https://bugs.webkit.org/show_bug.cgi?id=55712

This patch moves the os-win32 files into their own variable so that we
can use a header map in the Apple Mac Xcode build. The problem is that
the header map searches the whole project rather than just the files
included in a given target. Another solution to this problem is to
make GYP smarter about filtering out what files are added to the
project file.

11:17 AM Changeset in webkit [80367] by steveblock@google.com
  • 10 edits
    2 moves in trunk/Source/WebCore

2011-03-04 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

JSC and V8 versions of Java bridge should share JobjectWrapper
https://bugs.webkit.org/show_bug.cgi?id=55763

No new tests, refactoring only.

  • Android.jscbindings.mk:
  • Android.v8bindings.mk:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.xcodeproj/project.pbxproj:
  • bridge/jni/JobjectWrapper.cpp: (JobjectWrapper::JobjectWrapper): (JobjectWrapper::~JobjectWrapper):
  • bridge/jni/JobjectWrapper.h: (JSC::Bindings::JobjectWrapper::instance): (JSC::Bindings::JobjectWrapper::setInstance): (JSC::Bindings::JobjectWrapper::ref): (JSC::Bindings::JobjectWrapper::deref):
  • bridge/jni/jsc/JNIBridgeJSC.cpp: (JavaField::JavaField): (JavaArray::JavaArray):
  • bridge/jni/jsc/JNIBridgeJSC.h:
  • bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::JavaInstance):
  • bridge/jni/jsc/JavaInstanceJSC.h:
10:32 AM Changeset in webkit [80366] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

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

Unreviewed Chromium expectations update.

Add one expected failure for Snow Leopard, make other failure lines
more specific (since the tests pass on SL) and remove some flaky test
entries for tests that are no longer flaky.

  • platform/chromium/test_expectations.txt:
10:08 AM Changeset in webkit [80365] by jeffm@apple.com
  • 5 edits in trunk/Source/WebKit2

2011-03-04 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Move WKViewExecuteCommand() to WKPageExecuteCommand()
https://bugs.webkit.org/show_bug.cgi?id=55744


Executing a command operates on a page, so it makes more sense for it to be in WKPage.
This also makes it available on all platforms, not just Windows.

  • UIProcess/API/C/WKPage.cpp: (WKPageExecuteCommand): Added.
  • UIProcess/API/C/WKPage.h: Add WKPageExecuteCommand().
  • UIProcess/API/C/win/WKView.cpp: Remove WKViewExecuteCommand().
  • UIProcess/API/C/win/WKView.h: Remove WKViewExecuteCommand().
10:08 AM Changeset in webkit [80364] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-04 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update.

[chromium] Rebaseline to match r80351
https://bugs.webkit.org/show_bug.cgi?id=55783

  • platform/chromium/inspector/timeline/timeline-network-resource-expected.txt:
9:55 AM Changeset in webkit [80363] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

[Windows 7 WebKit2 Release Tests] fast/frames/iframe-plugin-load-remove-document-crash.html
and platform/win/plugins/get-value-netscape-window.html crashing.
https://bugs.webkit.org/show_bug.cgi?id=55778
https://bugs.webkit.org/show_bug.cgi?id=55780

Unreviewed. Add these tests to the Windows WebKit2 Skipped list to get the bots green.

  • platform/win-wk2/Skipped:
9:38 AM Changeset in webkit [80362] by Patrick Gansterer
  • 13 edits in trunk/Source/WebCore

2011-03-04 Patrick Gansterer <Patrick Gansterer>

Reviewed by Nikolas Zimmermann.

Move shared code into SVGStyledTransformableElement::svgAttributeChanged
https://bugs.webkit.org/show_bug.cgi?id=55771

All sub classes of SVGStyledTransformableElement request a relayout
the same way. So move that code into the common base class.

  • svg/SVGCircleElement.cpp: (WebCore::SVGCircleElement::svgAttributeChanged):
  • svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::svgAttributeChanged):
  • svg/SVGForeignObjectElement.cpp: (WebCore::SVGForeignObjectElement::svgAttributeChanged):
  • svg/SVGGElement.cpp: (WebCore::SVGGElement::svgAttributeChanged):
  • svg/SVGImageElement.cpp: (WebCore::SVGImageElement::svgAttributeChanged):
  • svg/SVGLineElement.cpp: (WebCore::SVGLineElement::svgAttributeChanged):
  • svg/SVGPathElement.cpp: (WebCore::SVGPathElement::svgAttributeChanged):
  • svg/SVGPolyElement.cpp: (WebCore::SVGPolyElement::svgAttributeChanged):
  • svg/SVGRectElement.cpp: (WebCore::SVGRectElement::svgAttributeChanged):
  • svg/SVGStyledTransformableElement.cpp: (WebCore::SVGStyledTransformableElement::svgAttributeChanged):
  • svg/SVGStyledTransformableElement.h:
  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::svgAttributeChanged):
9:32 AM QtWebKitReleases edited by Ademar Reis
minor (diff)
9:22 AM Changeset in webkit [80361] by jam@chromium.org
  • 7 edits in trunk/Source

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

Reviewed by Dimitri Glazkov.

[chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
https://bugs.webkit.org/show_bug.cgi?id=55748

  • DEPS:
  • public/WebURLResponse.h:
  • src/WebURLResponse.cpp:

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

Reviewed by Dimitri Glazkov.

[chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
https://bugs.webkit.org/show_bug.cgi?id=55748

  • platform/network/chromium/ResourceResponse.cpp: (WebCore::ResourceResponse::doPlatformCopyData): (WebCore::ResourceResponse::doPlatformAdopt):
  • platform/network/chromium/ResourceResponse.h: (WebCore::ResourceResponse::ResourceResponse):
9:22 AM Changeset in webkit [80360] by Philippe Normand
  • 2 edits in trunk/LayoutTests

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

Reviewed by Martin Robinson.

[GTK] media/audio-repaint.html times out
https://bugs.webkit.org/show_bug.cgi?id=55761

  • media/audio-repaint.html: Register the seeked event listener before performing the seek and thus avoid a timeout of the test.
9:20 AM Changeset in webkit [80359] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

LLVM Compiler build fix.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::runJavaScriptInMainFrame):

9:19 AM QtWebKitReleases edited by Ademar Reis
misc fixes + a section about the qtwebkit/tools used for release-management (diff)
8:46 AM Changeset in webkit [80358] by timothy@apple.com
  • 14 edits in trunk

Make the WKPageRunJavaScriptFunction callback take a WKSerializedScriptValueRef.

Source/WebCore: Export SerializedScriptValue::create(JSC::ExecState* exec, JSC::JSValue value).

Reviewed by Darin Adler.

  • WebCore.exp.in: Added ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueE.

Source/WebKit2: Make the WKPageRunJavaScriptFunction callback take a WKSerializedScriptValueRef.

https://webkit.org/b/55623

Reviewed by Darin Adler.

  • UIProcess/API/C/WKPage.cpp:

(WKPageRunJavaScriptInMainFrame): Use ScriptValueCallback.
(callRunJavaScriptBlockAndRelease): Use WKSerializedScriptValueRef.

  • UIProcess/API/C/WKPage.h: Use WKSerializedScriptValueRef.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::close): Call invalidateCallbackMap for m_scriptValueCallbacks.
(WebKit::WebPageProxy::runJavaScriptInMainFrame): Take a ScriptValueCallback.
(WebKit::WebPageProxy::scriptValueCallback): Added. Create a WebSerializedScriptValue
from the DataReference before calling the callback.
(WebKit::WebPageProxy::processDidCrash): Call invalidateCallbackMap for m_scriptValueCallbacks.

  • UIProcess/WebPageProxy.h: Added ScriptValueCallback and m_scriptValueCallbacks.
  • UIProcess/WebPageProxy.messages.in: Added ScriptValueCallback.
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::runJavaScriptInMainFrame): Create a DataReference from a WebCore::SerializedScriptValue.
And use ScriptValueCallback to send the message back.

Tools: Update the tests that use WKPageRunJavaScriptInMainFrame use the WKSerializedScriptValueRef.

Reviewed by Darin Adler.

  • TestWebKitAPI/JavaScriptTest.cpp:

(TestWebKitAPI::javaScriptCallback):

  • TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:

(TestWebKitAPI::didRunJavaScript):

  • TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:

(TestWebKitAPI::nullJavaScriptCallback):

  • TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:

(TestWebKitAPI::didRunJavaScript):

8:46 AM Changeset in webkit [80357] by timothy@apple.com
  • 2 edits in trunk/Tools

Make run-api-tests show failed if a test fails.

https://webkit.org/b/55725

Reviewed by Sam Weinig.

  • Scripts/run-api-tests:

(runTest): Remove "my" from the nested $result assignment so the
check outside the condition sees the real result.

8:40 AM Changeset in webkit [80356] by podivilov@chromium.org
  • 10 edits in trunk

2011-03-04 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: extract all code that depends on source mapping from SourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=55464

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest):
  • inspector/debugger/debug-inlined-scripts.html:
  • inspector/debugger/debugger-breakpoints-not-activated-on-reload.html:
  • inspector/debugger/debugger-pause-on-breakpoint.html:
  • inspector/debugger/source-frame.html:

2011-03-04 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: extract all code that depends on source mapping from SourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=55464

Extract all dependencies on DebuggerModel and ScriptsPanel to a delegate class
to encapsulate source mapping aspects from SourceFrame.

  • inspector/front-end/ResourceView.js: (WebInspector.ResourceView.createResourceView): (WebInspector.SourceFrameDelegateForResourcesPanel): (WebInspector.SourceFrameDelegateForResourcesPanel.prototype.requestContent):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._createSourceFrame): (WebInspector.SourceFrameDelegateForScriptsPanel):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): (WebInspector.SourceFrame.prototype.show): (WebInspector.SourceFrame.prototype._createTextViewer): (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint.didEditBreakpointCondition): (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint): (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition.didEditBreakpointCondition): (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition): (WebInspector.SourceFrame.prototype._contextMenu.else.setBreakpointEnabled): (WebInspector.SourceFrame.prototype._contextMenu): (WebInspector.SourceFrame.prototype._mouseDown): (WebInspector.SourceFrame.prototype._mouseMove): (WebInspector.SourceFrame.prototype._hidePopup): (WebInspector.SourceFrame.prototype._mouseHover): (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup): (WebInspector.SourceFrame.prototype._showPopup): (WebInspector.SourceFrame.prototype._doubleClick): (WebInspector.SourceFrame.prototype._didEditLine): (WebInspector.SourceFrameDelegate): (WebInspector.SourceFrameDelegate.prototype.requestContent): (WebInspector.SourceFrameDelegate.prototype.debuggingSupported): (WebInspector.SourceFrameDelegate.prototype.setBreakpoint): (WebInspector.SourceFrameDelegate.prototype.removeBreakpoint): (WebInspector.SourceFrameDelegate.prototype.updateBreakpoint): (WebInspector.SourceFrameDelegate.prototype.findBreakpoint): (WebInspector.SourceFrameDelegate.prototype.continueToLine): (WebInspector.SourceFrameDelegate.prototype.canEditScriptSource): (WebInspector.SourceFrameDelegate.prototype.editScriptSource): (WebInspector.SourceFrameDelegate.prototype.debuggerPaused): (WebInspector.SourceFrameDelegate.prototype.evaluate): (WebInspector.SourceFrameDelegate.prototype.releaseEvaluationResult):
8:37 AM Changeset in webkit [80355] by caseq@chromium.org
  • 7 edits in trunk

2011-03-04 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Use internal ids for resources in extension server.
Log errors in inspector tests.

Web Inspector: [Extensions API] maintain own, unique & persistent identifiers for resources
https://bugs.webkit.org/show_bug.cgi?id=55686

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.consoleOutputHook):

2011-03-04 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Extensions API] maintain own, unique & persistent identifiers for resources.
https://bugs.webkit.org/show_bug.cgi?id=55686

  • Use internal ids for resources in extension server.
  • Log errors in inspector tests.
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer): (WebInspector.ExtensionServer.prototype.resetResources): (WebInspector.ExtensionServer.prototype._notifyResourceFinished): (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource): (WebInspector.ExtensionServer.prototype._onGetHAR): (WebInspector.ExtensionServer.prototype._onGetResourceContent): (WebInspector.ExtensionServer.prototype._resourceId): (WebInspector.ExtensionServer.prototype._resourceById):
  • inspector/front-end/HAREntry.js: (WebInspector.HARLog): (WebInspector.HARLog.prototype._convertResource):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._reset):
8:25 AM Changeset in webkit [80354] by caseq@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-04 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: exceptions when building context menu in network panel
https://bugs.webkit.org/show_bug.cgi?id=55678

  • inspector/front-end/DataGrid.js: (WebInspector.DataGrid.prototype.dataGridNodeFromNode): (WebInspector.DataGrid.prototype.dataGridNodeFromPoint):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._contextMenu):
8:07 AM Changeset in webkit [80353] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebCore

2011-03-04 Ilya Sherman <isherman@chromium.org>

Reviewed by James Robinson.

Override paintScrollCorner() for FramelessScrollView to forego any custom scrollbar corner rendering.
This was previously done in ScrollbarThemeChromium, but we also need this on the Mac when the ScrollView
is a FramelessScrollView -- which is mostly just for Autofill.
In service of http://crbug.com/73772 (crash)
https://bugs.webkit.org/show_bug.cgi?id=55557

No tests added because this fix is Chromium-specific and the code is currently untestable from within WebKit.
In particular, DRT crashes when trying to render a FramelessScrollView.

  • platform/ScrollbarTheme.h: (WebCore::ScrollbarTheme::paintScrollCorner): Body moved to static function defaultPaintScrollCorner(). (WebCore::ScrollbarTheme::defaultPaintScrollCorner): Added.
  • platform/chromium/FramelessScrollView.cpp: (WebCore::FramelessScrollView::paintContents): (WebCore::FramelessScrollView::paintScrollCorner): Fix implementation moved to here from ScrollbarThemeChromium
  • platform/chromium/FramelessScrollView.h:
  • platform/chromium/ScrollbarThemeChromium.cpp:
  • platform/chromium/ScrollbarThemeChromium.h:
7:59 AM Changeset in webkit [80352] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/efl

2011-03-04 Grzegorz Czajkowski <g.czajkowski@samsung.com>

Reviewed by Kent Tamura.

[EFL] Doxygen documentation for ewk_settings
https://bugs.webkit.org/show_bug.cgi?id=55667

  • ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): only style is fixed
  • ewk/ewk_settings.h:
7:26 AM Changeset in webkit [80351] by pfeldman@chromium.org
  • 3 edits in trunk/LayoutTests

2011-03-04 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: fix inspector test flake.

  • inspector/timeline/timeline-network-resource-expected.txt:
  • inspector/timeline/timeline-network-resource.html:
7:15 AM Changeset in webkit [80350] by yurys@chromium.org
  • 10 edits in trunk/Source/WebCore

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

Reviewed by Pavel Feldman.

Web Inspector: move dispatching of didCommitLoad to agents into InspectorInstrumentation
https://bugs.webkit.org/show_bug.cgi?id=55770

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::didCommitLoad):
  • inspector/InspectorCSSAgent.cpp: (WebCore::InspectorCSSAgent::InspectorCSSAgent): (WebCore::InspectorCSSAgent::~InspectorCSSAgent):
  • inspector/InspectorCSSAgent.h:
  • inspector/InspectorDatabaseAgent.cpp: (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didCommitLoadImpl):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::didCommitLoad):
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::create): (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::~InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole): (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole): (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling): (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
  • inspector/InspectorProfilerAgent.h:
  • inspector/InstrumentingAgents.h: (WebCore::InstrumentingAgents::InstrumentingAgents): (WebCore::InstrumentingAgents::inspectorCSSAgent): (WebCore::InstrumentingAgents::setInspectorCSSAgent): (WebCore::InstrumentingAgents::inspectorDOMStorageAgent): (WebCore::InstrumentingAgents::setInspectorDOMStorageAgent): (WebCore::InstrumentingAgents::inspectorDatabaseAgent): (WebCore::InstrumentingAgents::setInspectorDatabaseAgent): (WebCore::InstrumentingAgents::inspectorApplicationCacheAgent): (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent): (WebCore::InstrumentingAgents::inspectorDebuggerAgent): (WebCore::InstrumentingAgents::setInspectorDebuggerAgent): (WebCore::InstrumentingAgents::inspectorBrowserDebuggerAgent): (WebCore::InstrumentingAgents::setInspectorBrowserDebuggerAgent): (WebCore::InstrumentingAgents::inspectorProfilerAgent): (WebCore::InstrumentingAgents::setInspectorProfilerAgent):
7:09 AM Writing Layout Tests for DumpRenderTree edited by playmobil@google.com
Add links to view LayoutTest files in trac . (diff)
7:05 AM Changeset in webkit [80349] by loislo@chromium.org
  • 18 edits in trunk

2011-03-04 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: rename RuntimeAgent's function from releaseWrapperObjectGroup to releaseObjectGroup.
https://bugs.webkit.org/show_bug.cgi?id=55773

  • inspector/protocol/runtime-agent-expected.txt:
  • inspector/protocol/runtime-agent.html:

2011-03-04 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: rename RuntimeAgent's function from releaseWrapperObjectGroup to releaseObjectGroup.
https://bugs.webkit.org/show_bug.cgi?id=55773

  • inspector/CodeGeneratorInspector.pm:
  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::releaseObjectGroup):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::releaseObjectGroup):
  • inspector/InjectedScriptHost.h:
  • inspector/InjectedScriptSource.js: (.):
  • inspector/Inspector.idl:
  • inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::clearConsoleMessages):
  • inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
  • inspector/InspectorRuntimeAgent.h:
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions.evaluatedProperties): (WebInspector.ConsoleView.prototype.completions):
  • inspector/front-end/PropertiesSidebarPane.js:
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._hidePopup):
  • inspector/front-end/WatchExpressionsSidebarPane.js: (WebInspector.WatchExpressionsSection.prototype.update):
6:51 AM Changeset in webkit [80348] by podivilov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-02 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: Gutter height should be 100% when few lines are displayed
https://bugs.webkit.org/show_bug.cgi?id=55574

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._startEditing):
  • inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._syncScroll): (WebInspector.TextEditorGutterPanel.prototype._expandChunks): (WebInspector.TextEditorGutterPanel.prototype.textChanged): (WebInspector.TextEditorGutterPanel.prototype.syncClientHeight):
  • inspector/front-end/textViewer.css: (.text-editor-lines): (.text-editor-contents .inner-container): (.webkit-line-number):
6:40 AM Changeset in webkit [80347] by podivilov@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-04 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: [Text editor] Do bisect to find visible chunks
https://bugs.webkit.org/show_bug.cgi?id=55685

  • inspector/front-end/TextViewer.js: (WebInspector.TextEditorChunkedPanel.prototype._chunkNumberForLine): (WebInspector.TextEditorChunkedPanel.prototype._findVisibleChunks): (WebInspector.TextEditorChunkedPanel.prototype._repaintAll): (WebInspector.TextEditorGutterChunk.prototype.get offsetTop): (WebInspector.TextEditorMainPanel.prototype._updateHighlightsForRange): (WebInspector.TextEditorMainChunk.prototype.get offsetTop):
6:20 AM Changeset in webkit [80346] by podivilov@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-04 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: [Text editor] DOMNodeRemoved events are missing
https://bugs.webkit.org/show_bug.cgi?id=55769

5:26 AM Changeset in webkit [80345] by loislo@chromium.org
  • 5 edits in trunk

2011-03-04 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Remove unnecessary domain and success flags from the response messages.
https://bugs.webkit.org/show_bug.cgi?id=55768

We have domain property in the response messages but it is not used because we dispatch
the responses on the callback associated with seq.

If we have property 'errors' in the response then success eq false and true in the other case.

  • inspector/protocol/runtime-agent-expected.txt:
  • inspector/report-protocol-errors-expected.txt:

2011-03-04 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Remove unnecessary domain and success flags from the response messages.
https://bugs.webkit.org/show_bug.cgi?id=55768

We have domain property in the response messages but it is not used because we dispatch
the responses on the callback associated with seq.

If we have property 'errors' in the response then success eq false and true in the other case.

  • inspector/CodeGeneratorInspector.pm:
5:18 AM Changeset in webkit [80344] by christian@webkit.org
  • 8 edits in trunk/Source/WebCore

Enable Copy Image Address context menu item in the Gtk port
https://bugs.webkit.org/show_bug.cgi?id=55136

Reviewed by Gustavo Noronha Silva.

  • page/ContextMenuController.cpp:
  • platform/ContextMenuItem.h:
  • platform/LocalizationStrategy.h:
  • platform/LocalizedStrings.cpp:
  • platform/LocalizedStrings.h:
  • platform/gtk/ContextMenuItemGtk.cpp:
  • platform/gtk/LocalizedStringsGtk.cpp:
4:37 AM Changeset in webkit [80343] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Unreviewed.

[Qt] Two http auth tests fail with Qt 4.7.2
https://bugs.webkit.org/show_bug.cgi?id=55767

Add failing tests to the Skipped list to make buildbot happy.

  • platform/qt/Skipped: Add http/tests/appcache/auth.html and http/tests/xmlhttprequest/basic-auth.html.
3:16 AM Changeset in webkit [80342] by pfeldman@chromium.org
  • 14 edits in trunk

2011-03-04 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: implement getCompletions via evaluate.
https://bugs.webkit.org/show_bug.cgi?id=55759

  • inspector/InjectedScript.cpp:
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptSource.js:
  • inspector/Inspector.idl:
  • inspector/InspectorDebuggerAgent.cpp:
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorRuntimeAgent.cpp:
  • inspector/InspectorRuntimeAgent.h:
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions.evaluated): (WebInspector.ConsoleView.prototype.completions.evaluatedProperties): (WebInspector.ConsoleView.prototype.completions): (WebInspector.ConsoleView.prototype._reportCompletions):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame.updatingCallbackWrapper): (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._showPopup): (WebInspector.SourceFrame.prototype._evalSelectionInCallFrame):
3:11 AM Changeset in webkit [80341] by loislo@chromium.org
  • 2 edits
    3 adds in trunk/LayoutTests

2011-03-03 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce a protocol test for RuntimeAgent API.
https://bugs.webkit.org/show_bug.cgi?id=55482

  • http/tests/inspector/protocol-test.js: Added. (initialize_ProtocolTest.InspectorTest.filterProps): (initialize_ProtocolTest.InspectorTest._dumpStepResult): (initialize_ProtocolTest.InspectorTest._runNextStep): (initialize_ProtocolTest.InspectorTest.runProtocolTestSuite): (initialize_ProtocolTest):
  • inspector/protocol/runtime-agent-expected.txt: Added.
  • inspector/protocol/runtime-agent.html: Added.
2:13 AM SuccessfulPortHowTo edited by vikasdalal111@yahoo.co.in
(diff)
2:06 AM Changeset in webkit [80340] by morrita@google.com
  • 3 edits in trunk/Tools

2011-03-02 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

[Chromium][DRT] WebTask should use webkit_support::TaskAdaptor
https://bugs.webkit.org/show_bug.cgi?id=55434

Changed WebTask to be a subclass of webkit_support::TaskAdaptor
and passed the object webkit_support::PostDelayedTask directly.

Note that the change keeps postTask() as is because it has a
semantics taht webkit_support::PostDelayedTask() has; It jumps to
the main thread.

  • DumpRenderTree/chromium/Task.cpp: (postDelayedTask):
  • DumpRenderTree/chromium/Task.h: (WebTask::Run):
1:45 AM Changeset in webkit [80339] by steveblock@google.com
  • 2 edits in trunk/Source/WebCore

2011-03-04 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

V8 version of JavaString should obtain string from JNI in UTF-16 encoding
https://bugs.webkit.org/show_bug.cgi?id=55566

We obtain the string from JNI in UTF-16 encoding and convert
to UTF-8 using our own routines as required. This matches the
behaviour of the JSC version of JavaString.

No new tests, no change in behaviour.

  • bridge/jni/v8/JavaStringV8.h: (JSC::Bindings::JavaStringImpl::init): (JSC::Bindings::JavaStringImpl::utf8): (JSC::Bindings::JavaStringImpl::impl):
1:40 AM Changeset in webkit [80338] by pfeldman@chromium.org
  • 19 edits in trunk

2011-03-03 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: do not push document into front-end, make it request one.
https://bugs.webkit.org/show_bug.cgi?id=55664

  • inspector/Inspector.idl:
  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent):
  • inspector/InspectorAgent.h:
  • inspector/InspectorBrowserDebuggerAgent.cpp: (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::InspectorDOMAgent): (WebCore::InspectorDOMAgent::clearFrontend): (WebCore::InspectorDOMAgent::setDocument): (WebCore::InspectorDOMAgent::getDocument): (WebCore::InspectorDOMAgent::pushNodePathToFrontend): (WebCore::InspectorDOMAgent::boundNodeId): (WebCore::InspectorDOMAgent::resolveNode): (WebCore::InspectorDOMAgent::mainFrameDOMContentLoaded):
  • inspector/InspectorDOMAgent.h: (WebCore::InspectorDOMAgent::create):
  • inspector/front-end/BreakpointManager.js: (WebInspector.BreakpointManager.prototype.restoreDOMBreakpoints): (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement.decorateNode): (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement):
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMDocument): (WebInspector.DOMAgent): (WebInspector.DOMAgent.prototype.requestDocument): (WebInspector.DOMAgent.prototype.pushNodeToFrontend): (WebInspector.DOMAgent.prototype.pushNodeByPathToFrontend): (WebInspector.DOMAgent.prototype._attributesUpdated): (WebInspector.DOMAgent.prototype._characterDataModified): (WebInspector.DOMAgent.prototype._documentUpdated): (WebInspector.DOMAgent.prototype._setDocument): (WebInspector.DOMAgent.prototype._setDetachedRoot): (WebInspector.DOMAgent.prototype._setChildNodes): (WebInspector.DOMAgent.prototype._childNodeInserted): (WebInspector.DOMAgent.prototype._childNodeRemoved): (WebInspector.DOMDispatcher.prototype.documentUpdated):
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.show): (WebInspector.ElementsPanel.prototype.setDocument):
  • inspector/front-end/MetricsSidebarPane.js:
  • inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.prototype.pushNodeToFrontend):

2011-03-03 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: do not push document into front-end, make it request one.
https://bugs.webkit.org/show_bug.cgi?id=55664

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest.): (initialize_DebuggerTest):
  • http/tests/inspector/elements-test.js: (initialize_ElementTest.InspectorTest.nodeWithId.documentRequested): (initialize_ElementTest.InspectorTest.nodeWithId): (initialize_ElementTest.InspectorTest.dumpDOMAgentTree): (initialize_ElementTest):
  • inspector/console/command-line-api-inspect.html:
  • inspector/elements/dom-agent-query-selector.html:
  • inspector/elements/mutate-unknown-node.html:
  • inspector/styles/styles-new-API.html:
1:26 AM Changeset in webkit [80337] by caseq@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-04 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: summary bar may overlap content of the network item view
https://bugs.webkit.org/show_bug.cgi?id=55656

  • drop custom summary bar placement logic, do it with CSS instead.
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype.resize): (WebInspector.NetworkPanel.prototype._createSummaryBar): (WebInspector.NetworkPanel.prototype._updateSummaryBar): (WebInspector.NetworkPanel.prototype._updateFilter): (WebInspector.NetworkPanel.prototype.show): (WebInspector.NetworkPanel.prototype.refresh): (WebInspector.NetworkPanel.prototype._reset): (WebInspector.NetworkPanel.prototype._setLargerResources): (WebInspector.NetworkPanel.prototype._updateOffscreenRows):
  • inspector/front-end/networkPanel.css: (.network-sidebar .data-grid td): (.network-sidebar tr.filler td): (.network-summary-bar): (.network-sidebar .data-grid .network-summary-bar td): (.network-summary-bar img):
1:04 AM Changeset in webkit [80336] by commit-queue@webkit.org
  • 5 edits in trunk/Source

2011-03-04 James Su <suzhe@chromium.org>

Reviewed by Dimitri Glazkov.

[Chromium] keycode is always 0 when using non-Latin keyboard layout.
https://bugs.webkit.org/show_bug.cgi?id=54939

Add KeyEventCocoa.{h,mm}, so that we can reuse them in chromium.

No intended functionality change.

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:

2011-03-04 James Su <suzhe@chromium.org>

Reviewed by Dimitri Glazkov.

[Chromium] keycode is always 0 when using non-Latin keyboard layout.
https://bugs.webkit.org/show_bug.cgi?id=54939

No intended functionality change.

  • src/mac/WebInputEventFactory.mm: (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation provided in WebCore/platform/mac/KeyEventMac.mm.
12:53 AM Changeset in webkit [80335] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-03-04 Patrick Gansterer <Patrick Gansterer>

Unreviewed EFL build fix for r80324.

  • platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::paintThemePart):
12:44 AM Changeset in webkit [80334] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-03-04 Patrick Gansterer <Patrick Gansterer>

Unreviewed EFL build fix for r80324.

  • platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::paintThemePart):
12:38 AM Changeset in webkit [80333] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit/chromium

2011-03-04 Zelidrag Hornung <zelidrag@chromium.org>

Reviewed by David Levin

Expose ability to create instance of DOMFileSystem from Chromium side.
https://bugs.webkit.org/show_bug.cgi?id=55618

  • public/WebFrame.h:
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::createFileSystem):
  • src/WebFrameImpl.h:
12:28 AM Changeset in webkit [80332] by yurys@chromium.org
  • 6 edits in trunk/Source/WebCore

2011-03-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: AppCache agent should have same lifetime as InspectorAgent
https://bugs.webkit.org/show_bug.cgi?id=55673

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::setFrontend): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::createFrontendLifetimeAgents): (WebCore::InspectorAgent::releaseFrontendLifetimeAgents): (WebCore::InspectorAgent::didCommitLoad):
  • inspector/InspectorApplicationCacheAgent.cpp: (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent): (WebCore::InspectorApplicationCacheAgent::setFrontend): (WebCore::InspectorApplicationCacheAgent::clearFrontend):
  • inspector/InspectorApplicationCacheAgent.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::networkStateChangedImpl): (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl):
  • inspector/InstrumentingAgents.h: (WebCore::InstrumentingAgents::inspectorApplicationCacheAgent): (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent):
12:06 AM CommitterTips edited by ojan@chromium.org
(diff)

Mar 3, 2011:

11:20 PM Changeset in webkit [80331] by bweinstein@apple.com
  • 11 edits in trunk/Source

Cleanup from https://bugs.webkit.org/show_bug.cgi?id=55427.

Reviewed by Adam Roben.

Source/WebCore:

Call WebCore::startObservingCookieChanges and WebCore::stopObservingCookieChanges
on all platforms, and stub the functions on platforms that don't implement them.

Add startObservingCookieChanges and stopObservingCookieChanges to TemporaryLinkStubs
for platforms that don't implement them.

  • platform/android/TemporaryLinkStubs.cpp:
  • platform/brew/TemporaryLinkStubs.cpp:
  • platform/chromium/TemporaryLinkStubs.cpp:
  • platform/efl/TemporaryLinkStubs.cpp:
  • platform/gtk/TemporaryLinkStubs.cpp:
  • platform/haiku/TemporaryLinkStubs.cpp:
  • platform/qt/TemporaryLinkStubsQt.cpp:
  • platform/win/TemporaryLinkStubs.cpp:

Source/WebKit2:

Call WebCore::startObservingCookieChanges and WebCore::stopObservingCookieChanges
on all platforms, and stub the functions on platforms that don't implement them.

  • WebProcess/Cookies/WebCookieManager.cpp:

(WebKit::WebCookieManager::startObservingCookieChanges):
(WebKit::WebCookieManager::stopObservingCookieChanges):

11:03 PM Changeset in webkit [80330] by eric@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-03-03 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Refactor createRendererIfNeeded to avoid premature nextRenderer calculation
https://bugs.webkit.org/show_bug.cgi?id=55720

There are two thing going on here:

  1. Delaying nextRenderer calculation until we actually use it, previously we would always compute nextRenderer (expensive!) even if no renderer insertion was to occur.
  2. Fix fullscreen elements to be inserted into the right place in the rendering tree. Previously they would always be the last child in their parent's list, even if that wasn't the right place.

I don't know of any way to trigger the fullscreen bug,
but I tested this with peacekeeper and saw no performance change.

Peacekeeper's domJQueryBasics is now possibly as much as 2% faster
but I don't really trust the stability of peacekeeper to begin with.

This paves the way for further improvement in our nextRenderer calculation.

  • dom/Node.cpp: (WebCore::Node::attach): (WebCore::Node::previousRenderer): (WebCore::Node::nextRenderer): (WebCore::Node::createRendererAndStyle): (WebCore::wrapWithRenderFullScreen): (WebCore::Node::createRendererIfNeeded):
  • dom/Node.h:
10:43 PM Changeset in webkit [80329] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Adam Klein <adamk@chromium.org>

Reviewed by David Levin.

Correct EntrySync.toURI test expectations to get the test passing under Chromium.
https://bugs.webkit.org/show_bug.cgi?id=55724

  • fast/filesystem/workers/file-entry-to-uri-sync-expected.txt:
10:25 PM Changeset in webkit [80328] by rniwa@webkit.org
  • 7 edits in trunk/Source

2011-03-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Remove LOOSE_PASS_OWN_ARRAY_PTR from PassOwnArrayPtr.h
https://bugs.webkit.org/show_bug.cgi?id=55554

  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::copyGlobalsTo): Pass nullptr instead of 0. (JSC::JSGlobalObject::resizeRegisters): Ditto; also use OwnArrayPtr instead of a raw pointer.
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::addStaticGlobals): Ditto.
  • wtf/PassOwnArrayPtr.h: Removed #define LOOSE_PASS_OWN_ARRAY_PTR (WTF::PassOwnArrayPtr::PassOwnArrayPtr): Added a constructor that takes nullptr_t.

2011-03-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Remove LOOSE_PASS_OWN_ARRAY_PTR from PassOwnArrayPtr.h
https://bugs.webkit.org/show_bug.cgi?id=55554

  • platform/Length.cpp: (WebCore::newLengthArray): Pass nullptr instead of 0.
10:22 PM Changeset in webkit [80327] by commit-queue@webkit.org
  • 25 edits
    2 adds in trunk/Source

2011-03-03 Nat Duca <nduca@chromium.org>

Reviewed by James Robinson.

[chromium] Create a LayerChromium layerTreeAsText. Add HUD to
LayerRendererChromium that draws compositor FPS and, optionally,
the layer tree.
https://bugs.webkit.org/show_bug.cgi?id=54710

  • WebCore.gypi:
  • platform/graphics/chromium/Canvas2DLayerChromium.h: (WebCore::Canvas2DLayerChromium::drawsContent):
  • platform/graphics/chromium/CanvasLayerChromium.h: (WebCore::CanvasLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::writeIndent): (WebCore::ContentLayerChromium::dumpLayerProperties):
  • platform/graphics/chromium/ContentLayerChromium.h: (WebCore::ContentLayerChromium::drawsContent): (WebCore::ContentLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/GraphicsLayerChromium.cpp: (WebCore::GraphicsLayerChromium::setName): (WebCore::GraphicsLayerChromium::updateNames): (WebCore::GraphicsLayerChromium::updateLayerPreserves3D): (WebCore::GraphicsLayerChromium::setupContentsLayer):
  • platform/graphics/chromium/GraphicsLayerChromium.h:
  • platform/graphics/chromium/ImageLayerChromium.h: (WebCore::ImageLayerChromium::drawsContent): (WebCore::ImageLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::LayerChromium): (WebCore::LayerChromium::setName): (WebCore::LayerChromium::layerTreeAsText): (WebCore::writeIndent): (WebCore::LayerChromium::dumpLayer): (WebCore::LayerChromium::dumpLayerProperties):
  • platform/graphics/chromium/LayerChromium.h: (WebCore::LayerChromium::name): (WebCore::LayerChromium::drawsContent): (WebCore::LayerChromium::debugID): (WebCore::LayerChromium::layerTypeAsString):
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::~LayerRendererChromium): (WebCore::LayerRendererChromium::drawLayers): (WebCore::LayerRendererChromium::present): (WebCore::LayerRendererChromium::layerTreeAsText): (WebCore::LayerRendererChromium::dumpRenderSurfaces):
  • platform/graphics/chromium/LayerRendererChromium.h: (WebCore::LayerRendererChromium::getHeadsUpDisplay): (WebCore::LayerRendererChromium::rootVisibleRect):
  • platform/graphics/chromium/PluginLayerChromium.h: (WebCore::PluginLayerChromium::drawsContent): (WebCore::PluginLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/RenderSurfaceChromium.cpp: (WebCore::RenderSurfaceChromium::name): (WebCore::writeIndent): (WebCore::RenderSurfaceChromium::dumpSurface):
  • platform/graphics/chromium/RenderSurfaceChromium.h:
  • platform/graphics/chromium/VideoLayerChromium.h: (WebCore::VideoLayerChromium::drawsContent): (WebCore::VideoLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/WebGLLayerChromium.h: (WebCore::WebGLLayerChromium::drawsContent): (WebCore::WebGLLayerChromium::layerTypeAsString):
  • platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: Added. (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay): (WebCore::CCHeadsUpDisplay::~CCHeadsUpDisplay): (WebCore::CCHeadsUpDisplay::draw): (WebCore::CCHeadsUpDisplay::drawHudContents): (WebCore::CCHeadsUpDisplay::onPresent):
  • platform/graphics/chromium/cc/CCHeadsUpDisplay.h: Added. (WebCore::CCHeadsUpDisplay::setShowFPSCounter): (WebCore::CCHeadsUpDisplay::showFPSCounter): (WebCore::CCHeadsUpDisplay::setShowPlatformLayerTree): (WebCore::CCHeadsUpDisplay::showPlatformLayerTree): (WebCore::CCHeadsUpDisplay::enabled):
  • platform/graphics/chromium/cc/CCLayerImpl.cpp: (WebCore::CCLayerImpl::CCLayerImpl): (WebCore::writeIndent): (WebCore::CCLayerImpl::dumpLayerProperties):
  • platform/graphics/chromium/cc/CCLayerImpl.h: (WebCore::CCLayerImpl::debugID): (WebCore::CCLayerImpl::setName): (WebCore::CCLayerImpl::name):

2011-03-03 Nat Duca <nduca@chromium.org>

Reviewed by James Robinson.

[chromium] Create a LayerChromium layerTreeAsText. Add HUD to
LayerRendererChromium that draws compositor FPS and, optionally,
the layer tree.
https://bugs.webkit.org/show_bug.cgi?id=54710

  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::WebSettingsImpl): (WebKit::WebSettingsImpl::setShowFPSCounter): (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
  • src/WebSettingsImpl.h: (WebKit::WebSettingsImpl::showFPSCounter): (WebKit::WebSettingsImpl::showPlatformLayerTree):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::doComposite):
10:20 PM Changeset in webkit [80326] by ojan@chromium.org
  • 3 edits
    2 adds in trunk

2011-03-02 Ojan Vafai <ojan@chromium.org>

Reviewed by Darin Adler.

crash in adoptNode with mutation events
https://bugs.webkit.org/show_bug.cgi?id=50046

  • fast/dom/adopt-node-crash.html:

2011-03-02 Ojan Vafai <ojan@chromium.org>

Reviewed by Darin Adler.

crash in adoptNode with mutation events
https://bugs.webkit.org/show_bug.cgi?id=50046

If the DOM is modified during the removeChild call in adoptNode,
then the setDocument call that follows can leave the DOM in an
inconsistent state.

  • dom/Document.cpp: (WebCore::Document::adoptNode):
10:02 PM Changeset in webkit [80325] by Dimitri Glazkov
  • 2 edits in trunk/Source/WebCore

2011-03-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Add audio tag tests to the media controls manual test suite.
https://bugs.webkit.org/show_bug.cgi?id=55722

  • manual-tests/media-controls.html: Added 4 audio tests.
9:50 PM Changeset in webkit [80324] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebCore

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

Reviewed by Eric Seidel.

[EFL] Adjust functions of RenderThemeEfl.cpp to WebKit parameter style
https://bugs.webkit.org/show_bug.cgi?id=54392

Functions of RenderThemeEfl.cpp adhere efl coding style instead of WebKit coding style.
WebCore's functions should adhere WebKit coding style.

  • platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::themePartCacheEntryReset): (WebCore::RenderThemeEfl::themePartCacheEntrySurfaceCreate): (WebCore::RenderThemeEfl::cacheThemePartNew): (WebCore::RenderThemeEfl::cacheThemePartReset): (WebCore::RenderThemeEfl::cacheThemePartResizeAndReset): (WebCore::RenderThemeEfl::cacheThemePartGet): (WebCore::RenderThemeEfl::cacheThemePartFlush): (WebCore::RenderThemeEfl::applyEdjeStateFromForm): (WebCore::RenderThemeEfl::paintThemePart): (WebCore::renderThemeEflColorClassSelectionActive): (WebCore::renderThemeEflColorClassSelectionInactive): (WebCore::renderThemeEflColorClassFocusRing): (WebCore::renderThemeEflColorClassButtonText): (WebCore::renderThemeEflColorClassComboText): (WebCore::renderThemeEflColorClassEntryText): (WebCore::renderThemeEflColorClassSearchText): (WebCore::RenderThemeEfl::applyPartDescription): (WebCore::RenderThemeEfl::applyPartDescriptions): (WebCore::RenderThemeEfl::controlSupportsTints): (WebCore::RenderThemeEfl::baselinePosition): (WebCore::RenderThemeEfl::paintSliderTrack): (WebCore::RenderThemeEfl::adjustSliderTrackStyle): (WebCore::RenderThemeEfl::adjustSliderThumbStyle): (WebCore::RenderThemeEfl::paintSliderThumb): (WebCore::RenderThemeEfl::adjustCheckboxStyle): (WebCore::RenderThemeEfl::paintCheckbox): (WebCore::RenderThemeEfl::adjustRadioStyle): (WebCore::RenderThemeEfl::paintRadio): (WebCore::RenderThemeEfl::adjustButtonStyle): (WebCore::RenderThemeEfl::paintButton): (WebCore::RenderThemeEfl::adjustMenuListStyle): (WebCore::RenderThemeEfl::paintMenuList): (WebCore::RenderThemeEfl::adjustTextFieldStyle): (WebCore::RenderThemeEfl::paintTextField): (WebCore::RenderThemeEfl::adjustTextAreaStyle): (WebCore::RenderThemeEfl::paintTextArea): (WebCore::RenderThemeEfl::adjustSearchFieldDecorationStyle): (WebCore::RenderThemeEfl::paintSearchFieldDecoration): (WebCore::RenderThemeEfl::adjustSearchFieldResultsButtonStyle): (WebCore::RenderThemeEfl::paintSearchFieldResultsButton): (WebCore::RenderThemeEfl::adjustSearchFieldResultsDecorationStyle): (WebCore::RenderThemeEfl::paintSearchFieldResultsDecoration): (WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle): (WebCore::RenderThemeEfl::paintSearchFieldCancelButton): (WebCore::RenderThemeEfl::adjustSearchFieldStyle): (WebCore::RenderThemeEfl::paintSearchField): (WebCore::RenderThemeEfl::adjustProgressBarStyle): (WebCore::RenderThemeEfl::paintProgressBar): (WebCore::RenderThemeEfl::paintMediaFullscreenButton): (WebCore::RenderThemeEfl::paintMediaMuteButton): (WebCore::RenderThemeEfl::paintMediaPlayButton): (WebCore::RenderThemeEfl::paintMediaSeekBackButton): (WebCore::RenderThemeEfl::paintMediaSeekForwardButton): (WebCore::RenderThemeEfl::paintMediaSliderTrack): (WebCore::RenderThemeEfl::paintMediaSliderThumb): (WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer): (WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack): (WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb): (WebCore::RenderThemeEfl::paintMediaCurrentTime):
9:36 PM Changeset in webkit [80323] by abarth@webkit.org
  • 4 edits in trunk/Source/JavaScriptCore

2011-03-03 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Add jsc to JavaScriptCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55711

  • JavaScriptCore.gypi:
    • Move jsc.cpp into jsc_files because it's really part of the jsc target.
  • JavaScriptCore.xcodeproj/project.pbxproj:
    • Remove extraneous files from the normal jsc build. I probably added these by mistake at some point.
  • gyp/JavaScriptCore.gyp:
    • Add the jsc target to the GYP file.
9:36 PM Changeset in webkit [80322] by jeffm@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-03-03 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Refactor classes in GenericCallback.h
https://bugs.webkit.org/show_bug.cgi?id=55732


Since we're going to need to add additional callback classes, make a CallbackBase class that manages
the context and the callback ID. The existing callback classes (VoidCallback, GenericCallback, and
ComputedPagesCallback) now all derive from CallbackBase.


Fix bug in VoidCallback where we meant to implement the destructor, but we were implementing the default
constructor instead (we forgot the leading ~).


  • UIProcess/GenericCallback.h: (WebKit::CallbackBase::~CallbackBase): (WebKit::CallbackBase::callbackID): (WebKit::CallbackBase::CallbackBase): (WebKit::CallbackBase::context): (WebKit::CallbackBase::generateCallbackID): (WebKit::VoidCallback::~VoidCallback): (WebKit::VoidCallback::performCallback): (WebKit::VoidCallback::invalidate): (WebKit::VoidCallback::VoidCallback): (WebKit::GenericCallback::create): (WebKit::GenericCallback::~GenericCallback): (WebKit::GenericCallback::performCallbackWithReturnValue): (WebKit::GenericCallback::invalidate): (WebKit::GenericCallback::GenericCallback): (WebKit::ComputedPagesCallback::create): (WebKit::ComputedPagesCallback::~ComputedPagesCallback): (WebKit::ComputedPagesCallback::performCallbackWithReturnValue): (WebKit::ComputedPagesCallback::invalidate): (WebKit::ComputedPagesCallback::ComputedPagesCallback):
9:24 PM Changeset in webkit [80321] by abarth@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

2011-03-03 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Add testapi to JavaScriptCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55707

The new testapi target is slightly incomplete. There's a resource
copying step that we don't quite have yet.

This patch also cleans up some of the configuration issues in
JavaScriptCore.xcodeproj. It seems kind of wordy to repeat these for
each target. I suspect there's a more compact way of defining the
configurations, but this removes the "Default" configuration, which is
progress.

9:15 PM Changeset in webkit [80320] by aestes@apple.com
  • 3 edits
    2 adds in trunk

2011-03-03 Andy Estes <aestes@apple.com>

Reviewed by Adam Barth.

Assertion failure in toElement(WebCore::Node*)
https://bugs.webkit.org/show_bug.cgi?id=55697

  • fast/parser/fragment-foreign-content-expected.txt: Added.
  • fast/parser/fragment-foreign-content.html: Added.

2011-03-03 Andy Estes <aestes@apple.com>

Reviewed by Adam Barth.

Assertion failure in toElement(WebCore::Node*)
https://bugs.webkit.org/show_bug.cgi?id=55697

Test: fast/parser/fragment-foreign-content.html

  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken): The current element in the HTMLElementStack might be a DocumentFragment if a fragment is being parsed who's first node is foreign content.
9:13 PM Changeset in webkit [80319] by commit-queue@webkit.org
  • 13 edits in trunk

2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[QT] Implement mock client-based geolocation for layout testing
https://bugs.webkit.org/show_bug.cgi?id=54334

Re-enable geolocation layout testing for qt port. Also enable a long pending
failure with geolocation as it works with client-based geolocation.
Skipped one last case related to multiple window which needs some code cleanup in qt DRT.

  • platform/qt/Skipped:

2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[QT] Implement mock client-based geolocation for layout testing
https://bugs.webkit.org/show_bug.cgi?id=54334

Implements client() to GeolocationController to re-use geolocationClientMock class
for layout testing purpose.

  • page/GeolocationController.h: (WebCore::GeolocationController::client):

2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[QT] Implement mock client-based geolocation for layout testing
https://bugs.webkit.org/show_bug.cgi?id=54334

Implement layout testing for Client-Based geolocation. If drt_run is set
then create mock geolocationClient and update the same with controller.

  • Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate):
  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::mockGeolocationReset): (DumpRenderTreeSupportQt::setMockGeolocationPermission): (DumpRenderTreeSupportQt::setMockGeolocationPosition): (DumpRenderTreeSupportQt::setMockGeolocationError):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:
  • WebCoreSupport/GeolocationClientQt.cpp: (WebCore::GeolocationClientQt::GeolocationClientQt):
  • WebCoreSupport/GeolocationClientQt.h:

2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[QT] Implement mock client-based geolocation for layout testing
https://bugs.webkit.org/show_bug.cgi?id=54334

Implement testing for Client-Based geolocation for QtWebkit.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::DumpRenderTree):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::reset): (LayoutTestController::setGeolocationPermission): (LayoutTestController::setMockGeolocationError): (LayoutTestController::setMockGeolocationPosition):
9:00 PM Changeset in webkit [80318] by ukai@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, update chromium test expectations.

Update GPU media/media-document-audio-repaint.html
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20GPU%20Mesa%20-%20chromium.org&tests=media%2Fmedia-document-audio-repaint.html

  • platform/chromium/test_expectations.txt:
8:58 PM Changeset in webkit [80317] by rniwa@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-03-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

Stop calling deprecatedNode and deprecatedEditingOffset in InsertTextCommand
https://bugs.webkit.org/show_bug.cgi?id=55352

Stopped calling deprecatedNode and deprecatedEditingOffset in the following functions:

  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::positionOutsideTabSpan): Takes care of all types of positions and no longer calls deprecated functions.
  • editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::positionInsideTextNode): Ditto; renamed from prepareForTextInsertion. Check if the text node inside a tab span before checking if the container node is a text node because the position before or after a text node can still be inside a tab span. (WebCore::InsertTextCommand::input): No longer calls deprecated functions.
  • editing/InsertTextCommand.h:
  • editing/ModifySelectionListLevel.cpp: (WebCore::getStartEndListChildren): Call anchorNode() instead of deprecatedNode() because the start or the end of selection could be an immediate child of a list node (e.g. br inside ul)
8:55 PM Changeset in webkit [80316] by jeremy@chromium.org
  • 1 edit
    1 add in trunk/LayoutTests

2011-03-03 Jeremy Moskovich <jeremy@chromium.org>

Reviewed by Dimitri Glazkov.

Annotate bidi tests which we intentionally fail.
https://bugs.webkit.org/show_bug.cgi?id=48522

Add a readme file in fast/text/international detailing
a bunch of tests that we intentionally fail. This
mimics a similar file in fast/block/positioning/.

  • fast/text/international/readme.txt: Added.
8:52 PM Changeset in webkit [80315] by hans@chromium.org
  • 13 edits in trunk/Source/WebCore

2011-03-03 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Move last bits of SQL into IDBBackingStore
https://bugs.webkit.org/show_bug.cgi?id=55668

After this, all SQL code for IndexedDB is in IDBBackingStore.cpp.

No new tests: refactoring only.

  • storage/IDBBackingStore.cpp: (WebCore::IDBBackingStore::createTransaction):
  • storage/IDBBackingStore.h:
  • storage/IDBCursorBackendImpl.h:
  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::backingStore):
  • storage/IDBDatabaseBackendImpl.h:
  • storage/IDBIndexBackendImpl.h:
  • storage/IDBKey.h:
  • storage/IDBObjectStoreBackendImpl.h:
  • storage/IDBTransactionBackendImpl.cpp: (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
  • storage/IDBTransactionBackendImpl.h:
  • storage/IDBTransactionBackendInterface.h:
  • storage/IDBTransactionCoordinator.cpp:
8:50 PM Changeset in webkit [80314] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/qt

2011-03-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] QWebFrame::setUrl works only from second time if url fragment is present
https://bugs.webkit.org/show_bug.cgi?id=32723

Create an auto-test for Qt based on the bug description.

  • tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
8:25 PM Changeset in webkit [80313] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Adam Klein <adamk@chromium.org>

Reviewed by David Levin.

[fileapi] Tighten up ResolveURICallbacks
https://bugs.webkit.org/show_bug.cgi?id=55638

Two changes:

  • Retry only on TYPE_MISMATCH_ERR now that Chromium properly sets that error code.
  • Call DirectoryEntry instead of DOMFileSystem methods.

No change in behavior, so no new tests.

  • fileapi/FileSystemCallbacks.cpp: (WebCore::ResolveURICallbacks::didOpenFileSystem):
8:09 PM Changeset in webkit [80312] by abarth@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-03-03 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Teach JavaScriptCore GYP build about private headers
https://bugs.webkit.org/show_bug.cgi?id=55532

This patch distinguishes between public and private framework headers
so that public headers are copied into the Headers directory and
private headers are copied into the PrivateHeaders directory.

  • gyp/JavaScriptCore.gyp:
7:41 PM Changeset in webkit [80311] by levin@chromium.org
  • 1 edit
    6 adds in trunk/LayoutTests

2011-03-03 David Levin <levin@chromium.org>

Reviewed by Darin Adler.

Need web worker referer layout test for xhr requests.
https://bugs.webkit.org/show_bug.cgi?id=55590

Verify that the referrer is set for sync and async XHR requests
from both workers and shared workers.

  • http/tests/xmlhttprequest/workers/referer-expected.txt: Added.
  • http/tests/xmlhttprequest/workers/referer.html: Added.
  • http/tests/xmlhttprequest/workers/resources/referer-test.js: Added.
  • http/tests/xmlhttprequest/workers/resources/referer.js: Added.
  • http/tests/xmlhttprequest/workers/shared-worker-referer-expected.txt: Added.
  • http/tests/xmlhttprequest/workers/shared-worker-referer.html: Added.
7:21 PM Changeset in webkit [80310] by andersca@apple.com
  • 19 edits in trunk/Source

2011-03-03 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Get rid of Page::globalHistoryItem
https://bugs.webkit.org/show_bug.cgi?id=55738

  • WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistoryItemForPage): Get the current history item and update it using WebView::setGlobalHistoryItem.


  • WebCoreSupport/WebFrameLoaderClient.h:
  • WebView.cpp: (WebView::globalHistoryItem): (WebView::setGlobalHistoryItem):
  • WebView.h:

2011-03-03 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Get rid of Page::globalHistoryItem
https://bugs.webkit.org/show_bug.cgi?id=55738

  • WebCoreSupport/WebFrameLoaderClient.h:
  • WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::updateGlobalHistoryItemForPage): Get the current history item and update it using -[WebView _setGlobalHistoryItem:].


  • WebView/WebView.mm: (-[WebView _globalHistoryItem]): (-[WebView _setGlobalHistoryItem:]): Set _globalHistoryItem ivar.
  • WebView/WebViewData.h:
  • WebView/WebViewData.mm: Add _globalHistoryItem ivar.

2011-03-03 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Get rid of Page::globalHistoryItem
https://bugs.webkit.org/show_bug.cgi?id=55738

The m_globalHistoryItem is only used by Mac and Windows WebKit1.
Instead of having WebCore updating this member variable, just call out
to a FrameLoaderClient member function and let WebKit keep it up to date.

  • loader/EmptyClients.h: (WebCore::EmptyFrameLoaderClient::dispatchDidRemoveBackForwardItem): (WebCore::EmptyFrameLoaderClient::updateGlobalHistoryItemForPage):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkLoadCompleteForThisFrame): (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
  • loader/FrameLoaderClient.h: (WebCore::FrameLoaderClient::updateGlobalHistoryItemForPage):
  • loader/HistoryController.cpp: (WebCore::HistoryController::goToItem): (WebCore::HistoryController::updateForStandardLoad): (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
  • page/Page.cpp:
  • page/Page.h:
7:00 PM Changeset in webkit [80309] by Adam Roben
  • 2 edits in trunk/Source/WebKit2

Don't assume the web process has had a chance to paint before the view has to paint

Fixes <http://webkit.org/b/55739> REGRESSION (r80307): Lots of tests crashing in
BackingStore::paint

Reviewed by Anders Carlsson.

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::paint): Bail if the web process hasn't had a chance to paint
yet.

6:18 PM Changeset in webkit [80308] by jorlow@chromium.org
  • 5 edits
    2 adds in trunk

2011-03-02 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Cursor.continue with a key param should test less than, not equal to
https://bugs.webkit.org/show_bug.cgi?id=55640

  • storage/indexeddb/cursor-continue-expected.txt: Added.
  • storage/indexeddb/cursor-continue.html: Added.

2011-03-02 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Cursor.continue with a key param should test less than, not equal to
https://bugs.webkit.org/show_bug.cgi?id=55640

If you supply a param to cursor.continue, we sould guarantee that
the item we continue to is greater than or equal to the parameter.
Right now, we only test equality.

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBCursor-continue
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-steps-for-iterating-a-cursor

Test: storage/indexeddb/cursor-continue.html

  • storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
  • storage/IDBKey.cpp: (WebCore::IDBKey::isLessThan): (WebCore::IDBKey::isEqual):
  • storage/IDBKey.h:
5:37 PM Changeset in webkit [80307] by Adam Roben
  • 3 edits in trunk/Source/WebKit2

Throw away DrawingAreaProxyImpl's backing store after not painting for 5 seconds

The intent is to save memory for views that aren't painting.

Fixes <http://webkit.org/b/51262> <rdar://problem/8782537> WebPageProxy should delete its
backing store after not painting for a while

Reviewed by Anders Carlsson.

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl): Initialize our timer.
(WebKit::DrawingAreaProxyImpl::paint): Don't bail if we don't have a backing store (but do
bail if we're in accelerated compositing mode); we might have thrown it away to save memory
but now are being asked to paint by the view. The existing code in this function will handle
getting a new backing store if possible by blocking for a little while to try to receive a
DidUpdateBackingStoreState message. Added an assertion that we do have a backing store if we
don't have any outstanding UpdateBackingStoreState requests. After painting, call
discardBackingStoreSoon to update our timer.
(WebKit::DrawingAreaProxyImpl::discardBackingStoreSoon): Set the timer for 5 seconds in the
future.
(WebKit::DrawingAreaProxyImpl::discardBackingStore): Throw away the backing store, and tell
the web process we'll need a full backing store update on the next paint.

  • UIProcess/DrawingAreaProxyImpl.h: Added m_discardBackingStoreTimer.
5:36 PM Changeset in webkit [80306] by Adam Roben
  • 7 edits in trunk/Source/WebKit2

Add a way to tell the web process to perform a full backing store update on its next paint

Messages::DrawingArea::UpdateBackingStoreState now takes a boolean specifying whether the
full backing store update should happen immediately or should be deferred until the next
paint or compositing mode change occurs. The deferred update isn't used yet, but will be
used when we start throwing away backing stores to save memory.

Fixes <http://webkit.org/b/55730> UI process needs a way to tell the web process its backing
store needs a full update on the next paint

Reviewed by Anders Carlsson.

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::paint): If we have an outstanding backing store state change
request, tell the web process to perform the backing store update right away, in case we
previously told it it could defer the update.
(WebKit::DrawingAreaProxyImpl::sizeDidChange): Specify that we need an immediate backing
store update.
(WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState): We can no longer assert that we
were waiting for a DidUpdateBackingStoreState message when we receive one, as it's possible
for the web process to decide to send us this message on its own (if we asked it to do a
deferred backing store update and then it needed to paint some part of the page). Specify
that we need an immediate backing store update if the web process hasn't updated to our
latest state, as we're about to draw potentially out-of-date bits to the screen and want to
get the right bits as soon as possible. Also added a FIXME about a potential optimization.
(WebKit::DrawingAreaProxyImpl::backingStoreStateDidChange): Added a RespondImmediatelyOrNot
parameter, which is just passed through to sendUpdateBackingStoreState.
(WebKit::DrawingAreaProxyImpl::sendUpdateBackingStoreState): Added a RespondImmediatelyOrNot
parameter that is used to specify to the web process whether to perform the full backing
store update immediately. We now only wait for a DidUpdateBackingStoreState message (and
thus suppress any more UpdateBackingStoreState messages until one is received) when we ask
the web process for an immediate response; otherwise we could end up accidentally calling
waitForAndDispatchDidUpdateBackingStoreState when the web process hasn't been told to send
us such a message.

  • UIProcess/DrawingAreaProxyImpl.h: Added RespondImmediatelyOrNot.
  • WebProcess/WebPage/DrawingArea.h:

(WebKit::DrawingArea::updateBackingStoreState): Added respondImmediately argument.

  • WebProcess/WebPage/DrawingArea.messages.in: Added respondImmediately argument to

UpdateBackingStoreState message.

  • WebProcess/WebPage/DrawingAreaImpl.cpp:

(WebKit::DrawingAreaImpl::DrawingAreaImpl): Initialize new member that's used to track
whether we should send a DidUpdateBackingStoreState message instead of an Update or
compositing mode change message. This will be set to true when a deferred backing store
update is pending.
(WebKit::DrawingAreaImpl::layerHostDidFlushLayers): If a deferred update is pending, send a
DidUpdateBackingStoreState message instead of a compositing mode change message.
(WebKit::DrawingAreaImpl::updateBackingStoreState): Added respondImmediately argument. If
we've already been told about this state ID (as can happen when the UI process decides it
needs an immediate update to a state that it previously requested a deferred update to),
don't bother updating the page's size, etc. In addition, if we've already sent a
DidUpdateBackingStoreState message for this state, we don't have to do anything at all.
Moved code to send the DidUpdateBackingStoreState message from here...
(WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): ...to here.
(WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode): Always update our dirty region,
even if painting is suspended or we're in the process of updating the backing store state.
It causes no harm and simplifies the code. If a deferred update is pending, send a
DidUpdateBackingStoreState message instead of a compositing mode change message. Also
removed a redundant if.
(WebKit::DrawingAreaImpl::display): Added an assertion that this isn't called while updating
backing store state, as otherwise we might end up sending two DidUpdateBackingStoreState
messages. If a deferred update is pending, send a DidUpdateBackingStoreState message instead
of an Update message.

  • WebProcess/WebPage/DrawingAreaImpl.h: Updated updateBackingStoreState to match the base

class. Added sendDidUpdateBackingStoreState and m_shouldSendDidUpdateBackingStoreState.

5:36 PM Changeset in webkit [80305] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebKit/win

Unreviewed build correction.

  • WebFrame.cpp:

(scaleFactor): Update after 77286 to replace right/bottom
with new maxX/maxY terminology.

5:31 PM Changeset in webkit [80304] by bfulgham@webkit.org
  • 1 edit
    1 add in trunk/Source/WebCore

Build fix. Need win/cURL DownloadBundle stub.

  • platform/network/curl/DownloadBundle.h: Added.
5:27 PM Changeset in webkit [80303] by ggaren@apple.com
  • 30 edits in trunk/Source

2011-03-03 Geoffrey Garen <ggaren@apple.com>

Rolled out 80277 and 80280 because they caused event handler layout test
failures.

4:58 PM Changeset in webkit [80302] by mrowe@apple.com
  • 5 edits in trunk/Source

Versioning.

4:55 PM Changeset in webkit [80301] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

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

Unreviewed, rolling out r80237.
http://trac.webkit.org/changeset/80237
https://bugs.webkit.org/show_bug.cgi?id=55714

Windows bots aren't ready to be core (Requested by aroben on
#webkit).

  • Scripts/webkitpy/common/net/buildbot/buildbot.py:
  • Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
4:55 PM Changeset in webkit [80300] by mrowe@apple.com
  • 1 copy in tags/Safari-534.23

New tag.

4:52 PM Changeset in webkit [80299] by beidson@apple.com
  • 24 edits in trunk/Source

https://bugs.webkit.org/show_bug.cgi?id=55721
Global IconDatabase should be returned by reference, not as a pointer

Reviewed by Darin Adler.

../WebCore:

  • history/HistoryItem.cpp:

(WebCore::HistoryItem::HistoryItem):
(WebCore::HistoryItem::~HistoryItem):
(WebCore::HistoryItem::reset):
(WebCore::HistoryItem::icon):
(WebCore::HistoryItem::setURLString):

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::startIconLoader):
(WebCore::FrameLoader::commitIconURLToIconDatabase):

  • loader/archive/cf/LegacyWebArchive.cpp:

(WebCore::LegacyWebArchive::create):

  • loader/icon/IconDatabase.cpp:

(WebCore::iconDatabase):

  • loader/icon/IconDatabase.h:
  • loader/icon/IconDatabaseNone.cpp:

(WebCore::iconDatabase):

  • loader/icon/wince/IconDatabaseWinCE.cpp:

(WebCore::iconDatabase):

  • loader/icon/IconLoader.cpp:

(WebCore::IconLoader::finishLoading):

../WebKit/efl:

  • ewk/ewk_settings.cpp:

(ewk_settings_icon_database_path_set):
(ewk_settings_icon_database_path_get):
(ewk_settings_icon_database_clear):
(ewk_settings_icon_database_icon_surface_get):
(ewk_settings_icon_database_icon_object_add):

../WebKit/gtk:

  • webkit/webkitglobals.cpp:

(closeIconDatabaseOnExit):
(WebKit::setIconDatabaseEnabled):

  • webkit/webkitwebview.cpp:

(webkit_web_view_get_icon_uri):

../WebKit/mac:

  • Misc/WebCoreStatistics.mm:

(+[WebCoreStatistics iconPageURLMappingCount]):
(+[WebCoreStatistics iconRetainedPageURLCount]):
(+[WebCoreStatistics iconRecordCount]):
(+[WebCoreStatistics iconsWithDataCount]):

  • Misc/WebIconDatabase.mm:

(-[WebIconDatabase init]):
(-[WebIconDatabase iconForURL:withSize:cache:]):
(-[WebIconDatabase iconURLForURL:]):
(-[WebIconDatabase defaultIconWithSize:]):
(-[WebIconDatabase retainIconForURL:]):
(-[WebIconDatabase releaseIconForURL:]):
(-[WebIconDatabase isEnabled]):
(-[WebIconDatabase setEnabled:]):
(-[WebIconDatabase removeAllIcons]):
(+[WebIconDatabase _checkIntegrityBeforeOpening]):
(-[WebIconDatabase _startUpIconDatabase]):
(-[WebIconDatabase _applicationWillTerminate:]):
(-[WebIconDatabase _resetCachedWebPreferences:]):
(importToWebCoreFormat):

  • WebView/WebView.mm:

(-[WebView _dispatchDidReceiveIconFromWebFrame:]):

../WebKit/qt:

  • Api/qwebsettings.cpp:

(QWebSettings::setIconDatabasePath):
(QWebSettings::iconDatabasePath):
(QWebSettings::clearIconDatabase):
(QWebSettings::iconForUrl):

../WebKit/win:

  • WebCoreStatistics.cpp:

(WebCoreStatistics::iconPageURLMappingCount):
(WebCoreStatistics::iconRetainedPageURLCount):
(WebCoreStatistics::iconRecordCount):
(WebCoreStatistics::iconsWithDataCount):

  • WebIconDatabase.cpp:

(WebIconDatabase::init):
(WebIconDatabase::startUpIconDatabase):
(WebIconDatabase::iconForURL):
(WebIconDatabase::retainIconForURL):
(WebIconDatabase::releaseIconForURL):
(WebIconDatabase::removeAllIcons):
(WebIconDatabase::iconURLForURL):
(WebIconDatabase::isEnabled):
(WebIconDatabase::setEnabled):
(WebIconDatabase::hasIconForURL):
(WebIconDatabase::getOrCreateDefaultIconBitmap):

  • WebKitDLL.cpp:

(shutDownWebKit):

4:49 PM Changeset in webkit [80298] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Martin Robinson.

Stop instantiating legacy editing positions in FocusController::advanceFocusInDocumentOrder
https://bugs.webkit.org/show_bug.cgi?id=52742

Use firstPositionInOrBeforeNode to instantiate appropriate position.

  • page/FocusController.cpp: (WebCore::FocusController::advanceFocusInDocumentOrder):
4:42 PM Changeset in webkit [80297] by aestes@apple.com
  • 11 edits in trunk/Source

When displaying the missing plug-in sheet, pass the 'pluginspage'
attribute to the UI process.
https://bugs.webkit.org/show_bug.cgi?id=55553

Reviewed by Darin Adler.

Source/WebCore:

  • WebCore.exp.in: Export ZN7WebCore9HTMLNames15pluginspageAttrE.
  • html/HTMLAttributeNames.in: Add 'pluginspage' as a known content

attribute.

Source/WebKit2:

  • UIProcess/API/C/WKPage.h: Add pluginsPageURL as the third argument to

missingPluginButtonClicked.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::missingPluginButtonClicked): Ditto.

  • UIProcess/WebPageProxy.h: Ditto.
  • UIProcess/WebPageProxy.messages.in: Ditto.
  • UIProcess/WebUIClient.cpp:

(WebKit::WebUIClient::missingPluginButtonClicked): Ditto.

  • UIProcess/WebUIClient.h: Ditto.
  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::missingPluginButtonClicked): Get the value of
pluginspageAttr.

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

Suggested by Dan Bernstein.

Move "const" around "NSString *", so that it suddenly begins to make sense.

  • WebProcess/mac/FullKeyboardAccessWatcher.mm:
4:11 PM Changeset in webkit [80295] by jeffm@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-03-03 Jeff Miller <jeffm@apple.com>

Reviewed by Anders Carlsson.

WebKit2: Add WKViewRef API for executing edit commands
https://bugs.webkit.org/show_bug.cgi?id=49829

Added WKViewExecuteCommand() and documented some of the WebCore EditorCommand strings.

  • UIProcess/API/C/win/WKView.cpp: (WKViewExecuteCommand): Added.
  • UIProcess/API/C/win/WKView.h: Added WKViewExecuteCommand() and comment block with WebCore EditorCommand strings.
3:43 PM Changeset in webkit [80294] by jberlin@webkit.org
  • 19 edits in trunk

Source/WebCore: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Set the Private Browsing Storage Session on requests when Private Browsing is enabled.

  • WebCore.exp.in:

Support using WKCopyRequestWithStorageSession in WebCore.

  • platform/mac/WebCoreSystemInterface.h:

Ditto.

  • platform/mac/WebCoreSystemInterface.mm:

Ditto.

  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::makeFinalRequest):
If Private Browsing is enabled, set the Private Browsing Storage Session on the request.
(WebCore::ResourceHandle::willSendRequest):
Ditto.

  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::createNSURLConnection):
Ditto.
(WebCore::ResourceHandle::willSendRequest):
Ditto.

  • platform/network/cf/ResourceRequest.h:
  • platform/network/cf/ResourceRequestCFNet.cpp:

(WebCore::ResourceRequest::setStorageSession):
Call through to WKSI.

  • platform/network/mac/ResourceRequestMac.mm:

(WebCore::ResourceRequest::setStorageSession):
Ditto.

Source/WebKit/mac: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.

Reviewed by Adam Roben.

Set the Private Browsing Storage Session on requests when Private Browsing is enabled.

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):
Support using WKCopyRequestWithStorageSession in WebCore.

Source/WebKit2: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Set the Private Browsing Storage Session on requests when Private Browsing is enabled.

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface):
Support using WKCopyRequestWithStorageSession in WebCore.

WebKitLibraries: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Set the Private Browsing Storage Session on requests when Private Browsing is enabled.

Update WebKitSystemInterface headers and libraries with the new functions.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
3:36 PM Changeset in webkit [80293] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard expectations update.

Fix a couple more media/ expectations.

  • platform/chromium/test_expectations.txt:
3:33 PM Changeset in webkit [80292] by Adam Roben
  • 2 edits in trunk/Source/WebKit2

Don't try to paint outside the page's bounds

When the page is resized smaller, we would allocate a ShareableBitmap at the old, larger
size, even though we only needed to paint at the new, smaller size.

The assertion added in this patch will fire during the WebKit2/ResizeViewWhileHidden API
test if this fix gets broken in the future.

Fixes <http://webkit.org/b/55715> DrawingAreaImpl allocates more memory than necessary when
the page is resized smaller

Reviewed by Anders Carlsson.

  • WebProcess/WebPage/DrawingAreaImpl.cpp:

(WebKit::DrawingAreaImpl::updateBackingStoreState): Update our dirty region even if painting
is suspended (but still refrain from updating it when in accelerated compositing mode).
Rather than unite our existing dirty region with the page's new bounds, overwrite our dirty
region with the page's new bounds. This prevents us from accumulating a dirty region that is
larger than the page in the case where the page is being resized smaller.
(WebKit::DrawingAreaImpl::display): Added an assertion that we're not trying to paint
outside of the page's bounds.

3:28 PM Changeset in webkit [80291] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard expectations update.

Add another media/ crash.

  • platform/chromium/test_expectations.txt:
3:24 PM Changeset in webkit [80290] by mihaip@chromium.org
  • 32 edits
    27 copies
    27 adds in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard rebaseline.

Rebaseline tables/mozilla/bugs/ tests for Snow Leopard. The current
expectations were just checksums, I also added their corresponding PNGs.

We can't use the mac/ baselines since we scale the images differently
(most likely due to CG i386 vs. x86_64 differences, see bug 52335).

  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug101674-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug101674-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug101674-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug101674-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug10565-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug10565-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug10565-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug11026-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug11026-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug11026-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug12908-1-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug12908-1-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug12908-1-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug12910-2-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug1296-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug1296-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug1430-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug1430-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug14929-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug14929-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug15544-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug15544-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug15544-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug17138-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug17138-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug17138-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug2981-2-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug2981-2-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug2981-2-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4093-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug4093-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4093-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4284-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug4284-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4284-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4427-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4427-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug4523-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug56563-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug56563-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug56563-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug5797-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug5797-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug5797-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug5797-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug625-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug625-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug625-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug625-expected.png.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug6404-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug6404-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug6404-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug86708-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug86708-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug86708-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug97383-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/bugs/bug97383-expected.png: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.png.
  • platform/chromium-mac/tables/mozilla/bugs/bug101674-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug101674-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug10565-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug10565-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug11026-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug11026-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug1188-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug1188-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug12908-1-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug12908-1-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug1318-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug1318-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug15544-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug15544-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug17138-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug17138-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug2981-2-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug2981-2-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug4093-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug4093-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug4284-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug4284-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug4427-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug4527-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug4527-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug56563-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug56563-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug5797-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug5797-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug625-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug625-expected.png:
  • platform/chromium-mac/tables/mozilla/bugs/bug6404-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug6404-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug86708-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug86708-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.checksum:
  • platform/chromium-mac/tables/mozilla/bugs/bug97383-expected.png:
  • platform/chromium/test_expectations.txt:
3:15 PM Changeset in webkit [80289] by cmarrin@apple.com
  • 2 edits in trunk/Source/WebCore

2011-03-03 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

REGRESSION: Accelerated transitions are jumpy
https://bugs.webkit.org/show_bug.cgi?id=55022

Changed the way default TimingFunction is stored according to Adam Roben's
suggestion.

  • platform/animation/TimingFunction.h: (WebCore::CubicBezierTimingFunction::defaultTimingFunction):
3:09 PM Changeset in webkit [80288] by mitz@apple.com
  • 15 edits in trunk

Rename -webkit-hyphenate-locale to -webkit-locale
https://bugs.webkit.org/show_bug.cgi?id=55709

Reviewed by Sam Weinig.

Source/WebCore:

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue):
(WebCore::cssPropertyID):

  • css/CSSPropertyNames.in:
  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::applyProperty):

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::findNextLineBreak):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::diff):

  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::locale):
(WebCore::InheritedFlags::setLocale):
(WebCore::InheritedFlags::initialLocale):

  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):

  • rendering/style/StyleRareInheritedData.h:

LayoutTests:

  • fast/text/hyphenate-character.html:
  • fast/text/hyphenate-first-word.html:
  • fast/text/hyphenate-locale.html:
  • fast/text/hyphens.html:
2:51 PM Changeset in webkit [80287] by kevino@webkit.org
  • 8 edits in trunk

[wx] Build fixes for Windows.

2:41 PM Changeset in webkit [80286] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update.

Two tests crash on Snow Leopard on the GPU path.

  • platform/chromium/test_expectations.txt:
2:30 PM Changeset in webkit [80285] by oliver@apple.com
  • 15 edits in trunk/Source

2011-03-03 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

JSVariableObject needs to use WriteBarrier for symboltable property storage
https://bugs.webkit.org/show_bug.cgi?id=55698

Replace the direct usage of Register in JSVariableObject (and descendents)
with WriteBarrier. This requires updating the Arguments object to use
WriteBarrier as well.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::unwindCallFrame): (JSC::Interpreter::privateExecute): (JSC::Interpreter::retrieveArguments):
  • jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
  • runtime/ArgList.h: (JSC::MarkedArgumentBuffer::initialize):
  • runtime/Arguments.cpp: (JSC::Arguments::markChildren): (JSC::Arguments::copyToRegisters): (JSC::Arguments::fillArgList): (JSC::Arguments::getOwnPropertySlot): (JSC::Arguments::getOwnPropertyDescriptor): (JSC::Arguments::put):
  • runtime/Arguments.h: (JSC::Arguments::setActivation): (JSC::Arguments::Arguments): (JSC::Arguments::copyRegisters): (JSC::JSActivation::copyRegisters):
  • runtime/JSActivation.cpp: (JSC::JSActivation::markChildren): (JSC::JSActivation::symbolTableGet): (JSC::JSActivation::symbolTablePut): (JSC::JSActivation::symbolTablePutWithAttributes): (JSC::JSActivation::put): (JSC::JSActivation::putWithAttributes): (JSC::JSActivation::argumentsGetter):
  • runtime/JSActivation.h:
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::put): (JSC::JSGlobalObject::putWithAttributes): (JSC::JSGlobalObject::markChildren): (JSC::JSGlobalObject::copyGlobalsFrom): (JSC::JSGlobalObject::copyGlobalsTo): (JSC::JSGlobalObject::resizeRegisters):
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::setRegisters): (JSC::JSGlobalObject::addStaticGlobals):
  • runtime/JSStaticScopeObject.cpp: (JSC::JSStaticScopeObject::put): (JSC::JSStaticScopeObject::putWithAttributes):
  • runtime/JSVariableObject.cpp: (JSC::JSVariableObject::symbolTableGet):
  • runtime/JSVariableObject.h: (JSC::JSVariableObject::registerAt): (JSC::JSVariableObject::JSVariableObjectData::JSVariableObjectData): (JSC::JSVariableObject::symbolTableGet): (JSC::JSVariableObject::symbolTablePut): (JSC::JSVariableObject::symbolTablePutWithAttributes): (JSC::JSVariableObject::copyRegisterArray): (JSC::JSVariableObject::setRegisters):

2011-03-03 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

JSVariableObject needs to use WriteBarrier for symboltable property storage
https://bugs.webkit.org/show_bug.cgi?id=55698

Update to pass JSGlobalData for the symbol table write used
to set the document property.

  • bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::updateDocument):
2:18 PM Changeset in webkit [80284] by mihaip@chromium.org
  • 5 edits in trunk/Tools

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

NRWT: AttributeError: TestRunner2 instance has no attribute '_cancel_workers'
https://bugs.webkit.org/show_bug.cgi?id=55694

Fixes for interruptions in NRWT:

  • Make TestRunInterruptedException be pickleable correctly (the base Exception class defines a reduce that does not include the reason)
  • Fix ordering of returned arguments from TestRunner2._run_tests (interrupted and keyboard_interrupted were reversed)
  • Fix cancel_workers callsites (was using old name).
  • In handle_exception re-raise actual exception instance that was thrown
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  • Scripts/webkitpy/layout_tests/layout_package/worker.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2:04 PM Changeset in webkit [80283] by ap@apple.com
  • 2 edits
    1 move in trunk/Source/WebCore

More build fixing. Move WebCoreKeyboardUIMode.h to a cross-platform location.

  • WebCore.xcodeproj/project.pbxproj:
  • page/WebCoreKeyboardUIMode.h: Copied from WebCore/page/mac/WebCoreKeyboardUIMode.h.
  • page/mac/WebCoreKeyboardUIMode.h: Removed.
1:55 PM Changeset in webkit [80282] by ap@apple.com
  • 18 edits in trunk/Source

Build fix. Should include WebCoreKeyboardUIMode.h on all platforms now.

  • page/ChromeClient.h:
1:46 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:45 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:45 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:44 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:42 PM Changeset in webkit [80281] by mjs@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-03-03 Maciej Stachowiak <mjs@apple.com>

Reviewed by Brady Eidson.

WebProcess is calling CFURLCacheRemoveAllCachedResponses when loading, results in origin-load for all resources
https://bugs.webkit.org/show_bug.cgi?id=55701
<rdar://problem/9074017>

  • Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::WebProcessCreationParameters): Initialize cache-clearing flag parameters to false. (WebKit::WebProcessCreationParameters::encode): Serialize them properly. (WebKit::WebProcessCreationParameters::decode): And deserialize.
1:42 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:42 PM QtWebKitCheckList edited by alexis.menard@openbossa.org
(diff)
1:41 PM QtWebKitCheckList created by alexis.menard@openbossa.org
1:39 PM Changeset in webkit [80280] by ggaren@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Try to fix Windows build.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed obsolete symbol.
  • runtime/JSStaticScopeObject.cpp:

(JSC::JSStaticScopeObject::getOwnPropertySlot): Don't mark this function
inline -- it's virtual.

1:34 PM Changeset in webkit [80279] by ap@apple.com
  • 41 edits
    2 adds in trunk/Source

Reviewed by Darin Adler.

REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
https://bugs.webkit.org/show_bug.cgi?id=55633
<rdar://problem/8963023>

  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/mac/FullKeyboardAccessWatcher.h: Added.
  • WebProcess/mac/FullKeyboardAccessWatcher.mm: Added. (-[FullKeyboardAccessWatcher retrieveKeyboardUIModeFromPreferences:]): (-[FullKeyboardAccessWatcher init]): (+[FullKeyboardAccessWatcher fullKeyboardAccessEnabled]): Get the current state of full keyboard access, listening for change notifications.
  • WebProcess/WebProcess.h: Added fullKeyboardAccessEnabled().
  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::fullKeyboardAccessEnabled): WebKit1 also doesn't implement this on platforms other than Mac.
  • WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::fullKeyboardAccessEnabled): Just ask FullKeyboardAccessWatcher.
  • WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::keyboardUIMode):
  • WebProcess/WebCoreSupport/WebChromeClient.h: Added keyboardUIMode(), removed tabsToLinks().
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::keyboardUIMode):
  • WebProcess/WebPage/WebPage.h: Generate keyboard UI mode from tabToLinks preference and current state of FKA.
1:28 PM Changeset in webkit [80278] by Dimitri Glazkov
  • 2 edits in trunk/Source/WebCore

2011-03-03 Dimitri Glazkov <Dimitri Glazkov>

Fix Win compile break, caused by r80276.

  • rendering/RenderThemeWin.h: Changed signature of volumeSliderOffsetFromMuteButton

to match RenderTheme.h.

1:24 PM Changeset in webkit [80277] by ggaren@apple.com
  • 27 edits in trunk/Source

2011-03-02 Geoffrey Garen <ggaren@apple.com>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • JavaScriptCore.exp:
  • bytecompiler/BytecodeGenerator.cpp:
  • jit/JITOpcodes.cpp:
  • runtime/Arguments.h:
  • runtime/JSActivation.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/JSCell.h: (JSC::JSCell::MarkedSpace::sizeClassFor): Added an imprecise size class to accomodate objects up to 1K.
  • runtime/JSGlobalObject.cpp:
  • runtime/JSGlobalObject.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/JSObject.cpp: Don't ASSERT that JSFinalObject fills the maximum object size, since it doesn't anymore.
  • runtime/JSStaticScopeObject.cpp:
  • runtime/JSStaticScopeObject.h:
  • runtime/JSVariableObject.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/MarkedSpace.cpp: (JSC::MarkedSpace::MarkedSpace): (JSC::MarkedSpace::reset):
  • runtime/MarkedSpace.h: Added an imprecise size class to accomodate objects up to 1K.

2011-03-02 Geoffrey Garen <ggaren@apple.com>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • JSRun.cpp: (JSGlueGlobalObject::JSGlueGlobalObject):
  • JSRun.h: (JSGlueGlobalObject::Flags): (JSGlueGlobalObject::userObjectStructure): Removed out-of-line storage. Changed d-> to m_.

2011-03-02 Geoffrey Garen <ggaren@apple.com>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • bindings/js/JSDOMGlobalObject.cpp:
  • bindings/js/JSDOMGlobalObject.h:
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.h:
  • bindings/js/JSWorkerContextBase.cpp: Removed out-of-line storage. Changed d-> to m_.
1:19 PM Changeset in webkit [80276] by Dimitri Glazkov
  • 11 edits in trunk/Source/WebCore

2011-03-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

Use RenderBox in volumeSliderOffsetFromMuteButton, since that's what is actually being used.
https://bugs.webkit.org/show_bug.cgi?id=55099

Cleanup, no behavior change.

  • html/shadow/MediaControls.cpp: (WebCore::MediaControls::updateVolumeSliderContainer): Changed to pass RenderBox

instead of Node.

  • rendering/RenderMediaControls.cpp: (WebCore::RenderMediaControls::volumeSliderOffsetFromMuteButton): Changed

to use RenderBox as argument.

  • rendering/RenderMediaControls.h: Ditto.
  • rendering/RenderTheme.cpp: (WebCore::RenderTheme::volumeSliderOffsetFromMuteButton): Ditto.
  • rendering/RenderTheme.h: Ditto.
  • rendering/RenderThemeChromiumMac.h: Ditto.
  • rendering/RenderThemeChromiumMac.mm: (WebCore::RenderThemeChromiumMac::volumeSliderOffsetFromMuteButton): Ditto.
  • rendering/RenderThemeMac.h: Ditto.
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::volumeSliderOffsetFromMuteButton): Ditto.
  • rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::volumeSliderOffsetFromMuteButton): Ditto.
1:06 PM Changeset in webkit [80275] by weinig@apple.com
  • 5 edits in trunk/Source/WebKit2

2011-03-03 Sam Weinig <sam@webkit.org>

Reviewed by Anders Carlsson.

Give the Bundle's policy client the option of deciding the policy
https://bugs.webkit.org/show_bug.cgi?id=55699

  • WebProcess/InjectedBundle/API/c/WKBundlePage.h: Add WKBundlePagePolicyAction enum and make it the return value of the WKBundlePagePolicyClient functions.
  • WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp: (WebKit::InjectedBundlePagePolicyClient::decidePolicyForNavigationAction): (WebKit::InjectedBundlePagePolicyClient::decidePolicyForNewWindowAction): (WebKit::InjectedBundlePagePolicyClient::decidePolicyForMIMEType):
  • WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h: Pass the return value back to the caller. For unimplemented functions, return WKBundlePagePolicyActionPassThrough.
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType): (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Call the policy function early if the bundle handles it.
1:03 PM Changeset in webkit [80274] by andreas.kling@nokia.com
  • 3 edits in trunk/Source/WebCore

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

Reviewed by Andreas Kling.

When building with DEFINES+=USE_GSTREAMER=1 we don't want to define ENABLE_QT_MULTIMEDIA to 1.
Also add the new files added after https://bugs.webkit.org/show_bug.cgi?id=54870 to support GRefPtr
for GstElement.

  • WebCore.pro:
  • features.pri:
1:00 PM Changeset in webkit [80273] by loislo@chromium.org
  • 2 edits
    3 deletes in trunk/LayoutTests

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

Unreviewed, rolling out r80272.
http://trac.webkit.org/changeset/80272
https://bugs.webkit.org/show_bug.cgi?id=55700

the test are flaky (Requested by loislo_ on #webkit).

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.addObject):
  • http/tests/inspector/protocol-test.js: Removed.
  • inspector/protocol/runtime-agent-expected.txt: Removed.
  • inspector/protocol/runtime-agent.html: Removed.
12:22 PM Changeset in webkit [80272] by loislo@chromium.org
  • 2 edits
    4 adds in trunk/LayoutTests

2011-03-03 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce a protocol test for RuntimeAgent API.
https://bugs.webkit.org/show_bug.cgi?id=55482

  • http/tests/inspector/protocol-test.js: Added. (initialize_ProtocolTest.InspectorTest.filterProps): (initialize_ProtocolTest.InspectorTest._dumpStepResult): (initialize_ProtocolTest.InspectorTest._runNextStep): (initialize_ProtocolTest.InspectorTest.runProtocolTestSuite): (initialize_ProtocolTest):
  • inspector/protocol/runtime-agent-expected.txt: Added.
  • inspector/protocol/runtime-agent.html: Added.
11:58 AM Changeset in webkit [80271] by andersca@apple.com
  • 3 edits in trunk/Source/WebCore

Try to fix the Windows build again.

  • platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
  • platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
11:58 AM Changeset in webkit [80270] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/qt

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

Reviewed by Andreas Kling.

[Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
https://bugs.webkit.org/show_bug.cgi?id=55568

We should use updateMicroFocus() from QGraphicsItem rather than the implementation
in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
in QGraphicsItem.

  • Api/qgraphicswebview.cpp: (QGraphicsWebView::setPage):
  • Api/qgraphicswebview.h:
11:54 AM Changeset in webkit [80269] by mihaip@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Dimitri Glazkov.

Add another CRASH() for CSSSelector double frees
https://bugs.webkit.org/show_bug.cgi?id=55693

To help track down bug 53045, add a CRASH call when the the array and/or
CSSSelector member in CSSSelectorList is disposed of more than once.

Just a check, no new tests necessary.

  • css/CSSSelectorList.cpp: (WebCore::CSSSelectorList::deleteSelectors):
11:51 AM Changeset in webkit [80268] by andersca@apple.com
  • 5 edits in trunk/Source/WebCore

Yet another attempt at fixing the Windows build.

  • platform/graphics/ca/win/CACFLayerTreeHost.cpp:
  • platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp:
  • platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
  • platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
11:36 AM Changeset in webkit [80267] by qi.2.zhang@nokia.com
  • 2 edits in trunk/Tools

Unreviewed.

Adding myself as a committer.

11:33 AM Changeset in webkit [80266] by cmarrin@apple.com
  • 5 edits in trunk/Source/WebCore

2011-03-02 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

REGRESSION: Accelerated transitions are jumpy
https://bugs.webkit.org/show_bug.cgi?id=55022

Got rid of default TimingFunction values from PlatformCAAnimation*. A TimingFunction
is now always passed in. The TimingFunction class now has a static method to get
a default object which has the 'ease' values in it. I now assert in both Mac and
Win implementations if a null TimingFunction pointer is seen.

  • platform/animation/TimingFunction.h: (WebCore::CubicBezierTimingFunction::create): (WebCore::CubicBezierTimingFunction::defaultTimingFunction): (WebCore::CubicBezierTimingFunction::CubicBezierTimingFunction):
  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::timingFunctionForAnimationValue):
  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: (toCAMediaTimingFunction):
  • platform/graphics/ca/win/PlatformCAAnimationWin.cpp: (toCACFTimingFunction):
11:28 AM Changeset in webkit [80265] by tonyg@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Tony Gentilcore <tonyg@chromium.org>

Unreviewed build fix.

Fix clang compile after r80220
https://bugs.webkit.org/show_bug.cgi?id=55692

  • storage/IDBBackingStore.cpp: (WebCore::IDBBackingStore::getPrimaryKeyViaIndex):
11:21 AM Changeset in webkit [80264] by andersca@apple.com
  • 3 edits in trunk/Source/WebCore

Attempt to fix the Windows build.

  • platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
  • platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
11:16 AM Changeset in webkit [80263] by bweinstein@apple.com
  • 16 edits
    2 adds in trunk/Source

Source/WebCore: Rest of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

Add functions to be exported.

  • WebCore.exp.in:

Source/WebKit2: Rest of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

This patch adds the communication from the WebProcess <-> UIProcess about starting/stopping
listening for cookies changing, and adds a mechanism for the WebProcess to notify the UIProcess
when the cookies have changed. The WebProcess sends a message to the UIProcess when the cookies
change, and the UIProcess passes this along to the WebCookieManagerProxyClient.

  • UIProcess/API/C/WKCookieManager.cpp:

(WKCookieManagerSetClient): Call through to WebCookieManagerProxy.
(WKCookieManagerStartObservingCookieChanges): Ditto.
(WKCookieManagerStopObservingCookieChanges): Ditto.

  • UIProcess/API/C/WKCookieManager.h: Add new functions and a WKCookieManagerClient

which is responsible for cookiesDidChange.

  • UIProcess/WebCookieManagerProxy.cpp:

(WebKit::WebCookieManagerProxy::initializeClient):
(WebKit::WebCookieManagerProxy::startObservingCookieChanges): Send the message down to the web process.
(WebKit::WebCookieManagerProxy::stopObservingCookieChanges): Ditto.
(WebKit::WebCookieManagerProxy::cookiesDidChange): Tell the WKCookieManagerClient the cookies were

modified.

  • UIProcess/WebCookieManagerProxy.h:
  • UIProcess/WebCookieManagerProxy.messages.in: Add new messages.
  • UIProcess/WebCookieManagerProxyClient.cpp: Added.

(WebKit::WebCookieManagerProxyClient::cookiesDidChange): Calls through to the client saying that

cookies changed.

  • UIProcess/WebCookieManagerProxyClient.h: Added.


  • WebProcess/Cookies/WebCookieManager.cpp:

(WebKit::WebCookieManager::startObservingCookieChanges): Call through to WebCore::startObservingCookieChanges

(on platforms that support it).

(WebKit::WebCookieManager::stopObservingCookieChanges): Ditto (for stopObservingCookieChanges).
(WebKit::WebCookieManager::dispatchDidModifyCookies): Send a message to the UI process that cookies changed.

  • WebProcess/Cookies/WebCookieManager.h:
  • WebProcess/Cookies/WebCookieManager.messages.in:


Add new files.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • GNUmakefile.am:
  • win/WebKit2.vcproj:
11:15 AM Changeset in webkit [80262] by tonyg@chromium.org
  • 4 edits in trunk/Tools

2011-03-03 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Mihai Parparita.

Teach sheriffbot to answer whois commands
https://bugs.webkit.org/show_bug.cgi?id=55687

  • Scripts/webkitpy/tool/bot/irc_command.py:
  • Scripts/webkitpy/tool/bot/irc_command_unittest.py:
  • Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
11:14 AM Changeset in webkit [80261] by andersca@apple.com
  • 12 edits in trunk/Source/WebKit2

2011-03-03 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Remove CanRunBeforeUnloadConfirmPanel sync message
https://bugs.webkit.org/show_bug.cgi?id=55689

  • Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode): (WebKit::WebPageCreationParameters::decode): Encode and decode canRunBeforeUnloadConfirmPanel, as well as canRunModal, which wasn't being encoded/decoded.
  • Shared/WebPageCreationParameters.h: Add canRunBeforeUnloadConfirmPanel.
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::initializeUIClient): Send SetCanRunBeforeUnloadConfirmPanel and SetCanRunModal messages.

(WebKit::WebPageProxy::creationParameters):
Initialize parameters.canRunBeforeUnloadConfirmPanel.

  • UIProcess/WebPageProxy.messages.in: Remove CanRunBeforeUnloadConfirmPanel message.
  • UIProcess/WebUIClient.cpp: (WebKit::WebUIClient::canRunBeforeUnloadConfirmPanel):
  • UIProcess/WebUIClient.h: Make canRunBeforeUnloadConfirmPanel const.
  • WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::canRunBeforeUnloadConfirmPanel): Ask the web page instead of sending a synchronous message.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): Initialize m_canRunBeforeUnloadConfirmPanel.
  • WebProcess/WebPage/WebPage.h: (WebKit::WebPage::canRunBeforeUnloadConfirmPanel): (WebKit::WebPage::setCanRunBeforeUnloadConfirmPanel): Add getter and setter for m_canRunBeforeUnloadConfirmPanel.

(WebKit::WebPage::setCanRunModal):
Add setter for m_canRunModal.

  • WebProcess/WebPage/WebPage.messages.in: Add SetCanRunBeforeUnloadConfirmPanel and SetCanRunModal messages.
11:01 AM Changeset in webkit [80260] by andersca@apple.com
  • 4 edits in trunk/Source/WebCore

2011-03-03 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Improve WebCore build time by ~5%
https://bugs.webkit.org/show_bug.cgi?id=55688

Forward declare the CATransform3D and CGAffineTransform structs instead of including
large chunks of QuartzCore and Core Graphics.

On an 8 core Mac Pro, this sped up building WebCore by about 5%.

  • platform/graphics/ca/GraphicsLayerCA.cpp:
  • platform/graphics/ca/TransformationMatrixCA.cpp:
  • platform/graphics/transforms/TransformationMatrix.h:
10:57 AM Changeset in webkit [80259] by imasaki@chromium.org
  • 3 edits
    2 copies in trunk/LayoutTests

2011-03-03 Kenji Imasaki <imasaki@chromium.org>

Reviewed by Mihai Parparita.

[Chromium] Snow Leopard rebaseline of media/video-layer-crash
http://code.google.com/p/chromium/issues/detail?id=60744

  • platform/chromium-mac-leopard/media/video-layer-crash-expected.checksum: Copied from LayoutTests/platform/chromium-mac/media/video-layer-crash-expected.checksum.
  • platform/chromium-mac-leopard/media/video-layer-crash-expected.png: Copied from LayoutTests/platform/chromium-mac/media/video-layer-crash-expected.png.
  • platform/chromium-mac/media/video-layer-crash-expected.checksum:
  • platform/chromium-mac/media/video-layer-crash-expected.png:
10:48 AM Changeset in webkit [80258] by caseq@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Adjusted call to a method renamed in r80102.

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._startEditing):
10:39 AM Changeset in webkit [80257] by mihaip@chromium.org
  • 4 edits in trunk

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

Reviewed by Eric Carlson.

Enable media tests in chromium-gpu/test_expectations
https://bugs.webkit.org/show_bug.cgi?id=53608

Suppressing the test failures until baselines are added.

  • platform/chromium/test_expectations.txt:

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

Reviewed by Eric Carlson.

Enable media tests in chromium-gpu/test_expectations
https://bugs.webkit.org/show_bug.cgi?id=53608

Add media folder to the list of GPU test paths.

  • Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
10:37 AM Changeset in webkit [80256] by timothy@apple.com
  • 1 edit in trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def

Attempt to fix the Windows build.

10:36 AM Changeset in webkit [80255] by imasaki@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Kenji Imasaki <imasaki@chromium.org>

Reviewed by Tony Gentilcore.

[Chromium] Revert the change in http/tests/media/video-referer.html
in rev80227

  • platform/chromium/test_expectations.txt:
10:28 AM Changeset in webkit [80254] by timothy@apple.com
  • 8 edits
    1 add in trunk/Source

Use APIEntryShim instead of JSLock in SerializedScriptValue.

Source/JavaScriptCore: Make APIShims usable from WebCore.

Reviewed by Oliver Hunt.

Source/WebCore: Use APIEntryShim instead of JSLock in SerializedScriptValue to allow it to be used
by contexts not created by WebCore.

https://webkit.org/b/55642

Reviewed by Oliver Hunt.

  • bindings/js/SerializedScriptValue.cpp:

(WebCore::SerializedScriptValue::create): Use APIEntryShim instead of JSLock.
(WebCore::SerializedScriptValue::deserialize): Ditto.

10:19 AM Changeset in webkit [80253] by mihaip@chromium.org
  • 26 edits
    24 copies
    48 adds in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard rebaseline.

Rebaseline tables/mozilla/marvin/ tests for Snow Leopard. The current
expectations were just checksums, I also added their corresponding PNGs.

We can't use the mac/ baselines since we scale the raptor image
differently (most likely due to CG i386 vs. x86_64 differences, see
bug 52335).

  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tbody_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tbody_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tbody_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tbody_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tbody_valign_top-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/td_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/td_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/td_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/td_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/td_valign_top-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tfoot_valign_top-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/th_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/th_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/th_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/th_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/th_valign_top-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/thead_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/thead_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/thead_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/thead_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/thead_valign_top-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_baseline-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tr_valign_baseline-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_baseline-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_bottom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tr_valign_bottom-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_bottom-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_middle-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tr_valign_middle-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_middle-expected.png: Added.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_top-expected.checksum: Copied from LayoutTests/platform/chromium-mac/tables/mozilla/marvin/tr_valign_top-expected.checksum.
  • platform/chromium-mac-leopard/tables/mozilla/marvin/tr_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tbody_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/td_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tfoot_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/th_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/thead_valign_top-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_baseline-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_baseline-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_bottom-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_bottom-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_middle-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_middle-expected.png: Added.
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_top-expected.checksum:
  • platform/chromium-mac/tables/mozilla/marvin/tr_valign_top-expected.png: Added.
  • platform/chromium/test_expectations.txt:
10:10 AM Changeset in webkit [80252] by ap@apple.com
  • 4 edits
    6 adds in trunk

Reviewed by Darin Adler.

WebCore should check for "Upgrade" and "Connection" header fields in WebSockets handshake
https://bugs.webkit.org/show_bug.cgi?id=55498
<rdar://problem/8752706>

Tests: http/tests/websocket/tests/handshake-fail-by-no-connection-header.html

http/tests/websocket/tests/handshake-fail-by-no-upgrade-header.html

  • websockets/WebSocketHandshake.h: Removed unused and meaningless setters for response header fields. Removed separate member variables for those, as they were duplicating data available in response, and there is no reason to squeeze microsecods here.
  • websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::reset): There are no longer member variables for header field values to reset here. (WebCore::WebSocketHandshake::readServerHandshake): Removed a call for processHeaders(). (WebCore::WebSocketHandshake::serverWebSocketOrigin): Changed to get the value from response. (WebCore::WebSocketHandshake::serverWebSocketLocation): Ditto. (WebCore::WebSocketHandshake::serverWebSocketProtocol): Ditto. (WebCore::WebSocketHandshake::serverSetCookie): Ditto. (WebCore::WebSocketHandshake::serverSetCookie2): Ditto. (WebCore::WebSocketHandshake::serverUpgrade): Added. (WebCore::WebSocketHandshake::serverConnection): Added. (WebCore::WebSocketHandshake::checkResponseHeaders): Added checks for Upgrade and Connection header field presence and values.
9:54 AM QtWebKitReleases edited by Ademar Reis
(diff)
9:48 AM Changeset in webkit [80251] by mihaip@chromium.org
  • 6 edits
    4 copies
    8 adds in trunk/LayoutTests

2011-03-03 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard rebaseline.

Rebaseline remaining editing/ tests for Snow Leopard. The current
expectations were just checksums, I also added their corresponding PNGs.

We can't use the mac/ baselines since we render selections differently.

  • platform/chromium-mac-leopard/editing/selection/4402375-expected.checksum: Copied from LayoutTests/platform/chromium-mac/editing/selection/4402375-expected.checksum.
  • platform/chromium-mac-leopard/editing/selection/4402375-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/image-before-linebreak-expected.checksum: Copied from LayoutTests/platform/chromium-mac/editing/selection/image-before-linebreak-expected.checksum.
  • platform/chromium-mac-leopard/editing/selection/image-before-linebreak-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/replaced-boundaries-1-expected.checksum: Copied from LayoutTests/platform/chromium-mac/editing/selection/replaced-boundaries-1-expected.checksum.
  • platform/chromium-mac-leopard/editing/selection/replaced-boundaries-1-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/replaced-boundaries-2-expected.checksum: Copied from LayoutTests/platform/chromium-mac/editing/selection/replaced-boundaries-2-expected.checksum.
  • platform/chromium-mac-leopard/editing/selection/replaced-boundaries-2-expected.png: Added.
  • platform/chromium-mac/editing/selection/4402375-expected.checksum:
  • platform/chromium-mac/editing/selection/4402375-expected.png: Added.
  • platform/chromium-mac/editing/selection/image-before-linebreak-expected.checksum:
  • platform/chromium-mac/editing/selection/image-before-linebreak-expected.png: Added.
  • platform/chromium-mac/editing/selection/replaced-boundaries-1-expected.checksum:
  • platform/chromium-mac/editing/selection/replaced-boundaries-1-expected.png: Added.
  • platform/chromium-mac/editing/selection/replaced-boundaries-2-expected.checksum:
  • platform/chromium-mac/editing/selection/replaced-boundaries-2-expected.png: Added.
  • platform/chromium/test_expectations.txt:
9:43 AM Changeset in webkit [80250] by helder@sencha.com
  • 4 edits in trunk

[Qt] fast/canvas/canvas-strokePath-gradient-shadow.html fails
https://bugs.webkit.org/show_bug.cgi?id=55651

Reviewed by Andreas Kling.

When relying on ContextShadow and using a gradient stroke for a path,
the alpha of the shadow is incorrect.

Source/WebCore:

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::strokePath):

LayoutTests:

  • platform/qt/Skipped: Remove test from skipped list.
9:36 AM Changeset in webkit [80249] by Adam Roben
  • 2 edits in trunk/Tools

Work around a bug in KURL's parsing of Windows-style absolute file: URLs

Fixes <http://webkit.org/b/55674> Many tests fail in WebKit2 mode on Windows due to
incorrect parsing of absolute Windows-style file: URLs

Reviewed by Tim Hatcher.

  • WebKitTestRunner/TestInvocation.cpp:

(WTR::createWKURL): Add a "localhost" host to file: URLs we create to work around
<http://webkit.org/b/55683>.

9:34 AM Changeset in webkit [80248] by tony@chromium.org
  • 3 edits in trunk/Tools

2011-03-03 Tony Chang <tony@chromium.org>

Reviewed by Dimitri Glazkov.

[chromium] Run kill-old-processes on the chromium-win bot too
https://bugs.webkit.org/show_bug.cgi?id=55630

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
  • BuildSlaveSupport/win/kill-old-processes: Add wdiff.exe to the kill list.
9:18 AM Changeset in webkit [80247] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip failing test on GTK. See bug 55682.

  • platform/gtk/Skipped: Skip fast/images/support-broken-image-delegate.html
9:03 AM Changeset in webkit [80246] by Martin Robinson
  • 2 edits in trunk/Source/WebCore

2011-03-03 Martin Robinson <mrobinson@igalia.com>

XHTMLMP build broken after r78342
https://bugs.webkit.org/show_bug.cgi?id=55286

Fix XHTMLMP build now that the DocumentWriter is a member of DocumentLoader
instead of FrameLoader.

No new tests. This is a build fix.

  • dom/Document.cpp: (WebCore::Document::isXHTMLMPDocument):
8:59 AM Changeset in webkit [80245] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip svg test failing on 32-bits Release, likely due
to a rounding error, see bug 39022.

  • platform/gtk/Skipped:
8:54 AM Changeset in webkit [80244] by tonyg@chromium.org
  • 3 edits in trunk/Source/WebKit/chromium

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

Unreviewed, rolling out r80219.
http://trac.webkit.org/changeset/80219
https://bugs.webkit.org/show_bug.cgi?id=55680

"Causes several media test crashes" (Requested by tonyg-cr on
#webkit).

  • src/AssociatedURLLoader.cpp: (WebKit::AssociatedURLLoader::AssociatedURLLoader): (WebKit::AssociatedURLLoader::~AssociatedURLLoader): (WebKit::AssociatedURLLoader::loadSynchronously): (WebKit::AssociatedURLLoader::loadAsynchronously): (WebKit::AssociatedURLLoader::cancel): (WebKit::AssociatedURLLoader::setDefersLoading): (WebKit::AssociatedURLLoader::prepareRequest): (WebKit::AssociatedURLLoader::willSendRequest): (WebKit::AssociatedURLLoader::didSendData): (WebKit::AssociatedURLLoader::didReceiveResponse): (WebKit::AssociatedURLLoader::didDownloadData): (WebKit::AssociatedURLLoader::didReceiveData): (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): (WebKit::AssociatedURLLoader::didFinishLoading): (WebKit::AssociatedURLLoader::didFail):
  • src/AssociatedURLLoader.h:
8:42 AM Changeset in webkit [80243] by Carlos Garcia Campos
  • 4 edits in trunk

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

Reviewed by Martin Robinson.

[GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick
https://bugs.webkit.org/show_bug.cgi?id=53960

  • platform/gtk/Skipped: Unskip fast/events/popup-blocking-click-in-iframe.html that passes now.

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

Reviewed by Martin Robinson.

[GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick
https://bugs.webkit.org/show_bug.cgi?id=53960

  • DumpRenderTree/gtk/EventSender.cpp: (sendClick): (scheduleAsynchronousClickCallback):
8:40 AM Changeset in webkit [80242] by Dimitri Glazkov
  • 4 edits in trunk/Source/WebCore

2011-03-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Eric Carlson.

Tweak MediaControlMuteButtonElement class hierarchy.
https://bugs.webkit.org/show_bug.cgi?id=55614

This allows the mute button on the panel to have event handlers that are
different from the mute button in the volume slider.

No change in behavior, covered by existing tests.

  • html/shadow/MediaControls.cpp: (WebCore::MediaControls::createMuteButton): Changed to use MediaControlPanelMuteButtonElement.
  • rendering/MediaControlElements.cpp: (WebCore::MediaControlMuteButtonElement::updateDisplayType): (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement): Added. (WebCore::MediaControlPanelMuteButtonElement::create): Added. (WebCore::MediaControlPanelMuteButtonElement::shadowPseudoId): Moved.
  • rendering/MediaControlElements.h: Added defs.
8:29 AM Changeset in webkit [80241] by Martin Robinson
  • 2 edits
    1 add in trunk/LayoutTests

2011-03-03 Martin Robinson <mrobinson@igalia.com>

Unskipped one test that just needs platform-independent results (it
does not fail on GTK+) and one failure so that we can get a test diff
from it (not failing locally or when run manually on the bots).

8:21 AM Changeset in webkit [80240] by Adam Roben
  • 6 edits
    2 copies in trunk

Make Inspector tests work in WebKit2 on Windows

Fixes <http://webkit.org/b/55672> <rdar://problem/9080867> All inspector tests time out or crash on
Windows 7 Release (WebKit2 Tests)

Reviewed by Darin Adler.

Source/WebKit2:

Create the CFBundleRef for WebKit.dll on Windows if needed

  • Shared/win/WebKitBundle.cpp: Added.

(WebKit::createWebKitBundle): Returns a pre-existing bundle, if possible, otherwise creates
and returns a new bundle.
(WebKit::webKitBundle): Creates and caches a bundle, and returns it.

  • Shared/win/WebKitBundle.h: Added.
  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::inspectorPageURL):

  • WebProcess/WebPage/win/WebInspectorWin.cpp:

(WebKit::WebInspector::localizedStringsURL):
Changed to use webKitBundle() to ensure that the bundle has been created.

  • win/WebKit2.vcproj: Added new files.

Tools:

Look for Windows-style paths when checking whether a test is an Inspector test

  • WebKitTestRunner/TestInvocation.cpp:

(WTR::shouldOpenWebInspector): Also look for backslashes, since that's what we'll get on
Windows.

7:52 AM Changeset in webkit [80239] by yurys@chromium.org
  • 13 edits in trunk/Source/WebCore

2011-03-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Resource agent should have same lifetime as Inspector agent
https://bugs.webkit.org/show_bug.cgi?id=55461

  • inspector/Inspector.idl:
  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::inspectedPageDestroyed): disconnectFrontend is called before the agent is destroyed to clear frontend reference in all agents. (WebCore::InspectorAgent::restoreInspectorStateFromCookie): (WebCore::InspectorAgent::setFrontend): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::releaseFrontendLifetimeAgents): (WebCore::InspectorAgent::didCommitLoad):
  • inspector/InspectorAgent.h: (WebCore::InspectorAgent::resourceAgent):
  • inspector/InspectorBrowserDebuggerAgent.cpp: (WebCore::InspectorBrowserDebuggerAgent::~InspectorBrowserDebuggerAgent):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didCreateWebSocketImpl): (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl): (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl): (WebCore::InspectorInstrumentation::didCloseWebSocketImpl): (WebCore::InspectorInstrumentation::retrieveResourceAgent):
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::setFrontend): (WebCore::InspectorResourceAgent::clearFrontend): (WebCore::InspectorResourceAgent::restore): (WebCore::InspectorResourceAgent::~InspectorResourceAgent): (WebCore::InspectorResourceAgent::enable): (WebCore::InspectorResourceAgent::disable): (WebCore::InspectorResourceAgent::InspectorResourceAgent):
  • inspector/InspectorResourceAgent.h: (WebCore::InspectorResourceAgent::create):
  • inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::restore):
  • inspector/InspectorTimelineAgent.h:
  • inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager): (WebInspector.NetworkManager.prototype.frontendReused):
  • inspector/front-end/inspector.js: (WebInspector.frontendReused):
7:02 AM Changeset in webkit [80238] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip failing test on GTK.

  • platform/gtk/Skipped: Skip fast/canvas/rgba-parsing.html
6:39 AM CommitterTips edited by Adam Roben
Added a tip about using auto-props to set the MIME type for PNGs correctly (diff)
6:31 AM Changeset in webkit [80237] by Adam Roben
  • 3 edits in trunk/Tools

Make Windows 7 Release (Tests) a core builder

We can probably make Windows XP Debug (Tests) a core builder, too, but we should probably
give it a few more days of greenness first.

Fixes <http://webkit.org/b/55665> Windows 7 Release (Tests) should be a core builder

Reviewed by Andreas Kling.

  • Scripts/webkitpy/common/net/buildbot/buildbot.py:

(BuildBot): Added a regexp to match Windows 7 Release (Tests).

  • Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

(BuildBotTest): Updated the list of builders to match the current list on build.webkit.org.
Updated the core regexps to match the buildbot module. Updated the expected results to match
the current set of core builders.

6:28 AM Changeset in webkit [80236] by Philippe Normand
  • 2 edits
    55 adds in trunk/LayoutTests

2011-03-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, GTK baselines for new tests.

5:48 AM Changeset in webkit [80235] by abecsi@webkit.org
  • 3 edits
    3 adds in trunk

2011-03-03 Andras Becsi <abecsi@webkit.org>

Reviewed by Andreas Kling.

CSS RGBA fast-path color parsing should clamp of out-of-range alpha values
https://bugs.webkit.org/show_bug.cgi?id=55661

Test case originally written by Andreas Kling <andreas.kling@nokia.com>

Add a test of rgba() color parsing for the edge cases.

  • fast/canvas/rgba-parsing-expected.txt: Added.
  • fast/canvas/rgba-parsing.html: Added.
  • fast/canvas/script-tests/rgba-parsing.js: Added. (parse):

2011-03-03 Andras Becsi <abecsi@webkit.org>

Reviewed by Andreas Kling.

CSS RGBA fast-path color parsing should clamp of out-of-range alpha values
https://bugs.webkit.org/show_bug.cgi?id=55661

Test case originally written by Andreas Kling <andreas.kling@nokia.com>

Test: fast/canvas/rgba-parsing.html

  • css/CSSParser.cpp: (WebCore::isValidDouble): Check whether the given string is a valid double. (WebCore::parseAlphaValue): Out-of-range alpha values should be clamped to the (0.0, 1.0) range.
5:43 AM Changeset in webkit [80234] by antonm@chromium.org
  • 6 edits
    6 deletes in trunk/LayoutTests/platform

Unreviewed. Making expectations platform specific.

  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png
  • platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum
  • platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum
  • platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.png
  • platform/chromium-mac-leopard/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum
  • platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-lr-expected.png
  • platform/chromium-mac-leopard/fast/blockflow/japanese-ruby-vertical-rl-expected.png
4:16 AM Changeset in webkit [80233] by benjamin.poulain@nokia.com
  • 2 edits in trunk/Tools

Adding myself as a reviewer.

Reviewed by Andreas Kling.

  • Scripts/webkitpy/common/config/committers.py:
4:15 AM Changeset in webkit [80232] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

2011-03-03 David Holloway <dhollowa@chromium.org>

Reviewed by Dimitri Glazkov.

Changes HTMLTextFormControlElement::placeholderShouldBeVisible to account
for non-empty suggestion text. The visibility of the placeholder text
now turned off when suggestion text is set.
https://bugs.webkit.org/show_bug.cgi?id=55245

No new tests because, by design, the suggestion text is not accessible
through the DOM.

  • html/HTMLFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::placeholderShouldBeVisible):
  • html/HTMLFormControlElement.h: (WebCore::HTMLTextFormControlElement::isEmptySuggestedValue):
  • html/HTMLInputElement.h: (WebCore::HTMLInputElement::isEmptySuggestedValue):
4:13 AM Changeset in webkit [80231] by aestes@apple.com
  • 9 edits in trunk/Source/WebCore

2011-03-03 Andy Estes <aestes@apple.com>

Reviewed by Eric Seidel.

HTML5 TreeBuilder regressed a Peacekeeper DOM test by 25% (was 40%)
https://bugs.webkit.org/show_bug.cgi?id=48719


Instead of pushing a fake HTMLHtmlElement onto the open element stack
during fragment parsing only to later remove it and reparent its
children to the DocumentFragment, push the DocumentFragment directly
onto the open element stack as the root node. This requires refactoring
HTMLElementStack to hold ContainerNode pointers rather than Element
pointers, which has implications for HTMLConstructionSite and
HTMLTreeBuilder as well.


With this patch, the regression in Peacekeeper from Safari 5.0.3 to ToT
is ~14%. However, if you discount the 'domDynamicCreationCreateElement'
test, ToT is now ~4% faster than Safari 5.0.3. This indicates that the
regression no longer lies in fragment parsing.

No new tests. No change in behavior.

  • dom/Element.h: (WebCore::Node::hasLocalName):
  • dom/Node.h:
  • html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLNames::hasImpliedEndTag): (WebCore::HTMLConstructionSite::HTMLConstructionSite): (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody): (WebCore::HTMLConstructionSite::insertComment): (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement): (WebCore::HTMLConstructionSite::attachToCurrent): (WebCore::HTMLConstructionSite::insertScriptElement): (WebCore::HTMLConstructionSite::insertTextNode): (WebCore::HTMLConstructionSite::createElement): (WebCore::HTMLConstructionSite::createHTMLElement): (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion): (WebCore::HTMLConstructionSite::generateImpliedEndTags): (WebCore::HTMLConstructionSite::findFosterSite): (WebCore::HTMLConstructionSite::shouldFosterParent):
  • html/parser/HTMLConstructionSite.h: (WebCore::HTMLConstructionSite::currentNode):
  • html/parser/HTMLElementStack.cpp: (WebCore::HTMLNames::isNumberedHeaderElement): (WebCore::HTMLNames::isScopeMarker): (WebCore::HTMLNames::isListItemScopeMarker): (WebCore::HTMLNames::isTableScopeMarker): (WebCore::HTMLNames::isTableBodyScopeMarker): (WebCore::HTMLNames::isTableRowScopeMarker): (WebCore::HTMLNames::isButtonScopeMarker): (WebCore::HTMLNames::isSelectScopeMarker): (WebCore::HTMLElementStack::ElementRecord::ElementRecord): (WebCore::HTMLElementStack::ElementRecord::replaceElement): (WebCore::HTMLElementStack::HTMLElementStack): (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement): (WebCore::HTMLElementStack::popAll): (WebCore::HTMLElementStack::popUntilNumberedHeaderElementPopped): (WebCore::HTMLElementStack::popUntil): (WebCore::HTMLElementStack::popUntilPopped): (WebCore::HTMLElementStack::popUntilTableScopeMarker): (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker): (WebCore::HTMLElementStack::popUntilTableRowScopeMarker): (WebCore::HTMLElementStack::pushHTMLHtmlElement): (WebCore::HTMLElementStack::push): (WebCore::HTMLElementStack::insertAbove): (WebCore::HTMLElementStack::find): (WebCore::HTMLElementStack::topmost): (WebCore::HTMLElementStack::contains): (WebCore::inScopeCommon): (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope): (WebCore::HTMLElementStack::htmlElement): (WebCore::HTMLElementStack::rootNode): (WebCore::HTMLElementStack::pushCommon):
  • html/parser/HTMLElementStack.h: (WebCore::HTMLElementStack::ElementRecord::element): (WebCore::HTMLElementStack::ElementRecord::node): (WebCore::HTMLElementStack::topNode):
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder): (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag): (WebCore::HTMLTreeBuilder::processStartTagForInBody): (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup): (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody): (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately): (WebCore::HTMLTreeBuilder::processEndTagForInCell): (WebCore::HTMLTreeBuilder::processEndTagForInBody): (WebCore::HTMLTreeBuilder::processEndTag): (WebCore::HTMLTreeBuilder::processEndOfFile): (WebCore::HTMLTreeBuilder::finished):
  • html/parser/HTMLTreeBuilder.h:
3:58 AM Changeset in webkit [80230] by yurys@chromium.org
  • 5 edits in trunk

2011-03-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: inspector protocol should allow different domains to have methods with same name
https://bugs.webkit.org/show_bug.cgi?id=55558

  • inspector/report-protocol-errors-expected.txt:
  • inspector/report-protocol-errors.html:

2011-03-02 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: inspector protocol should allow different domains to have methods with same name
https://bugs.webkit.org/show_bug.cgi?id=55558

  • inspector/CodeGeneratorInspector.pm: each command is now identified by domain + command-name(was command-name only).
3:28 AM Changeset in webkit [80229] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/chromium

2011-03-03 Dominic Mazzoni <dmazzoni@google.com>

Reviewed by Dimitri Glazkov.

Add an equals() method to WebAccessibilityObject.
https://bugs.webkit.org/show_bug.cgi?id=55631

  • public/WebAccessibilityObject.h:
  • src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::equals):
3:27 AM Changeset in webkit [80228] by podivilov@chromium.org
  • 7 edits in trunk/Source

2011-03-02 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make selected call frame debugger presentation model property.
https://bugs.webkit.org/show_bug.cgi?id=55582

  • inspector/front-end/CallStackSidebarPane.js: (WebInspector.CallStackSidebarPane): (WebInspector.CallStackSidebarPane.prototype.update): (WebInspector.CallStackSidebarPane.prototype.set selectedCallFrame): (WebInspector.CallStackSidebarPane.prototype._selectedCallFrameIndex):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions):
  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame): (WebInspector.DebuggerPresentationModel.prototype.get selectedCallFrame):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.getCompletionsOnCallFrame): (WebInspector.ScriptsPanel.prototype._debuggerResumed): (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded): (WebInspector.ScriptsPanel.prototype._callFrameSelected):

2011-03-03 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: make selected call frame debugger presentation model property.
https://bugs.webkit.org/show_bug.cgi?id=55582

  • src/js/Tests.js:
3:21 AM Changeset in webkit [80227] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-03 Kenji Imasaki <imasaki@chromium.org>

Reviewed by David Levin.

[Chromium] Remove non-flaky tests and update bugs/comments in
media related layout tests in test expectation

  • platform/chromium/test_expectations.txt:
3:13 AM Changeset in webkit [80226] by commit-queue@webkit.org
  • 29 edits in trunk

2011-03-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

On Mac OS X, spelling suggestion panel stops showing up after change set 80121
https://bugs.webkit.org/show_bug.cgi?id=55628

Rebaselined tests affected by changeset 80121.

  • platform/mac/editing/spelling/autocorrection-contraction-expected.txt:
  • platform/mac/editing/spelling/autocorrection-delete-expected.txt:
  • platform/mac/editing/spelling/autocorrection-removing-underline-after-paste-expected.txt:
  • platform/mac/editing/spelling/autocorrection-removing-underline-expected.txt:
  • platform/mac/editing/spelling/autocorrection-simple-expected.txt:
  • platform/mac/editing/spelling/click-autocorrected-word-expected.txt:
  • platform/mac/editing/spelling/click-autocorrected-word.html:
  • platform/mac/editing/spelling/delete-autocorrected-word-1-expected.txt:
  • platform/mac/editing/spelling/delete-into-autocorrected-word-expected.checksum:
  • platform/mac/editing/spelling/delete-into-autocorrected-word-expected.png:
  • platform/mac/editing/spelling/delete-into-autocorrected-word-expected.txt:
  • platform/mac/editing/spelling/delete-into-autocorrected-word.html:
  • platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.checksum:
  • platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.png:
  • platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.txt:
  • platform/mac/editing/spelling/forward-delete-into-autocorrected-word.html:
  • platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.checksum:
  • platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.png:
  • platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.txt:
  • platform/mac/editing/spelling/move-cursor-to-autocorrected-word.html:
  • platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.checksum:
  • platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.png:
  • platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.txt:
  • platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word.html:
  • platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt:

2011-03-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

On Mac OS X, spelling suggestion panel stops showing up after change set 80121
https://bugs.webkit.org/show_bug.cgi?id=55628

Removed a call to stopCorrectionPanelTimer() to fix a regression introduced by changeset 80121.

  • editing/Editor.cpp: (WebCore::Editor::appliedEditing):
  • manual-tests/autocorrection/autocorrection-contraction.html:
3:06 AM Changeset in webkit [80225] by commit-queue@webkit.org
  • 6 edits
    1 add
    1 delete in trunk

2011-03-03 Lukasz Slachciak <l.slachciak@samsung.com>

Reviewed by Xan Lopez.

[GTK] Extended application cache database API and added unit tests file.
https://bugs.webkit.org/show_bug.cgi?id=55335

  • GNUmakefile.am: Add testapplicationcache.c and remove webkitapplicationcacheprivate.h.
  • tests/testapplicationcache.c: Added. (test_applicationcache_maximum_size): Tests if application cache storage is set/get correctly. (test_applicationcache_database_directory_path): Tests if application cache directory path is set/get correctly. (main):
  • webkit/webkitapplicationcache.cpp: (webkit_application_cache_get_maximum_size): New API for getting application cache maximum storage size.
  • webkit/webkitapplicationcache.h: Declaration of API for getting/setting application cache maximum storage size.

2011-03-03 Lukasz Slachciak <l.slachciak@samsung.com>

Reviewed by Xan Lopez.

[GTK] Extended application cache database API and added unit tests file.
https://bugs.webkit.org/show_bug.cgi?id=55335

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: removed external declaration of webkit_application_cache_set_maximum_size due to API exposal.
3:03 AM Changeset in webkit [80224] by podivilov@chromium.org
  • 5 edits in trunk

2011-03-03 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: rename "sourceName" to "sourceFileId" in ScriptsPanel.js.
https://bugs.webkit.org/show_bug.cgi?id=55569

  • inspector/debugger/scripts-panel.html:

2011-03-03 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: rename "sourceName" to "sourceFileId" in ScriptsPanel.js.
https://bugs.webkit.org/show_bug.cgi?id=55569

sourceFileId better reflects the intention to have unique identifier for each source that is shown in scripts panel.

  • inspector/front-end/DebuggerPresentationModel.js:
  • inspector/front-end/ScriptsPanel.js:
2:58 AM Changeset in webkit [80223] by jeremy@chromium.org
  • 2 edits
    1 add
    14 deletes in trunk/LayoutTests

2011-03-03 Jeremy Moskovich <jeremy@chromium.org>

Reviewed by Dimitri Glazkov.

Convert offsetLeft-offsetTop-borders.html to dumpAsText()
https://bugs.webkit.org/show_bug.cgi?id=55612

This test outputs the values of offsetLeft/offsetTop for portions
of the DOM. It appears it would do just as well as a text-based test.

  • fast/block/positioning/offsetLeft-offsetTop-borders-expected.txt: Added.
  • fast/block/positioning/offsetLeft-offsetTop-borders.html:
  • platform/chromium-linux/fast/block/positioning/offsetLeft-offsetTop-borders-expected.checksum: Removed.
  • platform/chromium-linux/fast/block/positioning/offsetLeft-offsetTop-borders-expected.png: Removed.
  • platform/chromium-win/fast/block/positioning/offsetLeft-offsetTop-borders-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/offsetLeft-offsetTop-borders-expected.png: Removed.
  • platform/chromium-win/fast/block/positioning/offsetLeft-offsetTop-borders-expected.txt: Removed.
  • platform/gtk/fast/block/positioning/offsetLeft-offsetTop-borders-expected.checksum: Removed.
  • platform/gtk/fast/block/positioning/offsetLeft-offsetTop-borders-expected.png: Removed.
  • platform/gtk/fast/block/positioning/offsetLeft-offsetTop-borders-expected.txt: Removed.
  • platform/mac-leopard/fast/block/positioning/offsetLeft-offsetTop-borders-expected.checksum: Removed.
  • platform/mac-leopard/fast/block/positioning/offsetLeft-offsetTop-borders-expected.png: Removed.
  • platform/mac/fast/block/positioning/offsetLeft-offsetTop-borders-expected.checksum: Removed.
  • platform/mac/fast/block/positioning/offsetLeft-offsetTop-borders-expected.png: Removed.
  • platform/mac/fast/block/positioning/offsetLeft-offsetTop-borders-expected.txt: Removed.
  • platform/qt/fast/block/positioning/offsetLeft-offsetTop-borders-expected.txt: Removed.
2:51 AM Changeset in webkit [80222] by steveblock@google.com
  • 8 edits in trunk/Source/WebCore

2011-03-03 Steve Block <steveblock@google.com>

Reviewed by David Levin.

JavaString API should be implementable by both JSC and V8
https://bugs.webkit.org/show_bug.cgi?id=55567

Remove JavaString's UString operator and replace it with a
script-engine-independent impl() method, which returns a
StringImpl and can be implemented with both JSC and V8.

No new tests, refactoring only.

  • bridge/jni/JNIBridge.h: (JSC::Bindings::JavaString::impl):
  • bridge/jni/jni_jsobject.mm: (JavaJSObject::call): (JavaJSObject::eval): (JavaJSObject::getMember): (JavaJSObject::setMember): (JavaJSObject::removeMember):
  • bridge/jni/jsc/JNIBridgeJSC.cpp: (JavaField::valueFromInstance): (JavaField::setValueToInstance):
  • bridge/jni/jsc/JavaClassJSC.cpp: (JavaClass::JavaClass):
  • bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::invokeMethod):
  • bridge/jni/jsc/JavaStringJSC.h: (JSC::Bindings::JavaStringImpl::impl):
  • bridge/jni/v8/JavaStringV8.h: (JSC::Bindings::JavaStringImpl::impl):
2:44 AM Changeset in webkit [80221] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Benjamin Poulain <ikipou@gmail.com>

Reviewed by Adam Roben.

REGRESSION (r79817): Lots of leaks of FloatingObjects seen on SnowLeopard Intel Leaks bot
https://bugs.webkit.org/show_bug.cgi?id=55602

Delete the FloatingObject referenced by m_floatingObjects when clearing the floats.

The DeprecatedPtrList was deleting the objects automatically due to its autoDelete behavior. The
objects need to be deleted manually with ListHashSet.

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::clearFloats):
2:37 AM Changeset in webkit [80220] by hans@chromium.org
  • 13 edits in trunk/Source/WebCore

2011-03-03 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Move SQL code, especially for cursors, to IDBBackingStore
https://bugs.webkit.org/show_bug.cgi?id=55376

Move SQL code from IDBKey, IDBKeyRange, IDBIndexBackendImpl,
IDBObjectStoreBackendImpl, and especially IDBCursorBackendImpl.

No new functionality, so no new tests.

  • storage/IDBBackingStore.cpp: (WebCore::lowerCursorWhereFragment): (WebCore::upperCursorWhereFragment): (WebCore::IDBBackingStore::deleteObjectStoreRecord): (WebCore::IDBBackingStore::keyExistsInObjectStore): (WebCore::IDBBackingStore::getObjectViaIndex): (WebCore::keyFromQuery): (WebCore::IDBBackingStore::getPrimaryKeyViaIndex): (WebCore::IDBBackingStore::keyExistsInIndex): (WebCore::CursorImplCommon::CursorImplCommon::continueInternal): (WebCore::CursorImplCommon::ObjectStoreCursorImpl::ObjectStoreCursorImpl): (WebCore::CursorImplCommon::ObjectStoreCursorImpl::objectStoreDataId): (WebCore::CursorImplCommon::ObjectStoreCursorImpl::key): (WebCore::CursorImplCommon::ObjectStoreCursorImpl::value): (WebCore::CursorImplCommon::ObjectStoreCursorImpl::continueFunction): (WebCore::IDBBackingStore::openObjectStoreCursor): (WebCore::ObjectStoreCursorImpl::loadCurrentRow): (WebCore::ObjectStoreCursorImpl::currentRowExists): (WebCore::IndexKeyCursorImpl::IndexKeyCursorImpl): (WebCore::IndexKeyCursorImpl::indexDataId): (WebCore::IndexKeyCursorImpl::key): (WebCore::IndexKeyCursorImpl::primaryKey): (WebCore::IndexKeyCursorImpl::continueFunction): (WebCore::IDBBackingStore::openIndexKeyCursor): (WebCore::IndexKeyCursorImpl::loadCurrentRow): (WebCore::IndexKeyCursorImpl::currentRowExists): (WebCore::IndexCursorImpl::IndexCursorImpl): (WebCore::IndexCursorImpl::indexDataId): (WebCore::IndexCursorImpl::key): (WebCore::IndexCursorImpl::primaryKey): (WebCore::IndexCursorImpl::value): (WebCore::IndexCursorImpl::continueFunction): (WebCore::IDBBackingStore::openIndexCursor): (WebCore::IndexCursorImpl::loadCurrentRow): (WebCore::IndexCursorImpl::currentRowExists):
  • storage/IDBBackingStore.h: (WebCore::IDBBackingStore::Cursor::~Cursor):
  • storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::key): (WebCore::IDBCursorBackendImpl::value): (WebCore::IDBCursorBackendImpl::update): (WebCore::IDBCursorBackendImpl::continueFunctionInternal): (WebCore::IDBCursorBackendImpl::deleteFunction):
  • storage/IDBCursorBackendImpl.h: (WebCore::IDBCursorBackendImpl::create):
  • storage/IDBIndexBackendImpl.cpp: (WebCore::IDBIndexBackendImpl::openCursorInternal): (WebCore::IDBIndexBackendImpl::getInternal): (WebCore::IDBIndexBackendImpl::addingKeyAllowed):
  • storage/IDBIndexBackendImpl.h:
  • storage/IDBKey.cpp: (WebCore::IDBKey::isEqual):
  • storage/IDBKey.h:
  • storage/IDBKeyRange.cpp:
  • storage/IDBKeyRange.h:
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::IDBObjectStoreBackendImpl::putInternal): (WebCore::IDBObjectStoreBackendImpl::deleteInternal): (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
  • storage/IDBObjectStoreBackendImpl.h:
2:28 AM Changeset in webkit [80219] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/chromium

2011-03-03 Bill Budge <bbudge@chromium.org>

Reviewed by David Levin.

AssociatedURLLoader does not support Cross Origin Requests
https://bugs.webkit.org/show_bug.cgi?id=53925

No tests needed. Exposes no new functionality.

  • src/AssociatedURLLoader.cpp: (WebKit::AssociatedURLLoader::ClientAdapter::create): (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter): (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest): (WebKit::AssociatedURLLoader::ClientAdapter::didSendData): (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse): (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata): (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading): (WebKit::AssociatedURLLoader::ClientAdapter::didFail): (WebKit::AssociatedURLLoader::AssociatedURLLoader): (WebKit::AssociatedURLLoader::~AssociatedURLLoader): (WebKit::AssociatedURLLoader::loadSynchronously): (WebKit::AssociatedURLLoader::loadAsynchronously): (WebKit::AssociatedURLLoader::cancel): (WebKit::AssociatedURLLoader::setDefersLoading):
  • src/AssociatedURLLoader.h: (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
2:24 AM Changeset in webkit [80218] by commit-queue@webkit.org
  • 13 edits in trunk

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • http/tests/navigation/useragent-expected.txt:
  • http/tests/navigation/useragent.php:

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • StringsNotToBeLocalized.txt:

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • webkit/webkitwebsettings.cpp: (webkitPlatform): (webkitUserAgent):

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • Api/qwebpage.cpp: (QWebPage::userAgentForUrl):

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • WebView.cpp: (WebView::standardUserAgentWithApplicationName):

2011-03-03 Peter Kasting <pkasting@google.com>

Reviewed by James Robinson.

Drop redundant "Windows; " from the Windows-specific User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54567

  • UIProcess/win/WebPageProxyWin.cpp: (WebKit::WebPageProxy::standardUserAgent):
2:22 AM Changeset in webkit [80217] by pvarga@webkit.org
  • 3 edits
    3 adds in trunk

2011-03-03 Peter Varga <pvarga@webkit.org>

Reviewed by Oliver Hunt.

Begin Characters Optimization Causes YARR Interpreter Errors
https://bugs.webkit.org/show_bug.cgi?id=55479

The addBeginTerm function is removed because it doesn't correctly handle those
cases when an "invalid" term has been
collected (e.g. CharacterClass). Move the removed function to the
setupAlternativeBeginTerms method's switch-case
where the non-allowed cases are correctly handled.

Reenable the Beginning Character Optimization in the YARR Interpreter again.

  • fast/js/regexp-alternatives-expected.txt: Added.
  • fast/js/regexp-alternatives.html: Added.
  • fast/js/script-tests/regexp-alternatives.js: Added.

2011-03-03 Peter Varga <pvarga@webkit.org>

Reviewed by Oliver Hunt.

Begin Characters Optimization Causes YARR Interpreter Errors
https://bugs.webkit.org/show_bug.cgi?id=55479

The addBeginTerm function is removed because it doesn't correctly handle those
cases when an "invalid" term has been
collected (e.g. CharacterClass). Move the removed function to the
setupAlternativeBeginTerms method's switch-case
where the non-allowed cases are correctly handled.

Reenable the Beginning Character Optimization in the YARR Interpreter again.

  • yarr/YarrPattern.cpp: (JSC::Yarr::YarrPatternConstructor::setupAlternativeBeginTerms): (JSC::Yarr::YarrPattern::compile):
2:09 AM Changeset in webkit [80216] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, unskip tests fixed by r80214 on GTK.

  • platform/gtk/Skipped:
1:33 AM Changeset in webkit [80215] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebKit/chromium

2011-03-03 Steve Lacey <sjl@chromium.org>

Reviewed by Darin Fisher.

Wire up webkit metrics changes to chromium changes.
https://bugs.webkit.org/show_bug.cgi?id=54580

  • features.gypi:
  • public/WebMediaPlayer.h:
  • src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::decodedFrameCount): (WebKit::WebMediaPlayerClientImpl::droppedFrameCount): (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount): (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
  • src/WebMediaPlayerClientImpl.h:
1:00 AM Changeset in webkit [80214] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2011-03-03 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Martin Robinson.

[GTK] Combo boxes should emit object:selection-changed even when collapsed
https://bugs.webkit.org/show_bug.cgi?id=53146

New GTK-specific layout test to check the right signals are emitted.

  • platform/gtk/accessibility/combo-box-collapsed-selection-changed-expected.txt: Added.
  • platform/gtk/accessibility/combo-box-collapsed-selection-changed.html: Added.

2011-03-03 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Martin Robinson.

[GTK] Combo boxes should emit object:selection-changed even when collapsed
https://bugs.webkit.org/show_bug.cgi?id=53146

Emit the selection-changed signals when the menu list value has changed

Test: platform/gtk/accessibility/combo-box-collapsed-selection-changed.html

  • accessibility/gtk/AXObjectCacheAtk.cpp: (WebCore::getListObject): New, return the right list object for menu lists and list boxes. (WebCore::notifyChildrenSelectionChange): Support menu lists. (WebCore::AXObjectCache::postPlatformNotification): Call function notifyChildrenSelectionChange for AXMenuListValueChanged.
12:35 AM Changeset in webkit [80213] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

applyInlineStyleToPushDown and removeInlineStyleFromElement should take EditingStyle
https://bugs.webkit.org/show_bug.cgi?id=55338

Include wtf/Forward.h instead of wtf/text/String.h

  • editing/EditingStyle.h:
12:32 AM Changeset in webkit [80212] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Unreviewed trivial fix after r80169.

[Qt][WK2] Memory exhausted when building qtwebkit2 on linux
https://bugs.webkit.org/show_bug.cgi?id=55484

  • WebCore.pro: Typo fix. We have to use linux-g++* instead of linux-g++.
12:02 AM Changeset in webkit [80211] by ojan@chromium.org
  • 4 edits in trunk/Tools

2011-03-02 Ojan Vafai <ojan@chromium.org>

Reviewed by Adam Barth.

make webkit-patch upload work for security bugs
https://bugs.webkit.org/show_bug.cgi?id=55655

The problem is that we shell out to prepare-ChangeLog,
which does not authenticate with bugzilla. All it needs from
bugzilla is the bug title though. We just pass it through from
webkit-patch instead.

  • Scripts/prepare-ChangeLog:
  • Scripts/webkitpy/common/net/bugzilla/bug.py:
  • Scripts/webkitpy/tool/steps/preparechangelog.py:

Mar 2, 2011:

10:28 PM Changeset in webkit [80210] by morrita@google.com
  • 10 edits
    2 adds in trunk/Source/WebCore

2011-03-02 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

[Refactoring] Make ScheduledEvent on FrameView abstract out to ScheduleAction
https://bugs.webkit.org/show_bug.cgi?id=54440

  • Extracted FrameActionScheduler from FrameView
  • Extracted FrameAction abstract class from ScheduledEvent, which has fire() virtual method.
  • Renamed ScheduledEvent EventFrameAction

With this change, Any action can be hooked up to the end of the layout.

No new tests. No behavioral change.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • page/FrameActionScheduler.cpp: Added. (WebCore::EventFrameAction::EventFrameAction): (WebCore::EventFrameAction::fire): (WebCore::FrameActionScheduler::FrameActionScheduler): (WebCore::FrameActionScheduler::~FrameActionScheduler): (WebCore::FrameActionScheduler::isEmpty): (WebCore::FrameActionScheduler::clear): (WebCore::FrameActionScheduler::pause): (WebCore::FrameActionScheduler::resume): (WebCore::FrameActionScheduler::dispatch): (WebCore::FrameActionScheduler::scheduleAction): (WebCore::FrameActionScheduler::scheduleEvent):
  • page/FrameActionScheduler.h: Added. (WebCore::FrameAction::FrameAction): (WebCore::FrameAction::~FrameAction): (WebCore::FrameActionScheduler::isScheduled):
  • page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::~FrameView): (WebCore::FrameView::layout): (WebCore::FrameView::scheduleEvent): (WebCore::FrameView::pauseScheduledEvents): (WebCore::FrameView::resumeScheduledEvents): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::updateOverflowStatus):
  • page/FrameView.h:
10:18 PM Changeset in webkit [80209] by rniwa@webkit.org
  • 9 edits in trunk/Source/WebCore

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80201.
http://trac.webkit.org/changeset/80201
https://bugs.webkit.org/show_bug.cgi?id=55648

"caused tests to crash on several bots" (Requested by rniwa on
#webkit).

  • dom/Element.h: (WebCore::Node::hasTagName):
  • dom/Node.h:
  • html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLNames::hasImpliedEndTag): (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody): (WebCore::HTMLConstructionSite::insertComment): (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement): (WebCore::HTMLConstructionSite::attachToCurrent): (WebCore::HTMLConstructionSite::insertScriptElement): (WebCore::HTMLConstructionSite::insertTextNode): (WebCore::HTMLConstructionSite::createElement): (WebCore::HTMLConstructionSite::createHTMLElement): (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion): (WebCore::HTMLConstructionSite::generateImpliedEndTags): (WebCore::HTMLConstructionSite::findFosterSite): (WebCore::HTMLConstructionSite::shouldFosterParent):
  • html/parser/HTMLConstructionSite.h:
  • html/parser/HTMLElementStack.cpp: (WebCore::HTMLNames::isNumberedHeaderElement): (WebCore::HTMLNames::isScopeMarker): (WebCore::HTMLNames::isListItemScopeMarker): (WebCore::HTMLNames::isTableScopeMarker): (WebCore::HTMLNames::isTableBodyScopeMarker): (WebCore::HTMLNames::isTableRowScopeMarker): (WebCore::HTMLNames::isButtonScopeMarker): (WebCore::HTMLNames::isSelectScopeMarker): (WebCore::HTMLElementStack::ElementRecord::ElementRecord): (WebCore::HTMLElementStack::ElementRecord::replaceElement): (WebCore::HTMLElementStack::HTMLElementStack): (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement): (WebCore::HTMLElementStack::popAll): (WebCore::HTMLElementStack::popUntilTableScopeMarker): (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker): (WebCore::HTMLElementStack::popUntilTableRowScopeMarker): (WebCore::HTMLElementStack::popUntilForeignContentScopeMarker): (WebCore::HTMLElementStack::pushHTMLHtmlElement): (WebCore::HTMLElementStack::push): (WebCore::HTMLElementStack::insertAbove): (WebCore::HTMLElementStack::find): (WebCore::HTMLElementStack::topmost): (WebCore::inScopeCommon): (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope): (WebCore::HTMLElementStack::htmlElement): (WebCore::HTMLElementStack::bodyElement): (WebCore::HTMLElementStack::pushCommon):
  • html/parser/HTMLElementStack.h: (WebCore::HTMLElementStack::ElementRecord::element): (WebCore::HTMLElementStack::top):
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder): (WebCore::HTMLTreeBuilder::FragmentParsingContext::finished): (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag): (WebCore::HTMLTreeBuilder::processStartTagForInBody): (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup): (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody): (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately): (WebCore::HTMLTreeBuilder::processEndTagForInCell): (WebCore::HTMLTreeBuilder::processEndTagForInBody): (WebCore::HTMLTreeBuilder::processEndTag): (WebCore::HTMLTreeBuilder::processEndOfFile): (WebCore::HTMLTreeBuilder::finished):
  • html/parser/HTMLTreeBuilder.h:
10:12 PM Changeset in webkit [80208] by mihaip@chromium.org
  • 32 edits
    4 copies in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium Snow Leopard baseline update

With the exception of fast/repaint/select-option-background-color.html
and fast/repaint/slider-thumb-drag-release.html (which didn't have any
SL baselines at all), this was updating of baselines after r78846.

  • platform/chromium-mac-leopard/fast/repaint/select-option-background-color-expected.checksum: Copied from LayoutTests/platform/chromium-mac/fast/repaint/select-option-background-color-expected.checksum.
  • platform/chromium-mac-leopard/fast/repaint/select-option-background-color-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/repaint/select-option-background-color-expected.png.
  • platform/chromium-mac-leopard/fast/repaint/slider-thumb-drag-release-expected.checksum: Copied from LayoutTests/platform/chromium-mac/fast/repaint/slider-thumb-drag-release-expected.checksum.
  • platform/chromium-mac-leopard/fast/repaint/slider-thumb-drag-release-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/repaint/slider-thumb-drag-release-expected.png.
  • platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.checksum:
  • platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.png:
  • platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.checksum:
  • platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.png:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-9-expected.checksum:
  • platform/chromium-mac/fast/repaint/line-flow-with-floats-9-expected.png:
  • platform/chromium-mac/fast/repaint/repaint-across-writing-mode-boundary-expected.checksum:
  • platform/chromium-mac/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
  • platform/chromium-mac/fast/repaint/select-option-background-color-expected.checksum:
  • platform/chromium-mac/fast/repaint/select-option-background-color-expected.png:
  • platform/chromium-mac/fast/repaint/slider-thumb-drag-release-expected.checksum:
  • platform/chromium-mac/fast/repaint/slider-thumb-drag-release-expected.png:
  • platform/chromium/test_expectations.txt:
10:10 PM Changeset in webkit [80207] by ukai@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed Chromium expectations update

Mark http/tests/cache/subresource-expiration-*.html as SLOW on Win

  • platform/chromium/test_expectations.txt:
9:57 PM Changeset in webkit [80206] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update

Clean up svg/ expectations (there were some non-test files with
expectations, as well as a couple of tests that have never failed).

  • platform/chromium/test_expectations.txt:
9:55 PM Changeset in webkit [80205] by jberlin@webkit.org
  • 2 edits in trunk/Source/WebKit/mac

Fix crashes in private browsing tests in WK1 on Snow Leopard.

Rubber-stamped by Dan Bernstein.

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):
Put the INIT call for wkCreatePrivateStorageSession outside of the
#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
guards.

9:43 PM Changeset in webkit [80204] by yurys@chromium.org
  • 31 edits in trunk

2011-03-02 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: break down InspectorFrontend into domain-specific classes
https://bugs.webkit.org/show_bug.cgi?id=55584

  • inspector/elements/elements-panel-search.html:

2011-03-02 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: break down InspectorFrontend into domain-specific classes
https://bugs.webkit.org/show_bug.cgi?id=55584

  • inspector/CodeGeneratorInspector.pm: InspectorFrontend now contains nested classes for all domains that have event notifications.
  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToFrontend): (WebCore::ConsoleMessage::updateRepeatCountInConsole):
  • inspector/ConsoleMessage.h:
  • inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::inspectImpl):
  • inspector/Inspector.idl:
  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::inspectedPageDestroyed): (WebCore::InspectorAgent::restoreInspectorStateFromCookie): (WebCore::InspectorAgent::setFrontend): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::populateScriptObjects): (WebCore::InspectorAgent::pushDataCollectedOffline): (WebCore::InspectorAgent::didCommitLoad): (WebCore::InspectorAgent::domContentLoadedEventFired): (WebCore::InspectorAgent::loadEventFired): (WebCore::InspectorAgent::postWorkerNotificationToFrontend): (WebCore::InspectorAgent::evaluateForTestInFrontend): (WebCore::InspectorAgent::showPanel):
  • inspector/InspectorApplicationCacheAgent.cpp: (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
  • inspector/InspectorApplicationCacheAgent.h:
  • inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::setFrontend):
  • inspector/InspectorConsoleAgent.h:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::show): (WebCore::InspectorController::close):
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::setFrontend):
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::bind):
  • inspector/InspectorDOMStorageResource.h:
  • inspector/InspectorDatabaseAgent.cpp: (WebCore::InspectorDatabaseAgent::FrontendProvider::frontend): (WebCore::InspectorDatabaseAgent::FrontendProvider::FrontendProvider): (WebCore::InspectorDatabaseAgent::setFrontend):
  • inspector/InspectorDatabaseResource.cpp: (WebCore::InspectorDatabaseResource::bind):
  • inspector/InspectorDatabaseResource.h:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setFrontend):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorProfilerAgent.cpp:
  • inspector/InspectorProfilerAgent.h: (WebCore::InspectorProfilerAgent::setFrontend): (WebCore::InspectorProfilerAgent::clearFrontend):
  • inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::InspectorResourceAgent):
  • inspector/InspectorResourceAgent.h:
  • inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::setFrontend):
  • inspector/InspectorTimelineAgent.h:
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMDispatcher.prototype.inspectElementRequested): (WebInspector.DOMDispatcher.prototype.addNodesToSearchResult):
  • inspector/front-end/inspector.js:
8:53 PM Changeset in webkit [80203] by tkent@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed, a trivial regression fix.

Fix LocalizedNumberICU regression by r80198 and r80199.
https://bugs.webkit.org/show_bug.cgi?id=55629

  • platform/text/LocalizedNumberICU.cpp: We should use U_SUCCESS(). (WebCore::createFormatterForCurrentLocale): (WebCore::parseLocalizedNumber):
8:50 PM Changeset in webkit [80202] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Let Xcode know that Localizable.strings is UTF-16-encoded.

  • WebCore.xcodeproj/project.pbxproj:
8:40 PM Changeset in webkit [80201] by aestes@apple.com
  • 9 edits in trunk/Source/WebCore

2011-03-02 Andy Estes <aestes@apple.com>

Reviewed by Eric Seidel.

HTML5 TreeBuilder regressed a Peacekeeper DOM test by 25% (was 40%)
https://bugs.webkit.org/show_bug.cgi?id=48719


Instead of pushing a fake HTMLHtmlElement onto the open element stack
during fragment parsing only to later remove it and reparent its
children to the DocumentFragment, push the DocumentFragment directly
onto the open element stack as the root node. This requires refactoring
HTMLElementStack to hold ContainerNode pointers rather than Element
pointers, which has implications for HTMLConstructionSite and
HTMLTreeBuilder as well.


With this patch, the regression in Peacekeeper due to the introduction
of the HTML5 fragment parsing algorithm is ~14%. The regression from
Safari 5.0.3 is ~24%.

No new tests. No change in behavior.

  • dom/Element.h: (WebCore::Node::hasLocalName):
  • dom/Node.h:
  • html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLNames::hasImpliedEndTag): (WebCore::HTMLConstructionSite::HTMLConstructionSite): (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody): (WebCore::HTMLConstructionSite::insertComment): (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement): (WebCore::HTMLConstructionSite::attachToCurrent): (WebCore::HTMLConstructionSite::insertScriptElement): (WebCore::HTMLConstructionSite::insertTextNode): (WebCore::HTMLConstructionSite::createElement): (WebCore::HTMLConstructionSite::createHTMLElement): (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion): (WebCore::HTMLConstructionSite::generateImpliedEndTags): (WebCore::HTMLConstructionSite::findFosterSite): (WebCore::HTMLConstructionSite::shouldFosterParent):
  • html/parser/HTMLConstructionSite.h: (WebCore::HTMLConstructionSite::currentNode):
  • html/parser/HTMLElementStack.cpp: (WebCore::HTMLNames::isNumberedHeaderElement): (WebCore::HTMLNames::isScopeMarker): (WebCore::HTMLNames::isListItemScopeMarker): (WebCore::HTMLNames::isTableScopeMarker): (WebCore::HTMLNames::isTableBodyScopeMarker): (WebCore::HTMLNames::isTableRowScopeMarker): (WebCore::HTMLNames::isButtonScopeMarker): (WebCore::HTMLNames::isSelectScopeMarker): (WebCore::HTMLElementStack::ElementRecord::ElementRecord): (WebCore::HTMLElementStack::ElementRecord::replaceElement): (WebCore::HTMLElementStack::HTMLElementStack): (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement): (WebCore::HTMLElementStack::popAll): (WebCore::HTMLElementStack::popUntilNumberedHeaderElementPopped): (WebCore::HTMLElementStack::popUntil): (WebCore::HTMLElementStack::popUntilPopped): (WebCore::HTMLElementStack::popUntilTableScopeMarker): (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker): (WebCore::HTMLElementStack::popUntilTableRowScopeMarker): (WebCore::HTMLElementStack::pushHTMLHtmlElement): (WebCore::HTMLElementStack::push): (WebCore::HTMLElementStack::insertAbove): (WebCore::HTMLElementStack::find): (WebCore::HTMLElementStack::topmost): (WebCore::HTMLElementStack::contains): (WebCore::inScopeCommon): (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope): (WebCore::HTMLElementStack::htmlElement): (WebCore::HTMLElementStack::rootNode): (WebCore::HTMLElementStack::pushCommon):
  • html/parser/HTMLElementStack.h: (WebCore::HTMLElementStack::ElementRecord::element): (WebCore::HTMLElementStack::ElementRecord::node): (WebCore::HTMLElementStack::topNode):
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder): (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag): (WebCore::HTMLTreeBuilder::processStartTagForInBody): (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup): (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody): (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately): (WebCore::HTMLTreeBuilder::processEndTagForInCell): (WebCore::HTMLTreeBuilder::processEndTagForInBody): (WebCore::HTMLTreeBuilder::processEndTag): (WebCore::HTMLTreeBuilder::processEndOfFile): (WebCore::HTMLTreeBuilder::finished):
  • html/parser/HTMLTreeBuilder.h:
8:21 PM Changeset in webkit [80200] by rniwa@webkit.org
  • 9 edits in trunk/Source

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80188.
http://trac.webkit.org/changeset/80188
https://bugs.webkit.org/show_bug.cgi?id=55647

Broke the WebKit API tests. (Requested by xenon on #webkit).

  • WebCore.exp.in:

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80188.
http://trac.webkit.org/changeset/80188
https://bugs.webkit.org/show_bug.cgi?id=55647

Broke the WebKit API tests. (Requested by xenon on #webkit).

  • UIProcess/API/C/WKPage.cpp: (WKPageRunJavaScriptInMainFrame): (callRunJavaScriptBlockAndRelease):
  • UIProcess/API/C/WKPage.h:
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::runJavaScriptInMainFrame): (WebKit::WebPageProxy::processDidCrash):
  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::runJavaScriptInMainFrame):
7:44 PM Changeset in webkit [80199] by tkent@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed, build fix.

  • platform/text/LocalizedNumberICU.cpp: (WebCore::createFormatterForCurrentLocale): Fix a typo.
7:16 PM Changeset in webkit [80198] by tkent@chromium.org
  • 3 edits in trunk/Source/WebCore

Caching number formatter instances in LocalizedNumber* implementations
https://bugs.webkit.org/show_bug.cgi?id=55629

Reviewed by Darin Adler.

No new tests. This change doesn't change existing behavior, and is
covered by existing tests.

  • platform/text/LocalizedNumberICU.cpp:

(WebCore::createFormatterForCurrentLocale):
(WebCore::numberFormatter): Introduce a function to return a static

instance of NumberFormat.

(WebCore::parseLocalizedNumber): Use numberFormatter().
(WebCore::formatLocalizedNumber): Use numberFormatter().

  • platform/text/mac/LocalizedNumberMac.mm:

(WebCore::createFormatterForCurrentLocale):
(WebCore::numberFormatter): Introduce a function to return a static

instance of NSNumberFormatter.

(WebCore::parseLocalizedNumber): Use numberFormatter().
(WebCore::formatLocalizedNumber): Use numberFormatter().

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

2011-03-01 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

[test-dashboard] make gtest JSON match layout-tests JSON
https://bugs.webkit.org/show_bug.cgi?id=55556

http://trac.webkit.org/changeset/80090 stopped converting time_ms to t.
Make this code match.

  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
6:40 PM Changeset in webkit [80196] by jberlin@webkit.org
  • 3 edits in trunk/WebKitLibraries

Update WebKitSystemInterface libraries. Library changes reviewed by Darin Adler.

  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
6:30 PM Changeset in webkit [80195] by leviw@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-02 Levi Weintraub <leviw@chromium.org>

Reviewed by Ryosuke Niwa.

deprecatedEditingOffset should actually return the expected deprecated value for "after" positions
https://bugs.webkit.org/show_bug.cgi?id=54986

Calls to deprecatedEditingOffset needs to return the expected value for new Before/After positions
until we can update all the call sites to consider the new position types.

No tests. This is intended to simplify the transition to new Positions, not to change behavior.

  • dom/Position.cpp: (WebCore::Position::deprecatedEditingOffset): (WebCore::Position::offsetForPositionAfterAnchor): Added to do the right thing while ensuring inline-speed for most calls to deprecatedEditingOffset.
  • dom/Position.h:
5:59 PM Changeset in webkit [80194] by jeffm@apple.com
  • 8 edits in trunk/Source/WebKit2

2011-03-02 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Rename WebKit::WebPage::validateMenuItem() to validateCommand()
https://bugs.webkit.org/show_bug.cgi?id=55636


Since this method can validate more than menu items, validateCommand() is a better name. Also rename various messages and WebKit::WebPageProxy::didValidateMenuItem() to didValidateCommand().

  • UIProcess/API/mac/WKView.mm: (-[WKView validateUserInterfaceItem:]): Call validateCommand() instead of validateMenuItem().
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::validateCommand): Renamed from validateMenuItem(). (WebKit::WebPageProxy::didValidateCommand): Renamed from didValidateMenuItem().
  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in: Renamed DidValidateMenuItem to DidValidateCommand.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::validateCommand): Renamed from validateMenuItem().
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in: Renamed ValidateMenuItem to ValidateCommand.
5:57 PM Changeset in webkit [80193] by mihaip@chromium.org
  • 6 edits
    4 adds
    2 deletes in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Gentilcore.

Split up http/tests/cache/subresource-expiration.html so it stops timing out
https://bugs.webkit.org/show_bug.cgi?id=55639

http/tests/cache/subresource-expiration.html does a lot of sequential
loads, some with delays in between them. This seems unavoidable, so
to make the test less likely to time out (especially on debug bots),
the test cases are split across two tests.

  • http/tests/cache/subresource-expiration-1-expected.txt: Added.
  • http/tests/cache/subresource-expiration-1.html: Added.
  • http/tests/cache/subresource-expiration-2-expected.txt: Added.
  • http/tests/cache/subresource-expiration-2.html: Added.
  • http/tests/cache/subresource-expiration-expected.txt: Removed.
  • http/tests/cache/subresource-expiration.html: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/mac-wk2/Skipped:
  • platform/mac/test_expectations.txt:
  • platform/qt-wk2/Skipped:
  • platform/win/Skipped:
5:45 PM Changeset in webkit [80192] by dpranke@chromium.org
  • 9 edits in trunk/Tools

2011-03-02 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

NRWT - implement Linux Hardy 64-bit port support. This involves
adding support for non-'x86' architectures and updating the
"deduplicate_tests" script to correctly understand that
port.name() is not always equal to basename(port.baseline_path()).

This change introduces two new port names: 'chromium-linux-x86'
and 'chromium-linux-x86_64'. Using the prior 'chromium-linux'
flag will cause the code to determine which one to use at
runtime, just like we currently do with 'chromium-win'.

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

  • Scripts/webkitpy/common/system/executive_mock.py: Handle 'return_stderr' keyword arg to run_command()
  • Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  • Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
  • Scripts/webkitpy/layout_tests/port/factory.py:
  • Scripts/webkitpy/layout_tests/port/google_chrome.py:
5:41 PM Changeset in webkit [80191] by kevino@webkit.org
  • 4 edits in trunk

[wx] Build fixes after recent changes.

5:38 PM Changeset in webkit [80190] by andersca@apple.com
  • 6 edits in trunk/Source/WebKit2

2011-03-02 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

WKPageSetMemoryCacheClientCallsEnabled doesn't persist if web process crashes
https://bugs.webkit.org/show_bug.cgi?id=55635

  • Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode): (WebKit::WebPageCreationParameters::decode): Encode and decode areMemoryCacheClientCallsEnabled.
  • Shared/WebPageCreationParameters.h: Add areMemoryCacheClientCallsEnabled member variable.
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): Initialize m_areMemoryCacheClientCallsEnabled.

(WebKit::WebPageProxy::setMemoryCacheClientCallsEnabled):
Update m_areMemoryCacheClientCallsEnabled. Send a message if necessary.

(WebKit::WebPageProxy::creationParameters):
Set areMemoryCacheClientCallsEnabled.

  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): Call WebPage::setMemoryCacheMessagesEnabled.
5:32 PM Changeset in webkit [80189] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] xss-ALLOWED-from-javascript-url-sub-frame-to-javascript-url-sub-frame.html is crashy
https://bugs.webkit.org/show_bug.cgi?id=55634

  • platform/chromium/test_expectations.txt:
5:17 PM Changeset in webkit [80188] by timothy@apple.com
  • 9 edits in trunk/Source

Make the runJavaScriptInMainFrame callback send a WKSerializedScriptValueRef.

Source/WebCore: Export SerializedScriptValue::create(JSC::ExecState* exec, JSC::JSValue value).

Reviewed by Darin Adler.

  • WebCore.exp.in: Added ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueE.

Source/WebKit2: Make the runJavaScriptInMainFrame callback send a WKSerializedScriptValueRef.

https://webkit.org/b/55623

Reviewed by Darin Adler.

  • UIProcess/API/C/WKPage.cpp:

(WKPageRunJavaScriptInMainFrame): Use ScriptValueCallback.
(callRunJavaScriptBlockAndRelease): Use WKSerializedScriptValueRef.

  • UIProcess/API/C/WKPage.h: Use WKSerializedScriptValueRef.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::close): Call invalidateCallbackMap for m_scriptValueCallbacks.
(WebKit::WebPageProxy::runJavaScriptInMainFrame): Take a ScriptValueCallback.
(WebKit::WebPageProxy::scriptValueCallback): Added. Create a WebSerializedScriptValue
from the DataReference before calling the callback.
(WebKit::WebPageProxy::processDidCrash): Call invalidateCallbackMap for m_scriptValueCallbacks.

  • UIProcess/WebPageProxy.h: Added ScriptValueCallback and m_scriptValueCallbacks.
  • UIProcess/WebPageProxy.messages.in: Added ScriptValueCallback.
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::runJavaScriptInMainFrame): Create a DataReference from a WebCore::SerializedScriptValue.
And use ScriptValueCallback to send the message back.

5:12 PM Changeset in webkit [80187] by jberlin@webkit.org
  • 2 edits in trunk/WebKitLibraries

Windows build fix. Unreviewed.

  • win/lib/WebKitSystemInterface.lib:
5:09 PM Changeset in webkit [80186] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update.

Mark the other compositing/ directory as expected to fail on Leopard.

  • platform/chromium/test_expectations.txt:
5:00 PM Changeset in webkit [80185] by dcheng@chromium.org
  • 13 edits in trunk/Source

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Manually revert ChromiumDataObject changes.
https://bugs.webkit.org/show_bug.cgi?id=55627

No new tests since no functionality should change.

  • WebCore.gypi:
  • editing/chromium/EditorChromium.cpp: (WebCore::Editor::newGeneralClipboard):
  • page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::createDraggingClipboard):
  • platform/chromium/ChromiumDataObject.cpp: (WebCore::ChromiumDataObject::clearData): (WebCore::ChromiumDataObject::clearAll): (WebCore::ChromiumDataObject::clearAllExceptFiles): (WebCore::ChromiumDataObject::hasData): (WebCore::ChromiumDataObject::types): (WebCore::ChromiumDataObject::getData): (WebCore::ChromiumDataObject::setData): (WebCore::ChromiumDataObject::ChromiumDataObject):
  • platform/chromium/ChromiumDataObject.h: (WebCore::ChromiumDataObject::create): (WebCore::ChromiumDataObject::copy): (WebCore::ChromiumDataObject::urlTitle): (WebCore::ChromiumDataObject::setUrlTitle): (WebCore::ChromiumDataObject::htmlBaseUrl): (WebCore::ChromiumDataObject::setHtmlBaseUrl): (WebCore::ChromiumDataObject::containsFilenames): (WebCore::ChromiumDataObject::filenames): (WebCore::ChromiumDataObject::setFilenames): (WebCore::ChromiumDataObject::fileExtension): (WebCore::ChromiumDataObject::setFileExtension): (WebCore::ChromiumDataObject::fileContentFilename): (WebCore::ChromiumDataObject::setFileContentFilename): (WebCore::ChromiumDataObject::fileContent): (WebCore::ChromiumDataObject::setFileContent):
  • platform/chromium/ClipboardChromium.cpp:
  • platform/chromium/ClipboardChromium.h:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Manually revert ChromiumDataObject changes.
https://bugs.webkit.org/show_bug.cgi?id=55627

  • public/WebView.h:
  • src/WebDragData.cpp: (WebKit::WebDragData::initialize):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::dragTargetDragEnter):
  • src/WebViewImpl.h:
4:49 PM Changeset in webkit [80184] by Martin Robinson
  • 2 edits in trunk/Source/WebKit/gtk

2011-03-02 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

Do a bit of cleanup in ChromeClientGtk. Instead of always fetching the
WebKitWebView from the frame, simply get it from the member variable of
the ChromeClientGtk instance itself.

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::scrollbarsVisible): (WebKit::ChromeClient::exceededDatabaseQuota): (WebKit::ChromeClient::requestGeolocationPermissionForFrame): (WebKit::ChromeClient::cancelGeolocationPermissionRequestForFrame): (WebKit::ChromeClient::enterFullscreenForNode): (WebKit::ChromeClient::exitFullscreenForNode):
4:40 PM Changeset in webkit [80183] by jorlow@chromium.org
  • 22 edits
    5 copies in trunk

2011-03-02 David Grogan <dgrogan@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: fire versionchange events when calling setVersion
https://bugs.webkit.org/show_bug.cgi?id=55095

  • storage/indexeddb/set_version_queue-expected.txt:
  • storage/indexeddb/set_version_queue.html:

2011-03-02 David Grogan <dgrogan@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: fire versionchange events when calling setVersion
https://bugs.webkit.org/show_bug.cgi?id=55095

  • dom/EventNames.h:
  • storage/IDBDatabase.cpp: (WebCore::IDBDatabase::setVersion): (WebCore::IDBDatabase::close): (WebCore::IDBDatabase::onVersionChange): (WebCore::IDBDatabase::open): (WebCore::IDBDatabase::enqueueEvent): (WebCore::IDBDatabase::dispatchEvent):
  • storage/IDBDatabase.h: (WebCore::IDBDatabase::dispatchEvent):
  • storage/IDBDatabase.idl:
  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::create): (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::databaseCallbacks): (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::PendingSetVersionCall): (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl): (WebCore::IDBDatabaseBackendImpl::setVersion): (WebCore::IDBDatabaseBackendImpl::open): (WebCore::IDBDatabaseBackendImpl::close):
  • storage/IDBDatabaseBackendImpl.h:
  • storage/IDBDatabaseBackendInterface.h:
  • storage/IDBDatabaseCallbacks.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp. (WebCore::IDBDatabaseCallbacks::~IDBDatabaseCallbacks):
  • storage/IDBFactoryBackendImpl.cpp: (WebCore::IDBFactoryBackendImpl::open):
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::onSuccess):
  • storage/IDBVersionChangeEvent.cpp: (WebCore::IDBVersionChangeEvent::create): (WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
  • storage/IDBVersionChangeEvent.h:
  • storage/IDBVersionChangeRequest.cpp: (WebCore::IDBVersionChangeRequest::onBlocked):

2011-03-02 David Grogan <dgrogan@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: fire versionchange events when calling setVersion
https://bugs.webkit.org/show_bug.cgi?id=55095

  • WebKit.gyp:
  • src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h. (WebCore::IDBDatabaseCallbacksProxy::create): (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy): (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy): (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
  • src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
  • src/IDBDatabaseProxy.cpp: (WebCore::IDBDatabaseProxy::setVersion): (WebCore::IDBDatabaseProxy::close): (WebCore::IDBDatabaseProxy::open):
  • src/IDBDatabaseProxy.h:
  • src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp. (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl): (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl): (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
  • src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
  • src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::setVersion): (WebKit::WebIDBDatabaseImpl::close): (WebKit::WebIDBDatabaseImpl::open):
  • src/WebIDBDatabaseImpl.h:
4:18 PM Changeset in webkit [80182] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

Fix assertion failures on Gtk bot.

  • page/EventHandler.cpp: (WebCore::EventHandler::tabsToLinks): Removed an overzealous assertion. We can get here with non-Tab key events when spatial navigation is enabled.
4:12 PM Changeset in webkit [80181] by mihaip@chromium.org
  • 32 edits
    9 deletes in trunk

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80139.
http://trac.webkit.org/changeset/80139
https://bugs.webkit.org/show_bug.cgi?id=55620

failing and crashing tests on Snow Leopard bot (Requested by
mihaip1 on #webkit).

  • fast/dom/Geolocation/iframe-reparent-expected.txt: Removed.
  • fast/dom/Geolocation/iframe-reparent.html: Removed.
  • fast/dom/Geolocation/page-reload-cancel-permission-requests-expected.txt: Removed.
  • fast/dom/Geolocation/page-reload-cancel-permission-requests.html: Removed.
  • fast/dom/Geolocation/resources/iframe-reparent-page-iframe.html: Removed.
  • fast/dom/Geolocation/resources/iframe-reparent-page.html: Removed.
  • fast/dom/Geolocation/resources/page-reload-cancel-permission-requests-inner.html: Removed.
  • fast/dom/Geolocation/script-tests/iframe-reparent.js: Removed.
  • fast/dom/Geolocation/script-tests/page-reload-cancel-permission-requests.js: Removed.
  • platform/gtk/Skipped:
  • platform/qt-wk2/Skipped:
  • platform/qt/Skipped:

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80139.
http://trac.webkit.org/changeset/80139
https://bugs.webkit.org/show_bug.cgi?id=55620

failing and crashing tests on Snow Leopard bot (Requested by
mihaip1 on #webkit).

  • page/DOMWindow.cpp:
  • page/DOMWindow.h:
  • page/Frame.cpp: (WebCore::Frame::pageDestroyed): (WebCore::Frame::transferChildFrameToNewDocument):
  • page/Frame.h: (WebCore::Frame::detachFromPage):
  • page/Geolocation.cpp: (WebCore::Geolocation::~Geolocation): (WebCore::Geolocation::disconnectFrame): (WebCore::Geolocation::lastPosition): (WebCore::Geolocation::requestPermission): (WebCore::Geolocation::startUpdating): (WebCore::Geolocation::stopUpdating):
  • page/Geolocation.h:
  • page/GeolocationController.cpp: (WebCore::GeolocationController::~GeolocationController):
  • page/Navigator.cpp:
  • page/Navigator.h:
  • platform/mock/GeolocationClientMock.cpp:
  • platform/mock/GeolocationClientMock.h:

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80139.
http://trac.webkit.org/changeset/80139
https://bugs.webkit.org/show_bug.cgi?id=55620

failing and crashing tests on Snow Leopard bot (Requested by
mihaip1 on #webkit).

  • public/WebGeolocationClientMock.h:
  • src/WebGeolocationClientMock.cpp:

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80139.
http://trac.webkit.org/changeset/80139
https://bugs.webkit.org/show_bug.cgi?id=55620

failing and crashing tests on Snow Leopard bot (Requested by
mihaip1 on #webkit).

  • DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::staticFunctions):
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/mac/UIDelegate.h:
  • DumpRenderTree/mac/UIDelegate.mm:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp:
4:07 PM Changeset in webkit [80180] by jberlin@webkit.org
  • 26 edits in trunk

Source/JavaScriptCore: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Add the ability to create a Private Browsing storage session.

  • wtf/Platform.h:

Add a new #define for using CF Storage Sessions.

Source/WebCore: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Add the ability to create a Private Browsing Storage Session.

  • WebCore.exp.in:

Export the symbol for ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase.

  • page/Settings.cpp:

(WebCore::Settings::setPrivateBrowsingEnabled):
Propagate the private browsing state to the ResourceHandle.

  • platform/mac/WebCoreSystemInterface.h:

Add the function declaration for wkCreatePrivateStorageSession.

  • platform/mac/WebCoreSystemInterface.mm:
  • platform/network/ResourceHandle.cpp:

(WebCore::privateStorageSession):
Since the same Private Browsing Storage Session will need to be accessed throughout the loading
code and will need to be used by all web pages and page groups, make it a global static.
(WebCore::privateBrowsingStorageSessionIdentifierBase):
Ditto, since the identifier is needed to create the Private Browsing Storage Session.
(WebCore::ResourceHandle::setPrivateBrowsingEnabled):
If enabled, create and store the Private Browsing Storage Session.
(WebCore::ResourceHandle::privateBrowsingStorageSession):
(WebCore::ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase):

  • platform/network/ResourceHandle.h:
  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
The call to wkCreatePrivateStorageSession needs to be in a file including the correct
version of WKSI.
(WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase):
Return the bundle identifier.

  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
The call to wkCreatePrivateStorageSession needs to be in a file importing the correct
version of WKSI.
(WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase):
Return the bundle identifier.

Source/WebKit/mac: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.

Reviewed by Adam Roben.

Add the ability to create a Private Browsing Storage Session.

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):
Support calling wkCreatePrivateStorageSession from WebCore.

Source/WebKit2: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Reviewed by Adam Roben.

Add the ability to create a Private Browsing Storage Session.

  • Shared/WebProcessCreationParameters.cpp:

(WebKit::WebProcessCreationParameters::encode):
Encode the UI Process bundle identifier.
(WebKit::WebProcessCreationParameters::decode):
Decode the UI Process bundle identifier.

  • Shared/WebProcessCreationParameters.h:
  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::platformInitializeWebProcess):
Grab the bundle identifier and use it to set the WebProcessCreationParameter.

  • UIProcess/win/WebContextWin.cpp:

(WebKit::WebContext::platformInitializeWebProcess):
Ditto.

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface):
Support using the wkCreatePrivateStorageSession WKSI in WebCore.

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::initializeWebProcess):
Set the base for the Private Browsing Storage Session identifier to be the bundle identifier
from the UI Process so that WebKit1 would create a Private Browsing Storage Session with the
same identifier as WebKit2.

WebKitLibraries: WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435

Rubber-stamped by Adam Roben.

Add the ability to create a Private Browsing Storage Session.

Update WebKitSystemInterface headers and libraries with the new functions.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
4:00 PM Changeset in webkit [80179] by oliver@apple.com
  • 8 edits in trunk/Source/JavaScriptCore

2011-03-02 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Remove "register slot" concept from PropertySlot
https://bugs.webkit.org/show_bug.cgi?id=55621

PropertySlot had already stopped storing Register "slots"
so this patch is simply removing that api entirely.
This exposed a problem in the ProgramNode constructor for
BytecodeGenerator where it reads from the registerfile
before it has initialised it.

This bug wasn't a problem before as we were merely testing
for property existence rather than the actual value, and
used to work because setRegisterSlot didn't check that the
provided slot contained an initialised value.

To get around this issue we now use symbolTableHasProperty
to do the symbol table check without trying to read the
RegisterFile.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator):
  • runtime/Arguments.cpp: (JSC::Arguments::getOwnPropertySlot):
  • runtime/JSActivation.cpp: (JSC::JSActivation::symbolTableGet):
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::symbolTableHasProperty):
  • runtime/JSVariableObject.h: (JSC::JSVariableObject::symbolTableGet):
  • runtime/PropertySlot.h:
3:52 PM Changeset in webkit [80178] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update.

compositing/geometry/object-clip-rects-assertion.html no longer times
out on the Mac (was just a bad bot).

  • platform/chromium/test_expectations.txt:
3:44 PM Changeset in webkit [80177] by dcheng@chromium.org
  • 13 edits in trunk/Source

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Revert frame-specific WebClipboard changes
https://bugs.webkit.org/show_bug.cgi?id=55617

This code is no longer needed since we've decided to use the original
approach to copy/paste drag/drop handling in ClipboardChromium.

No new tests because no functionality changes.

  • platform/chromium/ChromiumDataObject.cpp: (WebCore::ChromiumDataObject::createReadable):
  • platform/chromium/ChromiumDataObject.h:
  • platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::create):
  • platform/chromium/PlatformBridge.h:
  • platform/chromium/ReadableDataObject.cpp: (WebCore::ReadableDataObject::create): (WebCore::ReadableDataObject::ReadableDataObject): (WebCore::ReadableDataObject::getData): (WebCore::ReadableDataObject::urlTitle): (WebCore::ReadableDataObject::htmlBaseUrl): (WebCore::ReadableDataObject::filenames): (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
  • platform/chromium/ReadableDataObject.h:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Revert frame-specific WebClipboard changes
https://bugs.webkit.org/show_bug.cgi?id=55617

This code is no longer needed since we've decided to use the original
approach to copy/paste drag/drop handling in ClipboardChromium.

  • public/WebFrameClient.h:
  • src/PlatformBridge.cpp: (WebCore::PlatformBridge::clipboardReadAvailableTypes): (WebCore::PlatformBridge::clipboardReadData): (WebCore::PlatformBridge::clipboardReadFilenames):
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::fromFrame):
  • src/WebFrameImpl.h:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::dragTargetDragEnterNew):
3:37 PM Changeset in webkit [80176] by mihaip@chromium.org
  • 1 edit
    4 moves in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed expectations update.

Promote expectations for fast/table/table-and-parts-outline.html and
svg/css/path-gradient-stroke-shadow.svg from chromium-mac/ to
mac-leopard/ so that 1) the test passes on mac-leopard 2) the test
on chromium-mac-snowlopard (which will now use the mac/ baselines).

  • platform/mac-leopard/fast/table/table-and-parts-outline-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/table/table-and-parts-outline-expected.checksum.
  • platform/mac-leopard/fast/table/table-and-parts-outline-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/table/table-and-parts-outline-expected.png.
  • platform/mac-leopard/svg/css/path-gradient-stroke-shadow-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.checksum.
  • platform/mac-leopard/svg/css/path-gradient-stroke-shadow-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.png.
3:19 PM Changeset in webkit [80175] by Adam Roben
  • 2 edits in trunk/Tools

Wait for force a paint in WebKitTestRunner until we're actually ready to dump the output

This matches DumpRenderTree on Windows.

Fixes <http://webkit.org/b/55469> <rdar://problem/9068539> REGRESSION (r79863): Lots of
dom/html/level2/html/HTMLFrameElement*.html tests crashing in FrameView::paintOverhangAreas
in WebKit2

Reviewed by Beth Dakin.

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::dump): Moved code to force a paint here...
(WTR::InjectedBundlePage::didFinishLoadForFrame): ...from here.

3:15 PM Changeset in webkit [80174] by tony@chromium.org
  • 4 edits in trunk/Source

2011-03-02 Tony Chang <tony@chromium.org>

Unreviewed, rolling chromium DEPS to r76362.

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

  • WebCore.gyp/WebCore.gyp: Switch to libjpeg_turbo to match chromium

2011-03-02 Tony Chang <tony@chromium.org>

Unreviewed, rolling chromium DEPS to r76362.

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

  • DEPS:
3:09 PM Changeset in webkit [80173] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

Build fix.

  • page/ChromeClient.h: (WebCore::ChromeClient::keyboardUIMode): I didn't mean to commit these changes yet.
2:51 PM Changeset in webkit [80172] by ap@apple.com
  • 15 edits in trunk/Source/WebCore

Reviewed by John Sullivan.

Clean up WebCore tabsToLinks code a little
https://bugs.webkit.org/show_bug.cgi?id=55606

No change in behavior, so no tests.

  • html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::isKeyboardFocusable): This is the only caller of tabsToAllControls(). Renamed this function to tabsToAllFormControls().
  • page/EventHandler.cpp: (WebCore::EventHandler::isKeyboardOptionTab): Moved from platform specific files. This function cannot be file static, because EventHandlerMac.mm uses it. (WebCore::eventInvertsTabsToLinksClientCallResult): Merged implementations from platform specific files. We can just as well have #if here. Renamed for clarity. (WebCore::EventHandler::tabsToLinks): Rewrote in a way that makes it clearer how "invert" works.


  • page/EventHandler.h: We no longer need invertSenseOfTabsToLinks() here, it's only used in EventHandler.cpp.
  • page/android/EventHandlerAndroid.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/brew/EventHandlerBrew.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/efl/EventHandlerEfl.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/haiku/EventHandlerHaiku.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/mac/EventHandlerMac.mm: (WebCore::EventHandler::tabsToAllFormControls):
  • page/qt/EventHandlerQt.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/win/EventHandlerWin.cpp: (WebCore::EventHandler::tabsToAllFormControls):
  • page/wx/EventHandlerWx.cpp: (WebCore::EventHandler::tabsToAllFormControls): Updating all port files.
2:46 PM Changeset in webkit [80171] by jorlow@chromium.org
  • 37 edits
    3 copies in trunk

2011-02-28 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
https://bugs.webkit.org/show_bug.cgi?id=55443

  • storage/indexeddb/cursor-delete-expected.txt:
  • storage/indexeddb/cursor-index-delete-expected.txt:
  • storage/indexeddb/cursor-update-expected.txt:
  • storage/indexeddb/cursor-update.html:
  • storage/indexeddb/duplicates-expected.txt:
  • storage/indexeddb/duplicates.html:
  • storage/indexeddb/index-basics-expected.txt:
  • storage/indexeddb/index-basics.html:
  • storage/indexeddb/index-cursor-expected.txt:
  • storage/indexeddb/index-cursor.html:

2011-02-28 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
https://bugs.webkit.org/show_bug.cgi?id=55443

Implement http://www.w3.org/Bugs/Public/show_bug.cgi?id=11948

The idea is to have an IDBCursor and an IDBCursorWithValue interface which
inherits from the former. index.openKeyCursor will return the former and
index/objectStore.openCursor will return the latter. We'll add a primaryKey
attribute to IDBCursor. It will always be the key of the associated object
store entry. For index.openCursor cursors, the key attribute will be the key
of the index. For objectStore.openCursors, it'll be the same as the
primaryKey. The value will be the value of the objectStore entry.

  • WebCore.gypi:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/SerializedScriptValue.cpp: (WebCore::SerializedScriptValue::deserializeAndSetProperty):
  • bindings/v8/SerializedScriptValue.h:
  • bindings/v8/custom/V8IDBAnyCustom.cpp: (WebCore::toV8):
  • storage/IDBAny.cpp: (WebCore::IDBAny::idbCursorWithValue): (WebCore::IDBAny::set):
  • storage/IDBAny.h:
  • storage/IDBCursor.cpp: (WebCore::IDBCursor::create): (WebCore::IDBCursor::primaryKey): (WebCore::IDBCursor::value):
  • storage/IDBCursor.h:
  • storage/IDBCursor.idl:
  • storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::primaryKey): (WebCore::IDBCursorBackendImpl::value): (WebCore::IDBCursorBackendImpl::update): (WebCore::IDBCursorBackendImpl::currentRowExists): (WebCore::IDBCursorBackendImpl::continueFunctionInternal): (WebCore::IDBCursorBackendImpl::deleteFunction): (WebCore::IDBCursorBackendImpl::loadCurrentRow):
  • storage/IDBCursorBackendImpl.h: (WebCore::IDBCursorBackendImpl::create):
  • storage/IDBCursorBackendInterface.h:
  • storage/IDBCursorWithValue.cpp: Copied from Source/WebCore/storage/IDBCursor.idl. (WebCore::IDBCursorWithValue::create): (WebCore::IDBCursorWithValue::IDBCursorWithValue): (WebCore::IDBCursorWithValue::~IDBCursorWithValue):
  • storage/IDBCursorWithValue.h: Copied from Source/WebCore/storage/IDBCursorBackendInterface.h.
  • storage/IDBCursorWithValue.idl: Copied from Source/WebCore/storage/IDBCursor.idl.
  • storage/IDBIndex.cpp: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor):
  • storage/IDBIndexBackendImpl.cpp: (WebCore::IDBIndexBackendImpl::openCursorInternal): (WebCore::IDBIndexBackendImpl::openCursor): (WebCore::IDBIndexBackendImpl::openKeyCursor):
  • storage/IDBIndexBackendImpl.h:
  • storage/IDBObjectStore.cpp: (WebCore::IDBObjectStore::openCursor):
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::IDBRequest): (WebCore::IDBRequest::setCursorType): (WebCore::IDBRequest::onSuccess): (WebCore::IDBRequest::dispatchEvent):
  • storage/IDBRequest.h:

2011-02-28 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
https://bugs.webkit.org/show_bug.cgi?id=55443

  • public/WebIDBCursor.h: (WebKit::WebIDBCursor::primaryKey): (WebKit::WebIDBCursor::value):
  • src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::primaryKey): (WebCore::IDBCursorBackendProxy::value):
  • src/IDBCursorBackendProxy.h:
  • src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::key): (WebKit::WebIDBCursorImpl::primaryKey): (WebKit::WebIDBCursorImpl::value):
  • src/WebIDBCursorImpl.h:
2:42 PM Changeset in webkit [80170] by Martin Robinson
  • 5 edits in trunk/LayoutTests

2011-03-02 Martin Robinson <mrobinson@igalia.com>

Update GTK+ baselines after r80151.

  • platform/gtk/fast/css-generated-content/005-expected.txt:
  • platform/gtk/fast/css-generated-content/beforeAfter-interdocument-expected.txt:
  • platform/gtk/fast/css-generated-content/no-openclose-quote-expected.txt:
  • platform/gtk/fast/invalid/residual-style-expected.txt:
2:40 PM Changeset in webkit [80169] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Reviewed by Csaba Osztrogonác.

Patch by Aravind Akella <aravind.akella@nokia.com> on 2011-03-02

[Qt][WK2] Memory exhausted when building qtwebkit2 on linux
https://bugs.webkit.org/show_bug.cgi?id=55484

Using AllInOne files to avoid memory exhaustion for debug
builds on 32 bit linux machines.

No new tests. Fixing a build issue.

  • WebCore.pro:
2:39 PM Changeset in webkit [80168] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] plugins/embed-attributes-setting.html is crashy
https://bugs.webkit.org/show_bug.cgi?id=55616

  • platform/chromium/test_expectations.txt:
2:25 PM Changeset in webkit [80167] by mihaip@chromium.org
  • 1 edit
    8 deletes in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update.

Remove chromium-gpu-mac/ text expectations mistakenly added by r80163
(tests should pass with mac/ expectations).

  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.txt: Removed.
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.txt: Removed.
2:23 PM Changeset in webkit [80166] by dcheng@chromium.org
  • 21 edits in trunk

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/OptionsWinCE.cmake:
  • Source/cmakeconfig.h.cmake:
  • configure.ac:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Configurations/FeatureDefines.xcconfig:
  • wtf/Platform.h:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Configurations/FeatureDefines.xcconfig:
  • GNUmakefile.am:
  • features.pri:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • features.gypi:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Configurations/FeatureDefines.xcconfig:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Scripts/build-webkit:

2011-03-02 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:
2:14 PM Changeset in webkit [80165] by tonyg@chromium.org
  • 5 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] Expectations update
https://bugs.webkit.org/show_bug.cgi?id=55615

  • platform/chromium-linux/fast/repaint/control-clip-expected.checksum:
  • platform/chromium-linux/fast/repaint/control-clip-expected.png:
  • platform/chromium-win/fast/repaint/control-clip-expected.checksum:
  • platform/chromium-win/fast/repaint/control-clip-expected.png:
1:56 PM Changeset in webkit [80164] by tonyg@chromium.org
  • 3 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] Expectations to match r80157
https://bugs.webkit.org/show_bug.cgi?id=55613

  • platform/chromium-linux/fast/invalid/residual-style-expected.txt:
  • platform/chromium-win/fast/invalid/residual-style-expected.txt:
1:47 PM Changeset in webkit [80163] by mihaip@chromium.org
  • 46 edits
    124 adds in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations update.

Rebaseline Chromium GPU results for Snow Leopard.

  • platform/chromium-gpu-mac/compositing/animation/state-at-end-event-transform-layer-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/animation/state-at-end-event-transform-layer-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/color-matching/image-color-matching-expected.checksum:
  • platform/chromium-gpu-mac/compositing/color-matching/image-color-matching-expected.png:
  • platform/chromium-gpu-mac/compositing/compositing-visible-descendant-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/compositing-visible-descendant-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/direct-image-compositing-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/direct-image-compositing-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/generated-content-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/generated-content-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/abs-position-inside-opacity-expected.checksum:
  • platform/chromium-gpu-mac/compositing/geometry/abs-position-inside-opacity-expected.png:
  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.checksum:
  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.png:
  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/geometry/clipping-foreground-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/clipping-foreground-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/fixed-in-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/fixed-in-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/fixed-position-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/fixed-position-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/horizontal-scroll-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/horizontal-scroll-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/layer-due-to-layer-children-deep-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/layer-due-to-layer-children-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/layer-due-to-layer-children-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/outline-change-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/outline-change-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/partial-layout-update-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/partial-layout-update-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/root-layer-update-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/root-layer-update-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/tall-page-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/tall-page-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/vertical-scroll-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/vertical-scroll-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.checksum:
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.png:
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.checksum:
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.png:
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/iframes/composited-iframe-scroll-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/iframes/composited-iframe-scroll-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-content-flipping-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-content-flipping-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-copy-on-scroll-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-copy-on-scroll-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-in-composited-layer-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/iframes/iframe-in-composited-layer-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/images/direct-image-background-color-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/images/direct-image-background-color-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/images/direct-svg-image-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/images/direct-svg-image-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.checksum:
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.png:
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/masks/direct-image-mask-expected.checksum:
  • platform/chromium-gpu-mac/compositing/masks/direct-image-mask-expected.png:
  • platform/chromium-gpu-mac/compositing/masks/masked-ancestor-expected.checksum:
  • platform/chromium-gpu-mac/compositing/masks/masked-ancestor-expected.png:
  • platform/chromium-gpu-mac/compositing/masks/multiple-masks-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/masks/multiple-masks-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/masks/simple-composited-mask-expected.checksum:
  • platform/chromium-gpu-mac/compositing/masks/simple-composited-mask-expected.png:
  • platform/chromium-gpu-mac/compositing/overflow/ancestor-overflow-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/ancestor-overflow-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/fixed-position-ancestor-clip-expected.checksum:
  • platform/chromium-gpu-mac/compositing/overflow/fixed-position-ancestor-clip-expected.png:
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.checksum:
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.png:
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-positioning-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-positioning-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-scroll-expected.checksum:
  • platform/chromium-gpu-mac/compositing/overflow/overflow-scroll-expected.png:
  • platform/chromium-gpu-mac/compositing/overflow/parent-overflow-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/parent-overflow-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.checksum:
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.png:
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/overflow/scrollbar-painting-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/scrollbar-painting-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/zero-size-overflow-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/zero-size-overflow-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/animation-inside-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/animation-inside-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/backface-hidden-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/backface-hidden-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/compositing-change-inside-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/compositing-change-inside-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/deeply-nested-reflections-expected.checksum:
  • platform/chromium-gpu-mac/compositing/reflections/deeply-nested-reflections-expected.png:
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.checksum:
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.png:
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/reflections/masked-reflection-on-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/masked-reflection-on-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-animated-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-animated-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-mask-change-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-mask-change-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-on-overflow-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-on-overflow-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-opacity-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-opacity-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-size-change-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-size-change-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transformed-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transformed-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transformed2-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transformed2-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transition-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/nested-reflection-transition-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-in-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-in-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-on-composited-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-on-composited-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-ordering-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-ordering-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-positioning-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-positioning-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-positioning2-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/reflection-positioning2-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/remove-add-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/remove-add-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/simple-composited-reflections-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/simple-composited-reflections-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/transform-inside-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/transform-inside-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/repaint/composited-document-element-expected.checksum:
  • platform/chromium-gpu-mac/compositing/repaint/composited-document-element-expected.png:
  • platform/chromium-gpu-mac/compositing/repaint/content-into-overflow-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/repaint/content-into-overflow-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/repaint/layer-repaint-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/repaint/layer-repaint-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/repaint/opacity-between-absolute-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/repaint/opacity-between-absolute-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/repaint/opacity-between-absolute2-expected.checksum:
  • platform/chromium-gpu-mac/compositing/repaint/opacity-between-absolute2-expected.png:
  • platform/chromium-gpu-mac/compositing/repaint/overflow-into-content-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/repaint/overflow-into-content-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.checksum:
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.png:
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.txt: Added.
  • platform/chromium-gpu-mac/compositing/shadows/shadow-drawing-expected.checksum:
  • platform/chromium-gpu-mac/compositing/shadows/shadow-drawing-expected.png:
  • platform/chromium-gpu-mac/compositing/sibling-positioning-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/sibling-positioning-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/text-on-large-layer-expected.checksum:
  • platform/chromium-gpu-mac/compositing/text-on-large-layer-expected.png:
  • platform/chromium-gpu-mac/compositing/transitions/scale-transition-no-start-expected.checksum:
  • platform/chromium-gpu-mac/compositing/transitions/scale-transition-no-start-expected.png:
  • platform/chromium-gpu-mac/compositing/transitions/singular-scale-transition-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/transitions/singular-scale-transition-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/webgl/webgl-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/webgl/webgl-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/platform/chromium/compositing/layout-width-change-expected.checksum:
  • platform/chromium-gpu-mac/platform/chromium/compositing/layout-width-change-expected.png:
  • platform/chromium/test_expectations.txt:
1:37 PM Changeset in webkit [80162] by tonyg@chromium.org
  • 4 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update.

[chromium] Update expectations to match those in r80151
https://bugs.webkit.org/show_bug.cgi?id=55610

  • platform/chromium-win/fast/css-generated-content/005-expected.txt:
  • platform/chromium-win/fast/css-generated-content/beforeAfter-interdocument-expected.txt:
  • platform/chromium-win/fast/css-generated-content/no-openclose-quote-expected.txt:
1:33 PM Changeset in webkit [80161] by Adam Roben
  • 2 edits in trunk/Tools

Look in the new-to-SnowLeopard location for crash logs on SnowLeopard and newer

ReportCrash saves logs to ~/Library/Logs/CrashReporter on Leopard, but to
~/Library/Logs/DiagnosticReports on SnowLeopard. old-run-webkit-tests was only looking in
the former location, but was getting lucky on some SnowLeopard machines because symlinks
were being created there pointing into DiagnosticReports. For machines without these
symlinks, crash logs were not getting captured.

Fixes <http://webkit.org/b/55607> old-run-webkit-tests doesn't capture crash logs on some
SnowLeopard machines

Reviewed by Eric Seidel.

  • Scripts/old-run-webkit-tests:

(captureSavedCrashLog): Look in ~/Library/Logs/DiagnosticReports on SnowLeopard and newer.

1:05 PM Changeset in webkit [80160] by Dimitri Glazkov
  • 2 edits in trunk/Source/WebCore

2011-03-02 Dimitri Glazkov <Dimitri Glazkov>

Update location of media-file.js, which was moved in r79630.

  • manual-tests/media-controls.html: Updated location.
1:02 PM Changeset in webkit [80159] by tonyg@chromium.org
  • 6 edits in trunk/Source/WebCore

2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80156.
http://trac.webkit.org/changeset/80156
https://bugs.webkit.org/show_bug.cgi?id=55604

"Broke SL compile" (Requested by tonyg-cr on #webkit).

  • bridge/jni/JNIBridge.h: (JSC::Bindings::JavaString::operator UString):
  • bridge/jni/jni_jsobject.mm: (JavaJSObject::call): (JavaJSObject::eval): (JavaJSObject::getMember): (JavaJSObject::setMember): (JavaJSObject::removeMember):
  • bridge/jni/jsc/JavaClassJSC.cpp: (JavaClass::JavaClass):
  • bridge/jni/jsc/JavaStringJSC.h: (JSC::Bindings::JavaStringImpl::uString):
  • bridge/jni/v8/JavaStringV8.h:
12:47 PM Changeset in webkit [80158] by Adam Roben
  • 2 edits in trunk/Source/JavaScriptCore

Delete old .res files whenever any .vsprops file changes

Prospective fix for <http://webkit.org/b/55599> r80079 caused incremental Windows builds to
fail

Reviewed by Tony Chang.

(main): Restructured code to loop over a set of file extensions, deleting any old files that
have that extension. Now deletes .res files, too. (We previously deleted any file matching
*.manifest*, but that turned out to just be the union of *.manifest and *.res.)

12:43 PM Changeset in webkit [80157] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations

Updating expectations after r80151
https://bugs.webkit.org/show_bug.cgi?id=55601

  • platform/mac/fast/invalid/residual-style-expected.txt:
12:22 PM Changeset in webkit [80156] by steveblock@google.com
  • 6 edits in trunk/Source/WebCore

2011-03-02 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

JavaString API should be implementable by both JSC and V8
https://bugs.webkit.org/show_bug.cgi?id=55567

Remove JavaString's UString operator and replace it with a
script-engine-independent impl() method, which returns a
StringImpl and can be implemented with both JSC and V8.

No new tests, refactoring only.

  • bridge/jni/JNIBridge.h: (JSC::Bindings::JavaString::impl):
  • bridge/jni/jni_jsobject.mm: (JavaJSObject::call): (JavaJSObject::eval): (JavaJSObject::getMember): (JavaJSObject::setMember): (JavaJSObject::removeMember):
  • bridge/jni/jsc/JavaClassJSC.cpp: (JavaClass::JavaClass):
  • bridge/jni/jsc/JavaStringJSC.h: (JSC::Bindings::JavaStringImpl::impl):
  • bridge/jni/v8/JavaStringV8.h: (JSC::Bindings::JavaStringImpl::impl):
11:56 AM Changeset in webkit [80155] by mihaip@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Reviewed by Dimitri Glazkov.

Add CRASH() for CSSSelector double frees
https://bugs.webkit.org/show_bug.cgi?id=55596

To help track down bug 53045, add a CRASH call when the CSSSelector
destructor is invoked more than once.

Just a check, no new tests necessary.

  • css/CSSSelector.h: (WebCore::CSSSelector::CSSSelector): (WebCore::CSSSelector::~CSSSelector):
11:54 AM Changeset in webkit [80154] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Mihai Parparita <mihaip@chromium.org>

Unreviewed expectations update.

Add more Snow Leopard-only flakiness.

  • platform/chromium/test_expectations.txt:
11:48 AM Changeset in webkit [80153] by weinig@apple.com
  • 13 edits
    2 adds in trunk/Source/WebKit

Fix remaining localization issues by piping all localized strings through WebCore's
localization bottleneck.
<rdar://problem/8728860>

Reviewed by Anders Carlsson.

../WebKit:

  • WebKit.xcodeproj/project.pbxproj:

../WebKit/mac:

  • DefaultDelegates/WebDefaultContextMenuDelegate.mm:

(-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]):

  • Misc/WebKitErrors.m:
  • Misc/WebLocalizableStringsInternal.h: Added.
  • Misc/WebLocalizableStringsInternal.mm: Added.

(WebLocalizedStringInternal):

  • Panels/WebAuthenticationPanel.m:

(-[WebAuthenticationPanel setUpForChallenge:]):

  • Plugins/Hosted/NetscapePluginHostManager.mm:

(WebKit::NetscapePluginHostManager::spawnPluginHost):

  • WebCoreSupport/WebEditorClient.mm:

(undoNameForEditAction):

  • WebCoreSupport/WebInspectorClient.mm:

(WebInspectorFrontendClient::updateWindowTitle):
(-[WebInspectorWindowController validateUserInterfaceItem:]):

  • WebCoreSupport/WebKeyGenerator.m:

(-[WebKeyGenerator strengthMenuItemTitles]):
(-[WebKeyGenerator signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:pageURL:]):

  • WebCoreSupport/WebPlatformStrategies.mm:
  • WebView/WebHTMLView.mm:

(-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):

  • WebView/WebPDFView.mm:

(-[WebPDFView menuForEvent:]):

11:45 AM Changeset in webkit [80152] by Adam Roben
  • 2 edits in trunk/Tools

Don't try to capture crash logs on platforms that haven't implemented that feature

Fixes <http://webkit.org/b/55504> Use of uninitialized value in numeric lt (<) at
Tools/Scripts/old-run-webkit-tests line 1778 seen on Qt bots after a crash

Reviewed by Joseph Pecoraro.

  • Scripts/old-run-webkit-tests:

(captureSavedCrashLog): Bail if we don't have a crash log glob.
(findNewestFileMatchingGlob): Fix a buggy test for when no paths match the glob. This isn't
strictly required to fix bug 55504, but seems worthwhile.

11:34 AM Changeset in webkit [80151] by carol.szabo@nokia.com
  • 31 edits
    16 adds in trunk

content property doesn't support quotes
https://bugs.webkit.org/show_bug.cgi?id=6503

Patch by Carol Szabo <carol.szabo@nokia.com> on 2011-03-02
Reviewed by David Hyatt <hyatt@apple.com>

Source/WebCore:

Added full support for quotes as defined by CSS 2.1.

Tests: fast/css/content/content-quotes-01.html

fast/css/content/content-quotes-02.html
fast/css/content/content-quotes-03.html
fast/css/content/content-quotes-04.html
fast/css/content/content-quotes-05.html
fast/css/content/content-quotes-06.html

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:

Added RenderQuote.cpp/h and QuotesData.cpp/h to the dependency lists

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseQuotes):

  • css/CSSParser.h:

Added needed stylesheet parsing support for quotes,
(no-)open-quote and (no-)close-quote

  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::applyProperty):
Handled setting of the new quotes RenderStyle property and added
handling of quotes for the content property.

  • css/html.css:

(q:before):
(q:after):
replaced the '"' workaround with open/close-quote

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::dirtyLineBoxesForRenderer):
Made RenderQuote behave like RenderCounter.
Needed to ensure that the Quote text is calculated before layout,
just as it is for RenderCounter.

  • rendering/RenderObject.h:

(WebCore::RenderObject::isQuote):

  • rendering/RenderObjectChildList.cpp:

(WebCore::RenderObjectChildList::removeChildNode):
(WebCore::RenderObjectChildList::appendChildNode):
(WebCore::RenderObjectChildList::insertChildNode):
Handled updating of quote depth when renderers are added and removed
from the tree.
(WebCore::RenderObjectChildList::updateBeforeAfterContent):
Added support for Quote content.

  • rendering/RenderQuote.cpp: Added.

(WebCore::adjustDepth):
(WebCore::RenderQuote::RenderQuote):
(WebCore::RenderQuote::~RenderQuote):
(WebCore::RenderQuote::renderName):
(WebCore::RenderQuote::placeQuote):
(WebCore::LanguageData::operator<):
(WebCore::defaultLanguageQuotes):
(WebCore::quotesMap):
(WebCore::quotesForLanguage):
(WebCore::defaultQuotes):
(WebCore::RenderQuote::originalText):
(WebCore::RenderQuote::computePreferredLogicalWidths):
(WebCore::RenderQuote::rendererSubtreeAttached):
(WebCore::RenderQuote::rendererRemovedFromTree):
(WebCore::RenderQuote::styleDidChange):

  • rendering/RenderQuote.h: Added.

(WebCore::RenderQuote::isQuote):
(WebCore::toRenderQuote):

  • rendering/RenderingAllInOne.cpp:

Included RenderQuote.cpp

  • rendering/style/StyleAllInOne.cpp:

Included QuotesData.cpp

  • rendering/style/ContentData.cpp:

(WebCore::ContentData::dataEquivalent):
Checked for quotetype identity.
(WebCore::ContentData::deleteContent):
Accounted for the new QUOTE_TYPE.

  • rendering/style/ContentData.h:

(WebCore::ContentData::isQuote):
(WebCore::ContentData::quote):
(WebCore::ContentData::setQuote):

  • rendering/style/QuotesData.cpp: Added.

(WebCore::QuotesData::create):
(WebCore::QuotesData::operator==):
(WebCore::QuotesData::~QuotesData):

  • rendering/style/QuotesData.h: Added.

(WebCore::QuotesData::data):
(WebCore::QuotesData::operator delete):
(WebCore::QuotesData::QuotesData):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::setContent):
(WebCore::RenderStyle::setQuotes):

  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::quotes):
(WebCore::InheritedFlags::setQuotes):

  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleAllInOne.cpp:

Added QuotesData.cpp to the included files list.

  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::operator==):
Included quotes in equality check.

  • rendering/style/StyleRareInheritedData.h:

Added quotes

LayoutTests:

Added new tests for quotes. Fixed a few afected expected results.

  • fast/css/content/content-quotes-01-expected.txt: Added.
  • fast/css/content/content-quotes-01.html: Added.
  • fast/css/content/content-quotes-02-expected.txt: Added.
  • fast/css/content/content-quotes-02.html: Added.
  • fast/css/content/content-quotes-03-expected.txt: Added.
  • fast/css/content/content-quotes-03.html: Added.
  • fast/css/content/content-quotes-04-expected.txt: Added.
  • fast/css/content/content-quotes-04.html: Added.
  • fast/css/content/content-quotes-05-expected.txt: Added.
  • fast/css/content/content-quotes-05.html: Added.
  • fast/css/content/content-quotes-06-expected.txt: Added.
  • fast/css/content/content-quotes-06.html: Added.
  • platform/mac/fast/css-generated-content/005-expected.txt:
  • platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.txt:
  • platform/mac/fast/css-generated-content/no-openclose-quote-expected.txt:
  • platform/qt/fast/css-generated-content/005-expected.txt:
  • platform/qt/fast/css-generated-content/beforeAfter-interdocument-expected.txt:
  • platform/qt/fast/css-generated-content/no-openclose-quote-expected.txt:
11:08 AM Changeset in webkit [80150] by Antti Koivisto
  • 8 edits in trunk/Source/WebCore

Selector usage flags should not be set by the CSS parser
https://bugs.webkit.org/show_bug.cgi?id=55573

Reviewed by Dave Hyatt.

Currently flags like Document::usesSiblingRules() are set directly by the CSS parser. This is wrong as
we may parse stylesheets that are not actually used for document rendering. This is especially bad when
the page uses querySelectorAll(). As a result we may end up in various performance penalty boxes
triggered by complex selectors for no good reason.

  • Use the selector traversal in style selector constructor to figure out which flags are actually needed for the currently active style sheets.
  • Remove the selector flag related code from the CSS parser/grammar.
  • Remove the usesDescendantRules flag completely. We have descendant rules in the default style sheet, every document uses them.
  • css/CSSGrammar.y:
  • css/CSSParser.cpp:

(WebCore::CSSParser::updateSpecifiersWithElementName):

  • css/CSSStyleSelector.cpp:

(WebCore::collectSiblingRulesInDefaultStyle):
(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::Features::Features):
(WebCore::CSSStyleSelector::Features::~Features):
(WebCore::CSSStyleSelector::locateCousinList):
(WebCore::CSSStyleSelector::matchesSiblingRules):
(WebCore::CSSStyleSelector::canShareStyleWithElement):
(WebCore::CSSStyleSelector::locateSharedStyle):
(WebCore::collectFeaturesFromSelector):
(WebCore::collectFeaturesFromList):
(WebCore::RuleSet::collectFeatures):

  • css/CSSStyleSelector.h:

(WebCore::CSSStyleSelector::usesSiblingRules):
(WebCore::CSSStyleSelector::usesFirstLineRules):
(WebCore::CSSStyleSelector::usesBeforeAfterRules):
(WebCore::CSSStyleSelector::usesLinkRules):

  • dom/Document.cpp:

(WebCore::Document::Document):
(WebCore::Document::recalcStyle):
(WebCore::Document::createStyleSelector):

  • dom/Document.h:

(WebCore::Document::usesSiblingRules):
(WebCore::Document::setUsesSiblingRules):
(WebCore::Document::usesFirstLineRules):
(WebCore::Document::usesBeforeAfterRules):
(WebCore::Document::setUsesBeforeAfterRules):

  • dom/Element.cpp:

(WebCore::Element::recalcStyle):

10:57 AM Changeset in webkit [80149] by bweinstein@apple.com
  • 2 edits in trunk/Source/WebKit/wince

WinCE build fix.

  • WebCoreSupport/PlatformStrategiesWinCE.h: Add a needed include.
10:52 AM Changeset in webkit [80148] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] svg/text/font-size-below-point-five.svg doesn't pass on mac release
https://bugs.webkit.org/show_bug.cgi?id=55593

  • platform/chromium/test_expectations.txt:
10:52 AM Changeset in webkit [80147] by bweinstein@apple.com
  • 3 edits in trunk/Source/WebKit/wince

WinCE build fix. Have PlatformStrategiesWinCE inherit from CookiesStrategy,
and implement the needed methods.

  • WebCoreSupport/PlatformStrategiesWinCE.cpp:

(PlatformStrategiesWinCE::createCookiesStrategy):
(PlatformStrategiesWinCE::notifyCookiesChanged):

  • WebCoreSupport/PlatformStrategiesWinCE.h:
10:46 AM Changeset in webkit [80146] by bweinstein@apple.com
  • 2 edits in trunk/Source/WebCore

Fix fallout from a last minute renaming.

  • platform/network/cf/CookieStorageCFNet.cpp:

(WebCore::startObservingCookieChanges):
(WebCore::stopObservingCookieChanges):

10:44 AM Changeset in webkit [80145] by bweinstein@apple.com
  • 21 edits
    1 add in trunk/Source

Source/WebCore: Part of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

Add functions on CookieStorage that allow listening for changes in cookies. When
the cookies are changed, they call through to CookiesStrategy::notifyCookiesChanged.

No change in behavior requiring tests.

  • platform/CookiesStrategy.h: Added.

(WebCore::CookiesStrategy::~CookiesStrategy):

  • platform/PlatformStrategies.h:

(WebCore::PlatformStrategies::cookiesStrategy):
(WebCore::PlatformStrategies::PlatformStrategies):

  • platform/network/CookieStorage.h: Add new function declarations.
  • platform/network/cf/CookieStorageCFNet.cpp:

(WebCore::notifyCookiesChangedOnMainThread): Call through to CookiesStrategy::notifyCookiesChanged.
(WebCore::notifyCookiesChanged): Call notifyCookiesChangedOnMainThread on the main thread.
(WebCore::beginObservingCookieChanges): Set up cookie observers on the loader run loop.
(WebCore::finishObservingCookieChanges): Remove our cookie observers from the loader run loop.

  • platform/network/mac/CookieStorageMac.mm:

(-[CookieStorageObjCAdapter notifyCookiesChangedOnMainThread]): Call through to CookiesStrategy::notifyCookiesChanged.
(-[CookieStorageObjCAdapter cookiesChangedNotificationHandler:]): Call notifyCookiesChangedOnMainThread on

the main thread.

(-[CookieStorageObjCAdapter registerForCookieChangeNotifications]): Set up the observer for cookie change notifications.
(-[CookieStorageObjCAdapter unregisterForCookieChangeNotifications]): Remove the observer for cookie change notifications.
(WebCore::beginObservingCookieChanges): Create our CookieStorageObjCAdapter, and call registerForCookieChangeNotifications.
(WebCore::finishObservingCookieChanges): Call unregisterForCookieChangeNotifications.

Add new file.

  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj: Set role on files we need to include in WebKit to private.

Source/WebKit/mac: Part of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

Add stubs for CookiesStrategy on Mac WebKit1.

  • WebCoreSupport/WebPlatformStrategies.h:
  • WebCoreSupport/WebPlatformStrategies.mm:

(WebPlatformStrategies::createCookiesStrategy):
(WebPlatformStrategies::notifyCookiesChanged):

Source/WebKit/qt: Part of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

Add stubs for CookiesStrategy on Qt WebKit1.

  • WebCoreSupport/WebPlatformStrategies.cpp:

(WebPlatformStrategies::createCookiesStrategy):
(WebPlatformStrategies::notifyCookiesChanged):

  • WebCoreSupport/WebPlatformStrategies.h:

Source/WebKit/win: Part of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

Add stubs for CookiesStrategy on Windows WebKit1.

  • WebCoreSupport/WebPlatformStrategies.cpp:

(WebPlatformStrategies::createCookiesStrategy):
(WebPlatformStrategies::notifyCookiesChanged):

  • WebCoreSupport/WebPlatformStrategies.h:

Source/WebKit2: Part of WebKit2: Need a way to send notifications to client when cookies change
https://bugs.webkit.org/show_bug.cgi?id=55427
<rdar://problem/9056027>

Reviewed by Adam Roben.

  • WebProcess/Cookies/WebCookieManager.cpp:

(WebKit::WebCookieManager::dispatchDidModifyCookies): Add a stub with a FIXME to send a

message to the UI process.

  • WebProcess/Cookies/WebCookieManager.h:
  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:

(WebKit::WebPlatformStrategies::createCookiesStrategy):
(WebKit::WebPlatformStrategies::notifyCookiesChanged): Call WebCookieManager::dispatchDidModifyCookies.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.h:
10:42 AM Changeset in webkit [80144] by jschuh@chromium.org
  • 3 edits
    2 adds in trunk

2011-03-02 Sergey Glazunov <serg.glazunov@gmail.com>

Reviewed by Dimitri Glazkov.

A WebKitCSSKeyframesRule object should set itself as the parent for inserted rules
https://bugs.webkit.org/show_bug.cgi?id=55488

Test: fast/css/css-keyframe-parent.html

  • css/WebKitCSSKeyframesRule.cpp: (WebCore::WebKitCSSKeyframesRule::append):

2011-03-02 Sergey Glazunov <serg.glazunov@gmail.com>

Reviewed by Dimitri Glazkov.

A WebKitCSSKeyframesRule object should set itself as the parent for inserted rules
https://bugs.webkit.org/show_bug.cgi?id=55488

  • fast/css/css-keyframe-parent-expected.txt: Added.
  • fast/css/css-keyframe-parent.html: Added.
10:03 AM Changeset in webkit [80143] by sergio@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add support for external protocol handlers
https://bugs.webkit.org/show_bug.cgi?id=55473

Do not unconditionally create and replace the SoupRequester of the
SoupSession if there is already one. No new tests needed as we
just allow clients to create their our SoupRequesters.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ensureSessionIsInitialized):
9:50 AM Changeset in webkit [80142] by jknotten@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 John Knottenbelt <jknotten@chromium.org>

Reviewed by jknotten@chromium.org.

Fix build-breakage when GEOLOCATION not enabled.
https://bugs.webkit.org/show_bug.cgi?id=55586

Geolocation::reset needs to be defined if ENABLE(GEOLOCATION)
is not true.

  • page/Geolocation.cpp: (WebCore::Geolocation::reset):
9:39 AM Changeset in webkit [80141] by pfeldman@chromium.org
  • 18 edits in trunk/Source/WebCore

2011-03-02 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: remove InjectedScriptHost -> DOMAgent dependency.
https://bugs.webkit.org/show_bug.cgi?id=55575

  • bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::JSInjectedScriptHost::inspectedNode):
  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp: (WebCore::V8InjectedScriptHost::inspectedNodeCallback):
  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToFrontend):
  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::evaluateOn): (WebCore::InjectedScript::wrapObject): (WebCore::InjectedScript::wrapNode): (WebCore::InjectedScript::inspectNode): (WebCore::InjectedScript::nodeAsScriptValue):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::addInspectedNode): (WebCore::InjectedScriptHost::clearInspectedNodes): (WebCore::InjectedScriptHost::copyText): (WebCore::InjectedScriptHost::inspectedNode):
  • inspector/InjectedScriptHost.h:
  • inspector/InjectedScriptHost.idl:
  • inspector/InjectedScriptSource.js:
  • inspector/Inspector.idl:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::discardBindings): (WebCore::InspectorDOMAgent::addInspectedNode): (WebCore::InspectorDOMAgent::resolveNode): (WebCore::InspectorDOMAgent::injectedScriptForNode):
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::evaluateOn):
  • inspector/InspectorRuntimeAgent.h:
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip): (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.resolvedNode): (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
  • inspector/front-end/PropertiesSidebarPane.js: (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved): (WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady): (WebInspector.PropertiesSidebarPane.prototype.update.fillSection): (WebInspector.PropertiesSidebarPane.prototype.update):
  • inspector/front-end/RemoteObject.js: (WebInspector.RemoteObject.resolveNode): (WebInspector.RemoteObject.prototype.pushNodeToFrontend): (WebInspector.RemoteObject.prototype.evaluate):
9:28 AM Changeset in webkit [80140] by Adam Roben
  • 2 edits in trunk/LayoutTests

Add some new tests to the WebKit2 Skipped file

  • platform/mac-wk2/Skipped:
9:15 AM Changeset in webkit [80139] by jknotten@chromium.org
  • 32 edits
    9 adds in trunk

2011-02-16 John Knottenbelt <jknotten@chromium.org>

Reviewed by Dmitry Titov.

Detach Geolocation from Frame when Page destroyed.
https://bugs.webkit.org/show_bug.cgi?id=52877

Ensure that all geolocation permission requests are cancelled
when the page is detached from its frame.

  • fast/dom/Geolocation/iframe-reparent-expected.txt: Added.
  • fast/dom/Geolocation/iframe-reparent.html: Added.
  • fast/dom/Geolocation/page-reload-cancel-permission-requests-expected.txt: Added.
  • fast/dom/Geolocation/page-reload-cancel-permission-requests.html: Added.
  • fast/dom/Geolocation/resources/iframe-reparent-page-iframe.html: Added.
  • fast/dom/Geolocation/resources/iframe-reparent-page.html: Added.
  • fast/dom/Geolocation/resources/page-reload-cancel-permission-requests-inner.html: Added.
  • fast/dom/Geolocation/script-tests/iframe-reparent.js: Added. (window2Loaded): (firstWatchUpdate): (secondWatchUpdate): (firstWatchError): (secondWatchError): (maybeFinish):
  • fast/dom/Geolocation/script-tests/page-reload-cancel-permission-requests.js: Added.
  • platform/gtk/Skipped:
  • platform/qt-wk2/Skipped:
  • platform/qt/Skipped:

2011-01-21 John Knottenbelt <jknotten@chromium.org>

Reviewed by Dmitry Titov.

Detach Geolocation from Frame when Page destroyed.
https://bugs.webkit.org/show_bug.cgi?id=52877

On Page destruction, any outstanding Geolocation permission
requests should be cancelled, because the Geolocation can only
access the client indirectly via m_frame->page().

Additionally, if the Frame is reparented to another page, the
Geolocation should cancel watches, single-shots and requests on
the old page.

Page destruction is signalled by a call to the
Frame::pageDestroyed() method. This calls Frame::detachFromPage,
where we extend the call chain to Geolocation::detachFromPage()
where we call Geolocation::reset() which detaches from the
GeolocationController, cancels requests, watches and single shots,
and sets the permission state back to Unknown.

We also now call detachFromPage when the frame reparented in
Frame::transferChildFrameToNewDocument.

Frame::pageDestroyed() is also called by FrameLoader even though
the page is not destroyed. We should still cancel permission
requests, because the GeolocationClient will become inaccessible
to the Geolocation object after this call.

Since GeolocationController is owned by Page, and all Geolocation
objects will now unsubscribe from the GeolocationController on
pageDetached(), we no longer need to call stopUpdating() from the
GeolocationController's destructor. Instead we can simply assert
that there should be no no observers. See related bug
https://bugs.webkit.org/show_bug.cgi?id=52216 .

Introduced new method 'numberOfPendingPermissionRequests' on
GeolocationClientMock to count the number of outstanding pending
permission requests. This provides a reusable implementation for
client-based implementations of the LayoutTestController's
numberOfPendingGeolocationPermissionRequests method.

Tests: fast/dom/Geolocation/iframe-reparent.html

fast/dom/Geolocation/page-reload-cancel-permission-requests.html

  • page/DOMWindow.cpp: (WebCore::DOMWindow::resetGeolocationPermissions):
  • page/DOMWindow.h:
  • page/Frame.cpp: (WebCore::Frame::detachFromPage): (WebCore::Frame::pageDestroyed): (WebCore::Frame::transferChildFrameToNewDocument):
  • page/Frame.h:
  • page/Geolocation.cpp: (WebCore::Geolocation::~Geolocation): (WebCore::Geolocation::page): (WebCore::Geolocation::reset): (WebCore::Geolocation::disconnectFrame): (WebCore::Geolocation::lastPosition): (WebCore::Geolocation::requestPermission): (WebCore::Geolocation::startUpdating): (WebCore::Geolocation::stopUpdating):
  • page/Geolocation.h:
  • page/GeolocationController.cpp: (WebCore::GeolocationController::~GeolocationController):
  • page/Navigator.cpp: (WebCore::Navigator::resetGeolocationPermissions):
  • page/Navigator.h:
  • platform/mock/GeolocationClientMock.cpp: (WebCore::GeolocationClientMock::numberOfPendingPermissionRequests):
  • platform/mock/GeolocationClientMock.h:

2011-01-26 John Knottenbelt <jknotten@chromium.org>

Detach Geolocation from Frame when Page destroyed.
https://bugs.webkit.org/show_bug.cgi?id=52877

Add accessors to the WebGeolocationClientMock to allow the number of
pending geolocation permission requests to be queried.

  • public/WebGeolocationClientMock.h:
  • src/WebGeolocationClientMock.cpp: (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):

2011-01-26 John Knottenbelt <jknotten@chromium.org>

Reviewed by Dmitry Titov.

Detach Geolocation from Frame when Page destroyed.
https://bugs.webkit.org/show_bug.cgi?id=52877

Extend the layout test controller to expose the number of pending
geolocation requests, so that we can test that the requests have
been cancelled on page close.

  • DumpRenderTree/LayoutTestController.cpp: (numberOfPendingGeolocationPermissionRequestsCallback): (LayoutTestController::staticFunctions):
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
  • DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
  • DumpRenderTree/mac/UIDelegate.h:
  • DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate numberOfPendingGeolocationPermissionRequests]):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
  • DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::numberOfPendingGeolocationPermissionRequests):
9:11 AM Changeset in webkit [80138] by commit-queue@webkit.org
  • 2 edits
    3 adds in trunk/LayoutTests

2011-03-02 Martin Maly <mmaly@chromium.org>

Reviewed by Dimitri Glazkov.

[Chromium] Expectation updates for strict mode V8 features.
https://bugs.webkit.org/show_bug.cgi?id=55538

  • platform/chromium/fast/js/mozilla/strict/15.10.7-expected.txt: Added.
  • platform/chromium/fast/js/mozilla/strict/15.3.5.1-expected.txt: Added.
  • platform/chromium/fast/js/mozilla/strict/15.5.5.1-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
9:04 AM Changeset in webkit [80137] by antonm@chromium.org
  • 6 edits in trunk/LayoutTests/platform/chromium-mac/fast/blockflow

Unreviewed. Another rebaseline.

  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png
  • platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png
8:57 AM Changeset in webkit [80136] by Philippe Normand
  • 3 edits in trunk/Source/WebKit/mac

2011-03-01 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Carlson.

[GStreamer] support in mac video fullscreen controller
https://bugs.webkit.org/show_bug.cgi?id=52280

Factored the code to configure the video overlay in a new private
method of the controller and added GStreamer support to it.

  • WebView/WebVideoFullscreenController.h:
  • WebView/WebVideoFullscreenController.mm: (-[WebVideoFullscreenController setupVideoOverlay:]): (-[WebVideoFullscreenController windowDidLoad]): (-[WebVideoFullscreenController setMediaElement:WebCore::]): (-[WebVideoFullscreenController windowDidExitFullscreen]):
8:45 AM Changeset in webkit [80135] by mnaganov@chromium.org
  • 17 edits
    1 add in trunk/Source/WebCore

2011-03-02 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [Chromium] Landing detailed heap snapshots, part 4.
https://bugs.webkit.org/show_bug.cgi?id=55563

This part adds implementations for data grids used to display
different heap snapshots projections. We are almost done.

  • English.lproj/localizedStrings.js:
  • WebCore.gypi:
  • bindings/v8/ScriptHeapSnapshot.cpp: (WebCore::ScriptHeapSnapshot::getExactRetainedSize):
  • bindings/v8/ScriptHeapSnapshot.h:
  • inspector/Inspector.idl:
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
  • inspector/InspectorProfilerAgent.h:
  • inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotObjectNode): (WebInspector.HeapSnapshotObjectNode.prototype._createProvider): (WebInspector.HeapSnapshotInstanceNode): (WebInspector.HeapSnapshotInstanceNode.prototype._createProvider): (WebInspector.HeapSnapshotDominatorObjectNode): (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider): (MixInSnapshotNodeFunctions):
  • inspector/front-end/DetailedHeapshotView.js: (WebInspector.HeapSnapshotContainmentDataGrid): (WebInspector.HeapSnapshotSortableDataGrid): (WebInspector.HeapSnapshotConstructorsDataGrid): (WebInspector.HeapSnapshotDiffDataGrid): (WebInspector.HeapSnapshotDominatorsDataGrid): (WebInspector.HeapSnapshotRetainingPathsList): (WebInspector.DetailedHeapshotView.profileCallback): (WebInspector.DetailedHeapshotView):
  • inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotEdge.prototype.get isInvisible): (WebInspector.HeapSnapshotEdge.prototype.toString): (WebInspector.HeapSnapshot.prototype._init): (WebInspector.HeapSnapshot.prototype._buildAggregatesIndexes): (WebInspector.HeapSnapshot.prototype._markInvisibleEdges): (WebInspector.HeapSnapshotPathFinder.prototype._skipEdge):
  • inspector/front-end/Images/helpButtonGlyph.png: Added.
  • inspector/front-end/Panel.js: (WebInspector.Panel.prototype.reset):
  • inspector/front-end/Popover.js: (WebInspector.Popover): (WebInspector.Popover.prototype.show): (WebInspector.Popover.prototype.hide): (WebInspector.Popover.prototype.get visible):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype._reset): (WebInspector.ProfilesPanel.prototype.getProfile):
  • inspector/front-end/heapProfiler.css:
  • inspector/front-end/inspector.js: (WebInspector.resetFocusElement):
8:33 AM Changeset in webkit [80134] by mnaganov@chromium.org
  • 1 edit in branches/chromium/648/Source/WebCore/inspector/front-end/StylesSidebarPane.js

Merge 76941 - 2011-01-28 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: [STYLES] Up/Down-suggestion breaks an existing keyword
https://bugs.webkit.org/show_bug.cgi?id=53295

Select the current word suffix before switching to the next suggestion.

  • inspector/front-end/StylesSidebarPane.js: ():

TBR=apavlov@chromium.org
Review URL: http://codereview.chromium.org/6591106

8:30 AM Changeset in webkit [80133] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Yet another unreviewed Chromium rebaselines for r80121.

  • platform/chromium-win/editing/pasteboard/subframe-dragndrop-1-expected.txt:
8:14 AM Changeset in webkit [80132] by rniwa@webkit.org
  • 3 edits
    1 add in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Another unreviewed Chromium rebaselines for r80121.

  • platform/chromium-mac/editing/pasteboard/paste-xml-expected.txt: Added.
  • platform/chromium-win/editing/pasteboard/paste-xml-expected.txt:
  • platform/chromium/test_expectations.txt:
8:01 AM Changeset in webkit [80131] by abecsi@webkit.org
  • 4 edits in trunk

2011-03-02 Andras Becsi <abecsi@webkit.org>

Reviewed by Laszlo Gombos.

[Qt][WK2] generate-forwarding-headers.pl should generate paths with framework names
https://bugs.webkit.org/show_bug.cgi?id=55478

On case insensitive systems the generated forwarding headers cause build problems.

  • Source/WebKit.pri: Adjust INCLUDEPATH for the project.

2011-03-02 Andras Becsi <abecsi@webkit.org>

Reviewed by Laszlo Gombos.

[Qt][WK2] generate-forwarding-headers.pl should generate paths with framework names
https://bugs.webkit.org/show_bug.cgi?id=55478

On case insensitive systems the generated forwarding headers cause build problems.

  • Scripts/generate-forwarding-headers.pl: The generated header should also contain the framework name.
7:54 AM Changeset in webkit [80130] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip a crashing test on Windows

<http://webkit.org/b/55069> tracks the failure.

  • platform/win/Skipped: Added fast/text/international/text-combine-parser-test.html.
7:44 AM Changeset in webkit [80129] by Csaba Osztrogonác
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed.

Assertion failure after removing a selection in keydown handler
https://bugs.webkit.org/show_bug.cgi?id=51389

Remove unnecessary Qt specific expected result.

  • platform/qt/editing/style/remove-underline-from-stylesheet-expected.txt: Removed.
7:36 AM Changeset in webkit [80128] by rniwa@webkit.org
  • 161 edits in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Chromium rebaselines for r80121; Added the failing expectation for
editing/input/setting-input-value-cancel-ime-composition.html due to the bug 55560.

  • platform/chromium/test_expectations.txt:
  • platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt: Updated.
  • platform/chromium-linux/editing/pasteboard/smart-paste-004-expected.txt: Ditto.
  • platform/chromium-win/editing/ [...]: Ditto.
7:07 AM Changeset in webkit [80127] by rniwa@webkit.org
  • 163 edits in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed GTK rebaselines for r80121; Also skip editing/input/setting-input-value-cancel-ime-composition.html
because GTK port doesn't implement textInputController.hasMarkedText().

  • platform/gtk/Skipped:
  • platform/gtk/editing/ [...]: Updated.
  • platform/gtk/fast/dom/delete-contents-expected.txt: Ditto.
7:01 AM Changeset in webkit [80126] by Adam Roben
  • 2 edits in trunk/WebKitLibraries

Try to force a clean build on the Windows bots

Some of the bots are running into bogus linker errors due to MSVC's "minimal rebuild"
feature not rebuilding files it should. See <http://queues.webkit.org/results/8076907> for
an example.

  • win/tools/vsprops/common.vsprops: Touched to force a rebuild.
6:52 AM Changeset in webkit [80125] by jeffm@apple.com
  • 4 edits in trunk/Source/WebKit2

2011-03-01 Jeff Miller <jeffm@apple.com>

Reviewed by Darin Adler.

Expose some selection state fields in WKPage
https://bugs.webkit.org/show_bug.cgi?id=55541


Added WKPageCanDelete(), WKPageHasSelectedRange(), and WKPageIsContentEditable() so we can enable some
Edit menu items properly on Windows when using WebKit2.

  • UIProcess/API/C/WKPage.cpp: (WKPageCanDelete): Added. (WKPageHasSelectedRange): Added. (WKPageIsContentEditable): Added.
  • UIProcess/API/C/WKPage.h: Added new functions.
  • UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::canDelete): Added. (WebKit::WebPageProxy::hasSelectedRange): Added. (WebKit::WebPageProxy::isContentEditable): Added.
6:47 AM Changeset in webkit [80124] by ddkilzer@apple.com
  • 2 edits in trunk/Source/WebCore

<http://webkit.org/b/55534> Clean up macros in Extensions3DOpenGL.cpp

Reviewed by Darin Adler.

Change "#if GL_APPLE_vertex_array_object" macros to check that
GL_APPLE_vertex_array_object is both defined and non-zero.

  • platform/graphics/opengl/Extensions3DOpenGL.cpp:

(WebCore::Extensions3DOpenGL::createVertexArrayOES):
(WebCore::Extensions3DOpenGL::deleteVertexArrayOES): Remove
empty #else clause.
(WebCore::Extensions3DOpenGL::isVertexArrayOES):
(WebCore::Extensions3DOpenGL::bindVertexArrayOES): Add early
return check. Remove #else clause that would never have
compiled (since array is not a WTF::String).

6:45 AM Changeset in webkit [80123] by Csaba Osztrogonác
  • 143 edits
    13 copies
    123 adds in trunk/LayoutTests

Unreviewed.

Assertion failure after removing a selection in keydown handler
https://bugs.webkit.org/show_bug.cgi?id=51389

Update Qt specific expected results after r80121.

  • platform/qt/Skipped: Add editing/input/setting-input-value-cancel-ime-composition.html because of missing feature.
  • platform/qt/editing/ [...] : Updated.
6:40 AM Changeset in webkit [80122] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip new test added in r80121 on Windows

It depends on textInputController, which DRT doesn't have on Windows.

  • platform/win/Skipped: Added editing/input/setting-input-value-cancel-ime-composition.html.
5:57 AM Changeset in webkit [80121] by rniwa@webkit.org
  • 189 edits
    2 adds in trunk

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Assertion failure after removing a selection in keydown handler
https://bugs.webkit.org/show_bug.cgi?id=51389

Added tests to ensure WebKit updates offset properly when deleting date
to editing/selection/character-data-mutation.html.

Added a test to ensure WebKit clears composition marks inside an input
element when the value is set programatically.

Many tests are rebaselined due to selection changed caused by the patch
and additional respondToChangedSelection calls.

  • editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
  • editing/deleting/delete-by-word-001-expected.txt:
  • editing/deleting/delete-by-word-002-expected.txt:
  • editing/deleting/delete-ligature-001-expected.txt:
  • editing/deleting/delete-ligature-002-expected.txt:
  • editing/deleting/delete-ligature-003-expected.txt:
  • editing/deleting/pruning-after-merge-1-expected.txt:
  • editing/deleting/skip-virama-001-expected.txt:
  • editing/execCommand/createLink-expected.txt:
  • editing/execCommand/hilitecolor-expected.txt:
  • editing/execCommand/outdent-nested-lists-1-expected.txt:
  • editing/execCommand/unlink-expected.txt:
  • editing/input/setting-input-value-cancel-ime-composition-expected.txt: Added.
  • editing/input/setting-input-value-cancel-ime-composition.html: Added.
  • editing/inserting/insert-thai-characters-001-expected.txt:
  • editing/pasteboard/copy-in-password-field-expected.txt:
  • editing/pasteboard/paste-into-anchor-text-expected.txt:
  • editing/selection/character-data-mutation-expected.txt:
  • editing/selection/character-data-mutation.html:
  • editing/style/remove-underline-from-stylesheet-expected.txt:
  • editing/style/style-3690704-fix-expected.txt:
  • editing/style/typing-style-003-expected.txt:
  • editing/undo/redo-style-expected.txt:
  • platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt:
  • platform/mac/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3608430-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3608445-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3608462-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3775172-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3800834-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3857753-fix-expected.txt:
  • platform/mac/editing/deleting/delete-3928305-fix-expected.txt:
  • platform/mac/editing/deleting/delete-4083333-fix-expected.txt:
  • platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt:
  • platform/mac/editing/deleting/delete-and-undo-expected.txt:
  • platform/mac/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-010-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-012-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-013-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-014-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-015-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-016-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-018-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-019-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-020-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-021-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-022-expected.txt:
  • platform/mac/editing/deleting/delete-block-table-expected.txt:
  • platform/mac/editing/deleting/delete-br-007-expected.txt:
  • platform/mac/editing/deleting/delete-character-001-expected.txt:
  • platform/mac/editing/deleting/delete-hr-expected.txt:
  • platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt:
  • platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt:
  • platform/mac/editing/deleting/delete-listitem-001-expected.txt:
  • platform/mac/editing/deleting/delete-listitem-002-expected.txt:
  • platform/mac/editing/deleting/delete-selection-001-expected.txt:
  • platform/mac/editing/deleting/delete-tab-001-expected.txt:
  • platform/mac/editing/deleting/delete-tab-002-expected.txt:
  • platform/mac/editing/deleting/delete-tab-003-expected.txt:
  • platform/mac/editing/deleting/delete-tab-004-expected.txt:
  • platform/mac/editing/deleting/delete-trailing-ws-001-expected.txt:
  • platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt:
  • platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt:
  • platform/mac/editing/deleting/delete-ws-fixup-003-expected.txt:
  • platform/mac/editing/deleting/delete-ws-fixup-004-expected.txt:
  • platform/mac/editing/deleting/forward-delete-expected.txt:
  • platform/mac/editing/deleting/list-item-1-expected.txt:
  • platform/mac/editing/deleting/paragraph-in-preserveNewline-expected.txt:
  • platform/mac/editing/deleting/whitespace-pre-1-expected.txt:
  • platform/mac/editing/execCommand/find-after-replace-expected.txt:
  • platform/mac/editing/execCommand/insertHorizontalRule-expected.txt:
  • platform/mac/editing/execCommand/paste-1-expected.txt:
  • platform/mac/editing/execCommand/paste-2-expected.txt:
  • platform/mac/editing/input/5576619-expected.txt:
  • platform/mac/editing/input/emacs-ctrl-o-expected.txt:
  • platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt:
  • platform/mac/editing/input/text-input-controller-expected.txt:
  • platform/mac/editing/inserting/4278698-expected.txt:
  • platform/mac/editing/inserting/editing-empty-divs-expected.txt:
  • platform/mac/editing/inserting/insert-3654864-fix-expected.txt:
  • platform/mac/editing/inserting/insert-3851164-fix-expected.txt:
  • platform/mac/editing/inserting/insert-after-delete-001-expected.txt:
  • platform/mac/editing/inserting/insert-br-003-expected.txt:
  • platform/mac/editing/inserting/insert-br-006-expected.txt:
  • platform/mac/editing/inserting/insert-br-007-expected.txt:
  • platform/mac/editing/inserting/insert-br-008-expected.txt:
  • platform/mac/editing/inserting/insert-br-009-expected.txt:
  • platform/mac/editing/inserting/insert-br-at-tabspan-002-expected.txt:
  • platform/mac/editing/inserting/insert-br-at-tabspan-003-expected.txt:
  • platform/mac/editing/inserting/insert-div-003-expected.txt:
  • platform/mac/editing/inserting/insert-div-006-expected.txt:
  • platform/mac/editing/inserting/insert-div-007-expected.txt:
  • platform/mac/editing/inserting/insert-div-008-expected.txt:
  • platform/mac/editing/inserting/insert-div-024-expected.txt:
  • platform/mac/editing/inserting/insert-div-025-expected.txt:
  • platform/mac/editing/inserting/insert-space-in-empty-doc-expected.txt:
  • platform/mac/editing/inserting/insert-tab-003-expected.txt:
  • platform/mac/editing/inserting/insert-text-at-tabspan-001-expected.txt:
  • platform/mac/editing/inserting/insert-text-at-tabspan-002-expected.txt:
  • platform/mac/editing/inserting/insert-text-with-newlines-expected.txt:
  • platform/mac/editing/inserting/multiple-lines-selected-expected.txt:
  • platform/mac/editing/inserting/paragraph-separator-03-expected.txt:
  • platform/mac/editing/inserting/redo-expected.txt:
  • platform/mac/editing/inserting/return-key-with-selection-003-expected.txt:
  • platform/mac/editing/inserting/typing-001-expected.txt:
  • platform/mac/editing/inserting/typing-002-expected.txt:
  • platform/mac/editing/inserting/typing-003-expected.txt:
  • platform/mac/editing/inserting/typing-around-br-001-expected.txt:
  • platform/mac/editing/inserting/typing-around-image-001-expected.txt:
  • platform/mac/editing/pasteboard/4076267-2-expected.txt:
  • platform/mac/editing/pasteboard/4076267-3-expected.txt:
  • platform/mac/editing/pasteboard/4076267-expected.txt:
  • platform/mac/editing/pasteboard/4700297-expected.txt:
  • platform/mac/editing/pasteboard/8145-3-expected.txt:
  • platform/mac/editing/pasteboard/bad-placeholder-expected.txt:
  • platform/mac/editing/pasteboard/cut-text-001-expected.txt:
  • platform/mac/editing/pasteboard/emacs-ctrl-a-k-y-expected.txt:
  • platform/mac/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt:
  • platform/mac/editing/pasteboard/interchange-newline-1-expected.txt:
  • platform/mac/editing/pasteboard/interchange-newline-2-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-1-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-2-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-3-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-4-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-5-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-borders-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-list-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-table-expected.txt:
  • platform/mac/editing/pasteboard/paste-line-endings-007-expected.txt:
  • platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
  • platform/mac/editing/pasteboard/paste-line-endings-009-expected.txt:
  • platform/mac/editing/pasteboard/paste-line-endings-010-expected.txt:
  • platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
  • platform/mac/editing/pasteboard/paste-pre-001-expected.txt:
  • platform/mac/editing/pasteboard/paste-pre-002-expected.txt:
  • platform/mac/editing/pasteboard/paste-table-003-expected.txt:
  • platform/mac/editing/pasteboard/paste-table-cells-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-001-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-002-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-003-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-004-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-005-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-008-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-009-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-019-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-at-tabspan-003-expected.txt:
  • platform/mac/editing/pasteboard/paste-xml-expected.txt:
  • platform/mac/editing/pasteboard/pasting-object-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-002-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-003-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-004-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-005-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-006-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
  • platform/mac/editing/selection/move-between-blocks-no-001-expected.txt:
  • platform/mac/editing/selection/replace-selection-1-expected.txt:
  • platform/mac/editing/selection/select-all-iframe-expected.txt:
  • platform/mac/editing/spelling/spelling-expected.txt:
  • platform/mac/editing/style/relative-font-size-change-002-expected.txt:
  • platform/mac/editing/style/relative-font-size-change-003-expected.txt:
  • platform/mac/editing/style/smoosh-styles-001-expected.txt:
  • platform/mac/editing/style/style-3681552-fix-001-expected.txt:
  • platform/mac/editing/style/style-3681552-fix-002-expected.txt:
  • platform/mac/editing/style/style-boundary-002-expected.txt:
  • platform/mac/editing/style/style-boundary-003-expected.txt:
  • platform/mac/editing/style/style-boundary-005-expected.txt:
  • platform/mac/editing/style/typing-style-001-expected.txt:
  • platform/mac/editing/style/typing-style-002-expected.txt:
  • platform/mac/editing/style/unbold-in-bold-expected.txt:
  • platform/mac/editing/undo/4063751-expected.txt:
  • platform/mac/editing/undo/redo-typing-001-expected.txt:
  • platform/mac/editing/undo/undo-combined-delete-boundary-expected.txt:
  • platform/mac/editing/undo/undo-combined-delete-expected.txt:
  • platform/mac/editing/undo/undo-delete-boundary-expected.txt:
  • platform/mac/editing/undo/undo-delete-expected.txt:
  • platform/mac/editing/undo/undo-forward-delete-boundary-expected.txt:
  • platform/mac/editing/undo/undo-forward-delete-expected.txt:
  • platform/mac/editing/undo/undo-misspellings-expected.txt:
  • platform/mac/editing/undo/undo-typing-001-expected.txt:
  • platform/mac/editing/unsupported-content/list-type-after-expected.txt:
  • platform/mac/editing/unsupported-content/list-type-before-expected.txt:
  • platform/mac/editing/unsupported-content/table-type-after-expected.txt:
  • platform/mac/editing/unsupported-content/table-type-before-expected.txt:
  • platform/mac/fast/dom/delete-contents-expected.txt:

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Assertion failure after removing a selection in keydown handler
https://bugs.webkit.org/show_bug.cgi?id=51389

The bug was caused by textWillBeReplaced's not always updating selection, and
shouldRemovePositionAfterAdoptingTextReplacement's not moving the end offset when it's
at the end of replaced data.

Fixed the bug by always updating selection in textWillBeReplaced and fixing the condition
to move the offset in shouldRemovePositionAfterAdoptingTextReplacement. Also added a call
to setSelection instead of directly modifying m_selection to notify all the clients.
Namely, the call to EditorClient::respondToChangedSelection is required for
setting-input-value-cancel-ime-composition.html.

Note that we must update layout before calling setSelection because setSelection calls
setFocusedNodeIfNeeded and it requires layout to be up-to-date. Without this call, tests
such as fast/forms/input-appearance-maxlength.html hits an assertion in Node::isFocusable.

Test: editing/input/setting-input-value-cancel-ime-composition.html

  • editing/SelectionController.cpp: (WebCore::shouldRemovePositionAfterAdoptingTextReplacement): When replacing text, the offset of the selection end must be updated even if it was at the end of the replaced text. e.g. removing "world" from "hello world] WebKit" should result in "hello ] WebKit" not "hello WebK[it". Note we don't move the offset if no text is removed because appending "world" to "hello ]" should result in "hello ]world" not "hello world]". (WebCore::SelectionController::textWillBeReplaced): Calls setSelection to update the selection instead of modifying m_selection directly.
5:48 AM Changeset in webkit [80120] by sergio@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Sergio Villar Senin <svillar@igalia.com>

Unreviewed.

Replaced 2 tests in GTK Skipped list that were skipped by mistake
by the ones that are actually failing.

  • platform/gtk/Skipped:
5:46 AM Changeset in webkit [80119] by podivilov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-02 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: highlighted line does not span horizonally in scripts panel while debugging.
https://bugs.webkit.org/show_bug.cgi?id=54675

  • inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._syncScroll): (WebInspector.TextEditorChunkedPanel.prototype._buildChunks): (WebInspector.TextEditorChunkedPanel.prototype.makeLineAChunk): (WebInspector.TextEditorGutterPanel): (WebInspector.TextEditorGutterPanel.prototype._expandChunks): (WebInspector.TextEditorGutterPanel.prototype.textChanged): (WebInspector.TextEditorMainPanel): (WebInspector.TextEditorMainPanel.prototype.set readOnly): (WebInspector.TextEditorMainPanel.prototype._getSelection): (WebInspector.TextEditorMainPanel.prototype._selectionToPosition): (WebInspector.TextEditorMainPanel.prototype._handleDOMSubtreeModified): (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates): (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
  • inspector/front-end/textViewer.css: (.inner-container):
5:42 AM Changeset in webkit [80118] by mnaganov@chromium.org
  • 1 edit in branches/chromium/648/Source/WebCore/inspector/front-end/StylesSidebarPane.js

Merge 76913 - 2011-01-27 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [STYLES] Cancelled suggestion of a property name results in a visual artifact
https://bugs.webkit.org/show_bug.cgi?id=53242

  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertyTreeElement.prototype):

TBR=apavlov@chromium.org
Review URL: http://codereview.chromium.org/6596106

5:14 AM Changeset in webkit [80117] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed; added the missing blank line at the end.

  • platform/qt/http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
5:10 AM WebKit Team edited by andreas.kling@nokia.com
(diff)
5:02 AM WebKit Team edited by benjamin.poulain@nokia.com
(diff)
5:02 AM Changeset in webkit [80116] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-03-02 Oleg Romashin <romaxa@gmail.com>

Reviewed by Andreas Kling.

Fixing inspector compilation with JAVASCRIPT_DEBUGGER disabled
https://bugs.webkit.org/show_bug.cgi?id=55477

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::populateScriptObjects):
5:00 AM Changeset in webkit [80115] by sergio@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Sergio Villar Senin <svillar@igalia.com>

Unreviewed.

Adding 3 new tests to the skipped list waiting for better viewport
error/warning messages.

  • platform/gtk/Skipped:
4:41 AM Changeset in webkit [80114] by rniwa@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

2011-03-02 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Qt rebaselines for r80061.

  • platform/qt/http/tests/security/xss-DENIED-xml-external-entity-expected.txt: Added.
4:35 AM Changeset in webkit [80113] by sergio@webkit.org
  • 3 edits in trunk/LayoutTests

2011-03-02 Sergio Villar Senin <svillar@igalia.com>

Unreviewed.

Rebaseline after r80061 and r80107.

  • platform/gtk/fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt:
  • platform/gtk/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt:
4:27 AM Changeset in webkit [80112] by Csaba Osztrogonác
  • 1 edit
    3 adds in trunk/LayoutTests

Unreviewed.

REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
https://bugs.webkit.org/show_bug.cgi?id=55323

Add Qt specific expected result for test introduced in r79934.

  • platform/qt/fast/spatial-navigation/snav-multiple-select-focusring-expected.checksum: Added.
  • platform/qt/fast/spatial-navigation/snav-multiple-select-focusring-expected.png: Added.
  • platform/qt/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt: Added.
4:18 AM Changeset in webkit [80111] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

And another attempt to do proper GPU override.

  • platform/chromium/test_expectations.txt
3:55 AM Changeset in webkit [80110] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

Unreviewed. Another attempt to propertly rebaseling GPU variant of fast/canvas/canvas-strokePath-gradient-shadow.html

  • platform/chromium/test_expectations.txt
3:48 AM Changeset in webkit [80109] by antonm@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests/platform

Unreviewed. Rebaselining for Chromium after http://trac.webkit.org/changeset/80061/

  • platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt
  • platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt
  • platform/chromium-win/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt
3:45 AM Changeset in webkit [80108] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

Unreviewed. Remove invalid suppression.

  • platform/chromium/test_expectations.txt
3:42 AM Changeset in webkit [80107] by sergio@webkit.org
  • 61 edits
    12 adds in trunk/LayoutTests

2011-03-02 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed expectations update. This is a follow-up to r80061.

Viewport tests were expected to produce new error, warning,
and tip console messages. The current output is correct,
but many of the warnings are wrong. Fixing the incorrect
warnings will be handled by:
https://bugs.webkit.org/show_bug.cgi?id=53707

There are also a number of xsl tests that have extra warnings
in qt when "Running an XSL-T 1.0 stylesheet with a 2.0 processor".
These tests now have qt platform specific results.

  • fast/viewport/viewport-100-expected.txt:
  • fast/viewport/viewport-101-expected.txt:
  • fast/viewport/viewport-102-expected.txt:
  • fast/viewport/viewport-103-expected.txt:
  • fast/viewport/viewport-112-expected.txt:
  • fast/viewport/viewport-115-expected.txt:
  • fast/viewport/viewport-116-expected.txt:
  • fast/viewport/viewport-117-expected.txt:
  • fast/viewport/viewport-121-expected.txt:
  • fast/viewport/viewport-122-expected.txt:
  • fast/viewport/viewport-125-expected.txt:
  • fast/viewport/viewport-129-expected.txt:
  • fast/viewport/viewport-29-expected.txt:
  • fast/viewport/viewport-30-expected.txt:
  • fast/viewport/viewport-31-expected.txt:
  • fast/viewport/viewport-32-expected.txt:
  • fast/viewport/viewport-35-expected.txt:
  • fast/viewport/viewport-36-expected.txt:
  • fast/viewport/viewport-38-expected.txt:
  • fast/viewport/viewport-39-expected.txt:
  • fast/viewport/viewport-40-expected.txt:
  • fast/viewport/viewport-41-expected.txt:
  • fast/viewport/viewport-42-expected.txt:
  • fast/viewport/viewport-43-expected.txt:
  • fast/viewport/viewport-44-expected.txt:
  • fast/viewport/viewport-46-expected.txt:
  • fast/viewport/viewport-47-expected.txt:
  • fast/viewport/viewport-48-expected.txt:
  • fast/viewport/viewport-49-expected.txt:
  • fast/viewport/viewport-52-expected.txt:
  • fast/viewport/viewport-53-expected.txt:
  • fast/viewport/viewport-54-expected.txt:
  • fast/viewport/viewport-55-expected.txt:
  • fast/viewport/viewport-61-expected.txt:
  • fast/viewport/viewport-62-expected.txt:
  • fast/viewport/viewport-63-expected.txt:
  • fast/viewport/viewport-64-expected.txt:
  • fast/viewport/viewport-66-expected.txt:
  • fast/viewport/viewport-67-expected.txt:
  • fast/viewport/viewport-68-expected.txt:
  • fast/viewport/viewport-69-expected.txt:
  • fast/viewport/viewport-70-expected.txt:
  • fast/viewport/viewport-71-expected.txt:
  • fast/viewport/viewport-72-expected.txt:
  • fast/viewport/viewport-73-expected.txt:
  • fast/viewport/viewport-74-expected.txt:
  • fast/viewport/viewport-75-expected.txt:
  • fast/viewport/viewport-76-expected.txt:
  • fast/viewport/viewport-77-expected.txt:
  • fast/viewport/viewport-78-expected.txt:
  • fast/viewport/viewport-79-expected.txt:
  • fast/viewport/viewport-80-expected.txt:
  • fast/viewport/viewport-81-expected.txt:
  • fast/viewport/viewport-83-expected.txt:
  • fast/viewport/viewport-85-expected.txt:
  • fast/viewport/viewport-90-expected.txt:
  • platform/qt/fast/events/xsl-onload-expected.txt: Added.
  • platform/qt/fast/parser/xslt-with-html-expected.txt: Added.
  • platform/qt/fast/xsl/document-function-expected.txt:
  • platform/qt/fast/xsl/subframe-location-expected.txt: Added.
  • platform/qt/fast/xsl/transform-to-html-expected.txt: Added.
  • platform/qt/fast/xsl/utf8-chunks-expected.txt: Added.
  • platform/qt/fast/xsl/xslt-bad-import-uri-expected.txt: Added.
  • platform/qt/fast/xsl/xslt-doc-noenc-expected.txt: Added.
  • platform/qt/fast/xsl/xslt-entity-enc-expected.txt: Added.
  • platform/qt/fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt:
  • platform/qt/fast/xsl/xslt-recursion-expected.txt: Added.
  • platform/qt/http/tests/misc/location-test-xsl-style-sheet-expected.txt: Added.
  • platform/qt/http/tests/security/xss-DENIED-xsl-document-expected.txt:
  • platform/qt/http/tests/security/xss-DENIED-xsl-document-redirect-expected.txt:
  • platform/qt/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt: Added.
  • platform/qt/http/tests/security/xss-DENIED-xsl-external-entity-redirect-expected.txt: Added.
3:35 AM Changeset in webkit [80106] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

Unreivewed. Temporary disabling fast/canvas/canvas-strokePath-gradient-shadow.html

  • platform/chromium/test_expectations.txt
3:13 AM Changeset in webkit [80105] by tkent@chromium.org
  • 4 edits in trunk

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed, a trivial fix for r80096.

REGRESSION (r80096): [Chromium] fast/forms/input-number-unacceptable-style.html failure
https://bugs.webkit.org/show_bug.cgi?id=55562

  • platform/chromium/test_expectations.txt:

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed, a trivial fix for r80096.

REGRESSION (r80096): [Chromium] fast/forms/input-number-unacceptable-style.html failure
https://bugs.webkit.org/show_bug.cgi?id=55562

  • platform/text/LocalizedNumberICU.cpp: (WebCore::parseLocalizedNumber): Check the ParsePosition after NumberFormat::parse() to reject strings with a valid number + extra letters.
2:02 AM Changeset in webkit [80104] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/test_expectations.txt: Mark fast/forms/input-number-unacceptable-style.html as TEXT.
1:49 AM Changeset in webkit [80103] by steveblock@google.com
  • 7 edits
    2 copies in trunk/Source/WebCore

2011-03-02 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

JObjectWrapper should be moved to its own file
https://bugs.webkit.org/show_bug.cgi?id=55384

No new tests, refactoring only.

  • Android.v8bindings.mk:
  • WebCore.gypi:
  • bridge/jni/v8/JNIBridgeV8.cpp: (JavaField::JavaField):
  • bridge/jni/v8/JNIBridgeV8.h:
  • bridge/jni/v8/JavaInstanceV8.cpp: (JavaInstance::JavaInstance):
  • bridge/jni/v8/JavaInstanceV8.h:
  • bridge/jni/v8/JobjectWrapper.cpp: Copied from Source/WebCore/bridge/jni/v8/JNIBridgeV8.h. (JobjectWrapper::JobjectWrapper): (JobjectWrapper::~JobjectWrapper):
  • bridge/jni/v8/JobjectWrapper.h: Copied from Source/WebCore/bridge/jni/v8/JNIBridgeV8.h. (JSC::Bindings::JobjectWrapper::instance): (JSC::Bindings::JobjectWrapper::setInstance): (JSC::Bindings::JobjectWrapper::ref): (JSC::Bindings::JobjectWrapper::deref):
1:40 AM Changeset in webkit [80102] by caseq@chromium.org
  • 9 edits
    1 add in trunk/Source/WebCore

2011-02-25 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: factor search logic out of inspector.js
https://bugs.webkit.org/show_bug.cgi?id=54965

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.searchCanceled): (WebInspector.ElementsPanel.prototype.switchToAndFocus): (WebInspector.ElementsPanel.prototype._updateMatchesCount):
  • inspector/front-end/Panel.js: (WebInspector.Panel.prototype.searchCanceled): (WebInspector.Panel.prototype.performSearch.updateMatchesCount):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.searchCanceled): (WebInspector.ScriptsPanel.prototype.performSearch.finishedCallback): (WebInspector.ScriptsPanel.prototype.performSearch):
  • inspector/front-end/SearchController.js: Added. (WebInspector.SearchController): (WebInspector.SearchController.prototype.updateSearchMatchesCount): (WebInspector.SearchController.prototype.updateSearchLabel): (WebInspector.SearchController.prototype.cancelSearch): (WebInspector.SearchController.prototype.handleShortcut): (WebInspector.SearchController.prototype.activePanelChanged.performPanelSearch): (WebInspector.SearchController.prototype.activePanelChanged): (WebInspector.SearchController.prototype._updateSearchMatchesCount): (WebInspector.SearchController.prototype._focusSearchField): (WebInspector.SearchController.prototype._onSearchFieldManualFocus): (WebInspector.SearchController.prototype._onKeyDown): (WebInspector.SearchController.prototype._onSearch): (WebInspector.SearchController.prototype._performSearch):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
  • inspector/front-end/inspector.js: (WebInspector.set currentPanel): (WebInspector.set attached): (WebInspector.doLoadedDone): (WebInspector.documentKeyDown):
1:22 AM Changeset in webkit [80101] by tkent@chromium.org
  • 12 edits in trunk/LayoutTests

2011-03-02 Kent Tamura <tkent@chromium.org>

Unreviewed.

Update a test and test expectation for r80096.

  • fast/forms/input-number-unacceptable-style-expected.txt:
  • fast/forms/input-number-unacceptable-style.html: ICU seems to accept "-1+" as a number. So change it to "-1a".
  • platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.checksum:
  • platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.png:
  • platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt:
  • platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.checksum:
  • platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.png:
  • platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt:
  • platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.checksum:
  • platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.png:
  • platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt:
12:47 AM Changeset in webkit [80100] by abarth@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

2011-03-02 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Teach JavaScriptCore GYP build how to build minidom
https://bugs.webkit.org/show_bug.cgi?id=55536

12:40 AM Changeset in webkit [80099] by reni@webkit.org
  • 5 edits in trunk/Source/WebCore

FEMorphologyElement changes doesn't require relayout
https://bugs.webkit.org/show_bug.cgi?id=55462

Reviewed by Andreas Kling.

When the FEMorphologyElement receives an update message but the given value remains the same we don't need
to relayout the filter.

No new tests are needed because this modification is covered by the dynamic update tests of FEMorphology.

  • platform/graphics/filters/FEMorphology.cpp:

(WebCore::FEMorphology::setMorphologyOperator):
(WebCore::FEMorphology::setRadiusX):
(WebCore::FEMorphology::setRadiusY):

  • platform/graphics/filters/FEMorphology.h:
  • svg/SVGFEMorphologyElement.cpp:

(WebCore::SVGFEMorphologyElement::setFilterEffectAttribute):
(WebCore::SVGFEMorphologyElement::svgAttributeChanged):

  • svg/SVGFEMorphologyElement.h:

Mar 1, 2011:

11:34 PM Changeset in webkit [80098] by commit-queue@webkit.org
  • 2 edits
    1 add
    3 deletes in trunk/LayoutTests

2011-03-01 Anna Cavender <annacc@chromium.org>

Reviewed by Eric Carlson.

Remove playing of video in media/video-replaces-poster.html and update text results.
https://bugs.webkit.org/show_bug.cgi?id=54910

  • media/video-replaces-poster-expected.txt: Added.
  • media/video-replaces-poster.html:
  • platform/chromium-win/media/video-replaces-poster-expected.txt: Removed.
  • platform/gtk/media/video-replaces-poster-expected.txt: Removed.
  • platform/mac/media/video-replaces-poster-expected.txt: Removed.
11:05 PM EFLWebKit edited by gyuyoung.kim@samsung.com
(diff)
11:04 PM Changeset in webkit [80097] by tkent@chromium.org
  • 9 edits
    2 adds in trunk

2011-03-01 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

Assertion fails when a form validation bubble appears
https://bugs.webkit.org/show_bug.cgi?id=55550

  • fast/forms/interactive-validation-attach-assertion-expected.txt: Added.
  • fast/forms/interactive-validation-attach-assertion.html: Added.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-03-01 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

Assertion fails when a form validation bubble appears
https://bugs.webkit.org/show_bug.cgi?id=55550

Test: fast/forms/interactive-validation-attach-assertion.html

  • html/ValidationMessage.cpp: (WebCore::ValidationMessage::buildBubbleTree): Just remove unnecessary attach().

2011-03-01 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

Assertion fails when a form validation bubble appears
https://bugs.webkit.org/show_bug.cgi?id=55550

Test: fast/forms/interactive-validation-attach-assertion.html

  • DumpRenderTree/chromium/WebPreferences.cpp: (WebPreferences::applyTo): Enable the interactive validation feature by default. This matches to Chromium browser.
10:54 PM Changeset in webkit [80096] by tkent@chromium.org
  • 17 edits
    2 copies
    1 add in trunk

Support localized numbers in <input type=number>
https://bugs.webkit.org/show_bug.cgi?id=42484

Reviewed by Dimitri Glazkov.

Source/WebCore:

This change adds support of localized numbers in <input type=number>.
This affects only the UI, and not HTMLInputElement::value.

  • Remove the keyboard input restriction feature because it is hard to retrieve characters usable for localized numbers in ICU.
  • Separate convertFromVisibleValue() from sanitizeValue(). sanitizeValue() is used for not only converting a renderer value to a DOM value.
  • Implement LocalizedNumber functions for ICU and NSNumberFormatter. It is used only in Chromium for now.

Test: manual-tests/input-number-localization.html

  • WebCore.gypi: Use LocalizedNumberICU.cpp.
  • WebCore.xcodeproj/project.pbxproj: Add LocalizedNumberMac.mm and remove LocalizedNumberNone.cpp.
  • dom/InputElement.h: Introduce convertFromVisibleValue().
  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::convertFromVisibleValue):

  • html/HTMLInputElement.h:
  • html/InputType.cpp:

(WebCore::InputType::convertFromVisibleValue):

  • html/InputType.h:
  • html/NumberInputType.cpp: Remove isHTMLNumberCharacter(), isNumberCharacter(), and handleBeforeTextInsertedEvent() because we remove the keyboard input restriction feature for type=number.

(WebCore::NumberInputType::convertFromVisibleValue):
(WebCore::NumberInputType::sanitizeValue):

  • html/NumberInputType.h:
  • manual-tests/input-number-localization.html: Add a manual test because the behavior depends on the current locale.
  • platform/text/LocalizedNumber.h: Remove isLocalizedNumberCharacter().
  • platform/text/LocalizedNumberICU.cpp: Implement LocalizedNumber functions with ICU NumberFormat.

(WebCore::createFormatterForCurrentLocale):
(WebCore::parseLocalizedNumber):
(WebCore::formatLocalizedNumber):

  • platform/text/LocalizedNumberNone.cpp: Remove isLocalizedNumberCharacter().
  • platform/text/mac/LocalizedNumberMac.mm: Implement LocalizedNumber functions with NSNumberFormatter.

(WebCore::parseLocalizedNumber):
(WebCore::formatLocalizedNumber):

  • rendering/RenderTextControlSingleLine.cpp:

(WebCore::RenderTextControlSingleLine::subtreeHasChanged):

  • wml/WMLInputElement.h:

(WebCore::WMLInputElement::convertFromVisibleValue):

Implemented as a function doing nothing.

LayoutTests:

Update an existing test because of removing the keyboard input
restriction feature.

  • fast/forms/input-number-keyoperation-expected.txt:
  • fast/forms/script-tests/input-number-keyoperation.js:
10:28 PM Changeset in webkit [80095] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Tools

2011-03-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Kent Tamura.

Remove efl port style exception of Webcore/JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=55549

WebCore and JavaScriptCore need to adhere WebKit coding style.

  • Scripts/webkitpy/style/checker.py:
10:14 PM Changeset in webkit [80094] by abarth@webkit.org
  • 4 edits in trunk/Source/JavaScriptCore

2011-03-01 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

JavaScriptCore GYP build should copy some headers into the target framework
https://bugs.webkit.org/show_bug.cgi?id=55524

After this patch, all the framework headers are exported as public
headers. We need to teach GYP how to handle private headers.

I struggled to determine how to store the information about whether a
header was public, private, or project (i.e., not exported).
Generally, the GYPI should just list the files, but it seemed siliy to
have an almost duplicated list of files in the GYP file itself. If
this design doesn't scale, we might have to revisit it in the future.

10:08 PM Changeset in webkit [80093] by tony@chromium.org
  • 2 edits in trunk/Tools

2011-03-01 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] clean up temp files on chromium-mac builder too
https://bugs.webkit.org/show_bug.cgi?id=55525

  • BuildSlaveSupport/chromium/remove-crash-logs:
10:06 PM Changeset in webkit [80092] by yutak@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-01 Yuta Kitamura <yutak@chromium.org>

Reviewed by Darin Adler.

REGRESSION(r78383): Failure to connect on websocketstest.com
https://bugs.webkit.org/show_bug.cgi?id=54811

After r78383, KURL::setPort() no longer appends ":port" part
if that port is the default port for URL scheme. This broke
SocketStreamHandleCFNet, whose code was based on an assumption
that KURL::setPort() always inserts ":port" part.

To fix this, KURL::port() call is removed from SocketStreamHandle
and the port number is calculated on-the-fly.

Unfortunately it is impossible to write a test; this bug only
affects WebSockets connecting to the default port (port 80
for ws, port 443 for wss), while we use different ports to test
WebSockets in LayoutTests.

  • platform/network/cf/SocketStreamHandle.h:
  • platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::SocketStreamHandle): (WebCore::SocketStreamHandle::createStreams): (WebCore::SocketStreamHandle::port):
9:49 PM Changeset in webkit [80091] by commit-queue@webkit.org
  • 2 edits
    56 adds in trunk/LayoutTests

2011-03-01 Victoria Kirst <vrk@chromium.org>

Reviewed by Kenneth Russell.

[Chromium] videos are not painted for compositing/ tests
https://bugs.webkit.org/show_bug.cgi?id=54694

Videos are now painted for compositing tests. This patch uploads the
expected layout results and enables the tests again.

  • platform/chromium-gpu-linux/compositing/geometry/clipped-video-controller-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/geometry/clipped-video-controller-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/geometry/video-fixed-scrolling-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/geometry/video-opacity-overlay-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/layers-inside-overflow-scroll-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/overflow/scroll-ancestor-update-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/reflections/load-video-in-reflection-expected.png: Added.
  • platform/chromium-gpu-linux/compositing/self-painting-layers-expected.checksum: Added.
  • platform/chromium-gpu-linux/compositing/self-painting-layers-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/clipped-video-controller-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-fixed-scrolling-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/geometry/video-opacity-overlay-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/layers-inside-overflow-scroll-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/overflow/scroll-ancestor-update-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/reflections/load-video-in-reflection-expected.png: Added.
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.checksum: Added.
  • platform/chromium-gpu-mac/compositing/self-painting-layers-expected.png: Added.
  • platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.png: Added.
  • platform/chromium-gpu-win/compositing/geometry/clipped-video-controller-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.png: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.png: Added.
  • platform/chromium-gpu-win/compositing/geometry/video-opacity-overlay-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.png: Added.
  • platform/chromium-gpu-win/compositing/layers-inside-overflow-scroll-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
  • platform/chromium-gpu-win/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.png: Added.
  • platform/chromium-gpu-win/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.png: Added.
  • platform/chromium-gpu-win/compositing/reflections/load-video-in-reflection-expected.txt: Added.
  • platform/chromium-gpu-win/compositing/self-painting-layers-expected.checksum: Added.
  • platform/chromium-gpu-win/compositing/self-painting-layers-expected.png: Added.
  • platform/chromium-gpu-win/compositing/self-painting-layers-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
8:44 PM Changeset in webkit [80090] by ojan@chromium.org
  • 5 edits in trunk/Tools

2011-02-28 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

wrap json in a function call to afford cross-domain loading
https://bugs.webkit.org/show_bug.cgi?id=55353

Also delete the code that compacts the JSON. It turns out this
breaks the rebaseline tool and is probably a premature optimization anyways.

  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/tool/commands/rebaselineserver.py:
8:25 PM Changeset in webkit [80089] by mrowe@apple.com
  • 2 edits in trunk/Source/WebKit2

Hide the typeinfo name symbols for std::exception and std::bad_alloc too.

  • Configurations/Base.xcconfig:
8:21 PM Changeset in webkit [80088] by Joseph Pecoraro
  • 2 edits
    2 adds in trunk/LayoutTests

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed expectations update. This is a follow-up to r80061.

Leopard has a slightly different error message, so
platform/mac-leopard needs its own expected results for the
websocket test. Added platform specific expected results for
the other tests which are consistently failing with an extra
console message on the bots.

  • platform/mac-leopard/http/tests/inspector/console-websocket-error-expected.txt:
  • platform/mac-leopard/http/tests/security/xss-DENIED-xml-external-entity-expected.txt: Added.
  • platform/mac-leopard/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt: Added.
7:57 PM Changeset in webkit [80087] by jorlow@chromium.org
  • 3 edits
    1 add in trunk/Source/WebKit/chromium

2011-03-01 David Grogan <dgrogan@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
https://bugs.webkit.org/show_bug.cgi?id=55548

  • WebKit.gyp:
  • public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::createObjectStore): (WebKit::WebIDBDatabase::open):
  • public/WebIDBDatabaseCallbacks.h: Added. (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks): (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
7:22 PM Changeset in webkit [80086] by rniwa@webkit.org
  • 17 edits in trunk

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

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

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

  • wtf/Platform.h:

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

  • features.gypi:

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

  • Configurations/FeatureDefines.xcconfig:
  • GNUmakefile.am:
  • features.pri:

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80079.
http://trac.webkit.org/changeset/80079
https://bugs.webkit.org/show_bug.cgi?id=55547

"Broke the Win debug build?" (Requested by dcheng on #webkit).

  • Scripts/build-webkit:
7:14 PM Changeset in webkit [80085] by Joseph Pecoraro
  • 2 edits in trunk/LayoutTests

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed expectations update. This is expected
behavior after r80061, which enabled printing
of more console messages.

  • http/tests/xmlviewer/dumpAsText/wml-expected.txt:
7:05 PM Changeset in webkit [80084] by kevino@webkit.org
  • 2 edits in trunk/Source/WebKit/wx

[wx] Build fix after removal of Frame::isContentEditable.

6:54 PM Changeset in webkit [80083] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80078.
http://trac.webkit.org/changeset/80078
https://bugs.webkit.org/show_bug.cgi?id=55545

underlying change was rolled out (Requested by tonyg-cr on
#webkit).

  • platform/chromium/test_expectations.txt:
6:45 PM Changeset in webkit [80082] by tonyg@chromium.org
  • 1 edit
    4 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed new baselines

[chromium] Add expectations for new tests in r80049
https://bugs.webkit.org/show_bug.cgi?id=55543

  • platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
  • platform/chromium-mac/svg/css/path-gradient-stroke-shadow-expected.png: Added.
  • platform/chromium-win/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
  • platform/chromium-win/svg/css/path-gradient-stroke-shadow-expected.png: Added.
6:35 PM Changeset in webkit [80081] by enne@google.com
  • 8 edits
    1 copy
    3 adds in trunk/Source/WebCore

2011-02-25 Adrienne Walker <enne@google.com>

Reviewed by James Robinson.

[chromium] Abstract "pixels with a graphics context" into its own class
https://bugs.webkit.org/show_bug.cgi?id=55259

This creates new PlatformCanvas/PlatformImage classes which wrap
all of the #ifdef Skia/Cg warts from the compositor. All classes
(LayerTilerChromium, ContentLayerChromium, and ImageLayerChromium) are
modified to use these abstractions.

Tests: LayoutTests/compositing

  • WebCore.gypi:
  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::updateContentsIfDirty): (WebCore::ContentLayerChromium::resizeUploadBuffer): (WebCore::ContentLayerChromium::updateTextureIfNeeded): (WebCore::ContentLayerChromium::updateTexture): (WebCore::ContentLayerChromium::draw):
  • platform/graphics/chromium/ContentLayerChromium.h:
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::updateContentsIfDirty): (WebCore::ImageLayerChromium::updateTextureIfNeeded):
  • platform/graphics/chromium/ImageLayerChromium.h:
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::contentRectToTileIndices): (WebCore::LayerTilerChromium::update): (WebCore::LayerTilerChromium::updateFromPixels):
  • platform/graphics/chromium/LayerTilerChromium.h:
  • platform/graphics/chromium/PlatformCanvas.cpp: Added. (WebCore::PlatformCanvas::PlatformCanvas): (WebCore::PlatformCanvas::~PlatformCanvas): (WebCore::PlatformCanvas::resize): (WebCore::PlatformCanvas::AutoLocker::AutoLocker): (WebCore::PlatformCanvas::AutoLocker::~AutoLocker): (WebCore::PlatformCanvas::Painter::Painter): (WebCore::PlatformCanvas::Painter::~Painter):
  • platform/graphics/chromium/PlatformCanvas.h: Added. (WebCore::PlatformCanvas::AutoLocker::pixels): (WebCore::PlatformCanvas::Painter::context): (WebCore::PlatformCanvas::size):
  • platform/graphics/chromium/PlatformImage.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp. (WebCore::PlatformImage::PlatformImage): (WebCore::PlatformImage::updateFromImage):
  • platform/graphics/chromium/PlatformImage.h: Added. (WebCore::PlatformImage::pixels): (WebCore::PlatformImage::size):
6:24 PM Changeset in webkit [80080] by mrowe@apple.com
  • 11 edits in trunk

Source/WebKit2: Add verification scripts to WebKit2 project and fix the issues they reveal.

Reviewed by Sam Weinig.

  • Configurations/Base.xcconfig: Add linker flags to prevent C++ standard

library functions from being exported as weak externals.

  • Configurations/WebKit2.xcconfig: Inherit linker flags from the project level.
  • Shared/WebContextMenuItem.cpp:

(WebKit::WebContextMenuItem::separatorItem): Use DEFINE_STATIC_LOCAL.

  • UIProcess/WebPageGroup.cpp:

(WebKit::webPageGroupMap): Ditto.

  • WebKit2.xcodeproj/project.pbxproj: Don't copy .in files in to the framework.

Run verification scripts at the appropriate times.

  • WebProcess/WebCoreSupport/WebEditorClient.cpp:

(WebKit::WebEditorClient::didBeginEditing): Use DEFINE_STATIC_LOCAL.
(WebKit::WebEditorClient::respondToChangedContents): Ditto.
(WebKit::WebEditorClient::respondToChangedSelection): Ditto.
(WebKit::WebEditorClient::didEndEditing): Ditto.

  • WebProcess/WebPage/WebBackForwardListProxy.cpp:

(WebKit::idToHistoryItemMap): Ditto.
(WebKit::historyItemToIDMap): Ditto.

Tools: Update verification scripts to handle WebKit2.

Reviewed by Sam Weinig.

  • Scripts/check-for-global-initializers: Skip object files that use RefCountedLeakChecker.
  • Scripts/check-for-inappropriate-files-in-framework: Add some inappropriate file types for

WebKit2.

6:15 PM Changeset in webkit [80079] by dcheng@chromium.org
  • 17 edits in trunk

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

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

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • wtf/Platform.h:

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Configurations/FeatureDefines.xcconfig:
  • GNUmakefile.am:
  • features.pri:

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • features.gypi:

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • Scripts/build-webkit:

2011-03-01 Daniel Cheng <dcheng@chromium.org>

Reviewed by David Levin.

Add feature define for data transfer items
https://bugs.webkit.org/show_bug.cgi?id=55510

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:
6:10 PM Changeset in webkit [80078] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations

[chromium] Skip new viewport tests added by r80068
https://bugs.webkit.org/show_bug.cgi?id=55539

LayoutTestController doesn't implement dumpConfigurationForViewport() which is needed for this test.

  • platform/chromium/test_expectations.txt:
6:04 PM Changeset in webkit [80077] by Joseph Pecoraro
  • 14 edits
    7 deletes in trunk

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.

6:02 PM Changeset in webkit [80076] by jorlow@chromium.org
  • 9 edits in trunk

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

IDBKeyRange.bound() should not use the optional options object
https://bugs.webkit.org/show_bug.cgi?id=55419

  • storage/indexeddb/index-cursor.html:
  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/keyrange.html:
  • storage/indexeddb/objectstore-cursor.html:

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

IDBKeyRange.bound() should not use the optional options object
https://bugs.webkit.org/show_bug.cgi?id=55419

http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#range-concept

Added some code to existing tests to cover these cases.

  • storage/IDBKeyRange.cpp: (WebCore::IDBKeyRange::bound):
  • storage/IDBKeyRange.h:
  • storage/IDBKeyRange.idl:
5:46 PM Changeset in webkit [80075] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Build fix.

  • dom/DocumentMarkerController.cpp:

(WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):

5:39 PM Changeset in webkit [80074] by tkent@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-01 Kent Tamura <tkent@chromium.org>

Unreviewed. Apply sort-Xcode-project-file.

  • WebCore.xcodeproj/project.pbxproj:
5:30 PM Changeset in webkit [80073] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebKit2

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed, missed updating a call to WebCore::computeViewportAttributes
who's prototype changed.

Viewport Warning/Error Messages Are Now Inaccurate
https://bugs.webkit.org/show_bug.cgi?id=53707

  • UIProcess/API/qt/qwkpage.cpp: (QWKPage::viewportAttributesForSize): pass in a value for the document argument.
5:23 PM Changeset in webkit [80072] by jorlow@chromium.org
  • 12 edits
    3 copies
    10 adds in trunk/Source/WebCore

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

V8 code generator doesn't properly support a single SerializedScriptValue attribute
https://bugs.webkit.org/show_bug.cgi?id=55530

This is tested by the bindings tests changes.

  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Added. (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterfacePrivate::WebDOMTestSerializedScriptValueInterfacePrivate): (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface): (WebDOMTestSerializedScriptValueInterface::operator=): (WebDOMTestSerializedScriptValueInterface::impl): (WebDOMTestSerializedScriptValueInterface::~WebDOMTestSerializedScriptValueInterface): (WebDOMTestSerializedScriptValueInterface::value): (toWebCore): (toWebKit):
  • bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Added.
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp: Added. (WebKit::kit): (webkit_dom_test_serialized_script_value_interface_get_value): (WebKit::core): (webkit_dom_test_serialized_script_value_interface_finalize): (webkit_dom_test_serialized_script_value_interface_set_property): (webkit_dom_test_serialized_script_value_interface_get_property): (webkit_dom_test_serialized_script_value_interface_constructed): (webkit_dom_test_serialized_script_value_interface_class_init): (webkit_dom_test_serialized_script_value_interface_init): (WebKit::wrapTestSerializedScriptValueInterface):
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: Added.
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h: Added.
  • bindings/scripts/test/JS/JSTestInterface.cpp: (WebCore::JSTestInterfaceConstructor::JSTestInterfaceConstructor): (WebCore::JSTestInterface::JSTestInterface):
  • bindings/scripts/test/JS/JSTestInterface.h:
  • bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor): (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener): (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
  • bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
  • bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::JSTestObjConstructor::JSTestObjConstructor): (WebCore::JSTestObj::JSTestObj): (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs): (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs): (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs): (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs): (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows): (WebCore::jsTestObjPrototypeFunctionSerializedValue): (WebCore::jsTestObjPrototypeFunctionIdbKey): (WebCore::jsTestObjPrototypeFunctionOptionsObject): (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException): (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg): (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg): (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture): (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD): (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg): (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg): (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs): (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg): (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1): (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2): (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3): (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4): (WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):
  • bindings/scripts/test/JS/JSTestObj.h:
  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Added. (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure): (WebCore::JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor): (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlot): (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertyDescriptor): (WebCore::JSTestSerializedScriptValueInterfacePrototype::self): (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface): (WebCore::JSTestSerializedScriptValueInterface::createPrototype): (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot): (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor): (WebCore::jsTestSerializedScriptValueInterfaceValue): (WebCore::jsTestSerializedScriptValueInterfaceConstructor): (WebCore::JSTestSerializedScriptValueInterface::getConstructor): (WebCore::toJS): (WebCore::toTestSerializedScriptValueInterface):
  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: Copied from Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h. (WebCore::JSTestSerializedScriptValueInterface::createStructure): (WebCore::JSTestSerializedScriptValueInterface::impl): (WebCore::JSTestSerializedScriptValueInterfacePrototype::createStructure): (WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
  • bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: Added.
  • bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: Added. (-[DOMTestSerializedScriptValueInterface dealloc]): (-[DOMTestSerializedScriptValueInterface finalize]): (-[DOMTestSerializedScriptValueInterface value]): (core): (kit):
  • bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: Added.
  • bindings/scripts/test/TestSerializedScriptValueInterface.idl: Added.
  • bindings/scripts/test/V8/V8TestInterface.cpp: (WebCore::ConfigureV8TestInterfaceTemplate):
  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: Copied from Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp. (WebCore::TestSerializedScriptValueInterfaceInternal::V8_USE): (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate): (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate): (WebCore::V8TestSerializedScriptValueInterface::GetTemplate): (WebCore::V8TestSerializedScriptValueInterface::HasInstance): (WebCore::V8TestSerializedScriptValueInterface::wrapSlow): (WebCore::V8TestSerializedScriptValueInterface::derefObject):
  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h: Added. (WebCore::V8TestSerializedScriptValueInterface::toNative): (WebCore::V8TestSerializedScriptValueInterface::wrap): (WebCore::toV8):
5:23 PM Changeset in webkit [80071] by tonyg@chromium.org
  • 1 edit
    5 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] Expectations updates from r80061
https://bugs.webkit.org/show_bug.cgi?id=55533

  • platform/chromium-linux/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt: Added.
  • platform/chromium-linux/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.
  • platform/chromium-linux/http/tests/xmlviewer/dumpAsText/wml-expected.txt: Added.
5:23 PM Changeset in webkit [80070] by oliver@apple.com
  • 4 edits in trunk/Source

2011-03-01 Oliver Hunt <oliver@apple.com>

Reviewed by Joseph Pecoraro.

Misaligned memory access in CloneDeserializer on all ARM arch.
https://bugs.webkit.org/show_bug.cgi?id=48742

Add a CPU class for architectures that need aligned addresses
for memory access.

  • wtf/Platform.h:

2011-03-01 Oliver Hunt <oliver@apple.com>

Reviewed by Joseph Pecoraro.

Misaligned memory access in CloneDeserializer on all ARM arch.
https://bugs.webkit.org/show_bug.cgi?id=48742

Push platforms that need aligned memory access down the
endian independent serialization and deserialization
paths.

  • bindings/js/SerializedScriptValue.cpp:
5:16 PM Changeset in webkit [80069] by helder@sencha.com
  • 2 edits in trunk/LayoutTests

2011-03-01 Helder Correia <helder@sencha.com>

Unreviewed Qt skipped tests update.

The manually committed patch didn't include the update to
fast/canvas/canvas-strokePath-gradient-shadow.html by mistake:
No shadow when stroking a path with a gradient
https://bugs.webkit.org/show_bug.cgi?id=55436

  • platform/qt/Skipped: Skip new test since it fails.
4:59 PM Changeset in webkit [80068] by Joseph Pecoraro
  • 12 edits
    7 adds in trunk

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Kenneth Rohde Christiansen.

Viewport Warning/Error Messages Are Now Inaccurate
https://bugs.webkit.org/show_bug.cgi?id=53707

Added tests specifically to test Console warnings.

  • fast/viewport/viewport-warnings-1.html: Added.
  • fast/viewport/viewport-warnings-2.html: Added.
  • fast/viewport/viewport-warnings-3.html: Added.
  • fast/viewport/viewport-warnings-4.html: Added.
  • fast/viewport/viewport-warnings-5.html: Added.
  • fast/viewport/viewport-warnings-6.html: Added.
  • fast/viewport/viewport-warnings-7.html: Added.

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Kenneth Rohde Christiansen.

Viewport Warning/Error Messages Are Now Inaccurate
https://bugs.webkit.org/show_bug.cgi?id=53707

Correct and improve the error messages for viewport
parsing. Clarify the difference between incorrect
keys, values, and when to use the device-width or
device-height constants.

  • dom/ViewportArguments.cpp: (WebCore::computeViewportAttributes): suggest using keywords if fixed input matches device width or height. (WebCore::numericPrefix): (WebCore::findSizeValue): remove incorrect warnings about fixed numbers because we don't know the device width or height. (WebCore::setViewportFeature): report a warning for an unrecognized key. (WebCore::viewportErrorMessageTemplate): added template for unrecognized key. (WebCore::viewportErrorMessageLevel):
  • dom/ViewportArguments.h:
4:56 PM Changeset in webkit [80067] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-03-01 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

WKPluginSiteDataManagerClearAllSiteData is not working
https://bugs.webkit.org/show_bug.cgi?id=55528
<rdar://problem/9071823>

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: (WebKit::NetscapePluginModule::tryGetSitesWithData): Remove version checks, checking that the function pointer is not null is enough.

(WebKit::NetscapePluginModule::tryClearSiteData):
Remove version checks, checking that the function pointer is not null is enough.
Also, correctly convert a null String to a null CString.

4:50 PM Changeset in webkit [80066] by tonyg@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed baseline

[chromium] Add baseline for test added by r80040
https://bugs.webkit.org/show_bug.cgi?id=55529

  • platform/chromium-mac/fast/table/table-and-parts-outline-expected.checksum: Added.
  • platform/chromium-mac/fast/table/table-and-parts-outline-expected.png: Added.
4:47 PM Changeset in webkit [80065] by abarth@webkit.org
  • 4 edits in trunk/Source

2011-03-01 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Add pre- and post-build actions for JavaScriptCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55507

After this patch, we have all the steps for building the main
JavaScriptCore framework except the "copy headers" step, which I'll do
next.

  • gyp/JavaScriptCore.gyp:

2011-03-01 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Add pre- and post-build actions for JavaScriptCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55507

Remove the portion of this file that was split out into common.gypi.

  • gyp/JavaScriptGlue.gyp:
4:45 PM Changeset in webkit [80064] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Alexey Proskuryakov.

Fix a bug in platform/mac/editing/input/selection-change-closes-typing.html
https://bugs.webkit.org/show_bug.cgi?id=55523

The marked text is at offset 0 with length 1, not at offset 1 with length 0.

  • platform/mac/editing/input/selection-change-closes-typing.html:
4:34 PM Changeset in webkit [80063] by tonyg@chromium.org
  • 2 edits
    2 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations

[chromium] Add expectations for new tests in r80049
https://bugs.webkit.org/show_bug.cgi?id=55526

  • platform/chromium-linux/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
  • platform/chromium-linux/svg/css/path-gradient-stroke-shadow-expected.png: Added.
  • platform/chromium/test_expectations.txt:
4:28 PM Changeset in webkit [80062] by Joseph Pecoraro
  • 1 edit
    1 add in trunk/LayoutTests

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Kenneth Rohde Christiansen.

Viewport parsing no longer accepts "1.0;" value as valid.
https://bugs.webkit.org/show_bug.cgi?id=53705

Adding expected results generated from the build-bot. They look
correct, as the viewport "123x135" has the expected width of "123".

  • fast/viewport/viewport-129-expected.txt: Added.
4:21 PM Changeset in webkit [80061] by Joseph Pecoraro
  • 24 edits in trunk

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Timothy Hatcher.

LayoutTests:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

All Console Messages should be passed to ChromeClients.
https://bugs.webkit.org/show_bug.cgi?id=54926

Passing more message types to the ChromeClient allows
some more messages to get output during tests. Specifically
HTML, XML, and Other message types.

  • inspector/audits/audits-panel-functional.html: correct a legitimate HTML parse error.
  • http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
  • http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt:
  • http/tests/security/mixedContent/insecure-script-in-iframe-expected.txt:
  • http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt:
  • http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt:
  • http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
  • http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
  • http/tests/security/xss-DENIED-xsl-document-expected.txt:
  • http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:
  • platform/mac/fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt:
  • platform/mac/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt:
  • platform/mac/http/tests/inspector/console-websocket-error-expected.txt:

Source/WebCore:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

All Console Messages should be passed to ChromeClients.
https://bugs.webkit.org/show_bug.cgi?id=54926

Do not filter the message type here, allow clients
to filter and deal with the different message types.

  • page/Console.cpp: (WebCore::Console::addMessage):

Source/WebKit/mac:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

All Console Messages should be passed to ChromeClients.
https://bugs.webkit.org/show_bug.cgi?id=54926

Add a new private UIDelegate method, -webView:addMessageToConsole:withSource:,
which supersedes -webView:addMessageToConsole if it exists. The new delegate
does not filter to only JavaScript originated console messages. The old
delegate is left around for clients that expect filtered messages, like
DashCode and older versions of Safari.

The dictionary message passed to the delegate now includes more information
about the message source, type, and level.

  • WebCoreSupport/WebChromeClient.mm: (stringForMessageSource): (stringForMessageType): (stringForMessageLevel): (WebChromeClient::addMessageToConsole):
  • WebView/WebUIDelegatePrivate.h:

Tools:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

All Console Messages should be passed to ChromeClients.
https://bugs.webkit.org/show_bug.cgi?id=54926

Update DumpRenderTree's UIDelegate to use the new console message delegate.

  • DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:addMessageToConsole:withSource:]):
4:14 PM Changeset in webkit [80060] by rniwa@webkit.org
  • 8 edits
    2 adds in trunk

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

WebKit does not merge text decorations in the typing style and the selected element properly
https://bugs.webkit.org/show_bug.cgi?id=55349

Added a test to ensure WebKit merges text decorations in the typing style and the inline style
of the element around the caret when computing the style at the selection start.

  • editing/execCommand/merge-text-decoration-with-typing-style-expected.txt: Added.
  • editing/execCommand/merge-text-decoration-with-typing-style.html: Added.
  • editing/style/push-down-inline-styles-expected.txt: Rebaselined due to the change in which text decoration values appear.
  • editing/style/script-tests/push-down-inline-styles.js: Ditto.

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

WebKit does not merge text decorations in the typing style and the selected element properly
https://bugs.webkit.org/show_bug.cgi?id=55349

The bug was caused by EditingStyle::mergeTypingStyle's not properly merging text decoration property.
Fixed the bug by extracting a function from ApplyStyleCommand::pushDownInlineStyleAroundNode and
calling it in pushDownInlineStyleAroundNode and in mergeTypingStyle.

Test: editing/execCommand/merge-text-decoration-with-typing-style.html

  • editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Takes EditingStyle*; calls mergeInlineStyleOfElement. (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls applyInlineStyleToPushDown. (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto.
  • editing/ApplyStyleCommand.h:
  • editing/EditingStyle.cpp: (WebCore::EditingStyle::mergeTypingStyle): Added; calls mergeStyle. (WebCore::EditingStyle::mergeInlineStyleOfElement): Ditto. (WebCore::EditingStyle::mergeStyle): Extracted from applyInlineStyleToPushDown.
  • editing/EditingStyle.h:
4:06 PM Changeset in webkit [80059] by leviw@chromium.org
  • 27 edits in trunk/Source

2011-03-01 Levi Weintraub <leviw@chromium.org>

Reviewed by Ryosuke Niwa.

Stop instantiating legacy editing Positions in VisiblePosition
https://bugs.webkit.org/show_bug.cgi?id=52919

Changing usage of legacy VisiblePosition constructor. Since we were dealing
with positions from DOM Ranges, we're guaranteed a parent-anchored position.

  • WebView/WebFrame.mm: (-[WebFrame _caretRectAtPosition:affinity:]):
  • WebView/WebFrameInternal.h:
  • WebView/WebTextCompletionController.mm: (-[WebTextCompletionController doCompletion]):

2011-03-01 Levi Weintraub <leviw@chromium.org>

Reviewed by Ryosuke Niwa.

Stop instantiating legacy editing Positions in VisiblePosition
https://bugs.webkit.org/show_bug.cgi?id=52919

Changing VisiblePosition completely away from legacy positions.

No new tests since this is functionaly equivalent.

  • WebCore.exp.in: Removing the legacy VisiblePosition constructor and adding the PositionIsOffsetInAnchor symbol. If we must create VisiblePositions outside of WebCore, they should be parent anchored.
  • accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::visiblePositionForTextMarkerData):
  • accessibility/AccessibilityObject.cpp: (WebCore::startOfStyleRange): (WebCore::endOfStyleRange):
  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::visiblePositionForIndex):
  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (objectAndOffsetUnignored):
  • dom/Position.cpp: (WebCore::Position::document): Added this inline function to avoid the necessity of calling anchorNode to assure a document from a Position. (WebCore::Position::upstream): Fixed to correctly respect PositionIsAfterAnchor (WebCore::Position::downstream): ditto
  • dom/Range.cpp: (WebCore::Range::editingStartPosition):
  • editing/Editor.cpp: (WebCore::Editor::canDeleteRange):
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply):
  • editing/SelectionController.cpp: (WebCore::SelectionController::selectFrameElementInParentIfFullySelected): (WebCore::SelectionController::setSelectedRange):
  • editing/TextIterator.cpp: (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
  • editing/TypingCommand.cpp: (WebCore::TypingCommand::deleteKeyPressed):
  • editing/VisiblePosition.cpp: (WebCore::VisiblePosition::leftVisuallyDistinctCandidate): (WebCore::VisiblePosition::rightVisuallyDistinctCandidate): (WebCore::VisiblePosition::canonicalPosition): (WebCore::VisiblePosition::characterAfter): (WebCore::VisiblePosition::localCaretRect): (WebCore::makeRange): (WebCore::startVisiblePosition): (WebCore::endVisiblePosition): (WebCore::setStart): (WebCore::setEnd): (WebCore::isFirstVisiblePositionInNode): (WebCore::isLastVisiblePositionInNode):
  • editing/VisiblePosition.h: (WebCore::VisiblePosition::VisiblePosition):
  • editing/htmlediting.cpp: (WebCore::firstInSpecialElement): (WebCore::lastInSpecialElement): (WebCore::visiblePositionBeforeNode): (WebCore::visiblePositionAfterNode):
  • editing/visible_units.cpp: (WebCore::startPositionForLine): (WebCore::endPositionForLine): (WebCore::previousLinePosition): (WebCore::nextLinePosition): (WebCore::startOfParagraph): (WebCore::endOfParagraph): (WebCore::endOfBlock): (WebCore::startOfDocument): (WebCore::endOfDocument): (WebCore::logicalStartPositionForLine): (WebCore::logicalEndPositionForLine):
  • page/DOMSelection.cpp: (WebCore::DOMSelection::collapse): (WebCore::DOMSelection::setBaseAndExtent): (WebCore::DOMSelection::setPosition): (WebCore::DOMSelection::extend):
  • page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::createVisiblePosition):
  • rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::visiblePositionForIndex):
  • svg/SVGTextContentElement.cpp: (WebCore::SVGTextContentElement::selectSubString):
4:04 PM Changeset in webkit [80058] by tonyg@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update

[chromium] Rebaseline fast/ruby/base-shorter-than-text.html
https://bugs.webkit.org/show_bug.cgi?id=55522

This changed as a result of r80015.

  • platform/chromium-mac/fast/ruby/base-shorter-than-text-expected.checksum: Added.
  • platform/chromium-mac/fast/ruby/base-shorter-than-text-expected.png: Added.
3:57 PM Changeset in webkit [80057] by dpranke@chromium.org
  • 2 edits in trunk/Tools

2011-03-01 Dirk Pranke <dpranke@chromium.org>

Reviewed by Adam Barth.

Tragically, we stopped running the python unit tests
on Chromium Win just as I was getting them to be green.
This patch turns them back on.

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

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
3:57 PM Changeset in webkit [80056] by jorlow@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by James Robinson.

Add a primaryKey method to IDBCursor
https://bugs.webkit.org/show_bug.cgi?id=55518

In prep for https://bugs.webkit.org/show_bug.cgi?id=55443

  • public/WebIDBCursor.h: (WebKit::WebIDBCursor::primaryKey):
3:55 PM Changeset in webkit [80055] by jorlow@chromium.org
  • 14 edits
    2 adds in trunk

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
https://bugs.webkit.org/show_bug.cgi?id=54785

  • storage/indexeddb/transaction-abort.html: Added
  • storage/indexeddb/transaction-abort-expected.txt: Added

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
https://bugs.webkit.org/show_bug.cgi?id=54785

This patch adds in a lot of sanity checks/ASSERTs to make sure we're doing
the right thing and continue to do the right thing. It also modifies EventQueue
so that we can cancel an event. To do this efficiently, the vector is now a
ListHashSet.

Cancelling the event is harder/messier, but the most deterministic thing to do.
To the user, the work isn't done until we fire the onsuccess/onerror handler.
So the event (which does fire that) needs to be cancelable.

transaction-abort.html tests this.

  • dom/EventQueue.cpp: (WebCore::EventQueue::enqueueEvent): (WebCore::EventQueue::cancelEvent): (WebCore::EventQueue::pendingEventTimerFired): (WebCore::EventQueue::dispatchEvent):
  • dom/EventQueue.h:
  • dom/ExceptionCode.cpp:
  • storage/IDBCursor.cpp: (WebCore::IDBCursor::update): (WebCore::IDBCursor::deleteFunction):
  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::close):
  • storage/IDBDatabaseException.h:
  • storage/IDBIndex.cpp: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor): (WebCore::IDBIndex::get): (WebCore::IDBIndex::getKey):
  • storage/IDBObjectStore.cpp: (WebCore::IDBObjectStore::get): (WebCore::IDBObjectStore::add): (WebCore::IDBObjectStore::put): (WebCore::IDBObjectStore::deleteFunction): (WebCore::IDBObjectStore::clear): (WebCore::IDBObjectStore::openCursor):
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::IDBRequest): (WebCore::IDBRequest::~IDBRequest): (WebCore::IDBRequest::readyState): (WebCore::IDBRequest::markEarlyDeath): (WebCore::IDBRequest::source): (WebCore::IDBRequest::abort): (WebCore::IDBRequest::onSuccess): (WebCore::IDBRequest::dispatchEvent): (WebCore::IDBRequest::enqueueEvent):
  • storage/IDBRequest.h:
  • storage/IDBTransaction.cpp: (WebCore::IDBTransaction::registerRequest): (WebCore::IDBTransaction::unregisterRequest): (WebCore::IDBTransaction::onAbort):
  • storage/IDBTransaction.h:
3:54 PM Changeset in webkit [80054] by jorlow@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-03-01 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Mihai Parparita.

EventQueue needs to be ref counted
https://bugs.webkit.org/show_bug.cgi?id=55512

EventQueue needs to be ref counted because it's possible for its instance
to be deleted while it's dispatching events. This is the reason why
https://bugs.webkit.org/show_bug.cgi?id=54785 had to be reverted.

No change of behavior, so no tests.

  • dom/Document.h:
  • dom/EventQueue.cpp: (WebCore::EventQueue::create):
  • dom/EventQueue.h:
3:45 PM Changeset in webkit [80053] by Adam Roben
  • 2 edits in trunk/Source/WebKit2

Incorporate a review comment I missed in r80051

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: Clarified error message.
3:36 PM Changeset in webkit [80052] by ggaren@apple.com
  • 10 edits in trunk/Source/JavaScriptCore

2011-03-01 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Rolled back in r79627 now that the underlying cause for it crashing is fixed.
https://bugs.webkit.org/show_bug.cgi?id=55159

  • JavaScriptCore.exp:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • runtime/Heap.cpp: (JSC::Heap::allocateSlowCase):
  • runtime/Heap.h:
  • runtime/JSCell.h: (JSC::JSCell::MarkedSpace::sizeClassFor): (JSC::JSCell::Heap::allocate): (JSC::JSCell::JSCell::operator new):
  • runtime/MarkedBlock.h:
  • runtime/MarkedSpace.cpp: (JSC::MarkedSpace::MarkedSpace): (JSC::MarkedSpace::allocateBlock): (JSC::MarkedSpace::reset):
  • runtime/MarkedSpace.h: (JSC::MarkedSpace::SizeClass::SizeClass):
3:36 PM Changeset in webkit [80051] by Adam Roben
  • 4 edits in trunk/Source/WebKit2

Make the PLUGIN_ARCHITECTURE() macro work with MSVC

Fixes <http://webkit.org/b/55513> <rdar://problem/9069189> REGRESSION (r79925): Lots of
plugins tests crashing in NetscapePlugin::initialize on Windows

Reviewed by Anders Carlsson.

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: Added a compile-time check to make sure

PLUGIN_ARCHITECTURE() is defined for some platform.

  • config.h: Removed the parentheses from the use of "defined" in the PLUGIN_ARCHITECTURE()

macro. This matches PLATFORM(), OS(), etc., and makes the macro work on Windows. Also
replaced the nonsense OS(WIN) with OS(WINDOWS).

  • win/WebKit2.vcproj: Added config.h for editing convenience. Let VS do its thang.
3:27 PM Changeset in webkit [80050] by tonyg@chromium.org
  • 1 edit
    3 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed new baseline

[chromium] Add win baseline for fast/table/table-and-parts-outline.html
https://bugs.webkit.org/show_bug.cgi?id=55517

Test was added by r80040

  • platform/chromium-win/fast/table/table-and-parts-outline-expected.checksum: Added.
  • platform/chromium-win/fast/table/table-and-parts-outline-expected.png: Added.
  • platform/chromium-win/fast/table/table-and-parts-outline-expected.txt: Added.
3:24 PM Changeset in webkit [80049] by helder@sencha.com
  • 3 edits
    7 adds in trunk

2011-03-01 Helder Correia <helder@sencha.com>

Reviewed by Simon Fraser.

No shadow when stroking a path with a gradient
https://bugs.webkit.org/show_bug.cgi?id=55436

This happens in CG and is related to bug 52509, this time to be fixed
in GraphicsContext::strokePath(). The gradient needs to be drawn
clipped to the stroke on a CGLayer first, then the layer drawn on the
GraphicsContext.

  • fast/canvas/canvas-strokePath-gradient-shadow-expected.txt: Added.
  • fast/canvas/canvas-strokePath-gradient-shadow.html: Added.
  • fast/canvas/script-tests/canvas-strokePath-gradient-shadow.js: Added.
  • platform/chromium/test_expectations.txt: Skip new test since it fails.
  • platform/mac/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
  • platform/mac/svg/css/path-gradient-stroke-shadow-expected.png: Added.
  • platform/mac/svg/css/path-gradient-stroke-shadow-expected.txt: Added.
  • platform/qt/Skipped: Skip new test since it fails.
  • platform/qt/svg/css/path-gradient-stroke-shadow-expected.checksum: Added.
  • platform/qt/svg/css/path-gradient-stroke-shadow-expected.png: Added.
  • platform/qt/svg/css/path-gradient-stroke-shadow-expected.txt: Added.
  • svg/css/path-gradient-stroke-shadow.svg: Added.

2011-03-01 Helder Correia <helder@sencha.com>

Reviewed by Simon Fraser.

No shadow when stroking a path with a gradient
https://bugs.webkit.org/show_bug.cgi?id=55436

This happens in CG and is related to bug 52509, this time to be fixed
in GraphicsContext::strokePath(). The gradient needs to be drawn
clipped to the stroke on a CGLayer first, then the layer drawn on the
GraphicsContext.

Tests: fast/canvas/canvas-strokePath-gradient-shadow.html

svg/css/path-gradient-stroke-shadow.svg

  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::strokePath):
3:19 PM Changeset in webkit [80048] by dpranke@chromium.org
  • 2 edits in trunk/Tools

2011-03-01 Dirk Pranke <dpranke@chromium.org>

Reviewed by Adam Roben.

Disable
webkitpy.common.system.executive_unittest.ExecutiveTest.\

test_kill_all fails on win until it can be properly triaged.

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

  • Scripts/webkitpy/common/system/executive_unittest.py:

2011-03-01 Helder Correia <helder@sencha.com>

Unreviewed. Add myself to committers.py.

  • Scripts/webkitpy/common/config/committers.py:
3:13 PM Changeset in webkit [80047] by hyatt@apple.com
  • 2 edits in trunk/Source/WebCore

Fix Font::spaceWidth() to be a float instead of an int.

Reviewed by Dan Bernstein.

  • platform/graphics/Font.h:

(WebCore::Font::spaceWidth):

3:01 PM Changeset in webkit [80046] by helder@sencha.com
  • 2 edits in trunk/Tools

2011-03-01 Helder Correia <helder@sencha.com>

Unreviewed. Add myself to committers.py.

  • Scripts/webkitpy/common/config/committers.py:
2:56 PM Changeset in webkit [80045] by steveblock@google.com
  • 3 edits in trunk/Source/WebCore

2011-02-28 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Chromium gypi file should include Java bridge files from WebCore/bridge
https://bugs.webkit.org/show_bug.cgi?id=55387

No new tests, no code changes.

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
2:55 PM Changeset in webkit [80044] by tonyg@chromium.org
  • 1 edit
    3 adds in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed new baseline

[chromium] Add linux baseline for fast/table/table-and-parts-outline.html
https://bugs.webkit.org/show_bug.cgi?id=55511

Test was added by r80040

  • platform/chromium-linux/fast/table/table-and-parts-outline-expected.checksum: Added.
  • platform/chromium-linux/fast/table/table-and-parts-outline-expected.png: Added.
  • platform/chromium-linux/fast/table/table-and-parts-outline-expected.txt: Added.
2:47 PM TriagingTestFailures edited by Adam Roben
Show only open bugs with the MakingBotsRed keyword (diff)
2:45 PM TriagingTestFailures edited by Adam Roben
Put the more useful numbuilds=N suggestion first (diff)
2:34 PM Changeset in webkit [80043] by simonjam@chromium.org
  • 4 edits in trunk

2011-03-01 James Simonsen <simonjam@chromium.org>

Reviewed by Tony Gentilcore.

[Web Timing] Handle the case where no responseEnd time is available.
https://bugs.webkit.org/show_bug.cgi?id=55444

  • platform/chromium/test_expectations.txt: Remove CRASH from fast/dom/prototype-inheritance-2.html

2011-03-01 James Simonsen <simonjam@chromium.org>

Reviewed by Tony Gentilcore.

[Web Timing] Handle the case where no responseEnd time is available.
https://bugs.webkit.org/show_bug.cgi?id=55444

  • loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::MainResourceLoader): Initialize to 0. (WebCore::MainResourceLoader::didFinishLoading): Fall back to current time if no other time is available.
2:31 PM Changeset in webkit [80042] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-03-01 Patrick Gansterer <Patrick Gansterer>

Unreviewed, adding missing change for r80034.

Add a handler class for Win32 HANDLE
https://bugs.webkit.org/show_bug.cgi?id=55334

  • platform/win/Win32Handle.h: Added missing WTF_MAKE_NONCOPYABLE macro.
2:23 PM TriagingTestFailures edited by Adam Roben
Moved the expected failure policy discussion link to a more … (diff)
2:22 PM Changeset in webkit [80041] by tonyg@chromium.org
  • 25 edits
    16 deletes in trunk

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80037.
http://trac.webkit.org/changeset/80037
https://bugs.webkit.org/show_bug.cgi?id=55508

broke compile on SL (Requested by tonyg-cr on #webkit).

  • fast/css/content/content-quotes-01-expected.txt: Removed.
  • fast/css/content/content-quotes-01.html: Removed.
  • fast/css/content/content-quotes-02-expected.txt: Removed.
  • fast/css/content/content-quotes-02.html: Removed.
  • fast/css/content/content-quotes-03-expected.txt: Removed.
  • fast/css/content/content-quotes-03.html: Removed.
  • fast/css/content/content-quotes-04-expected.txt: Removed.
  • fast/css/content/content-quotes-04.html: Removed.
  • fast/css/content/content-quotes-05-expected.txt: Removed.
  • fast/css/content/content-quotes-05.html: Removed.
  • fast/css/content/content-quotes-06-expected.txt: Removed.
  • fast/css/content/content-quotes-06.html: Removed.

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80037.
http://trac.webkit.org/changeset/80037
https://bugs.webkit.org/show_bug.cgi?id=55508

broke compile on SL (Requested by tonyg-cr on #webkit).

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSParser.cpp: (WebCore::CSSParser::parseValue):
  • css/CSSParser.h:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • css/html.css: (q:before): (q:after):
  • rendering/RenderBlockLineLayout.cpp: (WebCore::dirtyLineBoxesForRenderer):
  • rendering/RenderObject.h:
  • rendering/RenderObjectChildList.cpp: (WebCore::RenderObjectChildList::removeChildNode): (WebCore::RenderObjectChildList::appendChildNode): (WebCore::RenderObjectChildList::insertChildNode): (WebCore::RenderObjectChildList::updateBeforeAfterContent):
  • rendering/RenderQuote.cpp: Removed.
  • rendering/RenderQuote.h: Removed.
  • rendering/RenderingAllInOne.cpp:
  • rendering/style/ContentData.cpp: (WebCore::ContentData::dataEquivalent): (WebCore::ContentData::deleteContent):
  • rendering/style/ContentData.h:
  • rendering/style/QuotesData.cpp: Removed.
  • rendering/style/QuotesData.h: Removed.
  • rendering/style/RenderStyle.cpp:
  • rendering/style/RenderStyle.h:
  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleAllInOne.cpp:
  • rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::operator==):
  • rendering/style/StyleRareInheritedData.h:
2:18 PM Changeset in webkit [80040] by inferno@chromium.org
  • 3 edits
    4 adds in trunk

2011-03-01 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Paint outline for tables.
https://bugs.webkit.org/show_bug.cgi?id=55474

Test: fast/table/table-and-parts-outline.html

  • rendering/RenderTable.cpp: (WebCore::RenderTable::paintObject):

2011-03-01 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Tests that we draw outlines for table and table cells.
https://bugs.webkit.org/show_bug.cgi?id=55474

  • fast/table/table-and-parts-outline.html: Added.
  • platform/mac/fast/table/table-and-parts-outline-expected.checksum: Added.
  • platform/mac/fast/table/table-and-parts-outline-expected.png: Added.
  • platform/mac/fast/table/table-and-parts-outline-expected.txt: Added.
2:07 PM Changeset in webkit [80039] by mrowe@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Replace two script phases that do nothing but copy files with copy files build phases.

Reviewed by Sam Weinig.

This speeds up the build by a few seconds on high-end Mac Pros.

2:05 PM Changeset in webkit [80038] by tonyg@chromium.org
  • 14 edits
    2 deletes in trunk

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80028.
http://trac.webkit.org/changeset/80028
https://bugs.webkit.org/show_bug.cgi?id=55502

'caused crashes; rolling out while investigating' (Requested
by jorlow on #webkit).

  • storage/indexeddb/transaction-abort-expected.txt: Removed.
  • storage/indexeddb/transaction-abort.html: Removed.

2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r80028.
http://trac.webkit.org/changeset/80028
https://bugs.webkit.org/show_bug.cgi?id=55502

'caused crashes; rolling out while investigating' (Requested
by jorlow on #webkit).

  • dom/EventQueue.cpp: (WebCore::EventQueue::enqueueEvent): (WebCore::EventQueue::pendingEventTimerFired): (WebCore::EventQueue::dispatchEvent):
  • dom/EventQueue.h:
  • dom/ExceptionCode.cpp:
  • storage/IDBCursor.cpp: (WebCore::IDBCursor::update): (WebCore::IDBCursor::deleteFunction):
  • storage/IDBDatabaseException.h:
  • storage/IDBDatabaseException.idl:
  • storage/IDBIndex.cpp: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor): (WebCore::IDBIndex::get): (WebCore::IDBIndex::getKey):
  • storage/IDBObjectStore.cpp: (WebCore::IDBObjectStore::get): (WebCore::IDBObjectStore::add): (WebCore::IDBObjectStore::put): (WebCore::IDBObjectStore::deleteFunction): (WebCore::IDBObjectStore::clear): (WebCore::IDBObjectStore::openCursor):
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::IDBRequest): (WebCore::IDBRequest::~IDBRequest): (WebCore::IDBRequest::readyState): (WebCore::IDBRequest::dispatchEvent): (WebCore::IDBRequest::enqueueEvent): (WebCore::IDBRequest::source):
  • storage/IDBRequest.h:
  • storage/IDBTransaction.cpp: (WebCore::IDBTransaction::onAbort):
  • storage/IDBTransaction.h:
2:01 PM Changeset in webkit [80037] by carol.szabo@nokia.com
  • 27 edits
    16 adds in trunk

content property doesn't support quotes
https://bugs.webkit.org/show_bug.cgi?id=6503

Reviewed by David Hyatt <hyatt@apple.com>

Source/WebCore:

Added full support for quotes as defined by CSS 2.1.

Tests: fast/css/content/content-quotes-01.html

fast/css/content/content-quotes-02.html
fast/css/content/content-quotes-03.html
fast/css/content/content-quotes-04.html
fast/css/content/content-quotes-05.html

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:

Added RenderQuote.cpp/h and QuotesData.cpp/h to the dependency lists

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseQuotes):

  • css/CSSParser.h:

Added needed stylesheet parsing support for quotes,
(no-)open-quote and (no-)close-quote

  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::applyProperty):
Handled setting of the new quotes RenderStyle property and added
handling of quotes for the content property.

  • css/html.css:

(q:before):
(q:after):
replaced the '"' workaround with open/close-quote

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::dirtyLineBoxesForRenderer):
Made RenderQuote behave like RenderCounter.
Needed to ensure that the Quote text is calculated before layout,
just as it is for RenderCounter.

  • rendering/RenderObject.h:

(WebCore::RenderObject::isQuote):

  • rendering/RenderObjectChildList.cpp:

(WebCore::RenderObjectChildList::removeChildNode):
(WebCore::RenderObjectChildList::appendChildNode):
(WebCore::RenderObjectChildList::insertChildNode):
Handled updating of quote depth when renderers are added and removed
from the tree.
(WebCore::RenderObjectChildList::updateBeforeAfterContent):

  • rendering/RenderQuote.cpp: Added.

(WebCore::adjustDepth):
(WebCore::RenderQuote::RenderQuote):
(WebCore::RenderQuote::~RenderQuote):
(WebCore::RenderQuote::renderName):
(WebCore::RenderQuote::placeQuote):
(WebCore::RenderQuote::originalText):
(WebCore::RenderQuote::computePreferredLogicalWidths):
(WebCore::RenderQuote::rendererSubtreeAttached):
(WebCore::RenderQuote::rendererRemovedFromTree):
(WebCore::RenderQuote::styleDidChange):

  • rendering/RenderQuote.h: Added.

(WebCore::RenderQuote::isQuote):
(WebCore::toRenderQuote):

  • rendering/RenderingAllInOne.cpp:

Included RenderQuote.cpp

  • rendering/style/StyleAllInOne.cpp:

Included QuotesData.cpp

  • rendering/style/ContentData.cpp:

(WebCore::ContentData::dataEquivalent):
Checked for quotetype identity.
(WebCore::ContentData::deleteContent):
Accounted for the new QUOTE_TYPE.

  • rendering/style/ContentData.h:

(WebCore::ContentData::isQuote):
(WebCore::ContentData::quote):
(WebCore::ContentData::setQuote):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::setContent):

  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::quotes):
(WebCore::InheritedFlags::setQuotes):

  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::operator==):
Included quotes in equality check.

  • rendering/style/StyleRareInheritedData.h:

Added quotes

LayoutTests:

Added new tests for quotes.

  • fast/css/content/content-quotes-01-expected.txt: Added.
  • fast/css/content/content-quotes-01.html: Added.
  • fast/css/content/content-quotes-02-expected.txt: Added.
  • fast/css/content/content-quotes-02.html: Added.
  • fast/css/content/content-quotes-03-expected.txt: Added.
  • fast/css/content/content-quotes-03.html: Added.
  • fast/css/content/content-quotes-04-expected.txt: Added.
  • fast/css/content/content-quotes-04.html: Added.
  • fast/css/content/content-quotes-05-expected.txt: Added.
  • fast/css/content/content-quotes-05.html: Added.
1:57 PM Changeset in webkit [80036] by Michael Nordman
  • 5 edits
    5 adds in trunk

2011-03-01 Michael Nordman <Michael Nordman>

Reviewed by Alexey Proskuryakov.

Tests for the correct relative priorities of network vs fallback namespaces in the appcache.
If a resource url is in an appcache's network namespace and fallback namespace, the network
namespace wins (with the exception of the special '*' network namespace which does not take
priority over the fallback namespace.
https://bugs.webkit.org/show_bug.cgi?id=49292

  • http/tests/appcache/online-fallback-layering-expected.txt: Added.
  • http/tests/appcache/online-fallback-layering.html: Added.
  • http/tests/appcache/resources/fallbacknamespace-fallback-resource.txt: Added.
  • http/tests/appcache/resources/fallbacknamespace-networknamespace-existing-resource.html: Added.
  • http/tests/appcache/resources/online-fallback-layering.manifest: Added.

2011-03-01 Michael Nordman <Michael Nordman>

Reviewed by Alexey Proskuryakov.

Alter the relative priorities of network vs fallback namespaces in the appcache.
If a resource url is in an appcache's network namespace and fallback namespace, the network
namespace wins (with the exception of the special '*' network namespace which does not take
priority over the fallback namespace.
https://bugs.webkit.org/show_bug.cgi?id=49292

Test: http/tests/appcache/online-fallback-layering.html

  • loader/appcache/ApplicationCache.cpp: (WebCore::ApplicationCache::isURLInOnlineWhitelist):
  • loader/appcache/ApplicationCacheHost.cpp: (WebCore::ApplicationCacheHost::shouldLoadResourceFromApplicationCache): (WebCore::ApplicationCacheHost::getApplicationCacheFallbackResource):
  • loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
1:55 PM Changeset in webkit [80035] by jennb@chromium.org
  • 1 edit in trunk/Tools/Scripts/webkitpy/common/config/committers.py

Unreviewed. Add myself to the list of committers.

1:38 PM Changeset in webkit [80034] by Patrick Gansterer
  • 1 edit
    1 add in trunk/Source/WebCore

2011-03-01 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Roben.

Add a handler class for Win32 HANDLE
https://bugs.webkit.org/show_bug.cgi?id=55334

This class will call CloseHandle in the destructor for valid handles.

  • platform/win/Win32Handle.h: Added.
1:29 PM Changeset in webkit [80033] by Adam Roben
  • 2 edits in trunk/Tools

Give up if a crash log for the web process is taking too long to be saved on Windows

This should keep the bots from getting stuck while waiting for a crash log, if writing a
crash log ever hangs or the UI process for some reason doesn't notice it's finished.

Fixes <http://webkit.org/b/55499> WebKitTestRunner can hang forever waiting for a crash log
to be saved for the web process

Reviewed by Steve Falkenburg.

  • WebKitTestRunner/win/TestControllerWin.cpp:

(WTR::runRunLoopUntil): Moved code to run the run loop here here from platformRunUntil.
Generalized the code slightly to handle the optional object to wait on.
(WTR::TestController::platformRunUntil): Use the new runRunLoopUntil function, and also use
it (with a timeout) when waiting for a crash log for the web process to be saved. This will
prevent us from waiting forever.

1:13 PM Changeset in webkit [80032] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed expectations update.

[chromium] fast/text/font-size-zero.html
https://bugs.webkit.org/show_bug.cgi?id=55497

Appears to have been fixed by r79694.

  • platform/chromium/test_expectations.txt:
1:07 PM Changeset in webkit [80031] by Joseph Pecoraro
  • 2 edits in trunk/LayoutTests

Unreviewed, fix GTK DumpRenderTree crash.

2011-03-01 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed, fix GTK DumpRenderTree crash.

Viewport parsing no longer accepts "1.0;" value as valid.
https://bugs.webkit.org/show_bug.cgi?id=53705

Follow-up fix. Pass the correct number of arguments
into layoutTestController.dumpConfigurationForViewport.

  • fast/viewport/viewport-129.html:
12:54 PM Changeset in webkit [80030] by eric.carlson@apple.com
  • 10 edits in trunk/Source/WebCore

2011-03-01 Eric Carlson <eric.carlson@apple.com>

Reviewed by Chris Marrin.

<audio> and <video> should respect private browsing mode
https://bugs.webkit.org/show_bug.cgi?id=55287
<rdar://problem/9057699>

No new tests, this is just the plumbing.

  • dom/Document.cpp: (WebCore::Document::privateBrowsingStateDidChange): New. (WebCore::Document::registerForPrivateBrowsingStateChangedCallbacks): Ditto. (WebCore::Document::unregisterForPrivateBrowsingStateChangedCallbacks): Ditto.
  • dom/Document.h:
  • dom/Element.h: (WebCore::Element::privateBrowsingStateDidChange): New.
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): Register for privacy mode changes. (WebCore::HTMLMediaElement::~HTMLMediaElement): Unregister for privacy mode changes. (WebCore::HTMLMediaElement::loadResource): Tell player current privacy mode. (WebCore::HTMLMediaElement::privateBrowsingStateDidChange): New, call through to MediaPlayer.
  • html/HTMLMediaElement.h:
  • page/Page.cpp: (WebCore::Page::privateBrowsingStateChanged): Call document()->privateBrowsingStateDidChange.
  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::setPrivateBrowsingMode): New, call through to media engine.
  • platform/graphics/MediaPlayer.h:
  • platform/graphics/MediaPlayerPrivate.h: (WebCore::MediaPlayerPrivateInterface::setPrivateBrowsingMode): Declare new interface.
12:45 PM Changeset in webkit [80029] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/gtk

2011-03-01 Kamil Blank <k.blank@samsung.com>

Reviewed by Martin Robinson.

[GTK] Fixing headers order in webkit.h.
https://bugs.webkit.org/show_bug.cgi?id=55316

  • webkit/webkit.h: Style fix.
12:42 PM Changeset in webkit [80028] by jorlow@chromium.org
  • 14 edits
    2 adds in trunk

2011-02-18 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
https://bugs.webkit.org/show_bug.cgi?id=54785

  • storage/indexeddb/transaction-abort.html: Added
  • storage/indexeddb/transaction-abort-expected.txt: Added

2011-02-18 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
https://bugs.webkit.org/show_bug.cgi?id=54785

This patch adds in a lot of sanity checks/ASSERTs to make sure we're doing
the right thing and continue to do the right thing. It also modifies EventQueue
so that we can cancel an event. To do this efficiently, the vector is now a
ListHashSet.

Canelling the event is harder/messier, but the most deterministic thing to do.
To the user, the work isn't done until we fire the onsuccess/onerror handler.
So the event (which does fire that) needs to be cancelable.

transaction-abort.html tests this.

  • dom/EventQueue.cpp: (WebCore::EventQueue::enqueueEvent): (WebCore::EventQueue::cancelEvent): (WebCore::EventQueue::pendingEventTimerFired): (WebCore::EventQueue::dispatchEvent):
  • dom/EventQueue.h:
  • dom/ExceptionCode.cpp:
  • storage/IDBCursor.cpp: (WebCore::IDBCursor::update): (WebCore::IDBCursor::deleteFunction):
  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::close):
  • storage/IDBDatabaseException.h:
  • storage/IDBIndex.cpp: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor): (WebCore::IDBIndex::get): (WebCore::IDBIndex::getKey):
  • storage/IDBObjectStore.cpp: (WebCore::IDBObjectStore::get): (WebCore::IDBObjectStore::add): (WebCore::IDBObjectStore::put): (WebCore::IDBObjectStore::deleteFunction): (WebCore::IDBObjectStore::clear): (WebCore::IDBObjectStore::openCursor):
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::IDBRequest): (WebCore::IDBRequest::~IDBRequest): (WebCore::IDBRequest::readyState): (WebCore::IDBRequest::markEarlyDeath): (WebCore::IDBRequest::source): (WebCore::IDBRequest::abort): (WebCore::IDBRequest::onSuccess): (WebCore::IDBRequest::dispatchEvent): (WebCore::IDBRequest::enqueueEvent):
  • storage/IDBRequest.h:
  • storage/IDBTransaction.cpp: (WebCore::IDBTransaction::registerRequest): (WebCore::IDBTransaction::unregisterRequest): (WebCore::IDBTransaction::onAbort):
  • storage/IDBTransaction.h:
12:40 PM Changeset in webkit [80027] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed build fix.

[chromium] Skip test added w/o expectations
https://bugs.webkit.org/show_bug.cgi?id=55496

Added by r80012 without expectations

  • platform/chromium/test_expectations.txt:
12:39 PM Changeset in webkit [80026] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations change. Remove failing expectations for
editing/ tests that pass after r79961.

  • platform/chromium/test_expectations.txt:
12:37 PM Changeset in webkit [80025] by jorlow@chromium.org
  • 8 edits in trunk

2011-02-28 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Only IndexedDB's error event should be cancelable
https://bugs.webkit.org/show_bug.cgi?id=55413

Add checks to existing tests.

  • storage/indexeddb/objectstore-basics.html:
  • storage/indexeddb/transaction-basics.html:

2011-02-28 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Only IndexedDB's error event should be cancelable
https://bugs.webkit.org/show_bug.cgi?id=55413

  • storage/IDBRequest.cpp: (WebCore::createSuccessEvent):
  • storage/IDBTransaction.cpp: (WebCore::IDBTransaction::onAbort): (WebCore::IDBTransaction::onComplete):
12:34 PM Changeset in webkit [80024] by Adam Roben
  • 2 edits in trunk/Tools

Give WebKitLauncherWin's PDB file a name different from WebKit's

WebKitLauncherWin (which builds WebKit.exe) and WebKit (which builds WebKit.dll) were
fighting over the same PDB file, meaning that one of them was going to lose and not have
symbols. WebKitLauncherWin's PDB file is now named WebKitLauncherWin.pdb.

Fixes <http://webkit.org/b/55495> Crashes in WebKit.dll have bad backtraces for some test
runs (due to missing symbols)

Reviewed by David Kilzer.

  • WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Use the project name,

"WebKitLauncherWin", instead of the target name, "WebKit", when naming the PDB file.

12:31 PM Changeset in webkit [80023] by commit-queue@webkit.org
  • 25 edits
    2 copies
    2 adds in trunk

2011-03-01 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Remove CorrectionIndicator markers sooner.
https://bugs.webkit.org/show_bug.cgi?id=54893
<rdar://problem/8997524>

See WebCore/ChangeLog for detail.

  • platform/mac-leopard/Skipped:
  • platform/mac-snowleopard/Skipped:
  • platform/mac-tiger/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/editing/spelling/autocorrection-simple-expected.checksum:
  • platform/mac/editing/spelling/autocorrection-simple-expected.png:
  • platform/mac/editing/spelling/autocorrection-simple-expected.txt:
  • platform/mac/editing/spelling/autocorrection-simple.html:
  • platform/mac/editing/spelling/delete-into-autocorrected-word-expected.checksum:
  • platform/mac/editing/spelling/delete-into-autocorrected-word-expected.png:
  • platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.checksum: Added.
  • platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.png: Added.
  • platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt: Copied from LayoutTests/platform/mac/editing/spelling/autocorrection-simple-expected.txt.
  • platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation.html: Copied from LayoutTests/platform/mac/editing/spelling/autocorrection-simple.html.

2011-03-01 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Remove CorrectionIndicator markers sooner.
https://bugs.webkit.org/show_bug.cgi?id=54893
<rdar://problem/8997524>

Test: platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation.html

This patch changes the autocorrection behavior on Mac OS X. We want to remove CorrectionIndicator
marker after any editing command if the command:

  1. is not a SpellingCorrectionCommand itself.
  2. is not the command that triggers the autocorrection. This is achieved by adding shouldRetainAutocorrectionIndicator() function to EditCommand. This function returns false for all commands derived from EditCommand, except SpellingCorrectionCommand and TypingCommand. This function always returns true for SpellingCorrectionCommand. For TypingCommand, the return value is determined by member variable m_shouldRetainAutocorrectionIndicator, which can be modified by passing option into the TypingCommand's public functions.

To avoid constantly searching marker list, we use variable DocumentMarkerController::m_absentMarkerTypeCache
to cache whether there is any marker of a particular type.

This patch also fixes two minor existing bugs.

  1. We used to show reversion panel for word with CorrectionIndicator marker. This is incorrect because CorrectionIndicator marker can be removed from corrected words. Since all autocorrected words have Replacement marker unless the whole word is deleted, the correct behavior is to show reversion panel for word with Replacement marker, since all autocorrected words have such marker. However, since we don't want to show the reversion panel if an autocorrected word has been edited, we also check to see if the Replacement marker's description is null.

This works as following:
When we apply an autocorrection, we add Replacement marker to corrected word, and store original word
as the marker's description. If the user edited the corrected word afterward, we set description to null.
So when we decide whether to show a reversion panel, we not only check for the existence of Replacement
marker, but also check if description is null.

  1. Fixed an assertion violation in Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited(), which would occur when deleting the first character in an editable area.
  • dom/DocumentMarker.h: Added m_possiblyExistingMarkerTypes to allow quickly checking whether a marker type is

completely in from the document.

  • dom/DocumentMarkerController.cpp: Most of the functions listed here are optimized for early return by checking

the return value of possiblyHasMarkers() at beginning.

(WebCore::DocumentMarkerController::possiblyHasMarkers):
(WebCore::DocumentMarkerController::DocumentMarkerController):
(WebCore::DocumentMarkerController::detach):
(WebCore::DocumentMarkerController::removeMarkers):
(WebCore::DocumentMarkerController::addMarker):
(WebCore::DocumentMarkerController::copyMarkers):
(WebCore::DocumentMarkerController::markerContainingPoint):
(WebCore::DocumentMarkerController::renderedRectsForMarkers):
(WebCore::DocumentMarkerController::removeMarkersFromMarkerMapVectorPair):
(WebCore::DocumentMarkerController::repaintMarkers):
(WebCore::DocumentMarkerController::shiftMarkers):
(WebCore::DocumentMarkerController::setMarkersActive):
(WebCore::DocumentMarkerController::hasMarkers):
(WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):

  • dom/DocumentMarkerController.h:
  • editing/EditCommand.cpp: (WebCore::EditCommand::apply): (WebCore::EditCommand::shouldRetainAutocorrectionIndicator): (WebCore::EditCommand::setShouldRetainAutocorrectionIndicator):
  • editing/EditCommand.h:
  • editing/Editor.cpp: (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::appliedEditing): (WebCore::Editor::insertTextWithoutSendingTextEvent): (WebCore::Editor::insertLineBreak): (WebCore::Editor::insertParagraphSeparator): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited): (WebCore::Editor::applyAutocorrectionBeforeTypingIfAppropriate):
  • editing/Editor.h:
  • editing/EditorCommand.cpp: (WebCore::executeInsertLineBreak): (WebCore::executeInsertParagraph): (WebCore::executeInsertText):
  • editing/SpellingCorrectionCommand.cpp: (WebCore::SpellingCorrectionCommand::shouldRetainAutocorrectionIndicator):
  • editing/SpellingCorrectionCommand.h:
  • editing/TypingCommand.cpp: (WebCore::TypingCommand::TypingCommand): (WebCore::TypingCommand::deleteSelection): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection): (WebCore::TypingCommand::insertText): (WebCore::TypingCommand::insertLineBreak): (WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent): (WebCore::TypingCommand::insertParagraphSeparator):
  • editing/TypingCommand.h: (WebCore::TypingCommand::create): (WebCore::TypingCommand::shouldRetainAutocorrectionIndicator): (WebCore::TypingCommand::setShouldRetainAutocorrectionIndicator):
  • manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html:
12:15 PM Changeset in webkit [80022] by reni@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-03-01 Renata Hodovan <reni@webkit.org>

Reviewed by Andreas Kling.

FEDisplacementMapElement changes doesn't require relayout
https://bugs.webkit.org/show_bug.cgi?id=55454

When the FEDisplacementMapElement receives an update message but the given value remains the same we don't need
to relayout the filter.

No new tests are needed because this modification is covered by the dynamic update tests of FEDisplacementMap.

  • platform/graphics/filters/FEDisplacementMap.cpp: (WebCore::FEDisplacementMap::setXChannelSelector): (WebCore::FEDisplacementMap::setYChannelSelector): (WebCore::FEDisplacementMap::setScale):
  • platform/graphics/filters/FEDisplacementMap.h:
  • svg/SVGFEDisplacementMapElement.cpp: (WebCore::SVGFEDisplacementMapElement::setFilterEffectAttribute): (WebCore::SVGFEDisplacementMapElement::svgAttributeChanged):
  • svg/SVGFEDisplacementMapElement.h:
12:10 PM Changeset in webkit [80021] by ddkilzer@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Spring cleaning!

Rubber-stamped by Mark Rowe.

(Copy Into Framework): Remove "set -x" and its comment.

12:03 PM Changeset in webkit [80020] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Tony Gentilcore <tonyg@chromium.org>

Unreviewed build fix.

[chromium] pass fast/table/fixed-with-auto-with-colspan-vertical.html
https://bugs.webkit.org/show_bug.cgi?id=55491

Fixed by r79760.

  • platform/chromium/test_expectations.txt:
12:02 PM Changeset in webkit [80019] by Adam Roben
  • 2 edits in trunk/Tools

Count web process crashes toward the --exit-after-n-crashes-or-timeouts limit

Fixes <http://webkit.org/b/55492> Web process crashes aren't counted toward the
--exit-after-n-crashes-or-timeouts limit

Reviewed by David Kilzer.

  • Scripts/old-run-webkit-tests:

(stopRunningTestsEarlyIfNeeded): Include web process crashes in the computation, and print
the number of tests that caused the web process to crash when exiting early.

11:54 AM Changeset in webkit [80018] by msaboff@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2011-03-01 Michael Saboff <msaboff@apple.com>

Reviewed by Darin Adler.

TinyMCE not working in nightlies
https://bugs.webkit.org/show_bug.cgi?id=54978

Disabling setupBeginChars() to temporarily work arround the test
failure. Filed https://bugs.webkit.org/show_bug.cgi?id=55479
to track fixing the issue.

  • yarr/YarrPattern.cpp: (JSC::Yarr::YarrPattern::compile):
11:53 AM Changeset in webkit [80017] by commit-queue@webkit.org
  • 4 edits
    2 adds
    2 deletes in trunk/LayoutTests

2011-03-01 Steve Lacey <sjl@chromium.org>

Reviewed by Eric Carlson.

Create layout test for progress event and remove test for suspend event.

LayoutTests/http/tests/media/video-play-suspend is now hanging on chromium
https://bugs.webkit.org/show_bug.cgi?id=55198

  • http/tests/media/video-play-progress-expected.txt: Added.
  • http/tests/media/video-play-progress.html: Added.
  • http/tests/media/video-play-suspend-expected.txt: Removed.
  • http/tests/media/video-play-suspend.html: Removed.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/win/Skipped:
11:49 AM Changeset in webkit [80016] by Martin Robinson
  • 1 edit
    6 adds in trunk/LayoutTests

2011-03-01 Martin Robinson <mrobinson@igalia.com>

REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
https://bugs.webkit.org/show_bug.cgi?id=55323

Add new GTK+ test results.

  • platform/gtk/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added.
  • platform/gtk/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added.
  • platform/gtk/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added.
  • platform/gtk/fast/spatial-navigation/snav-multiple-select-focusring-expected.checksum: Added.
  • platform/gtk/fast/spatial-navigation/snav-multiple-select-focusring-expected.png: Added.
11:48 AM Changeset in webkit [80015] by mitz@apple.com
  • 18 edits in trunk

<rdar://problem/8902714> Expand ruby text when it is shorter than the ruby base
https://bugs.webkit.org/show_bug.cgi?id=55487

Reviewed by Darin Adler.

Source/WebCore:

  • css/html.css:

(ruby > rt): Changed the default text-align value to -webkit-auto to signal
the default expansion behavior.

  • rendering/RenderBlock.h:

(WebCore::RenderRubyText::textAlignmentForLine): Made protected.
(WebCore::RenderBlock::adjustInlineDirectionLineBounds): Made protected.

  • rendering/RenderRubyText.cpp:

(WebCore::RenderRubyText::textAlignmentForLine): Added. If text-align is
-webkit-auto, returns JUSTIFY to allow expansion.
(WebCore::RenderRubyText::adjustInlineDirectionLineBounds): Added. If
text-align is -webkit-auto, insets the line such that the inset on each side
is the half the inter-ideograph expansion, or one ruby character wide,
whichever is smaller.

  • rendering/RenderRubyText.h:

LayoutTests:

  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum:
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png:
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
  • platform/mac/fast/blockflow/japanese-ruby-horizontal-bt-expected.checksum:
  • platform/mac/fast/blockflow/japanese-ruby-horizontal-bt-expected.png:
  • platform/mac/fast/blockflow/japanese-ruby-horizontal-bt-expected.txt:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-lr-expected.txt:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png:
  • platform/mac/fast/blockflow/japanese-ruby-vertical-rl-expected.txt:
11:41 AM Changeset in webkit [80014] by weinig@apple.com
  • 13 edits
    1 copy
    1 move
    1 add in trunk/Source

WebKit2 needs to be made localizable
https://bugs.webkit.org/show_bug.cgi?id=55483

Reviewed by Timothy Hatcher.

Source/WebCore:

  • English.lproj/Localizable.strings: Copied from Source/WebKit/English.lproj/Localizable.strings.
  • WebCore.xcodeproj/project.pbxproj:

Move Localizable.strings to WebCore.

  • WebCore.exp.in:

Add export for localizedString function.

  • platform/LocalizedStrings.h:
  • platform/mac/LocalizedStringsMac.mm: Added.

Add function to get localized version of a string from the WebCore bundle.

Source/WebKit:

  • StringsNotToBeLocalized.txt: Removed.
  • WebKit.xcodeproj/project.pbxproj:

Copied Localizable.strings to WebCore, it can't be removed entirely
yet since Windows is still using it.

Source/WebKit/mac:

  • WebCoreSupport/WebPlatformStrategies.mm:

Use WebCore's localizedString function instead of WebLocalizableStrings
since WebCore is now responsible for localization.

Source/WebKit2:

  • PluginProcess/mac/PluginProcessMainMac.mm:
  • WebProcess/mac/WebProcessMainMac.mm:

Set the default localization from the passed in parameter.

  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:

Add the preferred localization as a parameter when launching processes
so that they can set their localization to match the launching app.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:

Use WebCore's localizedString function on the mac, to actually localize
these strings.

(WebKit::WebPlatformStrategies::imageTitle):
Switch to using replace, instead of concatenation, to give localizers a chance
to rearrange the wording.

11:34 AM TriagingTestFailures edited by Adam Roben
Added an example URL using numbuilds=N (diff)
11:26 AM Changeset in webkit [80013] by sergio@webkit.org
  • 1 edit
    44 adds in trunk/LayoutTests

2011-03-01 Sergio Villar Senin <svillar@igalia.com>

Unreviewed.

Added new GTK test expectations.

  • platform/gtk/fast/block/positioning/auto/vertical-lr/: 7 tests.
  • platform/gtk/fast/block/positioning/auto/vertical-rl/: 7 tests.
11:03 AM Changeset in webkit [80012] by Joseph Pecoraro
  • 10 edits
    1 add in trunk

Viewport parsing no longer accepts "1.0;" value as valid.

Reviewed by Kenneth Rohde Christiansen.

LayoutTests:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

Viewport parsing no longer accepts "1.0;" value as valid.
https://bugs.webkit.org/show_bug.cgi?id=53705

Add a new test to check viewport argument parsing of
value "123x456", which although not completely a number
should return the numeric prefix "123" as the value.
Note that this affects "semicolons as separators" even
though semicolons are not valid separators.

  • fast/viewport/viewport-129.html: Added.

Source/JavaScriptCore:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

Viewport parsing no longer accepts "1.0;" value as valid.
https://bugs.webkit.org/show_bug.cgi?id=53705

Include a didReadNumber parameter to String -> float / double
conversion functions. This way, if the "ok" boolean out
parameter is false, you can check to see if there in fact
was a valid number parsed with garbage at the end. Examples
of that would be parsing "123x456" would have ok = false,
but didReadNumber = true.

  • JavaScriptCore.exp:
  • wtf/text/StringImpl.cpp: (WTF::StringImpl::toDouble): (WTF::StringImpl::toFloat):
  • wtf/text/StringImpl.h:
  • wtf/text/WTFString.cpp: (WTF::String::toDouble): (WTF::String::toFloat): (WTF::charactersToDouble): (WTF::charactersToFloat):
  • wtf/text/WTFString.h:

Source/WebCore:

2011-02-23 Joseph Pecoraro <Joseph Pecoraro>

Viewport parsing no longer accepts "1.0;" value as valid.
https://bugs.webkit.org/show_bug.cgi?id=53705

When parsing numeric values, the "css-viewport" spec says
to use the number prefix, and the non numeric part of the
string can be ignored. This matches our behavior before
r67376. The change was that checking the error out condition
of String::toFloat doesn't necessarily mean that there
was a non-numeric prefix. This patch checks if there was
or wasn't a non-numeric prefix.

There is a console warning in any case where a numeric
value is not parsed cleanly. There is an error warning
when it is not a number at all, and a tip warning when
it has been truncated.

Error messages are slightly improved to provide more
context, both the key and value, when an error happens.

Test: fast/viewport/viewport-129.html

  • dom/ViewportArguments.cpp: (WebCore::numericPrefix): (WebCore::findSizeValue): (WebCore::findScaleValue): (WebCore::findUserScalableValue): (WebCore::findTargetDensityDPIValue): (WebCore::viewportErrorMessageTemplate): (WebCore::viewportErrorMessageLevel): (WebCore::reportViewportWarning):
  • dom/ViewportArguments.h:
10:45 AM Changeset in webkit [80011] by weinig@apple.com
  • 4 edits in trunk/WebKitLibraries

WebKit2 needs to be made localizable
<rdar://problem/8728860>

Reviewed by Anders Carlsson.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
10:26 AM Changeset in webkit [80010] by sergio@webkit.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Sergio Villar Senin <svillar@igalia.com>

Unreviewed.

Removed accessibility/canvas-fallback-content.html from Skipped
list as it was removed in 79920

  • platform/gtk/Skipped:
10:13 AM Changeset in webkit [80009] by Adam Roben
  • 11 edits in trunk/Tools

Save a crash log when the web process crashes

On Windows, WebKitTestRunner now detects when the web process is crashing and waits to exit
until it has finished crashing, which guarantees that the crash log will have had time to be
saved, too. On Mac, we always wait until ReportCrash has exited before capturing the crash
log, so all we have to do is choose the right crash log out of the CrashReporter directory.

Fixes <http://webkit.org/b/44121> <rdar://problem/8320759> When the web process crashes and
a crash log is being saved, WebKitTestRunner thinks the web process has become unresponsive

Reviewed by Sam Weinig.

  • Scripts/old-run-webkit-tests:

(testCrashedOrTimedOut): Don't kill WebKitTestRunner when the web process crashes. It will
kill itself. On Windows, this will cause us to wait until the crash log has been saved. On
Mac, it should have no effect. Capture saved crash logs for web process crashes, too.
(captureSavedCrashLog): Added $webProcessCrashed argument. On Mac, look for
WebProces_*.crash files when the web process crashes.

  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:

(WTR::InjectedBundle::initialize): Added an initializationUserData argument. Updated for
initializePlatformDefaults -> platformInitialize rename. Pass the initializationUserData
along to platformInitialize.

  • WebKitTestRunner/InjectedBundle/InjectedBundle.h: See above.
  • WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:

(WKBundleInitialize): Pass along the initializationUserData to the InjectedBundle.

  • WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:

(WTR::InjectedBundle::platformInitialize):

  • WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:

(WTR::InjectedBundle::platformInitialize):
Updated function signature.

  • WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp:

(WTR::exceptionFilter): Added. Tells the UI process we're crashing by signaling the
webProcessCrashingEvent, then lets the crash continue as normal.

(WTR::InjectedBundle::platformInitialize): Hook up exceptionFilter. Retrieve the name of the
event we should use to tell the UI process we're crashing from the initializationUserData,
and get a handle to that event.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::TestController): Initialize new members.
(WTR::TestController::processDidCrash): Removed unnecessary WKPageRef argument. Changed to
only print the "#CRASHED - WebProcess" message once, since this can be called more than once
when a crash log is being saved on Windows. Exit right away if specified. (This is the
default.)

  • WebKitTestRunner/TestController.h: Added new members.
  • WebKitTestRunner/win/TestControllerWin.cpp:

(WTR::TestController::platformInitialize): Set up the event the web process will use to tell
us it's crashing.
(WTR::TestController::platformRunUntil): Pass MWMO_INPUTAVAILABLE to
::MsgWaitForMultipleObjectsEx so we'll process messages that have already been seen by
::PeekMessage. (This is unrelated to the bug fix.) Notice when the webProcessCrashingEvent
has been signaled. When this happens, print the "#CRASHED - WebProcess" message right away
so the test harness will know the web process has crashed and not try to kill us, then wait
for the web process to finish crashing so a crash log will have time to be saved.
(WTR::toWK): Simple hepler function.
(WTR::TestController::platformInitializeContext): Pass along the name of the event the web
process should use to tell us it is crashing in the context's initialization user data.

10:00 AM Changeset in webkit [80008] by Dimitri Glazkov
  • 2 edits in trunk/Tools

2011-03-01 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Tony Gentilcore.

Move the checks to exclude Python/Perl tests for Chromium Win build to the right place.
https://bugs.webkit.org/show_bug.cgi?id=55476

Chromium Win uses BuildAndTestFactory, not TestFactory.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: Moved to the right place.
9:47 AM Changeset in webkit [80007] by kbalazs@webkit.org
  • 8 edits in trunk/Source/WebKit2

2011-03-01 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Anders Carlsson.

[Qt][WK2] Plugin initialization
https://bugs.webkit.org/show_bug.cgi?id=48127

Apply the quirks that are necessary for the flash plugin
to not crash on X11.

  • Platform/qt/ModuleQt.cpp: (WebKit::Module::load): Use the ResolveAllSymbols hint as we do in WebCore.
  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: (WebKit::NetscapePluginModule::tryLoad): Call applyX11QuirksBeforeLoad if PLUGIN_ARCHITECTURE is X11.
  • Shared/Plugins/Netscape/NetscapePluginModule.h:
  • Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: (WebKit::initializeGTK): The same hack that we do in WebCore. Call gtk_init because flash don't do it for itself. (WebKit::NetscapePluginModule::applyX11QuirksBeforeLoad): Added for X11. Do the hacks that we need to do before calling NP_Initialize on the flash plugin to save it form crashing.
  • Shared/Plugins/PluginQuirks.h: Use PLUGIN_ARCHITECTURE macros. Added RequiresGTKToolKit quirk for X11.
  • WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_GetValue): Handle the RequiresGTKToolKit quirk on X11.
  • WebProcess/Plugins/Netscape/NetscapePlugin.h: (WebKit::NetscapePlugin::quirks): Added getter for the PluginModule's quirks to be available in NPN_GetValue.
9:41 AM Changeset in webkit [80006] by ggaren@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

2011-02-28 Geoffrey Garen <ggaren@apple.com>

Reviewed by Gavin Barraclough.

Past-the-end writes in VM exceptions (caused crashes in r79627)
https://bugs.webkit.org/show_bug.cgi?id=55448


Some exceptions had the wrong structures, so they misoverestimated their
inline storage sizes.

  • runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData): Use the right structure.
  • runtime/JSObject.h: (JSC::JSNonFinalObject::JSNonFinalObject): (JSC::JSFinalObject::JSFinalObject): ASSERT that our structure capacity is correct to verify this doesn't happen again.
9:28 AM Changeset in webkit [80005] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: InjectedScript.setPropertyValue doesn't work.
https://bugs.webkit.org/show_bug.cgi?id=55475

  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::setPropertyValue):
9:23 AM Changeset in webkit [80004] by steveblock@google.com
  • 4 edits in trunk/Source/WebCore

2011-03-01 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Remove unused JavaString::uchars()
https://bugs.webkit.org/show_bug.cgi?id=55465

No new tests, removing dead code only.

  • bridge/jni/JNIBridge.h:
  • bridge/jni/jsc/JavaStringJSC.h: (JSC::Bindings::JavaStringImpl::utf8):
  • bridge/jni/v8/JavaStringV8.h:
8:51 AM Changeset in webkit [80003] by apavlov@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-03-01 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Extremely slow DOM search in GMail
https://bugs.webkit.org/show_bug.cgi?id=55456

The solution comprises three major parts:

  • avoid multiple invocations of highlightSearchResults(), one per each nodeIds chunk.
  • cache highlighted node's innerHTML so that no extra _nodeTitleInfo() calls will be needed.
  • replace hand-written Text nodes iteration with a snapshot-based ".text()" XPathResult.
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.searchCanceled): (WebInspector.ElementsPanel.prototype.addNodesToSearchResult):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype.highlightSearchResults): (WebInspector.ElementsTreeElement.prototype.updateTitle): ():
  • inspector/front-end/utilities.js: ():
7:42 AM Changeset in webkit [80002] by Adam Roben
  • 2 edits in trunk/Source/WebCore

Fix multiple-definition linker warnings introduced by r79978 on Windows

  • rendering/RenderingAllInOne.cpp: Removed TextControlInnerElements.cpp, as it is now being

compiled separately.

7:29 AM Changeset in webkit [80001] by Adam Roben
  • 9 edits
    1 copy
    1 add in trunk

Convert seconds to milliseconds before calling ::SetTimer

Fixes <http://webkit.org/b/55417> <rdar://problem/9065287> RunLoop::Timer fires 1000x too
early on Windows

Reviewed by Anders Carlsson.

Source/WebKit2:

  • Platform/win/RunLoopWin.cpp:

(RunLoop::TimerBase::start): Convert the timeout interval to milliseconds, since that's what
::SetTimer expects.

Tools:

Test that the WebKit2 responsiveness timer doesn't fire too early

  • TestWebKitAPI/PlatformUtilities.h: Added sleep().
  • TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: Added.

(TestWebKitAPI::didReceiveMessageFromInjectedBundle):
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::processDidBecomeUnresponsive):
(TestWebKitAPI::setInjectedBundleClient):
(TestWebKitAPI::setPageLoaderClient):
Simple helper functions.

(TestWebKitAPI::TEST): Load an HTML file to make sure the web process is initialized. Then
tell the web process to pause and press the spacebar key. The spacebar keypress should cause
the responsiveness timer to start, but the web process should unpause before it has a chance
to fire. Run until the web process has unpaused, and assert that the timer didn't fire.

  • TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp: Added.

(TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::ResponsivenessTimerDoesntFireEarlyTest):
Call up to the base class.
(TestWebKitAPI::ResponsivenessTimerDoesntFireEarlyTest::didReceiveMessage): When asked to
pause, sleep for 0.5 seconds, then send back a message saying we paused.

  • TestWebKitAPI/mac/PlatformUtilitiesMac.mm:

(TestWebKitAPI::Util::sleep): Added. Calls through to usleep.

  • TestWebKitAPI/win/PlatformUtilitiesWin.cpp:

(TestWebKitAPI::Util::sleep): Added. Calls through to ::Sleep.

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/win/TestWebKitAPI.vcproj:
  • TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:

Added new files.

7:14 AM Changeset in webkit [80000] by antonm@chromium.org
  • 1 edit
    4 adds in trunk/LayoutTests/platform

Unreviewed. Rebaselining Chromium expectations.

  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png
  • platform/chromium/test_expectations.txt
7:13 AM Changeset in webkit [79999] by abecsi@webkit.org
  • 17 edits in trunk

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

Mac related changes suggested by Prasanth Ullattil <prasanth.ullattil@nokia.com>

  • Source/WebKit.pri: Common options should be here. Also move Mac options to this file to fix the Mac build.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

  • api/QtScript.pro: Deduplicate options.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

No new tests needed.

  • WebCore.pri: Move common options to WebKit.pri.
  • WebCore.pro: Ditto.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

  • QtWebKit.pro: Move common options to WebKit.pri.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

  • WebKit2.pro: Deduplicate options.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt] Clean up the project files and move common options to WebKit.pri.

  • WebKitTestRunner/qt/WebKitTestRunner.pro: Deduplicate.
6:31 AM Changeset in webkit [79998] by steveblock@google.com
  • 11 edits in trunk/Source/WebCore

2011-03-01 Steve Block <steveblock@google.com>

Reviewed by Pavel Feldman.

JNI code in Java bridge is not correctly guarded
https://bugs.webkit.org/show_bug.cgi?id=55459

No new tests, build fix only.

  • bridge/jni/v8/JNIBridgeV8.cpp:
  • bridge/jni/v8/JNIBridgeV8.h:
  • bridge/jni/v8/JNIUtilityPrivate.cpp:
  • bridge/jni/v8/JNIUtilityPrivate.h:
  • bridge/jni/v8/JavaClassV8.cpp:
  • bridge/jni/v8/JavaClassV8.h:
  • bridge/jni/v8/JavaInstanceV8.cpp:
  • bridge/jni/v8/JavaInstanceV8.h:
  • bridge/jni/v8/JavaNPObjectV8.cpp:
  • bridge/jni/v8/JavaNPObjectV8.h:
6:13 AM Changeset in webkit [79997] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

2011-03-01 Juha Savolainen <juha.savolainen@weego.fi>

Reviewed by Andreas Kling.

[Qt] WebKit2 needs to support font size changing and getting default font size
https://bugs.webkit.org/show_bug.cgi?id=53671

Added new enum for font size type and added methods to set and get default font sizes.

  • UIProcess/API/qt/qwkpreferences.cpp: (QWKPreferences::setFontSize): Added. (QWKPreferences::fontSize): Added.
  • UIProcess/API/qt/qwkpreferences.h:
6:01 AM Changeset in webkit [79996] by commit-queue@webkit.org
  • 3 edits
    3 adds in trunk/Source/WebKit/qt

2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>

Reviewed by Simon Hausmann.

[Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
https://bugs.webkit.org/show_bug.cgi?id=55319

The test case required internet connection to be able to connect to
google.com. Added new html file which refers to local html file.

  • tests/qwebpage/resources/content.html: Added.
  • tests/qwebpage/resources/frame_c.html: Added.
  • tests/qwebpage/resources/framedindex.html: Added.
  • tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::backActionUpdate):
  • tests/qwebpage/tst_qwebpage.qrc:
5:55 AM Changeset in webkit [79995] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: remove manual watchdog from the inspector tests.
https://bugs.webkit.org/show_bug.cgi?id=55447

  • http/tests/inspector/inspector-test.js:
5:53 AM Changeset in webkit [79994] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip another timing-out test on Windows XP

<http://webkit.org/b/51596> tracks the failure.

  • platform/win-xp/Skipped: Added http/tests/xmlhttprequest/basic-auth-nouser.html.
5:52 AM Changeset in webkit [79993] by Adam Roben
  • 2 edits in trunk/Tools

Skip another multiprocessing test on Windows

It is sometimes failing (and may be leaving child Python processes around).
<http://webkit.org/b/55087> tracks the failure.

  • Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:

(FuncitonTests.test_getprocesses): Skip this test on Windows.

5:52 AM Changeset in webkit [79992] by Adam Roben
  • 2 edits
    1 delete in trunk/LayoutTests

Skip fast/events/pageshow-pagehide-on-back-cached.html on Windows

It is flaky. The failure is tracked by <http://webkit.org/b/55329>.

  • platform/win/Skipped:
  • platform/win/fast/events/pageshow-pagehide-on-back-cached-expected.txt: Removed.
5:51 AM Changeset in webkit [79991] by Adam Roben
  • 1 edit
    2 adds in trunk/LayoutTests

Check in Windows pixel results to match text results added in r79979

Fixes <http://webkit.org/b/55451> [Win] select-listbox-multiple-no-focusring.html needs
rebaseline

  • platform/win/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added.
  • platform/win/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added.
5:14 AM Changeset in webkit [79990] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-01 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip one crashing tests on GTK. See also
https://bugs.webkit.org/show_bug.cgi?id=53146

  • platform/gtk/Skipped:
4:09 AM Changeset in webkit [79989] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2011-03-01 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip 2 crashing tests on GTK. See also
https://bugs.webkit.org/show_bug.cgi?id=53146

  • platform/gtk/Skipped:
3:51 AM Changeset in webkit [79988] by steveblock@google.com
  • 44 edits in trunk/Source

2011-03-01 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Bridge.h should not include BridgeJSC.h
https://bugs.webkit.org/show_bug.cgi?id=55212

Instead, BridgeJSC.h should include Bridge.h and code should include
BridgeJSC.h as appropriate.

This prevents ports that use V8 from having to include JSC-specific
files, even if the contents of those files are guarded.

No new tests, cleanup only.

  • bindings/js/JSPluginElementFunctions.cpp:
  • bindings/js/ScriptControllerBrew.cpp:
  • bindings/js/ScriptControllerGtk.cpp:
  • bindings/js/ScriptControllerHaiku.cpp:
  • bindings/js/ScriptControllerQt.cpp:
  • bindings/js/ScriptControllerMac.mm:
  • bindings/js/ScriptControllerWin.cpp:
  • bindings/js/ScriptControllerWx.cpp:
  • bindings/js/ScriptInstance.h:
  • bindings/objc/WebScriptObject.mm:
  • bridge/Bridge.h:
  • bridge/c/c_class.h:
  • bridge/c/c_instance.h:
  • bridge/c/c_runtime.h:
  • bridge/jni/jsc/JNIBridgeJSC.h:
  • bridge/jni/jsc/JavaInstanceJSC.h:
  • bridge/jsc/BridgeJSC.h:
  • bridge/objc/objc_runtime.h:
  • bridge/qt/qt_class.h:
  • bridge/qt/qt_instance.h:
  • bridge/qt/qt_pixmapruntime.h:
  • bridge/qt/qt_runtime.h:
  • bridge/runtime_array.h:
  • bridge/runtime_method.h:
  • bridge/runtime_object.h:
  • bridge/runtime_root.cpp:
  • bridge/testbindings.cpp:
  • bridge/testbindings.mm:
  • bridge/testqtbindings.cpp:
  • page/win/FrameWin.cpp:
  • platform/graphics/wince/MediaPlayerProxy.cpp:
  • plugins/PluginView.cpp:
  • plugins/PluginViewNone.cpp:
  • plugins/gtk/PluginViewGtk.cpp:
  • plugins/mac/PluginViewMac.mm:
  • plugins/qt/PluginViewQt.cpp:
  • plugins/symbian/PluginViewSymbian.cpp:
  • plugins/win/PluginViewWin.cpp:

2011-02-25 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Bridge.h should not include BridgeJSC.h
https://bugs.webkit.org/show_bug.cgi?id=55212

Include BridgeJSC.h directly instead.

  • Plugins/Hosted/ProxyInstance.h:
  • Plugins/Hosted/WebHostedNetscapePluginView.mm:

2011-02-25 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Bridge.h should not include BridgeJSC.h
https://bugs.webkit.org/show_bug.cgi?id=55212

Include BridgeJSC.h directly instead.

  • Api/qwebframe.cpp:
3:35 AM Changeset in webkit [79987] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

Unreviewed. Changing Chromium expectations for recently added tests.

  • chromium/test_expectations.txt
2:53 AM Changeset in webkit [79986] by antonm@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/test_expectations.txt

Unreviewed. Temporary disabling tests which may affect others.

  • chromium/test_expectations.txt
2:52 AM Changeset in webkit [79985] by Nikolas Zimmermann
  • 25 edits
    16 adds in trunk

2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Antti Koivisto.

SVG 1.1 2nd Edition color-prop-05-t.svg exposes bug in 'currentColor' handling
https://bugs.webkit.org/show_bug.cgi?id=54800

Add new layout test from the SVG 1.1 2nd Edition test suite, covering currentColor handling.
Add tests ensuring that mutating a previously shared SVGPaint object makes it unique, so that
mutations take affect, but don't affect other renderers which shared the SVGPaint object before.

  • platform/mac/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.checksum: Added.
  • platform/mac/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png: Added.
  • platform/mac/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-attribute-expected.checksum: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-attribute-expected.png: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-attribute-expected.txt: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-inline-style-expected.checksum: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-inline-style-expected.png: Added.
  • platform/mac/svg/custom/SVGPaint-mutate-inline-style-expected.txt: Added.
  • svg/W3C-SVG-1.1-SE/color-prop-05-t.svg: Added.
  • svg/animations/animate-color-fill-currentColor-expected.txt: Added.
  • svg/animations/animate-color-fill-currentColor.html: Added.
  • svg/animations/script-tests/animate-color-fill-currentColor.js: Added.
  • svg/custom/SVGPaint-mutate-attribute.svg: Added.
  • svg/custom/SVGPaint-mutate-inline-style.svg: Added.
  • svg/dom/SVGColor-expected.txt: SVGColor mutations now reflected in style/computed style.
  • svg/dom/SVGPaint-expected.txt: Same for SVGPaint.

2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Antti Koivisto.

SVG 1.1 2nd Edition color-prop-05-t.svg exposes bug in 'currentColor' handling
https://bugs.webkit.org/show_bug.cgi?id=54800

Wrong handling of currentColor on inherit
https://bugs.webkit.org/show_bug.cgi?id=38102

Stop storing RefPtr<SVGPaint> objects in the SVGRenderStyle for fill/stroke. These are the last
two objects that held references to CSSValues, they're all gone now, aligning better with RenderStyle.
It's also dangerous, as a SVGPaint object can be shared by multiple SVGRenderStyles (MappedAttribute will
once create a CSSStyleDeclaration for fill="red" and reuse it where possible), and it was easy to
accidently mutate the object, affecting multiple styles. Instead store a Color, an URI and a paint
type in SVGRenderStyle, enough to create a SVGPaint object, if needed (eg for computed styles).

<g color="green"><rect fill="currentColor"/> already worked fine in trunk, but
<g fill="currentColor" color="green"><rect color="red"/> procuded a red rectangle.

In order to fix to bug we have to resolve all currentColor values for SVGPaint objects, in SVGCSSStyleSelector,
as it's already done for SVGColor objects (stop-color, flood-color, etc.) instead of in RenderSVGResource::fill/strokePaintingResource,
when trying to use the paint server. The correct "color" value that should be used from the RenderStyle, is directly
available in CSSStyleSelector: in applyProperty m_style->color() gives the desired value. In CSSStyleSelector it's handled
exactly this way for non-SVG currentColor properties. Also fix computed styles, which did not resolve currentColor for SVGPaint/SVGColor.

A previous patch implemented the SVGPaint/SVGColor API. SVG demands these CSSValues to be mutable. Introduce
CSSMutableValue, which extends CSSValue by a Node pointer, and let SVGPaint/SVGColor inherit from it.
Mutating a SVGPaint/SVGColor object now takes immediate effect, which is reflected in the inline style / computed style.
(Note that getPresentationAttribute() already takes care of removing the CSSValue from the mapped attribute cache, so that it's no longer shared.)

Add several new tests covering the patch.

Tests: svg/W3C-SVG-1.1-SE/color-prop-05-t.svg

svg/animations/animate-color-fill-currentColor.html
svg/custom/SVGPaint-mutate-attribute.svg
svg/custom/SVGPaint-mutate-inline-style.svg

  • GNUMakefile.am: Add CSSMutableValue.h
  • WebCore.gypi: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • css/CSSMutableStyleDeclaration.cpp: Reset the Node pointer in all CSSMutableValues belonging to this style declaration. (WebCore::CSSMutableStyleDeclaration::~CSSMutableStyleDeclaration):
  • css/CSSMutableStyleDeclaration.h: Add destructor.
  • css/CSSMutableValue.h: Added. (WebCore::CSSMutableValue::CSSMutableValue): (WebCore::CSSMutableValue::~CSSMutableValue): (WebCore::CSSMutableValue::isMutableValue): (WebCore::CSSMutableValue::node): (WebCore::CSSMutableValue::setNode): (WebCore::CSSMutableValue::setNeedsStyleRecalc):
  • css/CSSStyleDeclaration.cpp: (WebCore::CSSStyleDeclaration::getPropertyCSSValue): Set the Node object of a CSSMutableValue to the Node, this style declaration belongs to.
  • css/CSSValue.h: (WebCore::CSSValue::isMutableValue): Return false, default.
  • css/SVGCSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::adjustSVGPaintForCurrentColor): Add helper function, resolving currentColor values for SVGPaint objects. (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): Use currentColorOrValidColor/adjustSVGPaintForCurrentColor to resolve SVGColor/SVGPaint values.
  • css/SVGCSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applySVGProperty): Store fill/stroke uri, color, paint type seperated in SVGRenderStyle, don't store the full SVGPaint object anymore.
  • rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff): Adapt to SVGPaint changes.
  • rendering/style/SVGRenderStyle.h: Ditto. (WebCore::SVGRenderStyle::initialFillOpacity): (WebCore::SVGRenderStyle::initialFillPaintType): (WebCore::SVGRenderStyle::initialFillPaintColor): (WebCore::SVGRenderStyle::initialFillPaintUri): (WebCore::SVGRenderStyle::initialStrokeOpacity): (WebCore::SVGRenderStyle::initialStrokePaintType): (WebCore::SVGRenderStyle::initialStrokePaintColor): (WebCore::SVGRenderStyle::initialStrokePaintUri): (WebCore::SVGRenderStyle::initialStrokeMiterLimit): (WebCore::SVGRenderStyle::initialStopOpacity): (WebCore::SVGRenderStyle::initialFloodOpacity): (WebCore::SVGRenderStyle::setFillPaint): (WebCore::SVGRenderStyle::setStrokePaint): (WebCore::SVGRenderStyle::fillPaintType): (WebCore::SVGRenderStyle::fillPaintColor): (WebCore::SVGRenderStyle::fillPaintUri): (WebCore::SVGRenderStyle::strokePaintType): (WebCore::SVGRenderStyle::strokePaintColor): (WebCore::SVGRenderStyle::strokePaintUri): (WebCore::SVGRenderStyle::hasStroke): (WebCore::SVGRenderStyle::hasFill):
  • rendering/style/SVGRenderStyleDefs.cpp: Ditto. (WebCore::StyleFillData::StyleFillData): (WebCore::StyleFillData::operator==): (WebCore::StyleStrokeData::StyleStrokeData): (WebCore::StyleStrokeData::operator==):
  • rendering/style/SVGRenderStyleDefs.h: Ditto.
  • rendering/svg/RenderSVGResource.cpp: Ditto. (WebCore::requestPaintingResource):
  • rendering/svg/RenderSVGResourceClipper.cpp: Ditto. (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage):
  • rendering/svg/SVGResources.cpp: Ditto. (WebCore::paintingResourceFromSVGPaint): (WebCore::SVGResources::buildCachedResources):
  • svg/SVGColor.cpp: Call setNeedsStyleRecalc() after mutating the object. (WebCore::SVGColor::setRGBColor): (WebCore::SVGColor::setRGBColorICCColor): (WebCore::SVGColor::setColor):
  • svg/SVGColor.h:
  • svg/SVGPaint.cpp: Ditto. (WebCore::SVGPaint::setUri): (WebCore::SVGPaint::setPaint):
  • svg/SVGPaint.h:
2:21 AM Changeset in webkit [79984] by podivilov@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-03-01 Andrey Adaikin <aandrey@google.com>

Reviewed by Pavel Feldman.

Web Inspector: [Text editor] Handle decorated lines in the editor
https://bugs.webkit.org/show_bug.cgi?id=55373

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._startEditing): (WebInspector.SourceFrame.prototype._endEditing): (WebInspector.SourceFrame.prototype._createTextViewer):
  • inspector/front-end/TextViewer.js: (WebInspector.TextEditorGutterPanel.prototype.textChanged): (WebInspector.TextEditorGutterChunk.prototype.addDecoration): (WebInspector.TextEditorGutterChunk.prototype.removeDecoration): (WebInspector.TextEditorMainPanel.prototype.set readOnly): (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates): (WebInspector.TextEditorMainPanel.prototype._handleDOMSubtreeModified): (WebInspector.TextEditorMainPanel.prototype._markDirtyLines): (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates): (WebInspector.TextEditorMainPanel.prototype._removeDecorationsInRange): (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges): (WebInspector.TextEditorMainPanel.prototype._collectLinesFromDiv): (WebInspector.TextEditorMainChunk.prototype.addDecoration): (WebInspector.TextEditorMainChunk.prototype.removeDecoration): (WebInspector.TextEditorMainChunk.prototype.removeAllDecorations): (WebInspector.TextEditorMainChunk.prototype.get decorated):
1:31 AM Changeset in webkit [79983] by Philippe Normand
  • 2 edits in trunk/Source/WebCore

2011-03-01 Philippe Normand <pnormand@igalia.com>

Unreviewed GTK build fix after r79978

  • GNUmakefile.am:
1:29 AM Changeset in webkit [79982] by abecsi@webkit.org
  • 4 edits in trunk

2011-03-01 Andras Becsi <abecsi@webkit.org>

Unreviewed build fix.

[Qt] Fix minimal build.

  • Source/WebKit.pri: Move the XP_UNIX define back to WebCore.pri.

2011-03-01 Andras Becsi <abecsi@webkit.org>

Unreviewed build fix.

[Qt] Fix minimal build.

No new tests needed.

  • WebCore.pri: Is included in WebKit2.pro, so XP_UNIX can remain here.
12:59 AM Changeset in webkit [79981] by yurys@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-03-01 anthony taranto <anthony.taranto@gmail.com>

Return undefined value from ScriptController::evaluate(), allowing the
caller to distinguish between an error and an undefined return value.
https://bugs.webkit.org/show_bug.cgi?id=51528

  • bindings/v8/ScriptController.cpp:
12:58 AM Changeset in webkit [79980] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-03-01 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: fixing flaky snow XMLViewer test on snow leopard.

  • http/tests/xmlviewer/dumpAsText/frames.html:
12:56 AM Changeset in webkit [79979] by rniwa@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Windows rebaseline. The bug 55451 tracks this rebaseline.

  • platform/win/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added.
12:48 AM Changeset in webkit [79978] by rolandsteiner@chromium.org
  • 9 edits
    2 moves in trunk/Source/WebCore

2011-03-01 Roland Steiner <rolandsteiner@chromium.org>

Reviewed by Kent Tamura.

Bug 54853 - Move TextControlInnerElements from WebCore/rendering to WebCore/html/shadow
https://bugs.webkit.org/show_bug.cgi?id=54853


Moving the files from rendering to html/shadow, with the exception of
the class RenderTextControlInnerBlock, which I moved to RenderTextControlSingleLine
(this place is not ideal, but only a temporary state during the larger refactoring
for <input>).

No new tests. (refactoring)

  • Android.mk:
  • CMakeLists.txt:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • html/shadow/TextControlInnerElements.cpp: Copied from Source/WebCore/rendering/TextControlInnerElements.cpp.
  • html/shadow/TextControlInnerElements.h: Copied from Source/WebCore/rendering/TextControlInnerElements.h.
  • rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlInnerBlock::positionForPoint):
  • rendering/RenderTextControlSingleLine.h: (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): (WebCore::RenderTextControlInnerBlock::hasLineIfEmpty):
  • rendering/TextControlInnerElements.cpp: Removed.
  • rendering/TextControlInnerElements.h: Removed.
12:46 AM Changeset in webkit [79977] by joone.hur@collabora.co.uk
  • 2 edits in trunk/Source/WebKit/gtk

2011-03-01 Joone Hur <joone.hur@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Convert use of cairo_t to RefPtr<cairo_t> in webkitwebiew.cpp
https://bugs.webkit.org/show_bug.cgi?id=55437

  • webkit/webkitwebview.cpp: Convert use of cairo_t to RefPtr<cairo_t>. (webkit_web_view_expose_event):
12:39 AM Changeset in webkit [79976] by rniwa@webkit.org
  • 7 edits in trunk/Source/WebCore

2011-03-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

applyInlineStyleToPushDown and removeInlineStyleFromElement should take EditingStyle
https://bugs.webkit.org/show_bug.cgi?id=55338

Deployed EditingStyle in applyInlineStyleToPushDown and removeInlineStyleFromElement.

Also added a convenience function EditingStyle::setProperty, which lazily instantiates
new CSSMutableStyleDeclaration for m_mutableStyle.

  • editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Takes EditingStyle*. (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement): Ditto. (WebCore::ApplyStyleCommand::removeCSSStyle): Ditto. (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls the above three functions. (WebCore::ApplyStyleCommand::removeInlineStyle): Calls pushDownInlineStyleAroundNode.
  • editing/ApplyStyleCommand.h:
  • editing/EditingStyle.cpp: (WebCore::HTMLElementEquivalent::addToStyle): Takes EditingStyle*; calls EditingStyle::setProperty. (WebCore::HTMLAttributeEquivalent::addToStyle): Ditto. (WebCore::EditingStyle::setProperty): Added. This member function lazily instantiates new CSSMutableStyleDeclaration for m_mutableStyle. (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Takes EditingStyle*. (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement): Ditto. (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes): Ditto.
  • editing/EditingStyle.h: Added HTMLElementEquivalent and HTMLAttributeEquivalent as friends. (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Ditto.
  • editing/InsertTextCommand.cpp: Removed unnecessary includes.
  • editing/RemoveCSSPropertyCommand.h: Ditto.
12:14 AM Changeset in webkit [79975] by loislo@chromium.org
  • 3 edits in trunk/Tools

2011-03-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: reduce inspector tests flakiness.
https://bugs.webkit.org/show_bug.cgi?id=55401

  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::runFileTest):
  • DumpRenderTree/chromium/WebPreferences.cpp: (WebPreferences::reset):
12:14 AM Changeset in webkit [79974] by abarth@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-03-01 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Teach JavaScriptCore GYP build about DEPTH
https://bugs.webkit.org/show_bug.cgi?id=55425

In addition to teaching the JavaScriptCore GYP build about DEPTH, this
change overrides the GCC warning configuration to disable a warning
that's causing probems in Assertions.cpp. With that warning disabled,
JavaScriptCore builds again.

  • gyp/JavaScriptCore.gyp:

Feb 28, 2011:

11:41 PM Changeset in webkit [79973] by mihaip@chromium.org
  • 3 edits in trunk/Tools

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Reviewed by James Robinson.

NRWT should still upload results when it exits early due to too many failures
https://bugs.webkit.org/show_bug.cgi?id=55432

Only keyboard interrupts should prevent results from being uploaded.

  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
11:09 PM Changeset in webkit [79972] by tonyg@chromium.org
  • 2 edits in trunk/LayoutTests

2011-02-28 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Fix a race condition in editing/selection/4975120
https://bugs.webkit.org/show_bug.cgi?id=55429

If the parser yields between the iframe and the script, it would have been
possible for step2() to be called before runTest() and the test would hang.

  • editing/selection/4975120.html:
11:07 PM Changeset in webkit [79971] by kalman@chromium.org
  • 5 edits in trunk/LayoutTests

2011-02-28 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ryosuke Niwa.

Make editing/selection/extend-selection-home-end test match other extend-selection with granularity tests
https://bugs.webkit.org/show_bug.cgi?id=55422

The other extend-selection tests which test a granularity just call into resources/extend-selection.js with the
granularity they're testing. The lineboundary test didn't due to RTL bugs in lineboundary, but these have now
been fixed.

  • editing/selection/extend-selection-home-end-expected.txt:
  • editing/selection/extend-selection-home-end.html:
  • platform/mac/editing/selection/extend-selection-home-end-expected.txt:
  • platform/win/editing/selection/extend-selection-home-end-expected.txt:
11:06 PM Changeset in webkit [79970] by abarth@webkit.org
  • 3 edits
    3 moves
    1 add in trunk

2011-02-28 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Teach JavaScriptGlue gyp build about DEPTH
https://bugs.webkit.org/show_bug.cgi?id=55421

Moves the previously JavaScriptGlue-specific GYP helper shell scripts
to the gyp directory in Source, where they can be shared by multiple
frameworks.

  • Source/gyp: Added.
  • Source/gyp/remove-headers-if-needed.sh: Copied from Source/JavaScriptGlue/gyp/remove-headers-if-needed.sh.
  • Source/gyp/run-if-exists.sh: Copied from Source/JavaScriptGlue/gyp/run-if-exists.sh.
  • Source/gyp/update-info-plist.sh: Copied from Source/JavaScriptGlue/gyp/update-info-plist.sh.

2011-02-28 Gavin Barraclough <barraclough@apple.com>

Reviewed by Sam Weinig & Darin Adler.

Bug 55423 - Clean up property tables in Structure

Encapsulate, reduce duplication of table search code,
and reduce the size of the tables (remove the index,
just maintain the tables in the correct order).

Shows a 0.5% - 1% progression on sunspider.

  • ForwardingHeaders/wtf/HashTable.h: Added.
10:26 PM Changeset in webkit [79969] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: chromium rebuilds XMLViewer after noop. Fixed gyp file.

  • WebCore.gyp/WebCore.gyp:
9:26 PM Changeset in webkit [79968] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Windows build fix.

9:12 PM Changeset in webkit [79967] by commit-queue@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79948.
http://trac.webkit.org/changeset/79948
https://bugs.webkit.org/show_bug.cgi?id=55439

"caused crashes on the SL release bot" (Requested by ggaren on
#webkit).

  • runtime/JSGlobalData.h:
  • runtime/WriteBarrier.h:
8:40 PM Changeset in webkit [79966] by alice.liu@apple.com
  • 11 edits
    2 adds in trunk

Source/WebKit2: https://bugs.webkit.org/show_bug.cgi?id=54898
InjectedBundleNodeHandle dies too early in WKBundleHitTestResultGetNodeHandle

Reviewed by Adam Roben and Gavin Barraclough.

  • WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:

(WKBundleHitTestResultCopyNodeHandle):
Instead of .get(), call .release.leakRef() like other functions that return WKBundleNodeHandleRef.

  • WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:

Renamed from "get" to "copy", because it leaksRef.

Tools: Test for https://bugs.webkit.org/show_bug.cgi?id=54898
InjectedBundleNodeHandle dies too early in WKBundleHitTestResultGetNodeHandle.

Reviewed by Adam Roben and Gavin Barraclough.

  • TestWebKitAPI/InjectedBundleController.h:

(TestWebKitAPI::InjectedBundleController::bundle):

  • TestWebKitAPI/PlatformWebView.h:
  • TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: Added.

(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::didReceiveMessageFromInjectedBundle):
(TestWebKitAPI::setPageLoaderClient):
(TestWebKitAPI::TEST):

  • TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: Added.

(TestWebKitAPI::HitTestResultNodeHandleTest::HitTestResultNodeHandleTest):
(TestWebKitAPI::HitTestResultNodeHandleTest::getContextMenuFromDefaultMenu):
(TestWebKitAPI::HitTestResultNodeHandleTest::didCreatePage):

  • TestWebKitAPI/mac/PlatformWebViewMac.mm:

(TestWebKitAPI::PlatformWebView::simulateRightClick):

  • TestWebKitAPI/win/PlatformWebViewWin.cpp:

(TestWebKitAPI::PlatformWebView::simulateRightClick):

Added files to:

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/win/TestWebKitAPI.vcproj:
  • TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
8:27 PM Changeset in webkit [79965] by alice.liu@apple.com
  • 2 edits in trunk/Source/WebKit2

https://bugs.webkit.org/show_bug.cgi?id=55442
Webarchives don't contain subframe content

Reviewed by Gavin Barraclough.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::getWebArchiveOfFrame):
Pass the frame's document instead of just the frame, to use a different LegacyWebArchive::create function.

7:59 PM Changeset in webkit [79964] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Windows build fix.

7:53 PM Changeset in webkit [79963] by barraclough@apple.com
  • 6 edits
    1 add in trunk/Source

Bug 55423 - Clean up property tables in Structure

Reviewed by Sam Weinig & Darin Adler.

Encapsulate, reduce duplication of table search code,
and reduce the size of the tables (remove the index,
just maintain the tables in the correct order).

Shows a 0.5% - 1% progression on sunspider.

../JavaScriptCore:

(JSC::isPowerOf2):
(JSC::nextPowerOf2):

bit ops used to calculate table size.

(JSC::PropertyMapEntry::PropertyMapEntry):
(JSC::PropertyTable::ordered_iterator::operator++):
(JSC::PropertyTable::ordered_iterator::operator==):
(JSC::PropertyTable::ordered_iterator::operator!=):
(JSC::PropertyTable::ordered_iterator::operator*):
(JSC::PropertyTable::ordered_iterator::operator->):
(JSC::PropertyTable::ordered_iterator::ordered_iterator):

implementation of the iterator types

(JSC::PropertyTable::PropertyTable):
(JSC::PropertyTable::~PropertyTable):

constructors take an initial capacity for the table,
a table to copy, or both.

(JSC::PropertyTable::begin):
(JSC::PropertyTable::end):

create in-order iterators.

(JSC::PropertyTable::find):

search the hash table

(JSC::PropertyTable::add):

add a value to the hash table

(JSC::PropertyTable::remove):

remove a value from the hash table

(JSC::PropertyTable::size):
(JSC::PropertyTable::isEmpty):

accessors.

(JSC::PropertyTable::propertyStorageSize):
(JSC::PropertyTable::clearDeletedOffsets):
(JSC::PropertyTable::hasDeletedOffset):
(JSC::PropertyTable::getDeletedOffset):
(JSC::PropertyTable::addDeletedOffset):

cache deleted (available) offsets in the property storage array.

(JSC::PropertyTable::copy):

take a copy of the PropertyTable, potentially expanding the capacity.

(JSC::PropertyTable::sizeInMemory):

used for DEBUG build statistics

(JSC::PropertyTable::reinsert):
(JSC::PropertyTable::rehash):
(JSC::PropertyTable::tableCapacity):
(JSC::PropertyTable::deletedEntryIndex):
(JSC::PropertyTable::skipDeletedEntries):
(JSC::PropertyTable::table):
(JSC::PropertyTable::usedCount):
(JSC::PropertyTable::dataSize):
(JSC::PropertyTable::sizeForCapacity):
(JSC::PropertyTable::canInsert):

these methods provide internal implementation.

  • runtime/Structure.cpp:

(JSC::Structure::dumpStatistics):
(JSC::Structure::~Structure):
(JSC::Structure::materializePropertyMap):
(JSC::Structure::despecifyDictionaryFunction):
(JSC::Structure::addPropertyTransition):
(JSC::Structure::flattenDictionaryStructure):
(JSC::Structure::copyPropertyTable):
(JSC::Structure::get):
(JSC::Structure::despecifyFunction):
(JSC::Structure::despecifyAllFunctions):
(JSC::Structure::put):
(JSC::Structure::remove):
(JSC::Structure::createPropertyMap):
(JSC::Structure::getPropertyNames):
(JSC::PropertyTable::checkConsistency):
(JSC::Structure::checkConsistency):

factored out code to PropertyMapHashTable.h

  • runtime/Structure.h:

(JSC::Structure::propertyStorageSize):
(JSC::Structure::isEmpty):
(JSC::Structure::get):

factored out code to PropertyMapHashTable.h

../JavaScriptGlue:

  • ForwardingHeaders/wtf/HashTable.h: Added.
7:42 PM Changeset in webkit [79962] by jamesr@google.com
  • 4 edits in trunk/LayoutTests

2011-02-28 James Robinson <jamesr@chromium.org>

Chromium baseline updates.

  • platform/chromium-linux/svg/text/font-size-below-point-five-expected.txt:
  • platform/chromium/test_expectations.txt:
  • platform/mac-leopard/svg/text/font-size-below-point-five-expected.txt:
7:21 PM Changeset in webkit [79961] by mihaip@chromium.org
  • 1 edit
    28 adds in trunk/LayoutTests

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations change.

Rebaseline editing/ tests for Snow Leopard (mac/ baselines can't be used
due to spell checking differences).

  • platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
  • platform/chromium-mac-leopard/editing/inserting/typing-around-br-001-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/inserting/typing-around-br-001-expected.png: Added.
  • platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-3-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/4932260-3-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/selection/4932260-3-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/5234383-1-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/selection/5234383-1-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/5234383-2-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/selection/5234383-2-expected.png: Added.
  • platform/chromium-mac-leopard/editing/selection/drag-in-iframe-expected.checksum: Added.
  • platform/chromium-mac-leopard/editing/selection/drag-in-iframe-expected.png: Added.
  • platform/chromium-mac/editing/deleting/delete-ws-fixup-002-expected.checksum: Added.
  • platform/chromium-mac/editing/deleting/delete-ws-fixup-002-expected.png: Added.
  • platform/chromium-mac/editing/inserting/typing-around-br-001-expected.checksum: Added.
  • platform/chromium-mac/editing/inserting/typing-around-br-001-expected.png: Added.
  • platform/chromium-mac/editing/pasteboard/paste-blockquote-3-expected.checksum: Added.
  • platform/chromium-mac/editing/pasteboard/paste-blockquote-3-expected.png: Added.
  • platform/chromium-mac/editing/selection/4932260-3-expected.checksum: Added.
  • platform/chromium-mac/editing/selection/4932260-3-expected.png: Added.
  • platform/chromium-mac/editing/selection/5234383-1-expected.checksum: Added.
  • platform/chromium-mac/editing/selection/5234383-1-expected.png: Added.
  • platform/chromium-mac/editing/selection/5234383-2-expected.checksum: Added.
  • platform/chromium-mac/editing/selection/5234383-2-expected.png: Added.
  • platform/chromium-mac/editing/selection/drag-in-iframe-expected.checksum: Added.
  • platform/chromium-mac/editing/selection/drag-in-iframe-expected.png: Added.
6:34 PM Changeset in webkit [79960] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations change.

Update Snow Leopard expectations.

  • platform/chromium/test_expectations.txt:
6:30 PM Changeset in webkit [79959] by xan@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-02-28 Xan Lopez <xlopez@igalia.com>

Another fix build :(

Fix typo.

  • runtime/MachineStackMarker.cpp: (JSC::freePlatformThreadRegisters):
6:26 PM Changeset in webkit [79958] by xan@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-02-28 Xan Lopez <xlopez@igalia.com>

Unreviewed build fix for Snow Leopard.

  • runtime/MachineStackMarker.cpp: (JSC::freePlatformThreadRegisters):
6:20 PM Changeset in webkit [79957] by alex
  • 2 edits in trunk/Source/JavaScriptCore

2011-02-28 Alejandro G. Castro <alex@igalia.com>

Unreviewed, fix SnowLeopard compilation after r79952.

  • runtime/MachineStackMarker.cpp: (JSC::freePlatformThreadRegisters):
6:10 PM Changeset in webkit [79956] by levin@chromium.org
  • 4 edits in trunk/Source/WebCore

KURL should expose a referrer property.
https://bugs.webkit.org/show_bug.cgi?id=55415

Reviewed by Darin Adler.

No change in functionality so no new tests.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::setOutgoingReferrer): Refactor to put the majority
of functionality in KURL::strippedForUseAsReferrer() so that this code can
be more easily reused.

  • platform/KURL.cpp:

(WebCore::KURL::strippedForUseAsReferrer): Converts the url to a string
which is suitable for use as a referrer.

  • platform/KURL.h:
5:55 PM Changeset in webkit [79955] by mrowe@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

<http://webkit.org/b/55430> OwnArrayPtr.h's LOOSE_OWN_ARRAY_PTR results in link errors.

Reviewed by Darin Adler.

  • wtf/OwnArrayPtr.h:

(WTF::::set): Implement OwnArrayPtr::set.

5:51 PM Changeset in webkit [79954] by tkent@chromium.org
  • 7 edits in trunk

Number type input cannot be set to empty string if it has an initial value
https://bugs.webkit.org/show_bug.cgi?id=53744

Reviewed by Darin Adler.

Source/WebCore:

We need to distinguish null strings and empty strings for
InputElementData::value. So InputType::sanitizeValue() also needs to
take care of it.

  • dom/InputElement.h: Add a comment to InputElementData::value and setValue about null strings.
  • html/InputType.h: Add a comment to sanitizeValue about null strings.
  • html/NumberInputType.cpp:

(WebCore::NumberInputType::sanitizeValue): Returns a null string if the

proposed value is a null string. Returning an empty string if the
proposed value is not a number.

LayoutTests:

  • fast/forms/input-value-sanitization-expected.txt:
  • fast/forms/script-tests/input-value-sanitization.js: Add some tests.
5:47 PM Changeset in webkit [79953] by commit-queue@webkit.org
  • 50 edits in trunk

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Updated expected results after the change that syncs the WebKit isEditable
and WebCore isContentEditable.

  • platform/mac/editing/selection/designmode-no-caret-expected.txt:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Frame::isContentEditable is currently based on two things: Editor::clientIsEditable and
Document::inDesignMode. In fact, it should only rely on Document::inDesignMode. As a result,
Editor::clientIsEditable and its client-side implementation can be removed.

  • WebCore.exp.in:
  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isReadOnly):
  • editing/Editor.cpp:
  • editing/Editor.h:
  • editing/SelectionController.cpp: (WebCore::SelectionController::setSelectionFromNone):
  • html/HTMLElement.cpp: (WebCore::HTMLElement::isContentEditable): (WebCore::HTMLElement::isContentRichlyEditable):
  • page/DragController.cpp: (WebCore::DragController::operationForLoad):
  • page/EditorClient.h:
  • page/Frame.cpp:
  • page/Frame.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation.

  • src/EditorClientImpl.cpp:
  • src/EditorClientImpl.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation.

  • WebCoreSupport/EditorClientEfl.cpp:
  • WebCoreSupport/EditorClientEfl.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.

  • WebCoreSupport/EditorClientGtk.cpp:
  • WebCoreSupport/EditorClientGtk.h:
  • webkit/webkitwebview.cpp: (webkit_web_view_init): (webkit_web_view_get_editable): (webkit_web_view_set_editable):
  • webkit/webkitwebviewprivate.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation.

  • WebCoreSupport/EditorClientHaiku.cpp:
  • WebCoreSupport/EditorClientHaiku.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.

  • WebCoreSupport/WebEditorClient.h:
  • WebCoreSupport/WebEditorClient.mm:
  • WebView/WebView.mm: (-[WebView setEditable:]): (-[WebView isEditable]):
  • WebView/WebViewData.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.

  • Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): (QWebPage::setContentEditable): (QWebPage::isContentEditable):
  • Api/qwebpage_p.h:
  • WebCoreSupport/EditorClientQt.cpp:
  • WebCoreSupport/EditorClientQt.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation.

  • WebCoreSupport/WebEditorClient.cpp:
  • WebCoreSupport/WebEditorClient.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation.

  • WebCoreSupport/EditorClientWinCE.cpp:
  • WebCoreSupport/EditorClientWinCE.h:

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Ryosuke Niwa.

Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292

Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.

  • WebFrame.cpp: (wxWebFrame::wxWebFrame): (wxWebFrame::MakeEditable): (wxWebFrame::IsEditable):
  • WebFrame.h:
  • WebKitSupport/EditorClientWx.cpp:
  • WebKitSupport/EditorClientWx.h:
  • WebView.cpp: (wxWebView::wxWebView):
  • WebView.h:
5:45 PM Changeset in webkit [79952] by alex
  • 3 edits in trunk/Source/JavaScriptCore

2011-02-28 Martin Zoubek <martin.zoubek@acision.com> and Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

Multithread support for JSC on UNIX
https://bugs.webkit.org/show_bug.cgi?id=26838

Implement suspendThread() and resumeThread() for systems with
pthread.h using thread signal handler.

  • runtime/MachineStackMarker.cpp: (JSC::pthreadSignalHandlerSuspendResume): (JSC::MachineStackMarker::Thread::Thread): (JSC::getCurrentPlatformThread): (JSC::suspendThread): (JSC::resumeThread): (JSC::getPlatformThreadRegisters): (JSC::otherThreadStackPointer): (JSC::freePlatformThreadRegisters): (JSC::MachineStackMarker::markOtherThreadConservatively):
  • wtf/Platform.h: Added Gtk port to use ENABLE_JSC_MULTIPLE_THREADS.
5:40 PM Changeset in webkit [79951] by tkent@chromium.org
  • 5 edits in trunk

Number type input should not handle mouse wheel events if it has no focus.
https://bugs.webkit.org/show_bug.cgi?id=53638

Reviewed by Darin Adler.

Source/WebCore:

  • html/TextFieldInputType.cpp:

(WebCore::TextFieldInputType::handleWheelEventForSpinButton): Check focused().

LayoutTests:

Add a test case.

  • fast/forms/input-number-wheel-expected.txt:
  • fast/forms/script-tests/input-number-wheel.js:
5:33 PM Changeset in webkit [79950] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Noel Gordon <noel.gordon@gmail.com>

Reviewed by James Robinson.

[chromium] GradientSkia: use the common Gradient stop sorting methods.
https://bugs.webkit.org/show_bug.cgi?id=54625

Remove a FIXME: call the Gradient.cpp stop storting routines, no need
to duplicate that code herein.

No change in behavior, so no new tests.

  • platform/graphics/skia/GradientSkia.cpp: (WebCore::Gradient::platformGradient):
5:31 PM Changeset in webkit [79949] by tonyg@chromium.org
  • 6 edits in trunk/LayoutTests

2011-02-28 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Darin Adler.

Fix race condition in 4 media tests
https://bugs.webkit.org/show_bug.cgi?id=55414

The parser may yield and give events a chance to dispatch between any two tokens. So
it is possible that the loadstart event fires immediately after the video tag is
inserted into the document but before the subsequent script is parsed. This is very
rare in the layout test environment since these small files are loaded from disk.

This patch eliminates that race condition by allowing waitForEvent to register for
events that bubble up to the document from any element. Then the registration can
happen before before the element is inserted into the document.

  • media/video-source-media.html:
  • media/video-source-none-supported.html:
  • media/video-source-type-params.html:
  • media/video-source-type.html:
  • media/video-test.js: (waitForEvent): (waitForEventAndTest):
5:06 PM Changeset in webkit [79948] by oliver@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

2011-02-28 Oliver Hunt <oliver@apple.com>

Reviewed by Darin Adler.

Stop using DeprecatedPtr for the global exception slot
https://bugs.webkit.org/show_bug.cgi?id=55424

Create GCRootPtr to signify that the exception slot is
a gcroot, and so is exempt from the usual writebarrier
restrictions.

  • runtime/JSGlobalData.h:
  • runtime/WriteBarrier.h: (JSC::GCRootPtr::GCRootPtr): (JSC::GCRootPtr::operator=):
5:02 PM Changeset in webkit [79947] by steveblock@google.com
  • 7 edits in trunk/Source/WebCore

2011-02-28 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

JNI code should include <jni.h> on non-OSX platforms.
https://bugs.webkit.org/show_bug.cgi?id=55219

On Mac we need to include <JavaVM/jni.h> as this is a framework
include. We include jni.h through JNIUtility.h to minimize the
number of ifdefs.

No new tests, build fix only.

  • WebCore.xcodeproj/project.pbxproj
  • bridge/jni/JNIUtility.h:
  • bridge/jni/jni_jsobject.h:
  • bridge/jni/jsc/JNIBridgeJSC.h:
  • bridge/jni/jsc/JavaInstanceJSC.h:
  • bridge/jni/v8/JavaInstanceV8.h:
4:59 PM Changeset in webkit [79946] by jamesr@google.com
  • 2 edits in trunk/Source/WebCore

2011-02-28 Nebojsa Sabovic <neb@chromium.org>

Reviewed by James Robinson.

[chromium] Pepper plugins render upside down
https://bugs.webkit.org/show_bug.cgi?id=55101

No layout tests for pepper plugins (yet).

  • platform/graphics/chromium/PluginLayerChromium.h:
4:57 PM Changeset in webkit [79945] by benjamin.poulain@nokia.com
  • 4 edits
    9 adds in trunk

2011-02-28 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Add a way to test the WebKit 2 APIs
https://bugs.webkit.org/show_bug.cgi?id=55408

Add the build file for test to the build system.

  • Source/WebKit.pri: Add the include path for WebKit 2 APIs.
  • Source/WebKit.pro: Add the dependency to build the new test project.

2011-02-28 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Add a way to test the WebKit 2 APIs
https://bugs.webkit.org/show_bug.cgi?id=55408

Add an initial test for the WebKit 2 APIs of Qt.

  • UIProcess/API/qt/tests/html/basic_page.html: Added.
  • UIProcess/API/qt/tests/qgraphicswkview/qgraphicswkview.pro: Added.
  • UIProcess/API/qt/tests/qgraphicswkview/tst_qgraphicswkview.cpp: Added. (View::View): (View::resizeEvent): (tst_QGraphicsWKView::init): (tst_QGraphicsWKView::cleanup): (tst_QGraphicsWKView::loadEmptyPage):
  • UIProcess/API/qt/tests/tests.pri: Added.
  • UIProcess/API/qt/tests/tests.pro: Added.
  • UIProcess/API/qt/tests/util.h: Added. (waitForSignal):
4:54 PM Changeset in webkit [79944] by tonyg@chromium.org
  • 4 edits
    3 adds in trunk

2011-02-28 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Follow HTML5 spec for document.open() a little more closely
https://bugs.webkit.org/show_bug.cgi?id=55392

  • fast/parser/double-write-from-closed-iframe-expected.txt: Added.
  • fast/parser/double-write-from-closed-iframe.html: Added. Prior to this patch, the second write of 'PASS' could fail indeterminately.
  • fast/parser/script-tests/double-write-from-closed-iframe.js: Added.
  • fast/regex/script-tests/cross-frame-callable.js: Necessary to close late writes.

2011-02-28 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Follow HTML5 spec for document.open() a little more closely
https://bugs.webkit.org/show_bug.cgi?id=55392

See: 3.5.1.4 at http://www.whatwg.org/specs/web-apps/current-work/#dom-document-open.

The second return check matches the spec. The first return check (isExecutingScript())
was left in place because without it, fast/tokenizer/write-external-script-open.html
would fail. It also possible there is a spec bug because FF4 crashes on that test and
IE9 prints "FAILURE." The isLoadingMainResource() check was removed because the main
resource is always loading while parser->isParsing().

Test: fast/parser/double-write-from-closed-iframe.html

  • dom/Document.cpp: (WebCore::Document::open):
4:54 PM Changeset in webkit [79943] by andersca@apple.com
  • 6 edits in trunk/Source/WebKit2

Fix clang build.

  • UIProcess/API/mac/FindIndicatorWindow.mm:
  • UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:

(WebKit::ChunkedUpdateDrawingAreaProxy::deprecatedUpdate):
(WebKit::ChunkedUpdateDrawingAreaProxy::didReceiveMessage):

  • UIProcess/ChunkedUpdateDrawingAreaProxy.h:
  • WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:

(WebKit::ChunkedUpdateDrawingArea::deprecatedResumePainting):
(WebKit::ChunkedUpdateDrawingArea::didReceiveMessage):

  • WebProcess/WebPage/ChunkedUpdateDrawingArea.h:
4:51 PM Changeset in webkit [79942] by commit-queue@webkit.org
  • 6 edits in trunk/Source

2011-02-28 Avi Drissman <avi@google.com>

Reviewed by James Robinson.

WebCursorInfo needs to match enums in platform/Cursor.h
https://bugs.webkit.org/show_bug.cgi?id=55094

  • platform/chromium/CursorChromium.cpp: (WebCore::grabCursor): (WebCore::grabbingCursor):
  • platform/chromium/PlatformCursor.h:

2011-02-28 Avi Drissman <avi@google.com>

Reviewed by James Robinson.

WebCursorInfo needs to match enums in platform/Cursor.h
https://bugs.webkit.org/show_bug.cgi?id=55094

  • public/WebCursorInfo.h:
  • src/AssertMatchingEnums.cpp:
4:49 PM Changeset in webkit [79941] by jamesr@google.com
  • 3 edits
    80 adds in trunk/LayoutTests

2011-02-28 James Robinson <jamesr@chromium.org>

Update chromium expectations and baselines.

  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/001-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/001-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/002-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/002-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/003-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/003-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/004-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/004-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/005-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/005-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/006-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/006-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/007-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-lr/007-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/001-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/001-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/002-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/002-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/003-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/003-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/004-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/004-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/005-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/005-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/006-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/006-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/007-expected.checksum: Added.
  • platform/chromium-linux/fast/block/positioning/auto/vertical-rl/007-expected.png: Added.
  • platform/chromium-linux/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added.
  • platform/chromium-linux/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added.
  • platform/chromium-linux/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/001-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/001-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/001-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/002-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/002-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/002-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/003-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/003-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/003-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/004-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/004-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/004-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/005-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/005-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/005-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/006-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/006-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/006-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/007-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/007-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-lr/007-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/001-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/001-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/001-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/002-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/002-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/002-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/003-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/003-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/003-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/004-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/004-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/004-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/005-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/005-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/005-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/006-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/006-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/006-expected.txt: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/007-expected.checksum: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/007-expected.png: Added.
  • platform/chromium-win/fast/block/positioning/auto/vertical-rl/007-expected.txt: Added.
  • platform/chromium-win/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added.
  • platform/chromium-win/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added.
  • platform/chromium-win/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added.
  • platform/chromium/fast/dom/prototype-inheritance-expected.txt:
  • platform/chromium/test_expectations.txt:
4:02 PM Changeset in webkit [79940] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

Do not copy config.h into WebKit2.

Rubber-stamped by Anders Carlsson.

  • WebKit2.xcodeproj/project.pbxproj:
3:59 PM Changeset in webkit [79939] by mitz@apple.com
  • 3 edits in trunk/Source/WebKit2

LLVM Compiler build fix.

  • Scripts/webkit2/messages.py:
  • UIProcess/WebPageProxy.h:
3:59 PM Changeset in webkit [79938] by Adam Roben
  • 6 edits
    1 copy
    6 adds in trunk

Start running InjectedBundle API tests on Windows

A new project, TestWebKitAPIInjectedBundle, builds the injected bundle DLL.

Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows

Reviewed by Darin Adler.

Source/WebKit/win:

Build TestWebKitAPIInjectedBundle on Windows

  • WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to

the project files.

Tools:

  • TestWebKitAPI/Configurations/TestWebKitAPIDebug.vsprops: Added.
  • TestWebKitAPI/Configurations/TestWebKitAPIDebugAll.vsprops: Added.
  • TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops: Added.
  • TestWebKitAPI/Configurations/TestWebKitAPIRelease.vsprops: Added.
  • TestWebKitAPI/Configurations/TestWebKitAPIReleaseCairoCFLite.vsprops: Added.

These are just extracted from TestWebKitAPI.vcproj.

  • TestWebKitAPI/Configurations/TestWebKitAPIInjectedBundleCommon.vsprops: Added. Just sets

up the DLL's filename.

  • TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Fixed DLL name.

(TestWebKitAPI::Util::createInjectedBundlePath): Changed to use kCFAllocatorNull instead of
0 (== kCFAllocatorDefault) so that CF won't try to deallocate our C string.

  • TestWebKitAPI/win/TestWebKitAPI.sln: Added TestWebKitAPIInjectedBundle. Removed the bogus

"all" configuration.

  • TestWebKitAPI/win/TestWebKitAPI.vcproj: Changed to use the new .vsprops files. Added

injected bundle tests. Let VS resort things.

  • TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Copied from Tools/TestWebKitAPI/win/TestWebKitAPI.vcproj.
3:55 PM Changeset in webkit [79937] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-02-28 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein, Sam Weinig, Alexey Proskuryakov and Darin Adler.

Open PDF in Preview doesn't work
https://bugs.webkit.org/show_bug.cgi?id=55400
<rdar://problem/8750353>

  • UIProcess/API/mac/PDFViewController.mm: (-[WKPDFView initWithFrame:PDFViewController:]): Set the WKPDFView as the delegate of itself.

(-[WKPDFView PDFViewOpenPDFInNativeApplication:]):
Call PDFViewController::openPDFInFinder.

(WebKit::PDFViewController::PDFViewController):
Initialize m_hasWrittenPDFToDisk to false.

(WebKit::PDFViewController::openPDFInFinder):
Write the PDF to disk if needed and then open it using -[NSWorkspace openFile:].


(WebKit::temporaryPDFDirectoryPath):
Create a directory to put PDFs in.

(WebKit::PDFViewController::pathToPDFOnDisk):
Return a path to a (non-existent) file in the temporary PDF directory.

3:50 PM Changeset in webkit [79936] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-02-28 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

[Mac] Make "Change back to …" contextual menu item work with new autocorrection.
https://bugs.webkit.org/show_bug.cgi?id=55396
<rdar://problem/8836093>

The change in InlineTextBox.cpp fixes a bug, where the rectangle of Replacement marker isn't
calculated. We need this to do hit test when deciding whether to show "Change back to ..." on
contextual menu.

The change in Editor.cpp is for notifying spellchecker about the reversion whenever "Change
back to ..." is clicked.

  • editing/Editor.cpp: (WebCore::Editor::changeBackToReplacedString):
  • rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintDocumentMarkers):
3:35 PM Changeset in webkit [79935] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Victoria Kirst <vrk@google.com>

Reviewed by Kenneth Russell.

[chromium] Fall back to texSubImage2D when mapTexSubImage2D fails in VideoLayerChromium
https://bugs.webkit.org/show_bug.cgi?id=55269

Mesa does not support mapTexSubImage2D, so this change lets
GPU-accelerated video work with DRT layout tests.

  • platform/graphics/chromium/VideoLayerChromium.cpp: (WebCore::VideoLayerChromium::updateTexture):
3:33 PM Changeset in webkit [79934] by commit-queue@webkit.org
  • 1 edit
    5 adds in trunk/LayoutTests

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Antonio Gomes.

REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
https://bugs.webkit.org/show_bug.cgi?id=55323

Added test case that draws focus rings on selected items when spatial navigation is enabled.

  • fast/spatial-navigation/snav-multiple-select-focusring.html: Added.
  • platform/mac/fast/spatial-navigation: Added.
  • platform/mac/fast/spatial-navigation/snav-multiple-select-focusring-expected.checksum: Added.
  • platform/mac/fast/spatial-navigation/snav-multiple-select-focusring-expected.png: Added.
  • platform/mac/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt: Added.
3:32 PM Changeset in webkit [79933] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 78728

BUG=72340
Review URL: http://codereview.chromium.org/6594060

3:27 PM Changeset in webkit [79932] by cdn@chromium.org
  • 4 edits
    2 copies in branches/chromium/648

Merge 77702

BUG=72340
Review URL: http://codereview.chromium.org/6597055

3:24 PM Changeset in webkit [79931] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 77273

BUG=72340
Review URL: http://codereview.chromium.org/6592050

3:21 PM Changeset in webkit [79930] by hyatt@apple.com
  • 12 edits
    60 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text. Change staticX and staticY
to be staticInlinePosition and staticBlockPosition. Patch all of the computations involving these variables to be writing
mode aware. Mixed writing modes are not yet supported.

Reviewed by Dan Bernstein.

Added new tests in fast/block/positioning/auto.

Source/WebCore:

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::adjustPositionedBlock):
(WebCore::RenderBlock::layoutPositionedObjects):

  • rendering/RenderBlock.h:

(WebCore::RenderBlock::startOffsetForLine):

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::appendRunsForObject):
(WebCore::setStaticPositions):
(WebCore::RenderBlock::skipTrailingWhitespace):
(WebCore::RenderBlock::skipLeadingWhitespace):
(WebCore::RenderBlock::findNextLineBreak):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::positionLineBox):
(WebCore::computeInlineStaticDistance):
(WebCore::RenderBox::computePositionedLogicalWidth):
(WebCore::computeBlockStaticDistance):
(WebCore::RenderBox::computePositionedLogicalHeight):
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced):

  • rendering/RenderBoxModelObject.h:

(WebCore::RenderBoxModelObject::borderAndPaddingLogicalLeft):
(WebCore::RenderBoxModelObject::borderAndPaddingStart):
(WebCore::RenderBoxModelObject::borderLogicalLeft):
(WebCore::RenderBoxModelObject::borderLogicalRight):

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::layoutHorizontalBox):
(WebCore::RenderFlexibleBox::layoutVerticalBox):

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::relativePositionedInlineOffset):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::RenderLayer):

  • rendering/RenderLayer.h:

(WebCore::RenderLayer::staticInlinePosition):
(WebCore::RenderLayer::staticBlockPosition):
(WebCore::RenderLayer::setStaticInlinePosition):
(WebCore::RenderLayer::setStaticBlockPosition):

  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::hasAutoLeftAndRight):
(WebCore::InheritedFlags::hasAutoTopAndBottom):
(WebCore::InheritedFlags::hasStaticInlinePosition):
(WebCore::InheritedFlags::hasStaticBlockPosition):

LayoutTests:

  • fast/block/positioning/auto/vertical-lr: Added.
  • fast/block/positioning/auto/vertical-lr/001.html: Added.
  • fast/block/positioning/auto/vertical-lr/002.html: Added.
  • fast/block/positioning/auto/vertical-lr/003.html: Added.
  • fast/block/positioning/auto/vertical-lr/004.html: Added.
  • fast/block/positioning/auto/vertical-lr/005.html: Added.
  • fast/block/positioning/auto/vertical-lr/006.html: Added.
  • fast/block/positioning/auto/vertical-lr/007.html: Added.
  • fast/block/positioning/auto/vertical-rl: Added.
  • fast/block/positioning/auto/vertical-rl/001.html: Added.
  • fast/block/positioning/auto/vertical-rl/002.html: Added.
  • fast/block/positioning/auto/vertical-rl/003.html: Added.
  • fast/block/positioning/auto/vertical-rl/004.html: Added.
  • fast/block/positioning/auto/vertical-rl/005.html: Added.
  • fast/block/positioning/auto/vertical-rl/006.html: Added.
  • fast/block/positioning/auto/vertical-rl/007.html: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/001-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/001-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/001-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/002-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/002-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/002-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/003-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/003-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/003-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/004-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/004-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/004-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/005-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/005-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/005-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/006-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/006-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/006-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/001-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/001-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/001-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/002-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/002-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/002-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/003-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/003-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/003-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/004-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/004-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/004-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/005-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/005-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/005-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/006-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/006-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/006-expected.txt: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.checksum: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.png: Added.
  • platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.txt: Added.
3:20 PM Changeset in webkit [79929] by cdn@chromium.org
  • 3 edits in branches/chromium/648/Source/WebCore/rendering

Merge 77191

BUG=72340
Review URL: http://codereview.chromium.org/6596056

3:07 PM Changeset in webkit [79928] by cdn@chromium.org
  • 4 edits in branches/chromium/648/Source/WebCore/rendering

Merge 76859

BUG=69628
Review URL: http://codereview.chromium.org/6592048

3:05 PM Changeset in webkit [79927] by ap@apple.com
  • 5 edits in trunk/Source/WebKit2

Reviewed by Dan Bernstein.

Frequent crashes in CFURLCache code on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=55412
<rdar://problem/9063922>

CString is evil, it has two lengths which can be different - specifically, fileSystemRepresentation()
creates a string with maximum possible buffer size. A path with garbage at the end confused
CFURLCache into corrupting its data structures.

  • Shared/WebProcessCreationParameters.h: Added a FIXME about merging Mac and Windows code. This problem wouldn't have occured if we didn't use CString in the first place.
  • UIProcess/mac/WebContextMac.mm: (WebKit::WebContext::platformInitializeWebProcess): Added an assertion matching Windows behavior (seems likely that NSURLCache also wouldn't have liked trailing slash).
  • UIProcess/win/WebContextWin.cpp: (WebKit::WebContext::platformInitializeWebProcess): Made slash removal conditional for robustness.
  • WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformInitializeWebProcess): Use actual string length, not CString::length().
2:50 PM Changeset in webkit [79926] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 79536

BUG=73932
Review URL: http://codereview.chromium.org/6588066

2:48 PM Changeset in webkit [79925] by kbalazs@webkit.org
  • 7 edits in trunk

2011-02-28 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Anders Carlsson.

[Qt][WK2] Plugin initialization
https://bugs.webkit.org/show_bug.cgi?id=48127

  • Source/WebKit.pri: Lift the definition of the XP_UNIX macro from WebCore.pri to WebKit.pri to apply it to WebKit2 as well.

2011-02-28 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Anders Carlsson.

[Qt][WK2] Plugin initialization
https://bugs.webkit.org/show_bug.cgi?id=48127

No function change so no new tests.

  • WebCore.pri: Lift the definition of the XP_UNIX macro from WebCore.pri to WebKit.pri to apply it to WebKit2 as well.

2011-02-28 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Anders Carlsson.

[Qt][WK2] Plugin initialization
https://bugs.webkit.org/show_bug.cgi?id=48127

Specialize the way of initializing the plugin for X11.
Introduce PLUGIN_ARCHITECTURE macros to allow code sharing
across platforms.

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: (WebKit::NetscapePluginModule::tryLoad):
  • config.h:
2:40 PM Changeset in webkit [79924] by abarth@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-02-28 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Use more xcconfig files in JavaScriptCore gyp build
https://bugs.webkit.org/show_bug.cgi?id=55391

The GYP experts tell me that we have have a total of two xcconfig
files: one for the xcodeproj as a whole and one for each target. This
patch uses that technique to re-use the existing xcconfig files and
eliminate the duplication.

Technically, this patch introduces some build errors because the
xcconfig files assume that the xcodeproj file is one level higher in
the directory hierarchy. Specifically, the xcodeproj file can no
longer find the Info.plist or the prefix header. I plan to fix that in
a subsequent patch.

Also, this patch introduces the Release and Production configurations,
which should work correctly now.

  • gyp/JavaScriptCore.gyp:
2:33 PM Changeset in webkit [79923] by cdn@chromium.org
  • 1 edit
    2 deletes in branches/chromium/648

Revert 79909 - Merge 79536

BUG=73932
Review URL: http://codereview.chromium.org/6591047

TBR=cdn@chromium.org
Review URL: http://codereview.chromium.org/6591053

2:32 PM Changeset in webkit [79922] by dino@apple.com
  • 4 edits in trunk/Source/WebCore

2011-02-28 Dean Jackson <dino@apple.com>

Reviewed by Eric Carlson.

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

Allow webkitEnterFullScreen to be called from outside
a user gesture, but only when the correct restrictions
have been lifted in WebCore. Add a new restriction type
for this situation. Meanwhile, expose the current
restrictions externally from HTMLMediaElement, so that
clients can easily set restrictions on their port.

No new tests. This doesn't change existing behavior. Some
WebKit clients may lift the restriction.

  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement):
  • ensure restrictions initialize with fullscreen restricted
  • html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::requireUserGestureForLoad): (WebCore::HTMLMediaElement::requireUserGestureForRateChange): (WebCore::HTMLMediaElement::requireUserGestureForFullScreen): (WebCore::HTMLMediaElement::setBehaviorRestrictions):
  • new methods to expose the current restrictions
  • html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::webkitEnterFullscreen):
2:18 PM Changeset in webkit [79921] by jshin@chromium.org
  • 2 edits in trunk/LayoutTests

2011-02-28 Jungshik Shin <jshin@chromium.org>

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

[chromium] Unreviewed change of test_expectations.txt
With the platform-specific expectation file landed in r79912,
fast/xsl/sort-locale-expected.txt should pass now on chromium.
So, remove it from the failure list.

  • platform/chromium/test_expectations.txt:
2:14 PM Changeset in webkit [79920] by inferno@chromium.org
  • 17 edits
    2 deletes in trunk

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r78789.
http://trac.webkit.org/changeset/78789
https://bugs.webkit.org/show_bug.cgi?id=55409

Incorrect canvas fallback implementation (Requested by
inferno-sec on #webkit).

  • public/WebAccessibilityRole.h:
  • src/AssertMatchingEnums.cpp:

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r78789.
http://trac.webkit.org/changeset/78789
https://bugs.webkit.org/show_bug.cgi?id=55409

Incorrect canvas fallback implementation (Requested by
inferno-sec on #webkit).

  • AccessibleBase.cpp: (MSAARole):

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r78789.
http://trac.webkit.org/changeset/78789
https://bugs.webkit.org/show_bug.cgi?id=55409

Incorrect canvas fallback implementation (Requested by
inferno-sec on #webkit).

  • accessibility/AccessibilityObject.h:
  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::determineAccessibilityRole): (WebCore::AccessibilityRenderObject::canHaveChildren):
  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (atkRole):
  • accessibility/mac/AccessibilityObjectWrapper.mm:
  • html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::isFocusable):
  • rendering/RenderHTMLCanvas.cpp:
  • rendering/RenderHTMLCanvas.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::repaint):
  • rendering/RenderTreeAsText.cpp: (WebCore::write):

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r78789.
http://trac.webkit.org/changeset/78789
https://bugs.webkit.org/show_bug.cgi?id=55409

Incorrect canvas fallback implementation (Requested by
inferno-sec on #webkit).

  • accessibility/canvas-fallback-content-expected.txt: Removed.
  • accessibility/canvas-fallback-content.html: Removed.
  • accessibility/canvas.html:
2:09 PM Changeset in webkit [79919] by inferno@chromium.org
  • 6 edits
    2 deletes in trunk

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79425.
http://trac.webkit.org/changeset/79425
https://bugs.webkit.org/show_bug.cgi?id=55406

Incorrect canvas fallback implementation. (Requested by
inferno-sec on #webkit).

  • canvas/canvas-mouse-events-expected.txt: Removed.
  • canvas/canvas-mouse-events.html: Removed.
  • platform/mac-wk2/Skipped:
  • platform/qt-wk2/Skipped:
  • platform/win-wk2/Skipped:

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79425.
http://trac.webkit.org/changeset/79425
https://bugs.webkit.org/show_bug.cgi?id=55406

Incorrect canvas fallback implementation. (Requested by
inferno-sec on #webkit).

  • rendering/RenderHTMLCanvas.cpp: (WebCore::RenderHTMLCanvas::nodeAtPoint):
2:00 PM Changeset in webkit [79918] by jhoneycutt@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Windows build fix.

Add symbol to export.

1:55 PM Changeset in webkit [79917] by commit-queue@webkit.org
  • 14 edits
    3 adds in trunk

2011-02-28 Adam Klein <adamk@chromium.org>

Reviewed by Adam Barth.

[fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
https://bugs.webkit.org/show_bug.cgi?id=54774

Tests for resolveLocalFileSystemURI.

  • fast/filesystem/resolve-uri-expected.txt: Added.
  • fast/filesystem/resolve-uri.html: Added.
  • fast/filesystem/script-tests/resolve-uri.js: Added.

2011-02-28 Adam Klein <adamk@chromium.org>

Reviewed by Adam Barth.

[fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
https://bugs.webkit.org/show_bug.cgi?id=54774

See http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#methods
for the spec implemented by this patch.

Test: fast/filesystem/resolve-uri.html

  • fileapi/DOMFileSystemBase.cpp: (WebCore::DOMFileSystemBase::crackFileSystemURL):
  • fileapi/DOMFileSystemBase.h: Added constants for "temporary" and "persistent".
  • fileapi/EntryBase.cpp: Replace hardcoded strings with aforementioned constants.
  • fileapi/FileSystemCallbacks.cpp: (WebCore::ResolveURICallbacks::create): (WebCore::ResolveURICallbacks::ResolveURICallbacks): (WebCore::ResolveURICallbacks::didOpenFileSystem): Chains a call of openFileSystem to calls to getDirectory/getFile.
  • fileapi/FileSystemCallbacks.h:
  • fileapi/LocalFileSystem.cpp: (WebCore::LocalFileSystem::readFileSystem):
  • fileapi/LocalFileSystem.h: Remove size argument from readFileSystem()
  • page/DOMWindow.cpp: (WebCore::DOMWindow::resolveLocalFileSystemURI):
  • page/DOMWindow.h:
  • page/DOMWindow.idl:

2011-02-28 Adam Klein <adamk@chromium.org>

Reviewed by Adam Barth.

[fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
https://bugs.webkit.org/show_bug.cgi?id=54774

  • src/LocalFileSystemChromium.cpp: (WebCore::LocalFileSystem::readFileSystem): Removed size argument to readFileSystem()
1:51 PM Changeset in webkit [79916] by Csaba Osztrogonác
  • 4 edits in trunk/Source

Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.

Patch by Alexis Menard <alexis.menard@openbossa.org> on 2011-02-28
Reviewed by Oliver Hunt.

Source/WebCore:

  • bridge/qt/qt_runtime.cpp:

(JSC::Bindings::QtConnectionObject::execute):

Source/WebKit/qt:

  • Api/qwebelement.cpp:

(QWebElement::evaluateJavaScript):

1:41 PM Changeset in webkit [79915] by mihaip@chromium.org
  • 4 edits
    6 deletes in trunk/LayoutTests

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium rebaseline.

Fix 3 tests for Snow Leopard by removing out of date chromium-mac
baselines (there are already chromium-mac-leopard results).

Revert rebaseline done by r79881 since the behavior was reverted by
r79900.

  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum: Removed.
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png: Removed.
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum: Removed.
  • platform/chromium-mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png: Removed.
  • platform/chromium-mac/fast/forms/placeholder-position-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/placeholder-position-expected.png: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/mac/fast/forms/listbox-hit-test-zoomed-expected.checksum:
  • platform/mac/fast/forms/listbox-hit-test-zoomed-expected.png:
1:39 PM Changeset in webkit [79914] by weinig@apple.com
  • 7 edits in trunk/Source/WebKit2

WK2 Context Menus - Implement LookUpInDictionary
https://bugs.webkit.org/show_bug.cgi?id=55405

Reviewed by Brady Eidson.

  • Shared/DictionaryPopupInfo.cpp:

(WebKit::DictionaryPopupInfo::encode):
(WebKit::DictionaryPopupInfo::decode):

  • Shared/DictionaryPopupInfo.h:

Add type to differentiate between HotKey and ContextMenu triggered
dictionary popups. This is necessary since HotKey triggered ones want
to override the style to always be overlay.

  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::didPerformDictionaryLookup):
Only force the overlay style for HotKey triggered dictionary lookups.

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::performDictionaryLookupAtLocation):
(WebKit::WebPage::performDictionaryLookupForRange):
Factor out shared functionality into performDictionaryLookupForRange.

  • WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:

(WebKit::WebContextMenuClient::lookUpInDictionary):
Get selected range and call newly factored out performDictionaryLookupForRange.

1:38 PM Changeset in webkit [79913] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 79810

BUG=74030
Review URL: http://codereview.chromium.org/6588061

1:35 PM Changeset in webkit [79912] by jshin@chromium.org
  • 1 edit
    1 copy
    1 add in trunk/LayoutTests

2011-02-28 Jungshik Shin <jshin@chromium.org>

Reviewed by Tony Chang

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

[chromium] Recently, French Academy changed the sorting
rules for French in such a way that accents are not weighted
from the end of a word any more. ICU 4.6 / CLDR 1.9
incorporated the change. Canadian French hasn't adopted the
change, yet.

Chrome is the only port that uses new rules with ICU 4.6. So,
for now, I'm changing the expectation file for Chrome only.

  • platform/chromium/fast/xsl: Added.
  • platform/chromium/fast/xsl/sort-locale-expected.txt: Copied from LayoutTests/fast/xsl/sort-locale-expected.txt.
1:34 PM Changeset in webkit [79911] by cdn@chromium.org
  • 4 edits
    4 copies in branches/chromium/648

Merge 79734

BUG=72028
Review URL: http://codereview.chromium.org/6598044

1:30 PM Changeset in webkit [79910] by cdn@chromium.org
  • 1 edit
    3 copies in branches/chromium/648

Merge 79689

BUG=70027
Review URL: http://codereview.chromium.org/6591048

1:23 PM Changeset in webkit [79909] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 79536

BUG=73932
Review URL: http://codereview.chromium.org/6591047

1:18 PM Changeset in webkit [79908] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 79476

BUG=73746
Review URL: http://codereview.chromium.org/6596050

1:13 PM Changeset in webkit [79907] by cdn@chromium.org
  • 3 edits
    2 copies in branches/chromium/648

Merge 78921

BUG=73196
Review URL: http://codereview.chromium.org/6591046

1:07 PM Changeset in webkit [79906] by levin@chromium.org
  • 4 edits in trunk/Source/WebCore

Remove some duplicate code from KURLGoogle.cpp
https://bugs.webkit.org/show_bug.cgi?id=55266

Reviewed by Darin Adler.

No change in functionality so no new tests.

  • WebCore.gyp/WebCore.gyp: Make KURL.cpp get built by Chromium.
  • platform/KURL.cpp:

Simply moved #include's and some code that was identical (i.e.
had been copied) to KURLGoogle.cpp outside of ifdef !USE(GOOGLEURL)
to reduce duplication.

  • platform/KURLGoogle.cpp:

Removed the duplicate code.

1:07 PM Changeset in webkit [79905] by abarth@webkit.org
  • 2 edits in trunk/Source/JavaScriptGlue

2011-02-28 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Use more xcconfig files in JavaScriptGlue gyp build
https://bugs.webkit.org/show_bug.cgi?id=55395

Technically this patch breaks the build because the generated project
can't find the Info.plist file or the list of exported symbols. I'll
fix that in a follow-up patch.

  • gyp/JavaScriptGlue.gyp:
1:05 PM Changeset in webkit [79904] by oliver@apple.com
  • 60 edits
    3 adds in trunk/Source

2011-02-28 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Make ScopeChainNode GC allocated
https://bugs.webkit.org/show_bug.cgi?id=55283

Simplify lifetime and other issues with the scopechain
by making it gc allocated. This allows us to simplify
function exit and unwinding, as well as making the
current iterative refcounting go away.

  • JavaScriptCore.exp:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::createActivation):
  • bytecode/StructureStubInfo.cpp:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::generate): (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall): (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
  • bytecompiler/BytecodeGenerator.h:
  • debugger/Debugger.cpp: (JSC::Recompiler::operator()):
  • debugger/DebuggerCallFrame.h: (JSC::DebuggerCallFrame::scopeChain):
  • interpreter/CachedCall.h: (JSC::CachedCall::CachedCall):
  • interpreter/CallFrame.h:
  • interpreter/Interpreter.cpp: (JSC::depth): (JSC::Interpreter::unwindCallFrame): (JSC::Interpreter::throwException): (JSC::Interpreter::execute): (JSC::Interpreter::executeCall): (JSC::Interpreter::executeConstruct): (JSC::Interpreter::privateExecute):
  • jit/JITCall.cpp: (JSC::JIT::compileOpCallInitializeCallFrame): (JSC::JIT::compileOpCall):
  • jit/JITCall32_64.cpp: (JSC::JIT::compileOpCallInitializeCallFrame): (JSC::JIT::emit_op_ret): (JSC::JIT::emit_op_ret_object_or_this): (JSC::JIT::compileOpCall):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_end): (JSC::JIT::emit_op_ret): (JSC::JIT::emit_op_ret_object_or_this):
  • jit/JITOpcodes32_64.cpp: (JSC::JIT::emit_op_end):
  • jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
  • jit/JITStubs.h:
  • runtime/ArgList.cpp:
  • runtime/Completion.cpp: (JSC::evaluate):
  • runtime/Completion.h:
  • runtime/DateConversion.cpp:
  • runtime/Executable.cpp: (JSC::EvalExecutable::compileInternal): (JSC::ProgramExecutable::compileInternal): (JSC::FunctionExecutable::compileForCallInternal): (JSC::FunctionExecutable::compileForConstructInternal):
  • runtime/FunctionConstructor.cpp: (JSC::constructFunction):
  • runtime/GCActivityCallbackCF.cpp:
  • runtime/Identifier.cpp:
  • runtime/JSCell.h:
  • runtime/JSChunk.cpp: Added.
  • runtime/JSChunk.h: Added.
  • runtime/JSFunction.cpp: (JSC::JSFunction::JSFunction): (JSC::JSFunction::markChildren): (JSC::JSFunction::getCallData): (JSC::JSFunction::getOwnPropertySlot): (JSC::JSFunction::getConstructData):
  • runtime/JSFunction.h: (JSC::JSFunction::scope): (JSC::JSFunction::setScope):
  • runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): (JSC::JSGlobalObject::markChildren):
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData): (JSC::JSGlobalObject::globalScopeChain):
  • runtime/JSGlobalObjectFunctions.cpp: (JSC::globalFuncEval):
  • runtime/JSLock.cpp:
  • runtime/JSNumberCell.cpp:
  • runtime/JSZombie.cpp:
  • runtime/MarkedBlock.cpp:
  • runtime/MarkedSpace.cpp:
  • runtime/PropertyNameArray.cpp:
  • runtime/ScopeChain.cpp: (JSC::ScopeChainNode::print): (JSC::ScopeChainNode::localDepth): (JSC::ScopeChainNode::markChildren):
  • runtime/ScopeChain.h: (JSC::ScopeChainNode::ScopeChainNode): (JSC::ScopeChainNode::createStructure): (JSC::ScopeChainNode::push): (JSC::ScopeChainNode::pop): (JSC::ScopeChainIterator::ScopeChainIterator): (JSC::ScopeChainIterator::operator*): (JSC::ScopeChainIterator::operator->): (JSC::ScopeChainIterator::operator++): (JSC::ScopeChainNode::begin): (JSC::ScopeChainNode::end): (JSC::ExecState::globalData): (JSC::ExecState::lexicalGlobalObject): (JSC::ExecState::globalThisValue):
  • runtime/ScopeChainMark.h:
  • wtf/DateMath.cpp:

2011-02-28 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Make ScopeChainNode GC allocated
https://bugs.webkit.org/show_bug.cgi?id=55283

Update WebCore to deal with the absence of the ScopeChain
class.

  • ForwardingHeaders/runtime/ScopeChain.h: Added.
  • bindings/js/JSHTMLElementCustom.cpp: (WebCore::JSHTMLElement::pushEventHandlerScope):
  • bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::scopeChain): (WebCore::JSJavaScriptCallFrame::scopeType):
  • bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::initializeJSFunction):
  • bindings/js/JSMainThreadExecState.h: (WebCore::JSMainThreadExecState::evaluate):
  • bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::pushEventHandlerScope):
  • bindings/js/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::scopeChain):
  • bindings/js/JavaScriptCallFrame.h:
  • bindings/scripts/CodeGeneratorJS.pm:
  • bridge/c/c_class.cpp:
  • bridge/c/c_runtime.cpp:
  • bridge/jni/JNIBridge.cpp:
  • bridge/qt/qt_runtime.cpp: (JSC::Bindings::QtConnectionObject::execute):
  • plugins/PluginViewNone.cpp:

2011-02-28 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Make ScopeChainNode GC allocated
https://bugs.webkit.org/show_bug.cgi?id=55283

More updates for the absence of the ScopeChain class

  • WebView/WebScriptDebugDelegate.mm: (-[WebScriptCallFrame scopeChain]):
1:05 PM Changeset in webkit [79903] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 78744

BUG=73134
Review URL: http://codereview.chromium.org/6588060

12:55 PM Changeset in webkit [79902] by cdn@chromium.org
  • 1 edit
    2 copies in branches/chromium/648

Merge 78775

BUG=73235
Review URL: http://codereview.chromium.org/6588058

12:54 PM Changeset in webkit [79901] by jschuh@chromium.org
  • 8 edits
    10 copies in branches/chromium/648

Merge 78147
BUG=71763

12:51 PM Changeset in webkit [79900] by commit-queue@webkit.org
  • 4 edits
    4 adds in trunk

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Adele Peterson.

REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
https://bugs.webkit.org/show_bug.cgi?id=55323

Added test case to make sure no focus ring is drawn on selected items.

  • fast/forms/select-listbox-multiple-no-focusring.html: Added.
  • platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added.
  • platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added.
  • platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added.

2011-02-28 Chang Shu <cshu@webkit.org>

Reviewed by Adele Peterson.

REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
https://bugs.webkit.org/show_bug.cgi?id=55323

Draw focus ring on selected items only if spatial navigation is enabled.

Test: fast/forms/select-listbox-multiple-no-focusring.html

  • rendering/RenderBlock.h:
  • rendering/RenderListBox.cpp: (WebCore::RenderListBox::addFocusRingRects):
12:50 PM Changeset in webkit [79899] by cdn@chromium.org
  • 3 edits in branches/chromium/648

Merge 78738

BUG=73066
Review URL: http://codereview.chromium.org/6596048

12:30 PM Changeset in webkit [79898] by cdn@chromium.org
  • 3 edits
    2 copies in branches/chromium/648

Merge 79606

BUG=72936
Review URL: http://codereview.chromium.org/6592044

12:29 PM Changeset in webkit [79897] by inferno@chromium.org
  • 6 edits in trunk

2011-02-28 Abhishek Arya <inferno@chromium.org>

Reviewed by Anders Carlsson.

We can cancel the plugin load and fail with error before m_manualStream
got a chance to initialize in PluginView::didReceiveResponse. This can
happen when we run pending document onload events during plugin load that
remove the frame from underneath. So, change the assert into a null check.
https://bugs.webkit.org/show_bug.cgi?id=55307

  • plugins/PluginView.cpp: (WebCore::PluginView::didFail):

2011-02-28 Abhishek Arya <inferno@chromium.org>

Reviewed by Anders Carlsson.

Unskip crashing test fast/frames/iframe-plugin-load-remove-document-crash.html.
https://bugs.webkit.org/show_bug.cgi?id=55307

  • platform/gtk/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
12:25 PM Changeset in webkit [79896] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-02-28 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Alexey Proskuryakov.

Build fix for Intel ICC Compiler.
https://bugs.webkit.org/show_bug.cgi?id=55221

The virtual inheritance seems to confuse ICC.
Anything that links with webkit has an undefined reference otherwise.

  • svg/SVGTransformable.cpp: (WebCore::SVGTransformable::~SVGTransformable):
  • svg/SVGTransformable.h:
12:18 PM Changeset in webkit [79895] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2011-02-28 Adam Klein <adamk@chromium.org>

Reviewed by James Robinson.

[chromium] Remove "PASS TEXT" expectation for fast/filesystem/op-get-entry.html
https://bugs.webkit.org/show_bug.cgi?id=55262

Test now passes as Chromium has rolled past r76098.

  • platform/chromium/test_expectations.txt:
12:12 PM Changeset in webkit [79894] by Csaba Osztrogonác
  • 5 edits
    1 add in trunk/Source/WebKit/qt

[Qt]tst_QDeclarativeWebView - 8 test cases fail
https://bugs.webkit.org/show_bug.cgi?id=55214

Patch by Alexis Menard <alexis.menard@openbossa.org> on 2011-02-28
Reviewed by Andreas Kling.

Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
I also refactored the tests so we don't use the network but instead a local html file.
QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.

  • tests/qdeclarativewebview/resources/sample.html: Added.
  • tests/qdeclarativewebview/resources/webviewtest.qml:
  • tests/qdeclarativewebview/resources/webviewtestdefault.qml:
  • tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:

(tst_QDeclarativeWebView::preferredWidthTest):
(tst_QDeclarativeWebView::preferredHeightTest):
(tst_QDeclarativeWebView::preferredWidthDefaultTest):
(tst_QDeclarativeWebView::preferredHeightDefaultTest):

  • tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
12:10 PM Changeset in webkit [79893] by jschuh@chromium.org
  • 4 edits in branches/chromium/648/Source/WebCore

Merge 77738
BUG=71545
Review URL: http://codereview.chromium.org/6594055

12:09 PM Changeset in webkit [79892] by antonm@chromium.org
  • 1 edit in branches/chromium/648/Source/WebCore/bindings/v8/V8GCController.cpp

Temporary disable object grouping for some types of objects.

BUG=http://code.google.com/p/chromium/issues/detail?id=73441

12:03 PM Changeset in webkit [79891] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-02-28 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

PDFViewController should hold a reference to the PDF data
https://bugs.webkit.org/show_bug.cgi?id=55394

  • UIProcess/API/mac/PDFViewController.h:
  • UIProcess/API/mac/PDFViewController.mm: (WebKit::PDFViewController::setPDFDocumentData):
11:50 AM Changeset in webkit [79890] by abarth@webkit.org
  • 3 edits
    3 adds in trunk/Source/JavaScriptGlue

2011-02-28 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Adam Barth.

Add necessary build steps to JavaScriptGlue GYP project.
https://bugs.webkit.org/show_bug.cgi?id=55196

  • gyp/JavaScriptGlue.gyp: Added pre- and post- build steps.
  • gyp/JavaScriptGlue.gypi: Added Info.plist.
  • gyp/remove-headers-if-needed.sh: Added.
  • gyp/run-if-exists.sh: Added.
  • gyp/update-info-plist.sh: Added.
11:44 AM Changeset in webkit [79889] by sergio@webkit.org
  • 5 edits in trunk

2011-02-28 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[Gtk] Resource size is incorrectly reported to WebCore
https://bugs.webkit.org/show_bug.cgi?id=53228

  • platform/gtk/Skipped: unskipped http/tests/inspector/network-size.html

2011-02-28 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[Gtk] Resource size is incorrectly reported to WebCore
https://bugs.webkit.org/show_bug.cgi?id=53228

When calling didReceiveData we are sending an invalid value for
lengthReceived. Sometimes we were even passing a boolean value instead of the
expected integer. We should pass the size of the received data instead of the
total amount of data received.

  • platform/network/ResourceHandleInternal.h: (WebCore::ResourceHandleInternal::ResourceHandleInternal):
  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::gotChunkCallback): (WebCore::sendRequestCallback): (WebCore::readCallback):
11:42 AM Changeset in webkit [79888] by Laszlo Gombos
  • 2 edits in trunk/Source/WebCore

2011-02-28 Laszlo Gombos <Laszlo Gombos>

Reviewed by Dan Bernstein.

Cleanup the include guard form an Objective-C files
https://bugs.webkit.org/show_bug.cgi?id=55379

Normally Objective-C files do not need include guard.
r76916 introduced an include guard in EmptyProtocolDefinitions.h.
The guard is no longer needed after r76991.

No new tests as there is no new functionality.

  • platform/mac/EmptyProtocolDefinitions.h:
11:29 AM Changeset in webkit [79887] by pfeldman@chromium.org
  • 4 edits in trunk/Source/WebCore

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [REGRESSION] no resources in scripts panel because debugger is enabled too early.
https://bugs.webkit.org/show_bug.cgi?id=55389

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::populateScriptObjects):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::setFrontend): (WebCore::InspectorDebuggerAgent::enableDebuggerAfterShown):
  • inspector/InspectorDebuggerAgent.h:
11:19 AM Changeset in webkit [79886] by weinig@apple.com
  • 21 edits
    2 moves
    2 adds in trunk/Source/WebKit2

Size of text in popup menu doesn't match size of text in <select> itself in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=48234

Reviewed by Darin Adler.

  • Shared/TextInfo.cpp: Removed.
  • Shared/TextInfo.h: Removed.

Replace this with the more appropriately DictionaryPopupInfo.

  • Shared/DictionaryPopupInfo.cpp: Copied from Source/WebKit2/Shared/TextInfo.cpp.

(WebKit::DictionaryPopupInfo::encode):
(WebKit::DictionaryPopupInfo::decode):

  • Shared/DictionaryPopupInfo.h: Copied from Source/WebKit2/Shared/TextInfo.h.

(WebKit::DictionaryPopupInfo::DictionaryPopupInfo):
Replace individual font related fields with FontInfo.

  • Shared/FontInfo.cpp: Added.

(WebKit::FontInfo::FontInfo):
(WebKit::FontInfo::encode):
(WebKit::FontInfo::decode):

  • Shared/FontInfo.h: Added.

Add class to encapsulate passing a font description over the wire.

  • Shared/PlatformPopupMenuData.cpp:

(WebKit::PlatformPopupMenuData::encode):
(WebKit::PlatformPopupMenuData::decode):

  • Shared/PlatformPopupMenuData.h:

Add FontInfo as extra data for the Mac.

  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::didPerformDictionaryLookup):

  • UIProcess/PageClient.h:

Add scaleFactor and use it to construct a font at the right size.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::showPopupMenu):
(WebKit::WebPageProxy::didPerformDictionaryLookup):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • UIProcess/WebPopupMenuProxy.h:
  • UIProcess/mac/WebPopupMenuProxyMac.h:

(WebKit::WebPopupMenuProxyMac::create):

  • UIProcess/mac/WebPopupMenuProxyMac.mm:

(WebKit::WebPopupMenuProxyMac::WebPopupMenuProxyMac):
(WebKit::WebPopupMenuProxyMac::populate):
(WebKit::WebPopupMenuProxyMac::showPopupMenu):

  • UIProcess/qt/WebPopupMenuProxyQt.cpp:

(WebKit::WebPopupMenuProxyQt::showPopupMenu):

  • UIProcess/qt/WebPopupMenuProxyQt.h:
  • UIProcess/win/WebPopupMenuProxyWin.cpp:

(WebKit::WebPopupMenuProxyWin::showPopupMenu):

  • UIProcess/win/WebPopupMenuProxyWin.h:
  • WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm:

(WebKit::WebPopupMenu::setUpPlatformData):

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::performDictionaryLookupAtLocation):
Pass scale factor through and rename TextInfo -> DictionaryPopupInfo.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:

Add new files.

11:08 AM Changeset in webkit [79885] by Csaba Osztrogonác
  • 231 edits
    590 adds in trunk/LayoutTests

Unreviewed.

[Qt] Add Qt specific expected results for passing fast tests.

  • platform/qt/Skipped: Unskip passing tests.
  • platform/qt/fast/transforms [...] : Added.
  • platform/qt/fast/tokenizer [...] : Added.
  • platform/qt/fast/replaced [...] : Added.
  • platform/qt/fast/runin [...] : Added.
  • platform/qt/fast/selectors [...] : Added.
  • platform/qt/fast/table [...] : Added.
  • ChangeLog : Remove duplicated ChangeLog entry.
11:08 AM Changeset in webkit [79884] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit/qt

2011-02-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>

Reviewed by Andreas Kling.

[Qt] Add clipped version of QWebElement::render method.
Allows faster rendering of web element part.
https://bugs.webkit.org/show_bug.cgi?id=50311

  • Api/qwebelement.cpp: (QWebElement::render):
  • Api/qwebelement.h:
  • tests/qwebelement/tst_qwebelement.cpp: (tst_QWebElement::render):
10:58 AM Changeset in webkit [79883] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations change.

Skip over fast/overflow/horizontal-scroll-after-back.html added by
r79844, since it's page cache-specific.

  • platform/chromium/test_expectations.txt:
10:30 AM Changeset in webkit [79882] by pfeldman@chromium.org
  • 8 edits
    4 deletes in trunk/Source/WebCore

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79877.
http://trac.webkit.org/changeset/79877
https://bugs.webkit.org/show_bug.cgi?id=55388

Breaks chromium build (Requested by antonm_ on #webkit).

  • WebCore.gypi:
  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::updateContentsIfDirty): (WebCore::ContentLayerChromium::resizeUploadBufferForImage): (WebCore::ContentLayerChromium::resizeUploadBuffer): (WebCore::SkBitmapConditionalAutoLockerPixels::SkBitmapConditionalAutoLockerPixels): (WebCore::SkBitmapConditionalAutoLockerPixels::~SkBitmapConditionalAutoLockerPixels): (WebCore::SkBitmapConditionalAutoLockerPixels::lockPixels): (WebCore::ContentLayerChromium::updateTextureIfNeeded): (WebCore::ContentLayerChromium::draw):
  • platform/graphics/chromium/ContentLayerChromium.h:
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::updateContentsIfDirty):
  • platform/graphics/chromium/ImageLayerChromium.h:
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::contentRectToTileIndices): (WebCore::LayerTilerChromium::update):
  • platform/graphics/chromium/LayerTilerChromium.h:
  • platform/graphics/chromium/PlatformCanvas.cpp: Removed.
  • platform/graphics/chromium/PlatformCanvas.h: Removed.
  • platform/graphics/chromium/PlatformImage.cpp: Removed.
  • platform/graphics/chromium/PlatformImage.h: Removed.
10:29 AM Changeset in webkit [79881] by mihaip@chromium.org
  • 4 edits in trunk/LayoutTests

2011-02-28 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium expectations change.

Rebaseline fast/forms/listbox-hit-test-zoomed.html after r79762.
Also make a new other expectations more specific.

  • platform/chromium/test_expectations.txt:
  • platform/mac/fast/forms/listbox-hit-test-zoomed-expected.checksum:
  • platform/mac/fast/forms/listbox-hit-test-zoomed-expected.png:
10:23 AM Changeset in webkit [79880] by podivilov@chromium.org
  • 9 edits
    3 adds in trunk

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add live edit test.
https://bugs.webkit.org/show_bug.cgi?id=55360

  • http/tests/inspector/debugger-test.js: (initialize_DebuggerTest):
  • inspector/debugger/debug-inlined-scripts.html:
  • inspector/debugger/live-edit-expected.txt: Added.
  • inspector/debugger/live-edit.html: Added.
  • inspector/debugger/resources/edit-me.js: Added.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add live edit test.
https://bugs.webkit.org/show_bug.cgi?id=55360

Test: inspector/debugger/live-edit.html

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._doubleClick): (WebInspector.SourceFrame.prototype._didEditLine):
10:16 AM Changeset in webkit [79879] by pfeldman@chromium.org
  • 3 edits in trunk/LayoutTests

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. More follow ups to XML Viewer tests commit.

  • http/tests/xmlviewer/dumpAsText/frames.html:
  • platform/qt/Skipped:
10:11 AM Changeset in webkit [79878] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Follow up to r79858, removing optimistic assertion that fails on debug bot.

  • inspector/InspectorBrowserDebuggerAgent.cpp: (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
10:03 AM Changeset in webkit [79877] by enne@google.com
  • 8 edits
    1 copy
    3 adds in trunk/Source/WebCore

2011-02-25 Adrienne Walker <enne@google.com>

Reviewed by James Robinson.

[chromium] Abstract "pixels with a graphics context" into its own class
https://bugs.webkit.org/show_bug.cgi?id=55259

This creates new PlatformCanvas/PlatformImage classes which wrap
all of the #ifdef Skia/Cg warts from the compositor. All classes
(LayerTilerChromium, ContentLayerChromium, and ImageLayerChromium) are
modified to use these abstractions.

Tests: LayoutTests/compositing

  • WebCore.gypi:
  • platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::updateContentsIfDirty): (WebCore::ContentLayerChromium::resizeUploadBuffer): (WebCore::ContentLayerChromium::updateTextureIfNeeded): (WebCore::ContentLayerChromium::updateTexture): (WebCore::ContentLayerChromium::draw):
  • platform/graphics/chromium/ContentLayerChromium.h:
  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::updateContentsIfDirty): (WebCore::ImageLayerChromium::updateTextureIfNeeded):
  • platform/graphics/chromium/ImageLayerChromium.h:
  • platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::contentRectToTileIndices): (WebCore::LayerTilerChromium::update): (WebCore::LayerTilerChromium::updateFromPixels):
  • platform/graphics/chromium/LayerTilerChromium.h:
  • platform/graphics/chromium/PlatformCanvas.cpp: Added. (WebCore::PlatformCanvas::PlatformCanvas): (WebCore::PlatformCanvas::~PlatformCanvas): (WebCore::PlatformCanvas::resize): (WebCore::PlatformCanvas::AutoLocker::AutoLocker): (WebCore::PlatformCanvas::AutoLocker::~AutoLocker): (WebCore::PlatformCanvas::Painter::Painter): (WebCore::PlatformCanvas::Painter::~Painter):
  • platform/graphics/chromium/PlatformCanvas.h: Added. (WebCore::PlatformCanvas::AutoLocker::pixels): (WebCore::PlatformCanvas::Painter::context): (WebCore::PlatformCanvas::size):
  • platform/graphics/chromium/PlatformImage.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp. (WebCore::PlatformImage::PlatformImage): (WebCore::PlatformImage::updateFromImage):
  • platform/graphics/chromium/PlatformImage.h: Added. (WebCore::PlatformImage::pixels): (WebCore::PlatformImage::size):
9:54 AM Changeset in webkit [79876] by pfeldman@chromium.org
  • 8 edits in trunk

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79784.
http://trac.webkit.org/changeset/79784
https://bugs.webkit.org/show_bug.cgi?id=55386

This change causes lots of assertion failures in Debug builds
(Requested by aroben on #webkit).

  • transitions/matched-transform-functions.html:
  • transitions/retargetted-transition.html:

2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r79784.
http://trac.webkit.org/changeset/79784
https://bugs.webkit.org/show_bug.cgi?id=55386

This change causes lots of assertion failures in Debug builds
(Requested by aroben on #webkit).

  • css/CSSStyleSelector.cpp: (WebCore::convertToLength): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::createTransformOperations):
  • platform/Length.h: (WebCore::Length::Length): (WebCore::Length::operator==): (WebCore::Length::operator!=): (WebCore::Length::rawValue): (WebCore::Length::type): (WebCore::Length::quirk): (WebCore::Length::setValue): (WebCore::Length::setRawValue): (WebCore::Length::calcFloatValue): (WebCore::Length::isZero): (WebCore::Length::blend):
  • rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::recalcColumn): (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
  • rendering/FixedTableLayout.cpp: (WebCore::FixedTableLayout::calcWidthArray):
9:51 AM Changeset in webkit [79875] by andreas.kling@nokia.com
  • 6 edits in trunk/Source/WebCore

2011-02-28 Andreas Kling <kling@webkit.org>

Reviewed by Darin Adler.

Use Frame::ownerElement() directly where appropriate.
https://bugs.webkit.org/show_bug.cgi?id=55385

Don't take the roundabout way through frame->document->ownerElement
which just checks that the document->frame is non-null.

No new test, refactoring only.

  • editing/SelectionController.cpp: (WebCore::SelectionController::selectFrameElementInParentIfFullySelected):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::loadWithDocumentLoader):
  • page/DOMWindow.cpp: (WebCore::DOMWindow::dispatchLoadEvent):
  • page/EventHandler.cpp: (WebCore::EventHandler::scrollRecursively): (WebCore::EventHandler::logicalScrollRecursively):
  • page/FrameView.cpp: (WebCore::FrameView::init): (WebCore::FrameView::layout): (WebCore::FrameView::repaintContentRectangle): (WebCore::FrameView::windowClipRect): (WebCore::FrameView::paintContents):
9:43 AM Changeset in webkit [79874] by pfeldman@chromium.org
  • 2 edits
    1 move in trunk/LayoutTests

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: follow up to r79861, moved utf-16-no-bom to its new home, fixed flaky frames.html.

  • fast/encoding/dumpAsText/utf-16-no-bom.xml: Renamed from LayoutTests/fast/encoding/utf-16-no-bom.xml.
  • http/tests/xmlviewer/dumpAsText/frames.html:
9:29 AM Changeset in webkit [79873] by podivilov@chromium.org
  • 5 edits in trunk

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [REGRESSION] source frame is recreated for each inlined script in document.
https://bugs.webkit.org/show_bug.cgi?id=55377

  • inspector/debugger/scripts-panel-expected.txt:
  • inspector/debugger/scripts-panel.html:

2011-02-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [REGRESSION] source frame is recreated for each inlined script in document.
https://bugs.webkit.org/show_bug.cgi?id=55377

  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished): (WebInspector.ScriptsPanel.prototype._sourceFrameForSourceName): (WebInspector.ScriptsPanel.prototype._createSourceFrame): (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
9:22 AM Changeset in webkit [79872] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Unreviewed.

[Qt] Remove non-existent tests from Skipped list after r79861.

  • platform/qt/Skipped:
9:20 AM Changeset in webkit [79871] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

2011-02-28 Patrick Gansterer <Patrick Gansterer>

Unreviewed build fix for !ENABLE(SVG_ANIMATION) after r79569.

  • svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
9:16 AM Changeset in webkit [79870] by Csaba Osztrogonác
  • 101 edits
    3 copies
    373 adds in trunk/LayoutTests

Unreviewed.

[Qt] Add Qt specific expected results for passing fast/css tests.

  • platform/qt/Skipped:
  • platform/qt/fast/css [...] : Added.
8:55 AM Changeset in webkit [79869] by Adam Roben
  • 3 edits in trunk/Source/WebKit2

One more rename as a followup to r79868

Rubber-stamped by Anders Carlsson.

  • UIProcess/DrawingAreaProxyImpl.cpp:
  • UIProcess/DrawingAreaProxyImpl.h:

Rename stateDidChange to backingStoreStateDidChange.

8:53 AM Changeset in webkit [79868] by Adam Roben
  • 9 edits in trunk/Source/WebKit2

Rename DrawingArea[Proxy]Impl's "state ID" concept to "backing store state ID"

Rubber-stamped (and suggested) by Anders Carlsson.

  • UIProcess/DrawingAreaProxy.h:
  • UIProcess/DrawingAreaProxy.messages.in:
  • UIProcess/DrawingAreaProxyImpl.cpp:
  • UIProcess/DrawingAreaProxyImpl.h:
  • WebProcess/WebPage/DrawingArea.h:
  • WebProcess/WebPage/DrawingArea.messages.in:
  • WebProcess/WebPage/DrawingAreaImpl.cpp:
  • WebProcess/WebPage/DrawingAreaImpl.h:

Perform the rename.

8:35 AM Changeset in webkit [79867] by Adam Roben
  • 3 edits in trunk/Source/WebKit2

Decouple state changes from sending of UpdateState messages in DrawingAreaProxyImpl

The new DrawingAreaProxyImpl::stateDidChange function should be called whenever
DrawingAreaProxyImpl's state changes in a way that will require allocating a new backing
store. (Currently, this is just when the size changes.) This function will sometimes (but
not always, as when we're waiting for a DidUpdateState message) send an UpdateState message
to the web process. This means it's now possible for the state IDs sent in consecutive
UpdateState messages to increase by more than one, but that's OK.

This should cause no change in behavior.

Fixes <http://webkit.org/b/55382> DrawingAreaProxyImpl's state ID should be updated whenever
its state changes, not just when we send an UpdateState message

Reviewed by Anders Carlsson.

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl): Updated for rename.
(WebKit::DrawingAreaProxyImpl::sizeDidChange): Changed to call stateDidChange.
(WebKit::DrawingAreaProxyImpl::didUpdateState): Updated for rename, and changed to call
sendUpdateState whenever our state has changed for any reason since the last UpdateState
message was sent.
(WebKit::DrawingAreaProxyImpl::stateDidChange): Added. Increments m_nextStateID and calls
through to sendUpdateState.
(WebKit::DrawingAreaProxyImpl::sendUpdateState): Updated for rename, moved incrementing of
the state ID we send to the web process from here to stateDidChange, and added an assertion.

  • UIProcess/DrawingAreaProxyImpl.h: Renamed m_requestedStateID to m_nextStateID, and updated

the comment explaining its meaning.

8:16 AM Changeset in webkit [79866] by reni@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-02-28 Renata Hodovan <reni@webkit.org>

Reviewed by Andreas Kling.

Optimize parameter transmissions in FEConvolveMatrix.
https://bugs.webkit.org/show_bug.cgi?id=55381

Parameter transmission via reference is more efficient than with copy. So they are substituted.

No new tests are needed since this is a refactoring.

  • platform/graphics/filters/FEConvolveMatrix.cpp: (WebCore::FEConvolveMatrix::setKernelSize): (WebCore::FEConvolveMatrix::setTargetOffset): (WebCore::FEConvolveMatrix::setKernelUnitLength):
  • platform/graphics/filters/FEConvolveMatrix.h:
8:05 AM Changeset in webkit [79865] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip a sometimes-crashing test on Windows

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

  • platform/win/Skipped: Added http/tests/websocket/tests/reload-crash.html.
7:50 AM Changeset in webkit [79864] by yurys@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Fix Chromium tests failures due to r79858.

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::inspectedPageDestroyed):
7:49 AM TriagingTestFailures edited by Adam Roben
Add information about the new MakingBotsRed keyword (diff)
7:31 AM Changeset in webkit [79863] by Adam Roben
  • 14 edits
    7 adds in trunk

Pass the right dirty rect to Plugin::paint

A typo in r79040 broke this. Much of this patch is just support for testing the fix.

Fixes <http://webkit.org/b/55365> <rdar://problem/9031089> REGRESSION (r79040): WebKit2:
Large portions of pages with plugins paint black

Reviewed by Anders Carlsson.

Source/WebKit2:

  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::paint): Pass the dirty rect we calculated earlier to Plugin::paint,
rather than just passing along the dirty rect that was passed into this function. This is
the bug fix.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:

(WKBundlePageForceRepaint):

  • WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:

Added new SPI. Just calls through to WebPage::forceRepaintWithoutCallback.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::forceRepaintWithoutCallback): Moved code to force a repaint here...
(WebKit::WebPage::forceRepaint): ...from here.

  • WebProcess/WebPage/WebPage.h: Added forceRepaintWithoutCallback.

Tools:

Add a test for the paint rect passed via WM_PAINT to windowless plugins

  • DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:

(PluginTest::NPP_HandleEvent):

  • DumpRenderTree/TestNetscapePlugIn/PluginTest.h:

Added NPP_HandleEvent. Just returns 0 at this level.

  • DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowlessPaintRectCoordinates.cpp: Added.

(WindowlessPaintRectCoordinates::WindowlessPaintRectCoordinates): Call up to the base class.
(WindowlessPaintRectCoordinates::NPP_New): Mark ourselves as windowless.
(WindowlessPaintRectCoordinates::NPP_HandleEvent): Check that the paint rect passed via
WM_PAINT has the expected coordinates.

  • DumpRenderTree/TestNetscapePlugIn/main.cpp:

(NPP_HandleEvent): Give the PluginTest a chance to handle the event before doing anything
else.

  • DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added new file, let VS

resort things.

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::didFinishLoadForFrame): Added a call to WKBundlePageForceRepaint.
This is roughly equivalent to the call to -[WebView displayIfNeeded] in -[FrameLoadDelegate
webView:didFinishLoadForFrame:] in DumpRenderTree.

  • WebKitTestRunner/win/PlatformWebViewWin.cpp:

(WTR::PlatformWebView::PlatformWebView): Tell the WKView it's in a window so that plugins
can start running.

LayoutTests:

Add a test for the paint rect passed via WM_PAINT to windowless plugins

  • platform/win-wk2/platform/win/plugins/windowless-paint-rect-coordinates-expected.txt: Added.
  • platform/win/plugins/windowless-paint-rect-coordinates-expected.txt: Added. WebKit1

doesn't pass a paint rect via WM_PAINT, so we have different results there.

  • platform/win/plugins/windowless-paint-rect-coordinates.html: Added.
7:30 AM Changeset in webkit [79862] by Adam Roben
  • 2 edits in trunk/Tools

Tell MiniBrowser's WKViews that they're in a window

Fixes <http://webkit.org/b/55364> Plugins don't work in MiniBrowser on Windows

Reviewed by Anders Carlsson.

  • MiniBrowser/win/BrowserView.cpp:

(BrowserView::create): Call WKViewSetIsInWindow after creating the view.

7:26 AM Changeset in webkit [79861] by pfeldman@chromium.org
  • 18 edits
    1 copy
    3 moves
    44 adds
    36 deletes in trunk

2011-02-28 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

XML without style should render as syntax-highlighted source.
https://bugs.webkit.org/show_bug.cgi?id=13807

Added tests for XML tree view mode. Testing both logic for entering
XML tree view mode and rendering itself.
Tests are disabled for QT since this logic is not yet implemented, see
https://bugs.webkit.org/show_bug.cgi?id=55302

  • fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog-expected.txt: Copied from LayoutTests/fast/css/xml-stylesheet-pi-not-in-prolog.xml.
  • fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog.xml: Renamed from LayoutTests/fast/css/xml-stylesheet-pi-not-in-prolog.xml.
  • fast/encoding/dumpAsText/utf-16-no-bom-expected.txt: Added.
  • fast/encoding/dumpAsText/utf-16-no-bom.xml: Renamed from LayoutTests/fast/encoding/utf-16-no-bom.xml.
  • http/tests/xmlviewer/dumpAsText/css-stylesheet-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/css-stylesheet.xml: Added.
  • http/tests/xmlviewer/dumpAsText/frames-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/frames.html: Added.
  • http/tests/xmlviewer/dumpAsText/mathml-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/mathml.xml: Added.
  • http/tests/xmlviewer/dumpAsText/resources/css-stylesheet.css: Added. (assertion):
  • http/tests/xmlviewer/dumpAsText/resources/frames-helper.xml: Added.
  • http/tests/xmlviewer/dumpAsText/resources/xsl.xml: Added.
  • http/tests/xmlviewer/dumpAsText/svg-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/svg.xml: Added.
  • http/tests/xmlviewer/dumpAsText/wml-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/wml.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xhtml-tag-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xhtml-tag.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xlink-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xlink.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer-charset-cp1251-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer-charset-cp1251.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer-charset-utf8-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer-charset-utf8.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xmlviewer.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xsl-stylesheet-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xsl-stylesheet.xml: Added.
  • http/tests/xmlviewer/dumpAsText/xul-expected.txt: Added.
  • http/tests/xmlviewer/dumpAsText/xul.xml: Added.
  • platform/chromium-linux/fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Removed.
  • platform/chromium-linux/fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Removed.
  • platform/chromium-linux/fast/encoding/utf-16-no-bom-expected.checksum: Removed.
  • platform/chromium-linux/fast/encoding/utf-16-no-bom-expected.png: Removed.
  • platform/chromium-linux/svg/hixie/error/004-expected.checksum: Removed.
  • platform/chromium-linux/svg/hixie/error/004-expected.png: Removed.
  • platform/chromium-linux/svg/hixie/error/005-expected.checksum: Removed.
  • platform/chromium-linux/svg/hixie/error/005-expected.png: Removed.
  • platform/chromium-win/fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Removed.
  • platform/chromium-win/fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Removed.
  • platform/chromium-win/fast/css/xml-stylesheet-pi-not-in-prolog-expected.txt: Removed.
  • platform/chromium-win/fast/encoding/utf-16-no-bom-expected.checksum: Removed.
  • platform/chromium-win/fast/encoding/utf-16-no-bom-expected.png: Removed.
  • platform/chromium-win/fast/encoding/utf-16-no-bom-expected.txt: Removed.
  • platform/chromium-win/svg/hixie/error/004-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/004-expected.png: Removed.
  • platform/chromium-win/svg/hixie/error/004-expected.txt: Removed.
  • platform/chromium-win/svg/hixie/error/005-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/005-expected.png: Removed.
  • platform/chromium-win/svg/hixie/error/005-expected.txt: Removed.
  • platform/chromium/http/tests/xmlviewer/dumpAsText/mathml-expected.txt: Added.
  • platform/gtk/fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Removed.
  • platform/gtk/fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Removed.
  • platform/gtk/fast/css/xml-stylesheet-pi-not-in-prolog-expected.txt: Removed.
  • platform/gtk/fast/encoding/utf-16-no-bom-expected.checksum: Removed.
  • platform/gtk/fast/encoding/utf-16-no-bom-expected.png: Removed.
  • platform/gtk/fast/encoding/utf-16-no-bom-expected.txt: Removed.
  • platform/gtk/svg/hixie/error/004-expected.checksum: Removed.
  • platform/gtk/svg/hixie/error/004-expected.png: Removed.
  • platform/gtk/svg/hixie/error/004-expected.txt: Removed.
  • platform/gtk/svg/hixie/error/005-expected.checksum: Removed.
  • platform/gtk/svg/hixie/error/005-expected.png: Removed.
  • platform/gtk/svg/hixie/error/005-expected.txt: Removed.
  • platform/mac-leopard/fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Removed.
  • platform/mac-leopard/fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Removed.
  • platform/mac-leopard/fast/encoding/utf-16-no-bom-expected.checksum: Removed.
  • platform/mac-leopard/fast/encoding/utf-16-no-bom-expected.png: Removed.
  • platform/mac-leopard/svg/hixie/error/004-expected.checksum: Removed.
  • platform/mac-leopard/svg/hixie/error/004-expected.png: Removed.
  • platform/mac-leopard/svg/hixie/error/005-expected.checksum: Removed.
  • platform/mac-leopard/svg/hixie/error/005-expected.png: Removed.
  • platform/mac/fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Removed.
  • platform/mac/fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Removed.
  • platform/mac/fast/css/xml-stylesheet-pi-not-in-prolog-expected.txt: Removed.
  • platform/mac/fast/encoding/utf-16-no-bom-expected.checksum: Removed.
  • platform/mac/fast/encoding/utf-16-no-bom-expected.png: Removed.
  • platform/mac/fast/encoding/utf-16-no-bom-expected.txt: Removed.
  • platform/mac/svg/hixie/error/004-expected.checksum: Removed.
  • platform/mac/svg/hixie/error/004-expected.png: Removed.
  • platform/mac/svg/hixie/error/004-expected.txt: Removed.
  • platform/mac/svg/hixie/error/005-expected.checksum: Removed.
  • platform/mac/svg/hixie/error/005-expected.png: Removed.
  • platform/mac/svg/hixie/error/005-expected.txt: Removed.
  • platform/qt/Skipped:
  • platform/qt/fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog-expected.txt: Added.
  • platform/qt/fast/css/xml-stylesheet-pi-not-in-prolog-expected.txt: Removed.
  • platform/qt/fast/encoding/dumpAsText/utf-16-no-bom-expected.txt: Added.
  • platform/qt/fast/encoding/utf-16-no-bom-expected.txt: Removed.
  • platform/qt/svg/hixie/error/004-expected.txt: Removed.
  • platform/qt/svg/hixie/error/005-expected.txt: Removed.
  • platform/qt/svg/hixie/error/dumpAsText/004-expected.txt: Added.
  • platform/qt/svg/hixie/error/dumpAsText/005-expected.txt: Added.
  • svg/hixie/error/dumpAsText/004-expected.txt: Added.
  • svg/hixie/error/dumpAsText/004.xml: Renamed from LayoutTests/svg/hixie/error/004.xml.
  • svg/hixie/error/dumpAsText/005-expected.txt: Added.
  • svg/hixie/error/dumpAsText/005.xml: Renamed from LayoutTests/svg/hixie/error/005.xml.

2011-02-28 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

XML without style should render as syntax-highlighted source.
https://bugs.webkit.org/show_bug.cgi?id=13807

XML tree view mode implemented. If XML does not have any style
information, it is rendered as highlighted source with collapsable
elements.

Tests: fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog.xml

fast/encoding/dumpAsText/utf-16-no-bom.xml
http/tests/xmlviewer/dumpAsText/css-stylesheet.xml
http/tests/xmlviewer/dumpAsText/frames.html
http/tests/xmlviewer/dumpAsText/mathml.xml
http/tests/xmlviewer/dumpAsText/svg.xml
http/tests/xmlviewer/dumpAsText/wml.xml
http/tests/xmlviewer/dumpAsText/xhtml-tag.xml
http/tests/xmlviewer/dumpAsText/xlink.xml
http/tests/xmlviewer/dumpAsText/xmlviewer-charset-cp1251.xml
http/tests/xmlviewer/dumpAsText/xmlviewer-charset-utf8.xml
http/tests/xmlviewer/dumpAsText/xmlviewer.xml
http/tests/xmlviewer/dumpAsText/xsl-stylesheet.xml
http/tests/xmlviewer/dumpAsText/xul.xml
svg/hixie/error/dumpAsText/004.xml
svg/hixie/error/dumpAsText/005.xml

  • CMakeLists.txt:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::matchUARules):
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::createElement):
  • dom/Document.h: (WebCore::Document::usesViewSourceStyles): (WebCore::Document::setUsesViewSourceStyles): (WebCore::Document::sawElementsInKnownNamespaces):
  • dom/XMLDocumentParser.h:
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::XMLDocumentParser::processingInstruction): (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::doEnd):
  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::parseProcessingInstruction):
  • html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
  • xml/XMLTreeViewer.cpp: Added. (WebCore::XMLTreeViewer::XMLTreeViewer): (WebCore::XMLTreeViewer::hasNoStyleInformation): (WebCore::XMLTreeViewer::transformDocumentToTreeView):
  • xml/XMLTreeViewer.h: Added. (WebCore::XMLTreeViewer::~XMLTreeViewer):
  • xml/XMLViewer.xsl: Added.
  • xml/XSLStyleSheet.h: (WebCore::XSLStyleSheet::createForXMLTreeViewer):
7:14 AM Changeset in webkit [79860] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

Nvel Feldman <pfeldman@chromium.org>

Not reviewed: skipping new inspector network tests on win.

  • platform/win/Skipped:ot reviewed: skipping new inspector network tests on win.
6:55 AM Changeset in webkit [79859] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-02-28 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Csaba Osztrogonác.

The new QML tests require QML_IMPORT_PATH variable to be set in order to
load the proper plugin.

  • Scripts/run-qtwebkit-tests:
6:49 AM Changeset in webkit [79858] by yurys@chromium.org
  • 14 edits in trunk

2011-02-28 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: debugger agents should have same livetime as InspectorAgent
https://bugs.webkit.org/show_bug.cgi?id=55369

  • inspector/report-protocol-errors-expected.txt:
  • inspector/report-protocol-errors.html:

2011-02-28 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: debugger agents should have same livetime as InspectorAgent
https://bugs.webkit.org/show_bug.cgi?id=55369

DOM and JS debugger agents are now created in InspectorAgent's constructor and owned
by the agent. Debugger state is cleared on frontend disconnect.

  • inspector/Inspector.idl:
  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): (WebCore::InspectorAgent::restoreInspectorStateFromCookie): (WebCore::InspectorAgent::setFrontend): (WebCore::InspectorAgent::disconnectFrontend): (WebCore::InspectorAgent::populateScriptObjects): (WebCore::InspectorAgent::didCommitLoad): (WebCore::InspectorAgent::showScriptsPanel):
  • inspector/InspectorAgent.h:
  • inspector/InspectorBrowserDebuggerAgent.cpp: (WebCore::InspectorBrowserDebuggerAgent::create): (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent): (WebCore::InspectorBrowserDebuggerAgent::~InspectorBrowserDebuggerAgent): (WebCore::InspectorBrowserDebuggerAgent::debuggerWasEnabled): (WebCore::InspectorBrowserDebuggerAgent::debuggerWasDisabled): (WebCore::InspectorBrowserDebuggerAgent::disable): (WebCore::InspectorBrowserDebuggerAgent::setFrontend): (WebCore::InspectorBrowserDebuggerAgent::clearFrontend): (WebCore::InspectorBrowserDebuggerAgent::setAllBrowserBreakpoints): (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged): (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint): (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint): (WebCore::InspectorBrowserDebuggerAgent::willInsertDOMNode): (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode): (WebCore::InspectorBrowserDebuggerAgent::willModifyDOMAttr): (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent): (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded): (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest): (WebCore::InspectorBrowserDebuggerAgent::clear):
  • inspector/InspectorBrowserDebuggerAgent.h:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::debuggerEnabled): (WebCore::InspectorController::showAndEnableDebugger): (WebCore::InspectorController::disableDebugger):
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::create): (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent): (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent): (WebCore::InspectorDebuggerAgent::startUserInitiatedDebugging): (WebCore::InspectorDebuggerAgent::enable): (WebCore::InspectorDebuggerAgent::disable): (WebCore::InspectorDebuggerAgent::enabled): (WebCore::InspectorDebuggerAgent::restore): (WebCore::InspectorDebuggerAgent::setFrontend): (WebCore::InspectorDebuggerAgent::clearFrontend): (WebCore::InspectorDebuggerAgent::setJavaScriptBreakpoint): (WebCore::InspectorDebuggerAgent::removeJavaScriptBreakpoint): (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame): (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame): (WebCore::InspectorDebuggerAgent::currentCallFrames): (WebCore::InspectorDebuggerAgent::didParseSource): (WebCore::InspectorDebuggerAgent::clear):
  • inspector/InspectorDebuggerAgent.h: (WebCore::InspectorDebuggerAgent::enable): (WebCore::InspectorDebuggerAgent::disable): (WebCore::InspectorDebuggerAgent::Listener::~Listener): (WebCore::InspectorDebuggerAgent::setListener):
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl): (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl): (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype.enableDebugger): (WebInspector.DebuggerModel.prototype.disableDebugger):
6:25 AM Changeset in webkit [79857] by pfeldman@chromium.org
  • 6 edits
    1 copy
    1 add in trunk/LayoutTests

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: updated inspector test harness and chromium expectations.

  • http/tests/inspector/network/network-size-expected.txt:
  • http/tests/inspector/network/network-timing.html:
  • http/tests/inspector/network/resources/resource.php:
  • platform/chromium/http/tests/inspector/network/network-size-expected.txt: Copied from LayoutTests/http/tests/inspector/network/network-size-expected.txt.
  • platform/gtk/Skipped:
  • platform/qt/Skipped:
6:03 AM Changeset in webkit [79856] by reni@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-02-28 Renata Hodovan <reni@webkit.org>

Reviewed by Andreas Kling.

FECompositeElement changes doesn't require relayout.
https://bugs.webkit.org/show_bug.cgi?id=55367

When the FECompositeElement receives an update message but the given value remains the same we don't need
to relayout the filter.

No new tests are needed because this modification is covered by the dynamic update tests of FEComposite.

  • platform/graphics/filters/FEComposite.cpp: (WebCore::FEComposite::setOperation): (WebCore::FEComposite::setK1): (WebCore::FEComposite::setK2): (WebCore::FEComposite::setK3): (WebCore::FEComposite::setK4):
  • platform/graphics/filters/FEComposite.h:
  • svg/SVGFECompositeElement.cpp: (WebCore::SVGFECompositeElement::setFilterEffectAttribute): (WebCore::SVGFECompositeElement::svgAttributeChanged):
  • svg/SVGFECompositeElement.h:
5:46 AM Changeset in webkit [79855] by andreas.kling@nokia.com
  • 2 edits in trunk/Source/WebCore

2011-02-28 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

FrameLoader: Reorder early-returns in checkCompleted()
https://bugs.webkit.org/show_bug.cgi?id=55366

Check allChildrenAreComplete() last, since it's the most expensive.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted):
5:24 AM Changeset in webkit [79854] by rniwa@webkit.org
  • 3 edits in trunk/Source/WebCore

2011-02-28 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

Range::processContents needs cleanup
https://bugs.webkit.org/show_bug.cgi?id=51006

Refactored Range::processContents. Extracted childOfCommonRootBeforeOffset from processContents
which is used to find processStart and processEnd respectively. In the case of processStart,
we use the next sibling of the node returned by childOfCommonRootBeforeOffset when m_start is not
the common root because copying m_start's ancestors will result in processing too much contents.

Also extracted processNodes and deleteCharacterData from processContents and processContentsBetweenOffsets.

In addition, lengthOfContentsInNode was modified to return the correct length instead of
numeric_limits<unsigned>::max() because the convention that processContentsBetweenOffsets automatically
corrects the length when endOffset is numeric_limits<unsigned>::max() seemed more confusing than
having two switch statements that need to be consistent.

Historically, lengthOfContentsInNode was introduced in r78413 as a build fix because unsigned const
LengthOfContentsInNode added in r78409 violated WebKit C++ rules and caused build failures on Mac and
other ports.

  • dom/Range.cpp: (WebCore::childOfCommonRootBeforeOffset): Extracted from processContents. (WebCore::lengthOfContentsInNode): Added. (WebCore::Range::processContents): Calls childOfCommonRootBeforeOffset, lengthOfContentsInNode, and processNodes. (WebCore::deleteCharacterData): Added. (WebCore::Range::processContentsBetweenOffsets): Calls deleteCharacterData and processNodes. (WebCore::Range::processNodes): Extracted from processContents and processContentsBetweenOffsets. (WebCore::Range::processAncestorsAndTheirSiblings):
  • dom/Range.h:
3:47 AM Changeset in webkit [79853] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Test harness change follow up.
Consider missing localized string a warning, not an error in the front-end.

3:40 AM Changeset in webkit [79852] by steveblock@google.com
  • 2 edits in trunk/Source/WebCore

2011-02-28 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

getJNIEnv() passes wrong type to AttachCurrentThread() for JNIEnv argument on Android
https://bugs.webkit.org/show_bug.cgi?id=55218

AttachCurrentThread() in Android's JVM takes a JINEnv
argument.

No new tests, build fix only.

  • bridge/jni/JNIUtility.cpp: (JSC::Bindings::getJNIEnv):
3:31 AM Changeset in webkit [79851] by reni@webkit.org
  • 5 edits in trunk/Source/WebCore

2011-02-28 Renata Hodovan <reni@webkit.org>

Reviewed by Andreas Kling.

FETurbulenceElement changes doesn't require relayout
https://bugs.webkit.org/show_bug.cgi?id=55141

When the FETurbulenceElement receives an update message but the given value remains the same we don't need
to relayout the filter.
Besides fix a typo in FETurbulence and change the paramterer type of FETurbulence::setNumOctaves from bool
to int according to the spec.

No new tests are needed because this modification is covered by the dynamic update tests of FETurbulence.

  • platform/graphics/filters/FETurbulence.cpp: (WebCore::FETurbulence::FETurbulence): (WebCore::FETurbulence::create): (WebCore::FETurbulence::type): (WebCore::FETurbulence::setType): (WebCore::FETurbulence::setBaseFrequencyY): (WebCore::FETurbulence::setBaseFrequencyX): (WebCore::FETurbulence::setSeed): (WebCore::FETurbulence::setNumOctaves): (WebCore::FETurbulence::setStitchTiles): (WebCore::operator<<):
  • platform/graphics/filters/FETurbulence.h:
  • svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::setFilterEffectAttribute): (WebCore::SVGFETurbulenceElement::svgAttributeChanged): (WebCore::SVGFETurbulenceElement::build):
  • svg/SVGFETurbulenceElement.h:
3:23 AM Changeset in webkit [79850] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: InspectorAgent calls offsetWidth in the middle of painting
https://bugs.webkit.org/show_bug.cgi?id=54597

  • inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::drawElementTitle):
3:21 AM Changeset in webkit [79849] by pfeldman@chromium.org
  • 2 edits
    7 adds in trunk/LayoutTests

2011-02-28 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add first network test, improve harness.
https://bugs.webkit.org/show_bug.cgi?id=55306

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.assertGreaterOrEqual):
  • http/tests/inspector/network/network-size-expected.txt: Added.
  • http/tests/inspector/network/network-size.html: Added.
  • http/tests/inspector/network/network-timing-expected.txt: Added.
  • http/tests/inspector/network/network-timing.html: Added.
  • http/tests/inspector/network/resources/resource.php: Added.
3:06 AM Changeset in webkit [79848] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk

2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>

Reviewed by Andreas Kling.

Added full webkit module profile and a syncqt profile.

This is for modularized Qt.

[Qt] WebKit patches required to work with a modularized version of Qt
https://bugs.webkit.org/show_bug.cgi?id=53916

  • Source/sync.profile: Added.

2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>

Reviewed by Andreas Kling.

Added full webkit module profile and a syncqt profile.

This is for modularized Qt.

[Qt] WebKit patches required to work with a modularized version of Qt
https://bugs.webkit.org/show_bug.cgi?id=53916

  • qt_webkit_version.pri:
2:49 AM Changeset in webkit [79847] by joone.hur@collabora.co.uk
  • 2 edits in trunk/Tools

2011-02-28 Joone Hur <joone.hur@collabora.co.uk>

Unreviewed, fix spelling mistake.

hardware-accelated => hardware-accelerated.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2:04 AM Changeset in webkit [79846] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>

Reviewed by Andreas Kling.

Made sure that the build-webkit --qmake argument is always respected.

Previously, it would be respected during the build, but not during
the early feature detection. The build would also fail if qmake was
not in your path, even if you specified --qmake with a valid qmake
binary.

[Qt] WebKit patches required to work with a modularized version of Qt
https://bugs.webkit.org/show_bug.cgi?id=53916

  • Scripts/build-webkit:
  • Scripts/webkitdirs.pm:
12:45 AM Changeset in webkit [79845] by rolandsteiner@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-02-28 Roland Steiner <rolandsteiner@chromium.org>

Reviewed by Kent Tamura.

Bug 55355 - TextIterator should not be a friend of RenderTextControl
https://bugs.webkit.org/show_bug.cgi?id=55355

Remove need for 'friend' clause by making innerTextElement() public.

No new tests. (simple refactoring)

  • rendering/RenderTextControl.h:
Note: See TracTimeline for information about the timeline view.