Timeline
Nov 1, 2010:
- 11:34 PM Changeset in webkit [71102] by
-
- 4 edits in trunk/LayoutTests
2010-11-01 MORITA Hajime <morrita@google.com>
Unreviewed, added skip entries for platforms where spellchecking
is not supported.
- platform/chromium/test_expectations.txt:
- platform/gtk/Skipped:
- platform/qt/Skipped:
- 10:30 PM Changeset in webkit [71101] by
-
- 8 edits3 adds in trunk
2010-11-01 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
@spellcheck attribute at the child of contentEditable node is ignored.
https://bugs.webkit.org/show_bug.cgi?id=48418
- editing/spelling/script-tests/spelling-attribute-at-child.js: Added.
- editing/spelling/spelling-attribute-at-child-expected.txt: Added.
- editing/spelling/spelling-attribute-at-child.html: Added.
2010-11-01 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
@spellcheck attribute at the child of contentEditable node is ignored.
https://bugs.webkit.org/show_bug.cgi?id=48418
Changed to check spellcheck availability against a node under the
selection (caret) instead of the focus. For shadow elements, the
check now refers its host node. Note that the original code didn't
care shadows because focus is never set on them.
Test: editing/spelling/spelling-attribute-at-child.html
- dom/Element.h:
- editing/Editor.cpp: (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::isSpellCheckingEnabledFor): (WebCore::Editor::isSpellCheckingEnabledInFocusedNode): Now just calling isSpellCheckingEnabledFor() (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
- editing/Editor.h:
- platform/ContextMenu.cpp: (WebCore::ContextMenu::populate):
- rendering/TextControlInnerElements.cpp: (WebCore::TextControlInnerElement::isSpellCheckingEnabled): Added.
- rendering/TextControlInnerElements.h:
- 10:09 PM Changeset in webkit [71100] by
-
- 50 edits11 deletes in trunk/LayoutTests
2010-11-01 Adam Barth <abarth@webkit.org>
Update expected results for PNG ICC profile.
- platform/chromium-mac/fast/borders/svg-as-border-image-2-expected.checksum:
- platform/chromium-mac/fast/borders/svg-as-border-image-2-expected.png: Removed.
- platform/chromium-mac/fast/borders/svg-as-border-image-expected.checksum:
- platform/chromium-mac/fast/borders/svg-as-border-image-expected.png: Removed.
- platform/chromium-mac/fast/css/background-shorthand-invalid-url-expected.checksum:
- platform/chromium-mac/fast/css/background-shorthand-invalid-url-expected.png: Removed.
- platform/chromium-mac/fast/media/mq-min-pixel-ratio-expected.checksum: Removed.
- platform/chromium-mac/fast/media/mq-min-pixel-ratio-expected.png: Removed.
- platform/chromium-mac/fast/reflections/reflection-masks-expected.checksum: Removed.
- platform/chromium-mac/fast/reflections/reflection-masks-expected.png: Removed.
- platform/chromium-mac/fast/reflections/reflection-masks-opacity-expected.checksum: Removed.
- platform/chromium-mac/http/tests/misc/slow-loading-image-in-pattern-expected.checksum:
- platform/chromium-mac/http/tests/misc/slow-loading-image-in-pattern-expected.png:
- platform/chromium-mac/scrollbars/listbox-scrollbar-combinations-expected.checksum:
- platform/chromium-mac/scrollbars/overflow-scrollbar-combinations-expected.checksum:
- platform/chromium-mac/scrollbars/overflow-scrollbar-combinations-expected.png: Removed.
- platform/chromium-mac/svg/custom/createImageElement-expected.checksum:
- platform/chromium-mac/svg/custom/createImageElement-expected.png:
- platform/chromium-mac/svg/custom/focus-ring-expected.checksum:
- platform/chromium-mac/svg/custom/focus-ring-expected.png: Removed.
- platform/chromium-mac/svg/custom/group-opacity-expected.checksum:
- platform/chromium-mac/svg/custom/group-opacity-expected.png: Removed.
- platform/chromium-mac/svg/custom/image-parent-translation-expected.checksum:
- platform/chromium-mac/svg/custom/image-parent-translation-expected.png:
- platform/chromium-mac/svg/custom/image-small-width-height-expected.checksum:
- platform/chromium-mac/svg/custom/image-small-width-height-expected.png:
- platform/chromium-mac/svg/custom/image-with-transform-clip-filter-expected.checksum:
- platform/chromium-mac/svg/custom/js-update-image-and-display-expected.checksum:
- platform/chromium-mac/svg/custom/js-update-image-and-display-expected.png:
- platform/chromium-mac/svg/custom/js-update-image-and-display2-expected.checksum:
- platform/chromium-mac/svg/custom/js-update-image-and-display2-expected.png:
- platform/chromium-mac/svg/custom/js-update-image-and-display3-expected.checksum:
- platform/chromium-mac/svg/custom/js-update-image-and-display3-expected.png:
- platform/chromium-mac/svg/custom/js-update-image-expected.checksum:
- platform/chromium-mac/svg/custom/js-update-image-expected.png:
- platform/chromium-mac/svg/custom/pointer-events-image-expected.checksum:
- platform/chromium-mac/svg/custom/pointer-events-image-expected.png:
- platform/chromium-mac/svg/custom/text-image-opacity-expected.checksum:
- platform/chromium-mac/svg/custom/text-image-opacity-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.png:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.checksum:
- platform/chromium-mac/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.png:
- platform/chromium/test_expectations.txt:
- 9:34 PM Changeset in webkit [71099] by
-
- 2 edits in trunk/WebCore
2010-11-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Daniel Bates.
[GTK] PopupMenuGtk has a very confusing if-else block
https://bugs.webkit.org/show_bug.cgi?id=48816
Small code cleanup for PopupMenuGtk.
- platform/gtk/PopupMenuGtk.cpp: (WebCore::PopupMenuGtk::show):
- 9:15 PM Changeset in webkit [71098] by
-
- 7 edits in trunk/WebCore
2010-11-01 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[Chromium] Add ICC support for PNG on Mac
https://bugs.webkit.org/show_bug.cgi?id=48170
This just pipes the ICC profile from libpng to CoreGraphics. This
patch would have been a lot prettier on Snow Leopard, but we have to
use a somewhat ugly API to get this to work on Leopard.
This is covered by about infinite tests.
- platform/image-decoders/ImageDecoder.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- platform/image-decoders/ImageDecoder.h:
- platform/image-decoders/cg/ImageDecoderCG.cpp: (WebCore::RGBA32Buffer::asNewNativeImage):
- platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::headerAvailable): (WebCore::PNGImageDecoder::rowAvailable):
- platform/image-decoders/qt/RGBA32BufferQt.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- platform/image-decoders/skia/ImageDecoderSkia.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- 7:42 PM Changeset in webkit [71097] by
-
- 7 edits1 add in trunk
2010-11-01 Jenn Braithwaite <jennb@chromium.org>
Reviewed by Adam Roben.
Windows: Update resource tracking when moving a frame between documents
https://bugs.webkit.org/show_bug.cgi?id=48364
- Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added Added removeIdentifierForRequest.
- Interfaces/WebKit.idl: Added IWebResourceLoadDelegatePrivate2.idl.
- WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transferLoadingResourceFromPage):
2010-11-01 Jenn Braithwaite <jennb@chromium.org>
Reviewed by Adam Roben.
Windows: Update resource tracking when moving a frame between documents
https://bugs.webkit.org/show_bug.cgi?id=48364
- DumpRenderTree/win/DumpRenderTree.cpp: (createWebViewAndOffscreenWindow): (main): Give each WebView its own ResourceLoadDelegate instance in order to make assertions about resource ids on a particular WebView.
- DumpRenderTree/win/ResourceLoadDelegate.cpp: (ResourceLoadDelegate::identifierForInitialRequest): Always add id to the map. (ResourceLoadDelegate::removeIdentifierForRequest): Added. (ResourceLoadDelegate::willSendRequest): (ResourceLoadDelegate::didReceiveAuthenticationChallenge): (ResourceLoadDelegate::didReceiveResponse): (ResourceLoadDelegate::didFinishLoadingFromDataSource): (ResourceLoadDelegate::didFailLoadingWithError): (ResourceLoadDelegate::descriptionSuitableForTestResult): Replace static descriptionSuitableForTestResult with static member function to access identifier map.
- DumpRenderTree/win/ResourceLoadDelegate.h: (ResourceLoadDelegate::urlMap): Moved within class so that each WebView has its own id map.
- 7:20 PM Changeset in webkit [71096] by
-
- 2 edits in trunk
2010-11-01 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
Reviewed by Andreas Kling.
[Qt][Symbian] QtTestBrowser runs out of memory with most of javascript benchmarks.
https://bugs.webkit.org/show_bug.cgi?id=48730
Increase the maximum heap size on Symbian to 256 MB.
- WebKit.pri:
- 7:10 PM Changeset in webkit [71095] by
-
- 1 edit1 add in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
Snap chromium checksum for the newly added baseline (added in http://trac.webkit.org/changeset/71088)
- platform/chromium-mac/fast/css/text-input-with-webkit-border-radius-expected.checksum: Added.
- 6:56 PM Changeset in webkit [71094] by
-
- 5 edits in trunk
2010-11-01 Chang Shu <chang.shu@nokia.com>
Reviewed by Antonio Gomes.
Leave SelectElement key handling without setting event default
handled when the selection reaches the boundary so focus can
move to neighbor nodes in spatial navigation.
https://bugs.webkit.org/show_bug.cgi?id=48145
- fast/events/spatial-navigation/snav-multiple-select-expected.txt:
- fast/events/spatial-navigation/snav-multiple-select.html:
2010-11-01 Chang Shu <chang.shu@nokia.com>
Reviewed by Antonio Gomes.
Leave SelectElement key handling without setting event default
handled when the selection reaches the boundary so focus can
move to neighbor nodes in spatial navigation.
https://bugs.webkit.org/show_bug.cgi?id=48145
- dom/SelectElement.cpp: (WebCore::SelectElement::listBoxDefaultEventHandler):
- 6:54 PM Changeset in webkit [71093] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
Did I run --lint-test-files last time? Probably not.
- platform/chromium/test_expectations.txt:
- 6:44 PM Changeset in webkit [71092] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
- platform/chromium/test_expectations.txt:
- 6:40 PM Changeset in webkit [71091] by
-
- 3 edits in trunk/WebCore
2010-11-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r71080.
http://trac.webkit.org/changeset/71080
https://bugs.webkit.org/show_bug.cgi?id=48815
This change caused many crashes on the debug bot. (Requested
by mrobinson on #webkit).
- platform/network/soup/SocketStreamHandle.h:
- platform/network/soup/SocketStreamHandleSoup.cpp: (WebCore::isActiveHandle): (WebCore::deactivateHandle): (WebCore::SocketStreamHandle::SocketStreamHandle): (WebCore::SocketStreamHandle::connected): (WebCore::SocketStreamHandle::readBytes): (WebCore::SocketStreamHandle::beginWaitingForSocketWritability): (WebCore::connectedCallback): (WebCore::readReadyCallback): (WebCore::writeReadyCallback):
- 6:36 PM Changeset in webkit [71090] by
-
- 4 edits in trunk/WebKit/gtk
2010-11-01 Jennifer Braithwaite <jennb@google.com>
Reviewed by Martin Robinson.
GTK: Update resource tracking when moving a frame between documents
https://bugs.webkit.org/show_bug.cgi?id=48362
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::transferLoadingResourceFromPage): Assign resource id to current web view and remove from former web view.
- webkit/webkitprivate.h:
- webkit/webkitwebview.cpp: (webkit_web_view_remove_resource): Added.
- 6:15 PM Changeset in webkit [71089] by
-
- 5 edits in trunk/WebKit2
2010-11-01 Juha Savolainen <juha.savolainen@weego.fi>
Reviewed by Kenneth Rohde Christiansen.
Initial implementation of QWKHistoryItem.
https://bugs.webkit.org/show_bug.cgi?id=48620
The QWkHistoryItem represents one item in the history of QWKPage.
- UIProcess/API/qt/qwkhistory.cpp: (QWKHistoryItemPrivate::QWKHistoryItemPrivate): (QWKHistoryItem::QWKHistoryItem): (QWKHistoryItem::~QWKHistoryItem): (QWKHistoryItem::title): The page title (QWKHistoryItem::url): The URL of the page. (QWKHistoryItem::originalUrl): The URL used to access the page.
- UIProcess/API/qt/qwkhistory.h:
- UIProcess/API/qt/qwkhistory_p.h:
- WebKit2.pro: Added WKBackForwardListItem.h and WKBackForwardListItem.cpp
- 5:55 PM Changeset in webkit [71088] by
-
- 311 edits310 copies3 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for css/ for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 5:47 PM Changeset in webkit [71087] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
- platform/chromium/test_expectations.txt:
- 5:39 PM Changeset in webkit [71086] by
-
- 1 add in trunk/LayoutTests/platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt
Fix layout tests.
- 5:38 PM Changeset in webkit [71085] by
-
- 1 edit in trunk/LayoutTests/platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt
Fix layout tests.
- 5:31 PM Changeset in webkit [71084] by
-
- 263 edits262 copies2 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for editing/ for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
Some tests had differences due to spell correction underlining, those
were skipped since it's not clear what the correct dictionary state is.
- 5:17 PM Changeset in webkit [71083] by
-
- 2 edits in trunk/WebKitTools
2010-11-01 Ojan Vafai <ojan@chromium.org>
Reviewed by Dimitri Glazkov.
remove debug code from run_webkit_tests.py
https://bugs.webkit.org/show_bug.cgi?id=48800
Remove temporary debug code and make --master-name required
if --test-results-server is set now that all clients set
--master-name.
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
- 5:17 PM Changeset in webkit [71082] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
Temporarily disable new test added by http://trac.webkit.org/changeset/71066
Need to convert it to dumpAsText().
- platform/chromium/test_expectations.txt:
- 5:12 PM Changeset in webkit [71081] by
-
- 9 edits in trunk/WebKit2
Make NPRemoteObjectMap a ref counted object
https://bugs.webkit.org/show_bug.cgi?id=48808
Reviewed by Oliver Hunt.
- PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::windowScriptNPObject):
- PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::WebProcessConnection):
(WebKit::WebProcessConnection::didReceiveSyncMessage):
- PluginProcess/WebProcessConnection.h:
(WebKit::WebProcessConnection::npRemoteObjectMap):
- Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::create):
(WebKit::NPRemoteObjectMap::~NPRemoteObjectMap):
(WebKit::NPRemoteObjectMap::createNPObjectProxy):
- Shared/Plugins/NPRemoteObjectMap.h:
- WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::PluginProcessConnection):
(WebKit::PluginProcessConnection::didReceiveSyncMessage):
- WebProcess/Plugins/PluginProcessConnection.h:
(WebKit::PluginProcessConnection::npRemoteObjectMap):
- WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::getWindowScriptNPObject):
- 5:09 PM Changeset in webkit [71080] by
-
- 3 edits in trunk/WebCore
2010-11-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[Soup] Random crashes in http/tests/websocket/tests/workers/worker-handshake-challenge-randomness.html
https://bugs.webkit.org/show_bug.cgi?id=48805
Track active WebSocket handles via a sequential id. This ensures
that when a handle is reallocated into a recently used segment of
memory, it doesn't trigger a false positive in the code which ensures
the original handle is active.
No new tests. This test should stop crashing on the bots, proving the fix.
- platform/network/soup/SocketStreamHandle.h: (WebCore::SocketStreamHandle::id): Added an m_id member and accessor to SocketStreamHandle.
- platform/network/soup/SocketStreamHandleSoup.cpp: (WebCore::getHandleFromId): Updated to work with HashMap of handle ids to SocketStreamHandle*. (WebCore::deactivateHandle): Ditto. (WebCore::activateHandle): Ditto. (WebCore::SocketStreamHandle::SocketStreamHandle): Ditto. (WebCore::SocketStreamHandle::connected): Ditto. (WebCore::SocketStreamHandle::readBytes): Ditto. (WebCore::SocketStreamHandle::beginWaitingForSocketWritability): Ditto. (WebCore::connectedCallback): Ditto. (WebCore::readReadyCallback): Ditto. (WebCore::writeReadyCallback): Ditto.
- 5:05 PM Changeset in webkit [71079] by
-
- 2 edits in trunk/WebCore
2010-11-01 Kent Tamura <tkent@chromium.org>
Unreviewed. Run sort-Xcode-project-file.
- WebCore.xcodeproj/project.pbxproj:
- 5:05 PM Changeset in webkit [71078] by
-
- 2 edits in trunk/WebKitTools
2010-11-01 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
add plugin event logging for linux
https://bugs.webkit.org/show_bug.cgi?id=48779
This is taken from Chromium's fork of the layout test plugin:
http://git.chromium.org/gitweb/?p=chromium.git/.git;a=blob;f=webkit/tools/npapi_layout_test_plugin/main.cpp;h=3ebdada2f049b3624756438cff852364f86a2ede;hb=HEAD#l348
- DumpRenderTree/TestNetscapePlugIn/main.cpp: (handleEventX11): (NPP_HandleEvent):
- 5:00 PM Changeset in webkit [71077] by
-
- 2 edits in trunk/WebKit/chromium
2010-11-01 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] Compile TestNetscapePlugin on chromium win
https://bugs.webkit.org/show_bug.cgi?id=48802
It creates npTestNetscapePlugin.dll in the build directory, so
it's not yet loaded by DRT or test_shell.
- WebKit.gyp:
- 5:00 PM Changeset in webkit [71076] by
-
- 1 edit in trunk/WebKit2/ChangeLog
Remove duplicate ChangeLog entry.
- 4:58 PM Changeset in webkit [71075] by
-
- 12 edits4 copies in trunk/WebKit2
Respond to NP_GetProperty by sending a GetProperty message
https://bugs.webkit.org/show_bug.cgi?id=48797
Reviewed by John Sullivan.
- Platform/CoreIPC/HandleMessage.h:
(CoreIPC::callMemberFunction):
Add new sync message overload.
- PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::didReceiveSyncMessage):
If the message class is MessageClassNPObjectMessageReceiver, pass it to the NPRemoteObjectMap.
- Shared/Plugins/NPIdentifierData.cpp:
- Shared/Plugins/NPIdentifierData.h:
Add NPIdentifierData, a CoreIPC representation of an NPIdentifier.
- Shared/Plugins/NPObjectMessageReceiver.cpp:
(WebKit::NPObjectMessageReceiver::getProperty):
Add stub.
- Shared/Plugins/NPObjectMessageReceiver.messages.in:
Add GetProperty.
- Shared/Plugins/NPObjectProxy.cpp:
(WebKit::NPObjectProxy::create):
(WebKit::NPObjectProxy::NPObjectProxy):
(WebKit::NPObjectProxy::initialize):
NPObjectProxy now takes an NPRemoteObjectMap in its create function.
(WebKit::NPObjectProxy::getProperty):
Send a GetProperty message.
(WebKit::NPObjectProxy::NP_GetProperty):
Call getProperty.
- Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::createNPObjectProxy):
Pass the NPRemoteObjectMap.
(WebKit::NPRemoteObjectMap::didReceiveSyncMessage):
Find the right message receiver and dispatch the message to it.
- Shared/Plugins/NPVariantData.cpp:
- Shared/Plugins/NPVariantData.h:
Add NPVariantData, which will be a CoreIPC representation of an NPVariant.
- WebKit2.xcodeproj/project.pbxproj:
Add new files.
- WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::didReceiveSyncMessage):
If the message class is MessageClassNPObjectMessageReceiver, pass it to the NPRemoteObjectMap.
- 4:41 PM Changeset in webkit [71074] by
-
- 3 edits3 adds in trunk
2010-11-01 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Assertion failure in FrameView::layout when clicking on a YouTube video on youtube.com front page
https://bugs.webkit.org/show_bug.cgi?id=44287
When removing subframes, it's possible for layout() to get called on a FrameView
for a Frame that has been removed from the frame tree. This can happen if the parent
document happens to do a layout() while RenderView still has a reference to the widget
for the removed frame; updateWidgetPosition() will try to force a layout() on the
subframe.
Fix by checking that the FrameView's Frame still has a reference to the page before
calling layout() on the subframe.
Test: fast/frames/layout-after-destruction.html
- rendering/RenderWidget.cpp: (WebCore::RenderWidget::updateWidgetPosition):
- 4:36 PM Changeset in webkit [71073] by
-
- 201 edits200 copies18 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/dom, fast/dynamic, fast/encoding, fast/events, and fast/gradients for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 4:30 PM Changeset in webkit [71072] by
-
- 2 edits in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/dom, fast/dynamic, fast/encoding, fast/events, and fast/gradients for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 4:25 PM Changeset in webkit [71071] by
-
- 7 edits in trunk/WebCore
2010-11-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r71065.
http://trac.webkit.org/changeset/71065
https://bugs.webkit.org/show_bug.cgi?id=48801
Seem to breake a lot of tests on Chromium bots (Requested by
dimich on #webkit).
- platform/image-decoders/ImageDecoder.cpp:
- platform/image-decoders/ImageDecoder.h:
- platform/image-decoders/cg/ImageDecoderCG.cpp: (WebCore::RGBA32Buffer::asNewNativeImage):
- platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::headerAvailable): (WebCore::PNGImageDecoder::rowAvailable):
- platform/image-decoders/qt/RGBA32BufferQt.cpp:
- platform/image-decoders/skia/ImageDecoderSkia.cpp:
- 4:23 PM Changeset in webkit [71070] by
-
- 4 edits9 adds2 deletes in trunk/LayoutTests
2010-11-01 James Robinson <jamesr@chromium.org>
Update chromium baselines for a few tests.
- platform/chromium-linux/fast/repaint/iframe-scroll-repaint-expected.checksum: Added.
- platform/chromium-linux/fast/repaint/iframe-scroll-repaint-expected.png: Added.
- platform/chromium-linux/svg/custom/resource-invalidate-on-target-update-expected.checksum: Added.
- platform/chromium-linux/svg/custom/resource-invalidate-on-target-update-expected.png: Added.
- platform/chromium-mac/fast/repaint/iframe-scroll-repaint-expected.checksum: Added.
- platform/chromium-mac/fast/repaint/iframe-scroll-repaint-expected.png: Added.
- platform/chromium-mac/svg/custom/resource-invalidate-on-target-update-expected.checksum: Removed.
- platform/chromium-mac/svg/custom/resource-invalidate-on-target-update-expected.png: Removed.
- platform/chromium-win/fast/repaint/iframe-scroll-repaint-expected.checksum: Added.
- platform/chromium-win/fast/repaint/iframe-scroll-repaint-expected.png: Added.
- platform/chromium-win/fast/repaint/iframe-scroll-repaint-expected.txt: Added.
- platform/chromium-win/svg/custom/resource-invalidate-on-target-update-expected.checksum:
- platform/chromium-win/svg/custom/resource-invalidate-on-target-update-expected.png:
- platform/chromium/test_expectations.txt:
- 4:12 PM Changeset in webkit [71069] by
-
- 2 edits in trunk/WebKit2
Add ArgumentCoder specialization for WTF::CString
https://bugs.webkit.org/show_bug.cgi?id=48796
Reviewed by Sam Weinig.
- Platform/CoreIPC/ArgumentCoders.h:
- 4:01 PM Changeset in webkit [71068] by
-
- 3 edits in trunk/WebKitTools
2010-11-01 Dirk Pranke <dpranke@chromium.org>
Reviewed by James Robinson.
new-run-webkit-tests: use DRT, child-processes=1 for GPU tests by default
https://bugs.webkit.org/show_bug.cgi?id=48790
- Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
- Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
- 3:43 PM Changeset in webkit [71067] by
-
- 1 edit in trunk/WebCore/rendering/svg/SVGInlineTextBox.cpp
Fix SVG bustage.
- 3:40 PM Changeset in webkit [71066] by
-
- 3 edits3 adds in trunk
2010-11-01 Matthew Delaney <mdelaney@apple.com>
Reviewed by Simon Fraser.
Setting attr repeatDur=0 on SVG element causes hang
https://bugs.webkit.org/show_bug.cgi?id=48785
Test: svg/animations/repeatDur-zero.xhtml
- svg/animation/SVGSMILElement.cpp: Fixing bound checking for legal repeatDur values.
2010-11-01 Matthew Delaney <mdelaney@apple.com>
Reviewed by Simon Fraser.
Setting attr repeatDur=0 on SVG element causes hang
https://bugs.webkit.org/show_bug.cgi?id=48785
- svg/animations/repeatDur-zero.xhtml: Added. Tests if setting attr repeatDur=0 causes a hang or not.
- 3:33 PM Changeset in webkit [71065] by
-
- 7 edits in trunk/WebCore
2010-10-31 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
[Chromium] Add ICC support for PNG on Mac
https://bugs.webkit.org/show_bug.cgi?id=48170
This just pipes the ICC profile from libpng to CoreGraphics. This
patch would have been a lot prettier on Snow Leopard, but we have to
use a somewhat ugly API to get this to work on Leopard.
This is covered by about infinite tests.
- platform/image-decoders/ImageDecoder.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- platform/image-decoders/ImageDecoder.h:
- platform/image-decoders/cg/ImageDecoderCG.cpp: (WebCore::RGBA32Buffer::asNewNativeImage):
- platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::headerAvailable): (WebCore::PNGImageDecoder::rowAvailable):
- platform/image-decoders/qt/RGBA32BufferQt.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- platform/image-decoders/skia/ImageDecoderSkia.cpp: (WebCore::RGBA32Buffer::setColorProfile):
- 3:27 PM Changeset in webkit [71064] by
-
- 5 edits in trunk/WebKitTools
2010-11-01 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Teach check-webkit-style how to accept a list of files to diff on the
command line
https://bugs.webkit.org/show_bug.cgi?id=48784
In a future patch, webkit-patch will use this option to improve
performance. I'm landing this in two pieces to avoid causing a version
skew problem for the style-bot.
- Scripts/check-webkit-style:
- Scripts/webkitpy/style/optparser.py:
- Scripts/webkitpy/style/optparser_unittest.py:
- Scripts/webkitpy/style_references.py:
- 3:20 PM Changeset in webkit [71063] by
-
- 3 edits4 adds2 deletes in trunk/LayoutTests
[Chromium] Unreviewed test rebaseline.
- platform/chromium-linux/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.checksum: Removed.
- platform/chromium-linux/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.png: Removed.
- platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.checksum:
- platform/chromium-mac/fast/repaint/inline-horizontal-bt-overflow-expected.checksum: Added.
- platform/chromium-mac/fast/repaint/inline-horizontal-bt-overflow-expected.png: Added.
- platform/chromium-mac/fast/repaint/inline-vertical-lr-overflow-expected.checksum: Added.
- platform/chromium-mac/fast/repaint/inline-vertical-lr-overflow-expected.png: Added.
- platform/chromium/test_expectations.txt:
- 3:16 PM Changeset in webkit [71062] by
-
- 204 edits202 copies8 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/body-propagation, fast/borders, fast/box-shadow, fast/box-sizing, fast/clip, and fast/compact for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
platform/mac/test_expectations.txt was also modified to remove two
now-passing tests.
- 3:10 PM Changeset in webkit [71061] by
-
- 2 edits in trunk/LayoutTests
2010-11-01 Stephen White <senorblanco@chromium.org>
Unreviewed; test expectations update.
Update chromium-gpu test expectations to reflect test_shell
timeouts on ~35 tests.
- platform/chromium-gpu/test_expectations.txt:
- 2:53 PM Changeset in webkit [71060] by
-
- 2 edits in trunk/WebKit2
Fix build.
- WebKit2.xcodeproj/project.pbxproj:
- 2:51 PM Changeset in webkit [71059] by
-
- 11 edits in branches/audio/WebCore
audio branch: bracket some JS and V8 wrappper and Event code with #if ENABLE(WEB_AUDIO)
- 2:30 PM Changeset in webkit [71058] by
-
- 3 edits in trunk/LayoutTests
2010-11-01 Simon Fraser <Simon Fraser>
Fix test failures on Qt by avoiding references to external image files.
- fast/backgrounds/multiple-backgrounds-computed-style-expected.txt:
- fast/backgrounds/script-tests/multiple-backgrounds-computed-style.js:
- 2:29 PM Changeset in webkit [71057] by
-
- 6 edits1 add in trunk/WebKit2
Add NPObjectMessageReceiver.messages.in
https://bugs.webkit.org/show_bug.cgi?id=48782
Reviewed by Adam Roben.
- DerivedSources.make:
Add NPObjectMessageReceiver.
- Platform/CoreIPC/MessageID.h:
Add MessageClassNPObjectMessageReceiver message class.
- Shared/Plugins/NPObjectMessageReceiver.cpp:
(WebKit::NPObjectMessageReceiver::deallocate):
Add stubbed out deallocate member function.
- Shared/Plugins/NPObjectMessageReceiver.messages.in: Added.
- WebKit2.xcodeproj/project.pbxproj:
Add NPObjectMessageReceiver.messages.in.
- 2:25 PM Changeset in webkit [71056] by
-
- 203 edits202 copies1 add in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/selectors for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 2:13 PM Changeset in webkit [71055] by
-
- 14 edits in trunk/WebCore
https://bugs.webkit.org/show_bug.cgi?id=48776
Reviewed by Dan Bernstein.
Change isVertical() on InlineBox to isHorizontal() instead. This makes the horizontal code path come
first if you branch on isHorizontal() and makes the code read better (since that's the more common code
path).
- rendering/InlineBox.cpp:
(WebCore::InlineBox::logicalHeight):
- rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox):
(WebCore::InlineBox::isHorizontal):
(WebCore::InlineBox::setIsHorizontal):
(WebCore::InlineBox::width):
(WebCore::InlineBox::height):
(WebCore::InlineBox::logicalLeft):
(WebCore::InlineBox::setLogicalLeft):
(WebCore::InlineBox::logicalTop):
(WebCore::InlineBox::setLogicalTop):
(WebCore::InlineBox::baselinePosition):
(WebCore::InlineBox::lineHeight):
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::addToLine):
(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
(WebCore::InlineFlowBox::computeBlockDirectionOverflow):
(WebCore::InlineFlowBox::paintFillLayer):
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
- rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::marginLogicalLeft):
(WebCore::InlineFlowBox::marginLogicalRight):
(WebCore::InlineFlowBox::borderLogicalLeft):
(WebCore::InlineFlowBox::borderLogicalRight):
(WebCore::InlineFlowBox::paddingLogicalLeft):
(WebCore::InlineFlowBox::paddingLogicalRight):
(WebCore::InlineFlowBox::setInlineDirectionOverflowPositions):
(WebCore::InlineFlowBox::setBlockDirectionOverflowPositions):
- rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::selectionRect):
(WebCore::InlineTextBox::applyShadowToGraphicsContext):
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintDecoration):
- rendering/InlineTextBox.h:
- rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::createLineBoxes):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::blockDirectionOverflow):
- rendering/RenderBox.h:
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
- rendering/RenderLineBoxList.cpp:
(WebCore::RenderLineBoxList::hitTest):
- rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::placeEllipsis):
- rendering/RootInlineBox.h:
(WebCore::RootInlineBox::baselinePosition):
(WebCore::RootInlineBox::lineHeight):
- 2:10 PM Changeset in webkit [71054] by
-
- 7 edits in trunk/WebKit2
Start stubbing out NPClass functions in NPObjectProxy
https://bugs.webkit.org/show_bug.cgi?id=48778
Reviewed by Adam Roben.
- PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::windowScriptNPObject):
getOrCreateNPObjectProxy is now createNPObjectProxy.
- Shared/Plugins/NPObjectProxy.cpp:
(WebKit::NPObjectProxy::create):
Allocate and initialize an NPObjectProxy object.
(WebKit::NPObjectProxy::NPObjectProxy):
Initialize m_npObjectID to 0.
(WebKit::NPObjectProxy::isNPObjectProxy):
Check the class.
(WebKit::NPObjectProxy::initialize):
Set m_npObjectID.
(WebKit::NPObjectProxy::npClass):
Return the NPClass with all functions filled in.
(WebKit::NPObjectProxy::NP_Allocate):
Create a new NPObjectProxy object.
(WebKit::NPObjectProxy::NP_Deallocate):
Deallocate the NPObjectProxy object.
(WebKit::NPObjectProxy::NP_HasMethod):
(WebKit::NPObjectProxy::NP_Invoke):
(WebKit::NPObjectProxy::NP_InvokeDefault):
(WebKit::NPObjectProxy::NP_HasProperty):
(WebKit::NPObjectProxy::NP_GetProperty):
(WebKit::NPObjectProxy::NP_SetProperty):
(WebKit::NPObjectProxy::NP_RemoveProperty):
(WebKit::NPObjectProxy::NP_Enumerate):
(WebKit::NPObjectProxy::NP_Construct):
Add stubs.
- Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::createNPObjectProxy):
- Shared/Plugins/NPRemoteObjectMap.h:
Rename getOrCreateNPObjectProxy to createNPObjectProxy.
- WebProcess/Plugins/Netscape/NPJSObject.cpp:
(WebKit::NPJSObject::NP_Allocate):
Remove unused parameter.
- 2:01 PM Changeset in webkit [71053] by
-
- 1 edit4 adds in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
Add baseline for a new test added in http://trac.webkit.org/changeset/71043
- platform/chromium-mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum: Added.
- platform/chromium-mac/fast/repaint/inline-vertical-rl-overflow-expected.png: Added.
- platform/chromium-mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Added.
- platform/chromium-win/fast/repaint/inline-vertical-rl-overflow-expected.txt: Added.
- 2:00 PM Changeset in webkit [71052] by
-
- 2 edits in trunk/WebKit/gtk
2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[GTK] Cleanup needed in testatk.c file
https://bugs.webkit.org/show_bug.cgi?id=48759
Cleanup done in testatk.c, mainly addressing the following issues:
- Removed any trace of extra main loops in tests, so now we just spin the original main loop in all of them to get the a11y objects.
- As we no longer use the extra main loops, removed the bail_out function, used along with g_idle_add() to stop those extra loops.
- As we now spin the loop in every test, created a new function waitForAccessibilityObjects() to write the loop just once.
- Fixed name in incorrectly named test testWekitAtkTextSelections.
- Alphabetically sorted the list of includes.
- Renamed all identifiers to camel Case notation.
- Declare variables when needed only (instead of declaring all of them at the beginning of the function).
- Don't declare two variables of the same type in the same line.
- No more short names like 'obj', 'textObj' or 'alloc'. Use names like 'object', 'textObject' and 'allocation' instead.
- Fixed indentation.
- Make sure all comments finish with '.'
- Replace NULL's with 0's.
- tests/testatk.c: (waitForAccessibleObjects): New, manually spins the main context to make sure accessible objects are created before continuing. (testGetTextFunction): Fixed this function to be compliant with the WebKit's coding style. (runGetTextTests): Ditto. (testWebkitAtkGetTextAtOffsetForms): Ditto. (testWebkitAtkGetTextAtOffset): Ditto. (testWebkitAtkGetTextAtOffsetNewlines): Ditto. (testWebkitAtkGetTextAtOffsetTextarea): Ditto. (testWebkitAtkGetTextAtOffsetTextInput): Ditto. (testWebkitAtkGetTextInParagraphAndBodySimple): Ditto. (testWebkitAtkGetTextInParagraphAndBodyModerate): Ditto. (testWebkitAtkGetTextInTable): Ditto. (testWebkitAtkGetHeadersInTable): Ditto. (compAtkAttribute): Ditto. (atkAttributeSetAttributeNameHasValue): Ditto. (testWebkitAtkTextAttributes): Ditto. (testWebkitAtkTextSelections): Ditto. (testWebkitAtkGetExtents): Ditto. (testWebkitAtkLayoutAndDataTables): Ditto. (testWebkitAtkLinksWithInlineImages): Ditto. (testWebkitAtkHypertextAndHyperlinks): Ditto. (testWebkitAtkListsOfItems): Ditto. (testWebkitAtkTextChangedNotifications): Ditto. (main): Ditto.
- 1:53 PM UpdatingBugzilla edited by
- (diff)
- 1:47 PM Changeset in webkit [71051] by
-
- 12 edits in trunk/WebKit2
Both the WebProcessConnection and PluginProcessConnection should have NPRemoteObjectMaps
https://bugs.webkit.org/show_bug.cgi?id=48775
Reviewed by Adam Roben.
- PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::windowScriptNPObject):
Ask for an NPObjectProxy for the window script NPObject.
- PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::WebProcessConnection):
Initialize m_npRemoteObjectMap.
- Shared/Plugins/NPObjectMessageReceiver.cpp:
(WebKit::NPObjectMessageReceiver::create):
Add a create member function that takes an NPObject.
(WebKit::NPObjectMessageReceiver::NPObjectMessageReceiver):
Retain the NPObject.
(WebKit::NPObjectMessageReceiver::~NPObjectMessageReceiver):
Release the NPObject.
- Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::generateNPObjectID):
Generate a unique 64-bit NPObject ID.
(WebKit::NPRemoteObjectMap::getOrCreateNPObjectProxy):
Add stub.
(WebKit::NPRemoteObjectMap::registerNPObject):
Create a NPObjectMessageReceiver and add it to the map.
- WebKit2.xcodeproj/project.pbxproj:
Set the correct target for NPRuntime related files.
- WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::PluginProcessConnection):
Initialize m_npRemoteObjectMap
- WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::getWindowScriptNPObject):
Ask the real plug-in controller for the window script NPObject and register it.
- 1:44 PM Changeset in webkit [71050] by
-
- 11 edits in trunk/LayoutTests
[Chromium] Unreviewed, update test expectations.
Updated render tree dumps after http://trac.webkit.org/changeset/71043.
- platform/chromium-linux/fast/blockflow/japanese-lr-text-expected.txt:
- platform/chromium-linux/fast/blockflow/japanese-rl-text-expected.txt:
- platform/chromium-win/fast/blockflow/basic-vertical-line-expected.txt:
- platform/chromium-win/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
- platform/chromium-win/fast/blockflow/box-shadow-vertical-lr-expected.txt:
- platform/chromium-win/fast/blockflow/box-shadow-vertical-rl-expected.txt:
- platform/chromium-win/fast/blockflow/english-lr-text-expected.txt:
- platform/chromium-win/fast/blockflow/english-rl-text-expected.txt:
- platform/chromium-win/fast/blockflow/japanese-lr-text-expected.txt:
- platform/chromium-win/fast/blockflow/japanese-rl-text-expected.txt:
- 1:39 PM Changeset in webkit [71049] by
-
- 3 edits5 adds in trunk
2010-11-01 Simon Fraser <Simon Fraser>
Reviewed by Dave Hyatt.
Multiple background properties are not retrievable via DOM method getComputedStyle
https://bugs.webkit.org/show_bug.cgi?id=23203
Return lists of values from getComputedStyle() for multiple backgrounds,
and multiple masks.
Test: fast/backgrounds/multiple-backgrounds-computed-style.html
- css/CSSComputedStyleDeclaration.cpp: (WebCore::fillSizeToCSSValue): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- 1:37 PM Changeset in webkit [71048] by
-
- 5 edits in trunk/WebKit2
https://bugs.webkit.org/show_bug.cgi?id=48774
minimFontSize preference needs to be exposed in WebKit2
Reviewed by Anders Carlsson.
- UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::setMinimumFontSize):
New function, parallel to existing functions for other preferences.
(WebKit::WebPreferences::minimumFontSize):
Ditto.
- UIProcess/WebPreferences.h:
Declared new function.
- UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetMinimumFontSize):
New UI process wrapper for new function.
(WKPreferencesGetMinimumFontSize):
Ditto.
- UIProcess/API/C/WKPreferences.h:
Declared new functions.
- 1:24 PM Changeset in webkit [71047] by
-
- 101 edits100 copies2 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/block/positioning for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 1:20 PM Changeset in webkit [71046] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed update of test expectations.
svg-as-background.html now fails on debug mac 10.5 bots.
- platform/chromium/test_expectations.txt:
- 12:30 PM Changeset in webkit [71045] by
-
- 13 edits1 move1 add1 delete in branches/audio/WebCore
audio branch: changes in preparation for landing in trunk
- change name from Accelerate to VectorMath
- AudioResamplerKernel cleanup
- JSDOMWindowCustom.cpp: guard include and audioContext() method with ENABLE_WEB_AUDIO
- V8Binding.cpp: remove AdjustAmountOfExternalAllocatedMemory() hack
- 12:16 PM Changeset in webkit [71044] by
-
- 7 edits in trunk
Tear down the related WebProcessProxy when a WebContext is deallocated
https://bugs.webkit.org/show_bug.cgi?id=48769
Reviewed by John Sullivan.
WebKit2:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::~WebContext):
Call WebProcessManager::contextWasDestroyed.
(WebKit::WebContext::didNavigateWithNavigationData):
(WebKit::WebContext::didPerformClientRedirect):
(WebKit::WebContext::didPerformServerRedirect):
(WebKit::WebContext::didUpdateHistoryTitle):
It is valid for a frame to have a null page here, if the frame has outlived
its page.
- UIProcess/WebProcessManager.cpp:
(WebKit::WebProcessManager::contextWasDestroyed):
Remove the context from the map.
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::~WebProcessProxy):
It's OK for the connection to be non-null here if the process goes away because
the context has been deallocated.
WebKitTools:
- TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
(TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
We don't support empty URLs anymore, update test to expect a null URL instead.
- 12:07 PM Changeset in webkit [71043] by
-
- 26 edits3 copies8 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=48663
Reviewed by Dan Bernstein.
Make repaint invalidation work with vertical lines. Rewrite linesBoundingBox for RenderText and
RenderInline to give the correct rectangle back for vertical lines. Also patch linesVisibleOverflowBoundingBox
to give back the correct rectangle for vertical lines.
Fix bugs in the overflow accessors of InlineFlowBox when m_overflow was 0.
Patch hit testing to also account for "rt" and "bt" blocks.
WebCore:
- rendering/InlineBox.cpp:
(WebCore::InlineBox::adjustForFlippedBlocksWritingMode):
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::nodeAtPoint):
- rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::logicalLeftVisibleOverflow):
(WebCore::InlineFlowBox::logicalRightVisibleOverflow):
(WebCore::InlineFlowBox::bottomLayoutOverflow):
(WebCore::InlineFlowBox::rightLayoutOverflow):
(WebCore::InlineFlowBox::bottomVisualOverflow):
(WebCore::InlineFlowBox::rightVisualOverflow):
- rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::nodeAtPoint):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::hitTestContents):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::computeRectForRepaint):
(WebCore::RenderBox::adjustForFlippedBlocksWritingMode):
- rendering/RenderBox.h:
- rendering/RenderInline.cpp:
(WebCore::RenderInline::linesBoundingBox):
(WebCore::RenderInline::linesVisibleOverflowBoundingBox):
(WebCore::RenderInline::clippedOverflowRectForRepaint):
- rendering/RenderText.cpp:
(WebCore::RenderText::linesBoundingBox):
LayoutTests:
- fast/repaint/inline-horizontal-bt-overflow.html: Added.
- fast/repaint/inline-vertical-lr-overflow.html: Added.
- fast/repaint/inline-vertical-rl-overflow.html: Copied from fast/repaint/inline-vertical-rl-overflow.html.
- platform/mac/fast/blockflow/background-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/background-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/basic-vertical-line-expected.txt:
- platform/mac/fast/blockflow/border-image-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/border-image-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
- platform/mac/fast/blockflow/border-vertical-lr-expected.png:
- platform/mac/fast/blockflow/border-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/english-lr-text-expected.txt:
- platform/mac/fast/blockflow/english-rl-text-expected.txt:
- platform/mac/fast/blockflow/japanese-lr-text-expected.txt:
- platform/mac/fast/blockflow/japanese-rl-text-expected.txt:
- platform/mac/fast/repaint/inline-horizontal-bt-overflow-expected.checksum: Added.
- platform/mac/fast/repaint/inline-horizontal-bt-overflow-expected.png: Added.
- platform/mac/fast/repaint/inline-horizontal-bt-overflow-expected.txt: Added.
- platform/mac/fast/repaint/inline-vertical-lr-overflow-expected.checksum: Added.
- platform/mac/fast/repaint/inline-vertical-lr-overflow-expected.png: Added.
- platform/mac/fast/repaint/inline-vertical-lr-overflow-expected.txt: Added.
- platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum: Copied from platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum.
- platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.png: Copied from platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.png.
- 11:53 AM Changeset in webkit [71042] by
-
- 2 edits in trunk/WebKit2
Windows build fix.
- UIProcess/win/WebView.cpp:
- 11:34 AM Changeset in webkit [71041] by
-
- 50 edits8 adds in trunk
<rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
Context menu support for WebKit 2.
Reviewed by Anders Carlsson.
WebCore:
Add a "showContextMenu" call to Chrome/ChromeClient:
- loader/EmptyClients.h:
(WebCore::EmptyChromeClient::showContextMenu):
- page/Chrome.cpp:
(WebCore::Chrome::showContextMenu):
- page/Chrome.h:
- page/ChromeClient.h:
Add a "platform description to ContextMenuItem" creator, will be needed by WebKit2
- platform/ContextMenu.h:
- platform/mac/ContextMenuMac.mm:
(WebCore::contextMenuItemVector):
- platform/mac/ContextMenuItemMac.mm:
(WebCore::ContextMenuItem::checked): WebKit2 ports now need this implemented.
Stub these out to keep their WK2 ports building:
- platform/qt/ContextMenuItemQt.cpp:
(WebCore::ContextMenuItem::checked):
- platform/qt/ContextMenuQt.cpp:
(WebCore::contextMenuItemVector):
- platform/win/ContextMenuItemWin.cpp:
(WebCore::ContextMenuItem::checked):
- platform/win/ContextMenuWin.cpp:
(WebCore::contextMenuItemVector):
WebKit/chromium:
- src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::showContextMenu):
WebKit/efl:
- WebCoreSupport/ChromeClientEfl.h:
(WebCore::ChromeClientEfl::showContextMenu):
WebKit/gtk:
- WebCoreSupport/ChromeClientGtk.h:
(WebKit::ChromeClient::showContextMenu):
WebKit/haiku:
- WebCoreSupport/ChromeClientHaiku.h:
(WebCore::ChromeClientHaiku::showContextMenu):
WebKit/mac:
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient::showContextMenu):
WebKit/qt:
- WebCoreSupport/ChromeClientQt.h:
(WebCore::ChromeClientQt::showContextMenu):
WebKit/win:
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient::showContextMenu):
WebKit/wx:
- WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::showContextMenu):
WebKit2:
- WebKit2.pro:
- WebKit2.xcodeproj/project.pbxproj:
- win/WebKit2.vcproj:
- Shared/WebContextMenuItem.cpp: Added.
(WebKit::WebContextMenuItem::WebContextMenuItem):
(WebKit::WebContextMenuItem::encode):
(WebKit::WebContextMenuItem::decode):
(WebKit::kitItems):
- Shared/WebContextMenuItem.h: Added.
- UIProcess/API/mac/PageClientImpl.h:
- UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::createContextMenuProxy):
- UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::createContextMenuProxy): Stub to keep the build working.
- UIProcess/API/qt/qwkpage_p.h:
- UIProcess/PageClient.h:
- UIProcess/WebContextMenuProxy.cpp: Added.
(WebKit::WebContextMenuProxy::~WebContextMenuProxy):
(WebKit::WebContextMenuProxy::WebContextMenuProxy):
- UIProcess/WebContextMenuProxy.h: Added.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showContextMenu): Shows the menu after receiving the message from the WebProcess.
(WebKit::WebPageProxy::contextMenuItemSelected): Sends info about the selected menu item to the WebProcess
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/mac/WebContextMenuProxyMac.h: Added.
(WebKit::WebContextMenuProxyMac::create):
- UIProcess/mac/WebContextMenuProxyMac.mm: Added.
(+[WebMenuTarget sharedMenuTarget]):
(-[WebMenuTarget WebKit::]):
(-[WebMenuTarget setMenuProxy:WebKit::]):
(-[WebMenuTarget forwardContextMenuAction:]):
(WebKit::WebContextMenuProxyMac::WebContextMenuProxyMac):
(WebKit::WebContextMenuProxyMac::~WebContextMenuProxyMac):
(WebKit::WebContextMenuProxyMac::contextMenuItemSelected):
(WebKit::populateNSMenu):
(WebKit::nsMenuItemVector):
(WebKit::WebContextMenuProxyMac::populate):
(WebKit::WebContextMenuProxyMac::showContextMenu):
(WebKit::WebContextMenuProxyMac::hideContextMenu):
- UIProcess/win/WebView.cpp:
(WebKit::WebView::createContextMenuProxy): Stub for now.
- UIProcess/win/WebView.h:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::showContextMenu):
- WebProcess/WebCoreSupport/WebChromeClient.h:
- WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
(WebKit::WebContextMenuClient::getCustomMenuFromDefaultItems): Return the WebCore-provided default
menu for now. Embedding app customization will come later (see bug 48720)
- WebProcess/WebPage/WebContextMenu.cpp: Added.
(WebKit::WebContextMenu::WebContextMenu):
(WebKit::WebContextMenu::~WebContextMenu):
(WebKit::WebContextMenu::show):
(WebKit::WebContextMenu::itemSelected):
- WebProcess/WebPage/WebContextMenu.h: Added.
(WebKit::WebContextMenu::create):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::contextMenu):
(WebKit::handleMouseEvent): Pass right mouse presses along to WebCore as both a mouse event and context menu event,
the same way WebKit1 does.
(WebKit::WebPage::didSelectItemFromActiveContextMenu):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- 11:30 AM Changeset in webkit [71040] by
-
- 2 edits in trunk/WebKit/chromium
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: Chromium build fix.
- src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
- 11:18 AM Changeset in webkit [71039] by
-
- 13 edits2 adds in trunk
2010-11-01 Eric Carlson <eric.carlson@apple.com>
Reviewed by Adam Roben.
Seeking by very small increment doesn't generate 'seeked' event
https://bugs.webkit.org/show_bug.cgi?id=48530
Test: media/video-seek-by-small-increment.html
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::seek): Ask the media engine for its closest time value so we can avoid asking it to seek to the current time.
- platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::mediaTimeForTimeValue): New.
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h: (WebCore::MediaPlayerPrivateInterface::mediaTimeForTimeValue): Ditto.
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::mediaTimeForTimeValue): Return the closest value in the movie's time scale.
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::mediaTimeForTimeValue): Ditto
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
- platform/graphics/win/QTMovie.cpp: (QTMovie::timeScale): Return the movie's time scale.
- platform/graphics/win/QTMovie.h:
2010-11-01 Eric Carlson <eric.carlson@apple.com>
Reviewed by Adam Roben.
Seeking by very small increment doesn't generate 'seeked' event
https://bugs.webkit.org/show_bug.cgi?id=48530
- media/video-seek-by-small-increment-expected.txt: Added.
- media/video-seek-by-small-increment.html: Added.
- platform/qt/Skipped: Skip new test as it fails.
- 11:14 AM Changeset in webkit [71038] by
-
- 2 edits in trunk/WebCore
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: Chromium build fix. Adding missing transitive dependency.
- inspector/InspectorResourceAgent.cpp:
- 11:09 AM Changeset in webkit [71037] by
-
- 139 edits138 copies2 adds in trunk/LayoutTests
2010-11-01 Mihai Parparita <mihaip@chromium.org>
Update the pixel expectations for fast/block/margin-collapse for the Mac port.
For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.
List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.
- 11:02 AM Changeset in webkit [71036] by
-
- 4 edits in trunk/WebCore
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Removing references to removed file from project files.
- WebCore.gypi:
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.css:
- 10:56 AM Changeset in webkit [71035] by
-
- 38 edits4 deletes in trunk
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: remove old resources panel.
https://bugs.webkit.org/show_bug.cgi?id=45657
- CMakeLists.txt:
- English.lproj/localizedStrings.js:
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSInjectedScriptHostCustom.cpp:
- inspector/InjectedScriptHost.cpp:
- inspector/Inspector.idl:
- inspector/InspectorCSSStore.cpp:
- inspector/InspectorController.cpp: (WebCore::InspectorController::~InspectorController): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::releaseFrontendLifetimeAgents): (WebCore::InspectorController::populateScriptObjects): (WebCore::InspectorController::unbindAllResources): (WebCore::InspectorController::didCommitLoad): (WebCore::InspectorController::frameDetachedFromParent): (WebCore::InspectorController::didLoadResourceFromMemoryCache): (WebCore::InspectorController::identifierForInitialRequest): (WebCore::InspectorController::willSendRequest): (WebCore::InspectorController::markResourceAsCached): (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorController::scriptImported): (WebCore::InspectorController::didCreateWebSocket): (WebCore::InspectorController::willSendWebSocketHandshakeRequest): (WebCore::InspectorController::didReceiveWebSocketHandshakeResponse): (WebCore::InspectorController::didCloseWebSocket):
- inspector/InspectorController.h:
- inspector/InspectorFrontendHost.cpp:
- inspector/InspectorResource.cpp: Removed.
- inspector/InspectorResource.h: Removed.
- inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::setOverrideContent):
- inspector/InspectorResourceAgent.h:
- inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.addMessage): (WebInspector.ConsoleView.prototype.clearMessages):
- inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
- inspector/front-end/Images/resourcesSilhouette.png: Removed.
- inspector/front-end/Resource.js:
- inspector/front-end/ResourceManager.js: (WebInspector.ResourceManager.getContent):
- inspector/front-end/ResourcesPanel.js: Removed.
- inspector/front-end/Settings.js:
- inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel): (WebInspector.StoragePanel.prototype.get toolbarItemLabel):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js: (WebInspector._createPanels): (WebInspector.get networkResources): (WebInspector.forAllResources): (WebInspector.resourceForURL): (WebInspector.doLoadedDone.populateInspectorState): (WebInspector.openResource): (WebInspector.domContentEventFired): (WebInspector.loadEventFired): (WebInspector.reset): (WebInspector._choosePanelToShowSourceLine):
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: remove old resources panel.
https://bugs.webkit.org/show_bug.cgi?id=45657
- src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
- src/WebDevToolsAgentImpl.h:
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: remove old resources panel.
https://bugs.webkit.org/show_bug.cgi?id=45657
- http/tests/inspector/inspector-test2.js:
- http/tests/inspector/resource-har-conversion.html:
- http/tests/inspector/resource-parameters.html:
- inspector/audits-panel-functional.html:
- inspector/extensions-test.js:
- inspector/report-protocol-errors-expected.txt:
- inspector/report-protocol-errors.html:
- inspector/styles-source-offsets.html:
- 10:35 AM Changeset in webkit [71034] by
-
- 5 edits in trunk/WebCore
2010-10-28 Zhenyao Mo <zmo@google.com>
Reviewed by Kenneth Russell.
Fix enum naming style violation in GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=48441
- platform/graphics/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::extractImageData): (WebCore::GraphicsContext3D::extractTextureData): (WebCore::doPacking): (WebCore::GraphicsContext3D::packPixels):
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/cg/GraphicsContext3DCG.cpp: (WebCore::getSourceDataFormat): (WebCore::GraphicsContext3D::getImageData):
- platform/graphics/skia/GraphicsContext3DSkia.cpp: (WebCore::GraphicsContext3D::getImageData):
- 9:51 AM Changeset in webkit [71033] by
-
- 6 edits in trunk/WebKit2
Cancel main resource loads after we hand them off to the media engine
This is the WebKit2 equivalent of r51104. Clearly this code should be
moved to a cross-platform location someday.
Fixes <http://webkit.org/b/48561> <rdar://problem/8606679> Assertion
failure in DocumentLoader::commitData when loading a media document in
WebKit2
Reviewed by Eric Carlson.
- WebProcess/WebCoreSupport/WebErrors.h: Added pluginWillHandleLoadError.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::committedLoad): Cancel the main resource load
after handing off the load to the media engine. This code originally
came from -[WebHTMLRepresentation receivedData:withDataSource:].
(WebKit::WebFrameLoaderClient::pluginWillHandleLoadError): Call through to WebErrors.
(WebKit::WebFrameLoaderClient::shouldFallBack): Implemented. We fall
back for all errors except when the load was cancelled or we handed it
off to the media engine or a plugin.
- WebProcess/WebCoreSupport/mac/WebErrorsMac.mm:
(WebKit::pluginWillHandleLoadError): Implemented.
- WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp:
(WebKit::pluginWillHandleLoadError): Stubbed out.
- WebProcess/WebCoreSupport/win/WebErrorsWin.cpp:
(WebKit::pluginWillHandleLoadError): Implemented.
- 9:50 AM Changeset in webkit [71032] by
-
- 3 edits in trunk/WebKit/win
Cancel main resource loads after we hand them off to the media engine
This is the Windows equivalent of r51104. Clearly this code should be
moved to a cross-platform location someday.
Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
failure in DocumentLoader::commitData when loading a media document in
WebKit1 on Windows
Reviewed by Dan Bernstein.
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::committedLoad): Cancel the main resource load
after handing off the load to the media engine. This code originally
came from -[WebHTMLRepresentation receivedData:withDataSource:].
- WebFrame.cpp:
(WebFrame::shouldFallBack): Don't fall back when handing the resource
load off to the media engine or a plugin. Added error domain checking
so that we don't rely on error codes being unique.
- 9:00 AM Changeset in webkit [71031] by
-
- 4 edits in trunk
2010-11-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] Pasting markup into Thunderbird compose window produces no text
https://bugs.webkit.org/show_bug.cgi?id=43737
Include a content-type meta tag prefix on all clipboard markup. Programs like
Thunderbird expect this meta tag and will not paste anything unless it is there.
This is covered by changes to WebKit/gtk/tests/testcopyandpaste.c. This patch was
written in such a way as to not affect layout test results, otherwise there
would be many new GTK+-specific results that say "FAIL").
- platform/gtk/PasteboardHelper.cpp: (WebCore::removeMarkupPrefix): Added this helper which removes the prefix when found on incoming clipboard and drag-and-drop text. (WebCore::PasteboardHelper::getClipboardContents): Remove the meta tag prefix. (WebCore::PasteboardHelper::fillSelectionData): Add the meta tag prefix. (WebCore::PasteboardHelper::fillDataObjectFromDropData): Remove the meta tag prefix
2010-11-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] Pasting markup into Thunderbird compose window produces no text
https://bugs.webkit.org/show_bug.cgi?id=43737
Added a test verifying that the meta tag prefix on markup data exists.
- tests/testcopyandpaste.c: (load_status_cb): Add a check for the meta tag prefix.
- 8:50 AM Changeset in webkit [71030] by
-
- 2 edits in trunk/WebKitTools
2010-11-01 Søren Gjesse <sgjesse@chromium.org>
Reviewed by Andreas Kling.
Fix warning when compiling the chromium port of DumpRenderShell
with clang.
https://bugs.webkit.org/show_bug.cgi?id=48414
- DumpRenderTree/chromium/TestShell.h: (TestShell::javaScriptFlagsForLoad):
- 8:33 AM Changeset in webkit [71029] by
-
- 3 edits in trunk/WebKit2
2010-11-01 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt][WK2] Cleanup viewportAttributesForSize API
Change QSize argument to a const QSize&.
- UIProcess/API/qt/qwkpage.cpp: (QWKPage::viewportAttributesForSize):
- UIProcess/API/qt/qwkpage.h:
- 8:27 AM Changeset in webkit [71028] by
-
- 2 edits in trunk/LayoutTests
Unreviewed.
[Qt] DRT sideeffect revealed by r71004
https://bugs.webkit.org/show_bug.cgi?id=48758
- platform/qt/Skipped: fast/dom/nodesFromRect-basic.html added until fix.
- 8:23 AM Changeset in webkit [71027] by
-
- 3 edits2 adds in trunk
2010-11-01 Justin Schuh <jschuh@chromium.org>
Reviewed by Dirk Schulze.
Check for NULL node in SVGUseElement::associateInstancesWithShadowTreeElements loop
https://bugs.webkit.org/show_bug.cgi?id=48741
- svg/custom/use-on-use-with-child-and-empty-target-expected.txt: Added.
- svg/custom/use-on-use-with-child-and-empty-target.svg: Added.
2010-11-01 Justin Schuh <jschuh@chromium.org>
Reviewed by Dirk Schulze.
Check for NULL node in SVGUseElement::associateInstancesWithShadowTreeElements loop
https://bugs.webkit.org/show_bug.cgi?id=48741
Test: svg/custom/use-on-use-with-child-and-empty-target.svg
- svg/SVGUseElement.cpp: (WebCore::SVGUseElement::associateInstancesWithShadowTreeElements):
- 8:11 AM BuildingOnWindows edited by
- Added some more DLLs that need to be rebased (diff)
- 8:08 AM BuildingOnWindows edited by
- Update instructions for rebasing libphp4.dll (diff)
- 8:05 AM Changeset in webkit [71026] by
-
- 5 edits2 adds in trunk
2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[Gtk] AtkHyperlink needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=33785
Implemented the AtkHyperlink/AtkHypertext stuff in the GTK port.
Even thought these kind of tasks are usually about implementing an
interface, in this case it was needed to implement some more
things due to the fact that AtkHyperlink is neither an interface
nor an AtkObject, but just an abstract class child of GObject that
needs to be redefined in a specific subclass of that one. On top
of that, it was needed to implement the AtkAction interface as
well for that new class, so exposed hyperlinks can work as
expected with Assistive Technologies based on ATK.
Furthermore, as there's no mechanism to get an instance of that
AtkHyperlink other than doing it through an AtkObject implementing
the AtkHypertext interface, it was needed to also add the code to
implement that one, so it makes possible to ask for the
'hyperlinks' under an 'hypertext' accessible object.
Finally, to complete the implementation of all this stuff and make
it all consistent, it was needed as well to implement the
AtkHyperlinkImpl interface (providing just one method only) so
that allows retrieving the AtkHyperlink object associated to an
AtkObject implementing such an interface.
- GNUmakefile.am: Add the new WebKitAccessibleHyperlink.[h|cpp] files to the sources list for the GTK port.
- accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (core): New function to return the core accessibility object related to an AtkObject implementing the AtkHypertext interface. (webkitAccessibleHypertextGetLink): New, part of the implementation of the AtkHypertext interface. (webkitAccessibleHypertextGetNLinks): New, likewise. (webkitAccessibleHypertextGetLinkIndex): New, likewise. (atkHypertextInterfaceInit): New, initialize the AtkHypertext interface. (webkitAccessibleHyperlinkImplGetHyperlink): New, part of the implementation of the AtkHyperlinkImpl interface. (atkHyperlinkImplInterfaceInit): New, initialize the AtkHyperlinkImpl interface. (GetAtkInterfaceTypeFromWAIType): Add ATK_TYPE_HYPERTEXT and ATK_TYPE_HYPERLINK_IMPL to the list of recognized types. (getInterfaceMaskFromObject): Decide when it's needed to add WAI_HYPERTEXT and WAI_HYPERLINK to the interface mask.
- accessibility/gtk/WebKitAccessibleHyperlink.h: Added.
- accessibility/gtk/WebKitAccessibleHyperlink.cpp: Added. (returnString): Return (const char*) from String variables. (core): Return the associated AccessibilityObject. (webkitAccessibleHyperlinkActionDoAction): Part of the implementation of the AtkAction interface. (webkitAccessibleHyperlinkActionGetNActions): Likewise. (webkitAccessibleHyperlinkActionGetDescription): Likewise. (webkitAccessibleHyperlinkActionGetKeybinding): Likewise. (webkitAccessibleHyperlinkActionGetName): Likewise. (atkActionInterfaceInit): Initialize the AtkAction interface. (getRangeLengthForObject): Returns the length for a given Range, considering special cases (e.g. List item markers). (webkitAccessibleHyperlinkGetURI): Implementation of one of the methods in the AtkHyperlink abstract class. (webkitAccessibleHyperlinkGetObject): Likewise. (webkitAccessibleHyperlinkGetStartIndex): Likewise. (webkitAccessibleHyperlinkGetEndIndex): Likewise. (webkitAccessibleHyperlinkIsValid): Likewise. (webkitAccessibleHyperlinkGetNAnchors): Likewise. (webkitAccessibleHyperlinkIsSelectedLink): Likewise. (webkitAccessibleHyperlinkGetProperty): Getter method. (webkitAccessibleHyperlinkSetProperty): Setter method. (webkitAccessibleHyperlinkFinalize): Finalize method. (webkitAccessibleHyperlinkClassInit): Initialize the WebKitAccessibleHyperlink class. (webkitAccessibleHyperlinkInit): Initialize the WebKitAccessibleHyperlink instance. (webkitAccessibleHyperlinkGetType): Implementation of the get_type() function for the WebKitAccessibleHyperlink class. (webkitAccessibleHyperlinkNew): Returns an instance of the class associated to a given AtkHyperlinkImpl object. (webkitAccessibleHyperlinkGetAccessibilityObject): Public function returning the AccessibilityObject associated to the instance of the WebKitAccessibleHyperlink class.
2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[Gtk] AtkHyperlink needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=33785
New test to ensure the AtkHypertext/AtkHyperlink stuff works.
- tests/testatk.c: (testWebkitAtkHypertextAndHyperlinks): New test, checking both the implementation of the AtkHypertext interface, the subclass of the AtkHyperlink abstract class, and the implementation of the AtkAction interface in that subclass. (main): Added the new unit test.
- 7:55 AM Changeset in webkit [71025] by
-
- 2 edits in trunk/LayoutTests
Add two more failing tests to the WebKit2 Skipped file
- platform/mac-wk2/Skipped:
- 7:38 AM Changeset in webkit [71024] by
-
- 2 edits in trunk/LayoutTests
Add some failing/timing out tests to the Windows Skipped file
- platform/win/Skipped:
- 7:32 AM Changeset in webkit [71023] by
-
- 2 edits in trunk/WebKitTools
Fix typo from r71022
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 7:29 AM Changeset in webkit [71022] by
-
- 2 edits in trunk/WebKitTools
Trigger the Windows Release WebKit2 tests when a Release build finishes, not when a Debug build finishes
Fixes <http://webkit.org/b/48754> Windows Release WebKit2 tests are
triggered at the wrong time
Reviewed by Sam Weinig.
- BuildSlaveSupport/build.webkit.org-config/config.json: Fixed
triggerable name and trigger.
- 7:28 AM Changeset in webkit [71021] by
-
- 2 edits in trunk/LayoutTests
2010-11-01 Jeremy Orlow <jorlow@chromium.org>
Remove test previous patch fixed.
- platform/chromium/test_expectations.txt:
- 7:26 AM Changeset in webkit [71020] by
-
- 3 edits in trunk/LayoutTests
2010-11-01 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Steve Block.
Fix IndexedDB layout test
https://bugs.webkit.org/show_bug.cgi?id=48644
This test needs to be async. Also clean up a few other things like
using a logger div rather than document.write.
- storage/indexeddb/tutorial-expected.txt:
- storage/indexeddb/tutorial.html:
- 5:56 AM Changeset in webkit [71019] by
-
- 6 edits in trunk
2010-11-01 Leandro Gracia Gil <leandrogracia@google.com>
Reviewed by Jeremy Orlow.
This is the last part of a 4-sided patch for the language attribute
in speech text buttons. This patch removes what now is dead code
and re-enables the layout test introduced by bug 47089.
https://bugs.webkit.org/show_bug.cgi?id=47420
- platform/chromium/test_expectations.txt:
2010-11-01 Leandro Gracia Gil <leandrogracia@google.com>
Reviewed by Jeremy Orlow.
This is the last part of a 4-sided patch for the language attribute
in speech text buttons. This patch removes what now is dead code
and re-enables the layout test introduced by bug 47089.
https://bugs.webkit.org/show_bug.cgi?id=47420
- public/WebSpeechInputControllerMock.h:
- src/WebSpeechInputControllerMockImpl.cpp:
- src/WebSpeechInputControllerMockImpl.h:
- 5:21 AM WinCE edited by
- (diff)
- 4:28 AM Changeset in webkit [71018] by
-
- 2 edits in trunk/WebKitTools
2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
Unreviewed. Adding my IRC nickname to the list of committers.
- Scripts/webkitpy/common/config/committers.py:
- 4:09 AM Changeset in webkit [71017] by
-
- 6 edits in trunk
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: simplify inspector styles test to make all bots happy.
(drive-by fix for overriden inspector styles in network panel).
- inspector/InspectorController.h:
- inspector/front-end/networkPanel.css:
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: simplify styles test to make all bots happy.
- inspector/styles-source-lines-inline-expected.txt:
- inspector/styles-source-lines-inline.html:
- 3:25 AM Changeset in webkit [71016] by
-
- 3 edits in trunk
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Updating inspector test expectation as a follow up to r71010.
- inspector/styles-source-lines-inline-expected.txt:
- 2:12 AM Changeset in webkit [71015] by
-
- 12 edits in trunk/LayoutTests
2010-11-01 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Enable StrictTypeChecking for all types using SVG(Animated)PropertyTearOff
https://bugs.webkit.org/show_bug.cgi?id=48715
Forgot to land some changes in my previous commit.
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cx-prop.js:
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cy-prop.js:
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-r-prop.js:
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cx-prop.js:
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cy-prop.js:
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-rx-prop.js:
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-ry-prop.js:
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-height-prop.js:
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-width-prop.js:
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-x-prop.js:
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-y-prop.js:
- 1:57 AM Changeset in webkit [71014] by
-
- 18 edits3 moves27 adds2 deletes in trunk
2010-10-31 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Rob Buis.
Enable StrictTypeChecking for all types using SVG(Animated)PropertyTearOff
https://bugs.webkit.org/show_bug.cgi?id=48715
Enable StrictTypeChecking for all readwrite attributes and function calls of all types using the new SVG(Animated)PropertyTearOff concept.
Also enable RequiresAllArguments=Raise for all function calls of these new types. Cover this functionality by tests for each of them.
When testing SVGLength it became obvious that quite a lot of functionality was missing.
Conversion from relative arguments (percentage, ems, exs) to user specified units was missing, added that functionality and tested it.
User units to pt conversion was wrong, fixed that.
Tests: svg/dom/SVGAnimatedAngle.html
svg/dom/SVGAnimatedBoolean.html
svg/dom/SVGAnimatedEnumeration.html
svg/dom/SVGAnimatedInteger.html
svg/dom/SVGAnimatedLength.html
svg/dom/SVGAnimatedLengthList.html
svg/dom/SVGAnimatedRect.html
svg/dom/SVGLength-px-with-context.html
svg/dom/SVGLength-px.html
svg/dom/SVGLength.html
- bindings/js/JSSVGLengthCustom.cpp: These SVGLength methods now take an ExceptionCode parameter, adapt to that. (WebCore::JSSVGLength::value): (WebCore::JSSVGLength::setValue): (WebCore::JSSVGLength::convertToSpecifiedUnits):
- bindings/scripts/CodeGeneratorObjC.pm: Remove FIXMEs, pass real context instead off null pointer. DOMSVGLength::value is functional now.
- bindings/v8/custom/V8SVGLengthCustom.cpp: These SVGLength methods now take an ExceptionCode parameter, adapt to that. (WebCore::V8SVGLength::valueAccessorGetter): (WebCore::V8SVGLength::valueAccessorSetter): (WebCore::V8SVGLength::convertToSpecifiedUnitsCallback):
- rendering/style/SVGRenderStyle.h: Adapt to SVGLength API changes. (WebCore::SVGRenderStyle::initialBaselineShiftValue): (WebCore::SVGRenderStyle::initialKerning): (WebCore::SVGRenderStyle::initialStrokeDashOffset): (WebCore::SVGRenderStyle::initialStrokeWidth):
- svg/SVGAngle.idl: Add StrictTypeChecking, RequiresAllArguments=Raise to all methods.
- svg/SVGAnimatedBoolean.idl: Remove StrictTypeChecking from animVal, it's readonly so this is useless.
- svg/SVGAnimatedEnumeration.idl: Add StrictTypeChecking to all attributes.
- svg/SVGAnimatedInteger.idl: Ditto.
- svg/SVGLength.cpp: Implement all missing features of SVGLength. Conform to our style guide (s/.0f etc) (WebCore::lengthTypeToString): (WebCore::SVGLength::SVGLength): (WebCore::SVGLength::value): Throw NOT_SUPPORTED_ERR when trying to obtain to relative units, when no context is given (SVGLength created by createSVGLength()). (WebCore::SVGLength::setValue): Ditto, for the setter. (WebCore::SVGLength::valueAsPercentage): Use m_valueInSpecifiedUnits instead of valueInSpecifiedUnits(). (WebCore::SVGLength::setValueAsString): Throw SYNTAX_ERR if parsing failed. (WebCore::SVGLength::valueAsString): Use makeString() instead of String and operator+. (WebCore::SVGLength::newValueSpecifiedUnits): Add ExceptionCode parameter, throw NOT_SUPPORTED_ERR, if the given unit type is invalid. (WebCore::SVGLength::convertToSpecifiedUnits): Ditto. (WebCore::SVGLength::determineViewport): Added helper function used by convertValue*Percentage*. (WebCore::SVGLength::convertValueFromUserUnitsToPercentage): Add new helper functions, used by value/setValue. (WebCore::SVGLength::convertValueFromPercentageToUserUnits): Ditto. (WebCore::SVGLength::convertValueFromUserUnitsToEMS): Ditto. (WebCore::SVGLength::convertValueFromEMSToUserUnits): Ditto. (WebCore::SVGLength::convertValueFromUserUnitsToEXS): Ditto. (WebCore::SVGLength::convertValueFromEXSToUserUnits): Ditto. (WebCore::SVGLength::fromCSSPrimitiveValue): Adapt to newValueSpecifiedUnits API change. (WebCore::SVGLength::toCSSPrimitiveValue): Remove default switch case.
- svg/SVGLength.h: (WebCore::SVGLength::valueInSpecifiedUnits): Inlined. (WebCore::SVGLength::setValueInSpecifiedUnits): Ditto. (WebCore::SVGLength::isRelative):
- svg/SVGLength.idl: Add StrictTypeChecking for all attributes/functions and RequiresAllArguments=Raise for all functions.
- svg/SVGLengthList.cpp: Adapt to SVGLength API changes. (WebCore::SVGLengthList::parse):
2010-10-31 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Rob Buis.
Enable StrictTypeChecking for all types using SVG(Animated)PropertyTearOff
https://bugs.webkit.org/show_bug.cgi?id=48715
- svg/dom/SVGAngle-expected.txt:
- svg/dom/SVGAnimatedAngle-expected.txt: Added.
- svg/dom/SVGAnimatedAngle.html: Added.
- svg/dom/SVGAnimatedBoolean-expected.txt: Copied from LayoutTests/svg/dom/SVGExternalResourcesRequired-expected.txt.
- svg/dom/SVGAnimatedBoolean.html: Copied from LayoutTests/svg/dom/SVGExternalResourcesRequired.html.
- svg/dom/SVGAnimatedEnumeration-expected.txt: Added.
- svg/dom/SVGAnimatedEnumeration.html: Added.
- svg/dom/SVGAnimatedInteger-expected.txt: Added.
- svg/dom/SVGAnimatedInteger.html: Added.
- svg/dom/SVGAnimatedLength-expected.txt: Added.
- svg/dom/SVGAnimatedLength.html: Added.
- svg/dom/SVGAnimatedLengthList-expected.txt: Added.
- svg/dom/SVGAnimatedLengthList.html: Added.
- svg/dom/SVGAnimatedRect-expected.txt: Added.
- svg/dom/SVGAnimatedRect.html: Added.
- svg/dom/SVGExternalResourcesRequired-expected.txt: Removed.
- svg/dom/SVGExternalResourcesRequired.html: Removed.
- svg/dom/SVGLength-expected.txt: Added.
- svg/dom/SVGLength-px-expected.txt: Added.
- svg/dom/SVGLength-px-with-context-expected.txt: Added.
- svg/dom/SVGLength-px-with-context.html: Added.
- svg/dom/SVGLength-px.html: Added.
- svg/dom/SVGLength.html: Added.
- svg/dom/script-tests/SVGAngle.js:
- svg/dom/script-tests/SVGAnimatedAngle.js: Added.
- svg/dom/script-tests/SVGAnimatedBoolean.js: Copied from LayoutTests/svg/dom/script-tests/SVGExternalResourcesRequired.js.
- svg/dom/script-tests/SVGAnimatedEnumeration.js: Added.
- svg/dom/script-tests/SVGAnimatedInteger.js: Added.
- svg/dom/script-tests/SVGAnimatedLength.js: Added.
- svg/dom/script-tests/SVGAnimatedLengthList.js: Added.
- svg/dom/script-tests/SVGAnimatedRect.js: Added.
- svg/dom/script-tests/SVGExternalResourcesRequired.js: Removed.
- svg/dom/script-tests/SVGLength-px-with-context.js: Added. Tests various operations on a SVGLength object obtained via rectElement.x.baseVal.
- svg/dom/script-tests/SVGLength-px.js: Added. Tests various operations on a SVGLength object created via svgElement.createSVGLength().
- svg/dom/script-tests/SVGLength.js: Added.
- svg/dom/svg-length-units-expected.txt: Removed.
- svg/dom/svg-length-units.html: Removed. Test is obsolete now, as SVGLength* covers this in detail.
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cx-prop.js: (executeTest): Fixed StrictTypeChecking correctness, don't assign strings as SVGLength value.
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cy-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-r-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cx-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cy-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-rx-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-ry-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-height-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-width-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-x-prop.js: (executeTest): Ditto.
- svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-y-prop.js: (executeTest): Ditto.
- 12:57 AM Changeset in webkit [71013] by
-
- 2 edits in trunk/LayoutTests
2010-10-31 Roland Steiner <rolandsteiner@chromium.org>
Unreviewed: add failing SVG tests to Chromium test_expectations.txt.
WebKit roll 70949:71000 caused failures within 4 SVG tests on all platforms.
Bot and server outages make analysis difficult, thus adding to
Chromium test_expectations.txt for the time being.
- platform/chromium/test_expectations.txt:
- 12:30 AM Changeset in webkit [71012] by
-
- 2 edits in trunk/LayoutTests
2010-11-01 Pavel Feldman <pfeldman@chromium.org>
Not reviewed. Fixing test expectation for r71010.
- inspector/console-log-syntax-error-expected.txt:
- 12:19 AM Changeset in webkit [71011] by
-
- 5 edits in trunk/LayoutTests
2010-11-01 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r71002.
http://trac.webkit.org/changeset/71002
https://bugs.webkit.org/show_bug.cgi?id=48743
Makes Leopard and GTK bots red. (Requested by pfeldman on
#webkit).
- platform/chromium-gpu/test_expectations.txt:
- platform/gtk/Skipped:
- platform/mac-leopard/Skipped:
- platform/qt/Skipped:
- 12:07 AM Changeset in webkit [71010] by
-
- 16 edits in trunk
2010-10-31 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: unhide new network and resources panels.
https://bugs.webkit.org/show_bug.cgi?id=48725
- English.lproj/localizedStrings.js:
- inspector/InspectorController.h:
- inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel):
- inspector/front-end/Settings.js:
- inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel): (WebInspector.StoragePanel.prototype.reset): (WebInspector.StoragePanel.prototype.addResourceToFrame): (WebInspector.StoragePanel.prototype.addDocumentURL): (WebInspector.StoragePanel.prototype.showFileSystem): (WebInspector.FileSystemTreeElement): (WebInspector.FileSystemTreeElement.prototype.get itemURL): (WebInspector.FileSystemTreeElement.prototype.onselect):
- inspector/front-end/inspector.js: (WebInspector.updateResource):
- inspector/front-end/networkPanel.css: (#network-close-button): (.network.panel.viewing-resource #network-close-button):
2010-10-31 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: unhide new network and resources panels.
https://bugs.webkit.org/show_bug.cgi?id=48725
- http/tests/inspector/console-xhr-logging-expected.txt:
- http/tests/inspector/resource-parameters-expected.txt:
- inspector/console-log-syntax-error-expected.txt:
- inspector/elements-panel-styles-expected.txt:
2010-10-31 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: unhide new network and resources panels.
https://bugs.webkit.org/show_bug.cgi?id=48725
- src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
Oct 31, 2010:
- 11:35 PM Changeset in webkit [71009] by
-
- 10 edits2 adds in trunk/WebCore
2010-10-26 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
Refactoring: Spellchecking related static functions could form a class
https://bugs.webkit.org/show_bug.cgi?id=48287
Extracted spellcheck related static functions to TextCheckingHelper class,
which has EditorClient and Range as its member.
No new tests. Just a refactoring.
- CMakeLists.txt:
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- editing/EditingAllInOne.cpp
- editing/Editor.cpp: (WebCore::Editor::advanceToNextMisspelling): (WebCore::Editor::isSelectionUngrammatical): (WebCore::Editor::guessesForUngrammaticalSelection): (WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection): (WebCore::Editor::markMisspellingsAfterTypingToPosition): (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::markMisspellings): (WebCore::Editor::markBadGrammar): (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::changeBackToReplacedString):
- editing/Editor.h:
- editing/TextCheckingHelper.cpp: Added. (WebCore::TextCheckingHelper::TextCheckingHelper): (WebCore::TextCheckingHelper::~TextCheckingHelper): (WebCore::TextCheckingHelper::paragraphAlignedRange): (WebCore::TextCheckingHelper::findFirstMisspelling): (WebCore::TextCheckingHelper::findFirstMisspellingOrBadGrammar): (WebCore::TextCheckingHelper::findFirstGrammarDetail): (WebCore::TextCheckingHelper::findFirstBadGrammar): (WebCore::TextCheckingHelper::isUngrammatical): (WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange): (WebCore::TextCheckingHelper::markAllMisspellings): (WebCore::TextCheckingHelper::markAllBadGrammar):
- editing/TextCheckingHelper.h: Added.
- 9:21 PM Changeset in webkit [71008] by
-
- 2 edits in trunk/WebCore
2010-10-31 Xan Lopez <xlopez@igalia.com>
Try to fix the GTK+ build.
Do not use broken/deprecated functions that won't be available
with G_DISABLE_DEPRECATED (used in debug builds).
- plugins/gtk/PluginPackageGtk.cpp: (WebCore::PluginPackage::fetchInfo):
- 7:54 PM Changeset in webkit [71007] by
-
- 2 edits in trunk/WebCore
2010-10-31 Kenichi Ishibashi <bashi@google.com>
Reviewed by Adam Barth.
V8 binding for DOMSettableTokenList
https://bugs.webkit.org/show_bug.cgi?id=47812
Tests for this change will be included in the change for supporting
the <output> element.
See https://bugs.webkit.org/show_bug.cgi?id=29363.
- bindings/v8/custom/V8DOMSettableTokenListCustom.cpp: Implemented. (WebCore::V8DOMSettableTokenList::indexedPropertyGetter): Just calls DOMSettableTokenList::item(index).
- 7:48 PM Changeset in webkit [71006] by
-
- 5 edits in trunk
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] [Gtk] Plug-ins having upper case in mime type are failing to load
Qt and Gtk are case-sensitive when storing the declared mime-type
of plugins. Since plugin mime-types are lowercased prior to searching
for them in the plugin database, ensure they are loaded with the
mime-type in lower case too.
- plugins/gtk/PluginPackageGtk.cpp: (WebCore::PluginPackage::fetchInfo):
- plugins/qt/PluginPackageQt.cpp: (WebCore::PluginPackage::setMIMEDescription):
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] [Gtk] Plug-ins having upper case in mime type are failing to load
Qt and Gtk are case-sensitive when storing the declared mime-type
of plugins. Since plugin mime-types are lowercased prior to searching
for them in the plugin database, ensure they are loaded with the
mime-type in lower case too.
Change the test netscape plugin to declare its mimetype in sentence
case so that the correct behaviour is enforced.
- DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (NP_GetMIMEDescription):
- 7:37 PM Changeset in webkit [71005] by
-
- 1 edit4 adds in trunk/LayoutTests
2010-10-31 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Ojan Vafai.
Add layout test to make sure we don't regress truncation of an rtl block.
- fast/block/basic/truncation-rtl.html: Added.
- platform/mac/fast/block/basic/truncation-rtl-expected.checksum: Added.
- platform/mac/fast/block/basic/truncation-rtl-expected.png: Added.
- platform/mac/fast/block/basic/truncation-rtl-expected.txt: Added.
- 7:30 PM Changeset in webkit [71004] by
-
- 10 edits in trunk
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] Support nodesFromRect in DRT
Unskip fast/dom/nodesFromRect-basic.html
- platform/qt/Skipped:
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] Support nodesFromRect in DRT
Pass a Document object as a QWebElement.
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::convertValueToQVariant):
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] Support nodesFromRect in DRT
- WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::nodesFromRect):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
2010-10-31 Robert Hogan <robert@webkit.org>
Reviewed by Antonio Gomes.
[Qt] Support nodesFromRect in DRT
- DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::nodesFromRect):
- DumpRenderTree/qt/LayoutTestControllerQt.h:
- 7:20 PM Changeset in webkit [71003] by
-
- 2 edits in trunk/LayoutTests
2010-10-31 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Antonio Gomes.
[GTK] Add bug ID for skipped <meter> tests
https://bugs.webkit.org/show_bug.cgi?id=48714
- platform/gtk/Skipped:
- 7:17 PM Changeset in webkit [71002] by
-
- 5 edits in trunk/LayoutTests
2010-10-31 Mike Lawther <mikelawther@chromium.org>
Reviewed by Andreas Kling.
unskip canvas/philip/tests/2d.imageData.get.source.negative on all ports
https://bugs.webkit.org/show_bug.cgi?id=48702
- platform/chromium-gpu/test_expectations.txt:
- platform/gtk/Skipped:
- platform/mac-leopard/Skipped:
- platform/qt/Skipped:
- 7:04 PM Changeset in webkit [71001] by
-
- 3 edits6 adds in trunk
2010-10-31 Peter Kasting <pkasting@google.com>
Reviewed by Adam Barth.
Treat GIFs with no loop count as "loop once".
https://bugs.webkit.org/show_bug.cgi?id=47302
- fast/images/gif-loop-count-expected.checksum: Added.
- fast/images/gif-loop-count-expected.png: Added.
- fast/images/gif-loop-count-expected.txt: Added.
- fast/images/gif-loop-count.html: Added.
- fast/images/resources/gif-loop-count.gif: Added.
- fast/images/resources/gif-loop-count.png: Added.
2010-10-31 Peter Kasting <pkasting@google.com>
Reviewed by Adam Barth.
Treat GIFs with no loop count as "loop once".
https://bugs.webkit.org/show_bug.cgi?id=47302
Test: fast/images/gif-loop-count.html
- platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::repetitionCount): (WebCore::GIFImageDecoder::gifComplete):
- 6:39 PM Changeset in webkit [71000] by
-
- 2 edits in trunk/WebCore
2010-10-31 No'am Rosenthal <noam.rosenthal@nokia.com>
Reviewed by Andreas Kling.
[Texmap] [Qt] Texture mapper initial implementation
https://bugs.webkit.org/show_bug.cgi?id=47070
Build fix for X11.
No new tests; build fix.
- plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::invalidateRect): (WebCore::PluginView::platformStart):
- 1:42 PM Changeset in webkit [70999] by
-
- 2 edits in trunk/WebKit/qt
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Short-circuit QWebPage::selectedText() if frame has no selection
https://bugs.webkit.org/show_bug.cgi?id=48736
Do an early return if the selection is empty.
No new tests, this is covered by tst_QWebPage::findText().
- Api/qwebpage.cpp: (QWebPage::selectedText):
- 1:33 PM Changeset in webkit [70998] by
-
- 2 edits1 add in trunk/LayoutTests
2010-10-31 James Simonsen <simonjam@chromium.org>
Reviewed by Andreas Kling.
Rebaseline a fast/dynamic LayoutTest for Chromium Linux
fast/dynamic/positioned-movement-with-positioned-children.html exposes
a change to the defult button style on Linux.
Prior to bug 26030, buttons were always drawn as #dddddd, regardless of
what the style said. The default style had been #c0c0c0. With the fix,
buttons now honor the style sheet, but in order to maintain
consistency, the default style for Linux was changed to #dddddd.
This patch updates the test to reflect the newer Linux button style.
- platform/chromium-linux/fast/dynamic/positioned-movement-with-positioned-children-expected.txt: Added.
- platform/chromium/test_expectations.txt: Removed rebaselined test.
- 1:20 PM Changeset in webkit [70997] by
-
- 4 edits in trunk/WebKit2
2010-10-31 Darin Adler <Darin Adler>
Reviewed by Dan Bernstein.
Visited links not populated correctly in new web processes after the first
https://bugs.webkit.org/show_bug.cgi?id=48735
rdar://problem/8442177
- UIProcess/VisitedLinkProvider.cpp: (WebKit::VisitedLinkProvider::VisitedLinkProvider): Initialize m_webProcessHasVisitedLinkState. (WebKit::VisitedLinkProvider::processDidFinishLaunching): Renamed from populateVisitedLinksIfNeeded. Set m_webProcessHasVisitedLinkState to false, since this is a new process, and also start the timer so the visited links messages will be sent. (WebKit::VisitedLinkProvider::processDidClose): Renamed from stopVisitedLinksTimer. (WebKit::VisitedLinkProvider::pendingVisitedLinksTimerFired): Added logic so we send SetVisitedLinkTable and AllVisitedLinkStateChanged once to each new process and to set m_webProcessHasVisitedLinkState to true once that is done.
- UIProcess/VisitedLinkProvider.h: Updated for above changes.
- UIProcess/WebContext.cpp: (WebKit::WebContext::processDidFinishLaunching): Called VisitedLinkProvider function under its new name. Also used ASSERT_UNUSED rather than ASSERT since the argument is used only for the assertion. (WebKit::WebContext::processDidClose): Ditto.
- 12:32 PM Changeset in webkit [70996] by
-
- 10 edits in trunk/WebCore
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Dirk Schulze.
Remove the unused GraphicsContext::clipOutEllipseInRect(IntRect)
https://bugs.webkit.org/show_bug.cgi?id=48727
This function was added in <http://trac.webkit.org/changeset/18654> for CSS3 box-shadows.
All use of the function was removed in <http://trac.webkit.org/changeset/21601>
- platform/graphics/GraphicsContext.h:
- platform/graphics/cairo/GraphicsContextCairo.cpp:
- platform/graphics/cg/GraphicsContextCG.cpp:
- platform/graphics/haiku/GraphicsContextHaiku.cpp: (WebCore::GraphicsContext::clipOut):
- platform/graphics/openvg/GraphicsContextOpenVG.cpp:
- platform/graphics/qt/GraphicsContextQt.cpp:
- platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::clipOut):
- platform/graphics/wince/GraphicsContextWinCE.cpp:
- platform/graphics/wx/GraphicsContextWx.cpp:
- 12:30 PM Changeset in webkit [70995] by
-
- 2 edits in trunk/WebCore
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Dirk Schulze.
[Qt] Respect the "antialiased" argument in clipConvexPolygon()
https://bugs.webkit.org/show_bug.cgi?id=48734
Set (or unset) the QPainter::Antialiased render hint for antialiased
clipping based on the "antialiased" argument.
No test since Qt doesn't have pixel tests yet.
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::clipConvexPolygon):
- 12:02 PM Changeset in webkit [70994] by
-
- 3 edits in trunk/WebCore
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Dirk Schulze.
Remove the unused GraphicsContext::strokeRect(FloatRect)
https://bugs.webkit.org/show_bug.cgi?id=48726
This function was only implemented by GraphicsContextOpenVG and not
called from anywhere.
- platform/graphics/GraphicsContext.h:
- platform/graphics/openvg/GraphicsContextOpenVG.cpp:
- 11:59 AM Changeset in webkit [70993] by
-
- 7 edits in trunk/WebCore
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Dirk Schulze.
Remove the unused GraphicsContext::origin()
https://bugs.webkit.org/show_bug.cgi?id=48732
This method was not called from anywhere.
- platform/graphics/GraphicsContext.h:
- platform/graphics/cairo/GraphicsContextCairo.cpp:
- platform/graphics/haiku/GraphicsContextHaiku.cpp:
- platform/graphics/openvg/GraphicsContextOpenVG.cpp:
- platform/graphics/qt/GraphicsContextQt.cpp:
- platform/graphics/wince/GraphicsContextWinCE.cpp:
- 11:57 AM Changeset in webkit [70992] by
-
- 4 edits in trunk/WebCore
2010-10-31 Andreas Kling <kling@webkit.org>
Reviewed by Dirk Schulze.
[Qt] Remove GraphicsContext::pen()
https://bugs.webkit.org/show_bug.cgi?id=48733
Have PathQt obtain the pen() through the platformContext() instead.
- platform/graphics/GraphicsContext.h:
- platform/graphics/qt/GraphicsContextQt.cpp:
- platform/graphics/qt/PathQt.cpp: (WebCore::Path::strokeContains): (WebCore::Path::strokeBoundingRect):
- 10:33 AM Changeset in webkit [70991] by
-
- 25 edits4 deletes in trunk
2010-10-31 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r70959.
http://trac.webkit.org/changeset/70959
https://bugs.webkit.org/show_bug.cgi?id=48731
It broke fast/events/spatial-navigation tests (Requested by
Ossy on #webkit).
- WebCore.xcodeproj/project.pbxproj:
- rendering/InlineBox.cpp: (WebCore::InlineBox::adjustForFlippedBlocksWritingMode):
- rendering/InlineFlowBox.h: (WebCore::InlineFlowBox::bottomLayoutOverflow): (WebCore::InlineFlowBox::rightLayoutOverflow): (WebCore::InlineFlowBox::bottomVisualOverflow): (WebCore::InlineFlowBox::rightVisualOverflow):
- rendering/RenderBox.cpp:
- rendering/RenderBox.h:
- rendering/RenderInline.cpp: (WebCore::RenderInline::linesBoundingBox): (WebCore::RenderInline::linesVisibleOverflowBoundingBox): (WebCore::RenderInline::clippedOverflowRectForRepaint):
- rendering/RenderText.cpp: (WebCore::RenderText::linesBoundingBox):
2010-10-31 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r70959.
http://trac.webkit.org/changeset/70959
https://bugs.webkit.org/show_bug.cgi?id=48731
It broke fast/events/spatial-navigation tests (Requested by
Ossy on #webkit).
- fast/repaint/inline-vertical-rl-overflow.html: Removed.
- platform/mac/fast/blockflow/background-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/background-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/basic-vertical-line-expected.txt:
- platform/mac/fast/blockflow/border-image-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/border-image-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
- platform/mac/fast/blockflow/border-vertical-lr-expected.png:
- platform/mac/fast/blockflow/border-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
- platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
- platform/mac/fast/blockflow/english-lr-text-expected.txt:
- platform/mac/fast/blockflow/english-rl-text-expected.txt:
- platform/mac/fast/blockflow/japanese-lr-text-expected.txt:
- platform/mac/fast/blockflow/japanese-rl-text-expected.txt:
- platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum: Removed.
- platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.png: Removed.
- platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Removed.
- platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:
- 9:04 AM Changeset in webkit [70990] by
-
- 1 edit1 add in trunk/LayoutTests
2010-10-31 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Convert SVGAnimatedNumber/SVGAnimatedNumberList to the new SVGAnimatedPropertyTearOff concept
https://bugs.webkit.org/show_bug.cgi?id=48686
Forgot to land SVGAnimatedNumber.js, fails on all bots. Thanks Darin for noticing.
- svg/dom/script-tests/SVGAnimatedNumber.js: Added.