Timeline
Jan 9, 2013:
- 11:44 PM Changeset in webkit [139290] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix after r139266.
r139266 broke the debug build of the gstreamer backend due
to a missing header include.
No new tests, no behavior change.
- platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
- 11:33 PM Changeset in webkit [139289] by
-
- 25 edits2 deletes in trunk/Source
IndexedDB: Allow createIndex/createObjectStore to be asynchronous
https://bugs.webkit.org/show_bug.cgi?id=106377
Reviewed by Tony Chang.
Source/WebCore:
Migrate implementations of createIndex/deleteIndex,
createObjectStore/deleteObjectStore over to IDBDatabaseBackendImpl,
so that they can be asynchronous in multi-process ports.
Has the side effect of removing the last consumers of
IDBIndexBackendImpl and IDBObjectStoreBackendImpl. The former
is removed complete and the latter becomes a temporary namespace
pending a further more mechanical code shuffle.
A key refactoring effect is that the IDBDatabaseBackendImpl
now contains the authoritative IDBDatabaseMetadata hierarchy,
and updates to it are consolidated in one place rather than
scattered across a parallel object tree.
No new tests as this is just refactoring.
- Modules/indexeddb/IDBBackingStore.cpp: Simplify objectstore/index loading and propagate errors.
(WebCore::IDBBackingStore::getObjectStores):
(WebCore::IDBBackingStore::getIndexes):
- Modules/indexeddb/IDBBackingStore.h:
(IDBBackingStore):
- Modules/indexeddb/IDBCursorBackendImpl.cpp: Dependency cleanup.
- Modules/indexeddb/IDBCursorBackendImpl.h: Dependency cleanup.
(WebCore):
- Modules/indexeddb/IDBDatabase.cpp: Frontend IDBObjectStores no longer hold onto backend objects.
(WebCore::IDBDatabase::createObjectStore):
(WebCore::IDBDatabase::deleteObjectStore):
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp: Add all create/deleteIndex operations from IDBIndexBackendImpl.
(WebCore::CreateObjectStoreOperation::create):
(WebCore::CreateObjectStoreOperation::CreateObjectStoreOperation):
(CreateObjectStoreOperation):
(WebCore::DeleteObjectStoreOperation::create):
(WebCore::DeleteObjectStoreOperation::DeleteObjectStoreOperation):
(DeleteObjectStoreOperation):
(WebCore::CreateObjectStoreAbortOperation::create):
(WebCore::CreateObjectStoreAbortOperation::CreateObjectStoreAbortOperation):
(CreateObjectStoreAbortOperation):
(WebCore::DeleteObjectStoreAbortOperation::create):
(WebCore::DeleteObjectStoreAbortOperation::DeleteObjectStoreAbortOperation):
(DeleteObjectStoreAbortOperation):
(CreateIndexOperation):
(WebCore::CreateIndexOperation::create):
(WebCore::CreateIndexOperation::CreateIndexOperation):
(WebCore):
(DeleteIndexOperation):
(WebCore::DeleteIndexOperation::create):
(WebCore::DeleteIndexOperation::DeleteIndexOperation):
(CreateIndexAbortOperation):
(WebCore::CreateIndexAbortOperation::create):
(WebCore::CreateIndexAbortOperation::CreateIndexAbortOperation):
(DeleteIndexAbortOperation):
(WebCore::DeleteIndexAbortOperation::create):
(WebCore::DeleteIndexAbortOperation::DeleteIndexAbortOperation):
(WebCore::GetOperation::GetOperation):
(WebCore::IDBDatabaseBackendImpl::addObjectStore):
(WebCore::IDBDatabaseBackendImpl::removeObjectStore):
(WebCore::IDBDatabaseBackendImpl::addIndex):
(WebCore::IDBDatabaseBackendImpl::removeIndex):
(WebCore::IDBDatabaseBackendImpl::openInternal):
(WebCore::IDBDatabaseBackendImpl::metadata):
(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::CreateObjectStoreOperation::perform):
(WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
(WebCore::IDBDatabaseBackendImpl::createIndex):
(WebCore::CreateIndexOperation::perform):
(WebCore::CreateIndexAbortOperation::perform):
(WebCore::IDBDatabaseBackendImpl::deleteIndex):
(WebCore::DeleteIndexOperation::perform):
(WebCore::DeleteIndexAbortOperation::perform):
(WebCore::IDBDatabaseBackendImpl::get):
(WebCore::IDBDatabaseBackendImpl::put):
(WebCore::IDBDatabaseBackendImpl::setIndexKeys):
(WebCore::IDBDatabaseBackendImpl::count):
(WebCore::DeleteRangeOperation::perform):
(WebCore::DeleteObjectStoreOperation::perform):
(WebCore::IDBDatabaseBackendImpl::deleteDatabaseFinal):
(WebCore::IDBDatabaseBackendImpl::loadObjectStores): Load directly into metadata from backing store.
(WebCore::CreateObjectStoreAbortOperation::perform):
(WebCore::DeleteObjectStoreAbortOperation::perform):
(WebCore::IDBDatabaseBackendImpl::VersionChangeAbortOperation::perform):
- Modules/indexeddb/IDBDatabaseBackendImpl.h:
(WebCore):
(IDBDatabaseBackendImpl):
(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
- Modules/indexeddb/IDBIndexBackendImpl.cpp: Removed.
- Modules/indexeddb/IDBIndexBackendImpl.h: Removed.
- Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::IDBObjectStore): Frontend IDBIndex objects no longer hold onto backend.
(WebCore::IDBObjectStore::createIndex):
(WebCore::IDBObjectStore::deleteIndex):
- Modules/indexeddb/IDBObjectStore.h:
(WebCore::IDBObjectStore::create):
(IDBObjectStore):
- Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
- Modules/indexeddb/IDBObjectStoreBackendImpl.h:
(WebCore):
(IDBObjectStoreBackendImpl):
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::objectStore):
- Modules/indexeddb/IDBTransaction.h:
- Modules/indexeddb/IDBTransactionBackendImpl.cpp:
- Modules/indexeddb/IDBTransactionBackendImpl.h:
(WebCore::IDBTransactionBackendImpl::objectStore):
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit/chromium:
Remove this test as it makes no sense once the objectstore/index
hierarchy is gone.
- tests/IDBDatabaseBackendTest.cpp:
- 11:26 PM Changeset in webkit [139288] by
-
- 1 edit1 add in trunk/LayoutTests
New chromium-mac pixel baseline for gradient-background-leakage-hidpi.html
https://bugs.webkit.org/show_bug.cgi?id=106373
Unreviewed gardening.
- platform/chromium-mac/fast/backgrounds/gradient-background-leakage-hidpi-expected.png: Added.
- 11:07 PM Changeset in webkit [139287] by
-
- 2 edits in trunk/Source/WebKit2
[WK2][EFL] Add guard around NativeWebTouchEvent
https://bugs.webkit.org/show_bug.cgi?id=105846
Patch by Seokju Kwon <Seokju Kwon> on 2013-01-09
Reviewed by Benjamin Poulain.
Fix EFL build without TOUCH_EVENTS.
- Shared/efl/NativeWebTouchEventEfl.cpp: Add TOUCH_EVENTS guard.
- 11:05 PM Changeset in webkit [139286] by
-
- 1 edit1 move1 add1 delete in trunk/LayoutTests
Update expectations for fast/forms/button-generated-content.html
Unreviewed gardening.
- fast/forms/button-generated-content-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/forms/button-generated-content-expected.txt.
- platform/chromium-win-xp/fast/forms/button-generated-content-expected.png: Added.
- platform/mac/fast/forms/button-generated-content-expected.txt: Removed.
- 11:05 PM Changeset in webkit [139285] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Don't throw exceptions when we don't have a callstack
https://bugs.webkit.org/show_bug.cgi?id=104849
Patch by John J. Barton <johnjbarton@chromium.org> on 2013-01-09
Reviewed by Pavel Feldman.
Check array details.callFrames.length before accessing array;
No new tests, but this fix may help us find the cause of 'other' reasons.
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._debuggerPaused):
- 10:52 PM Changeset in webkit [139284] by
-
- 1 edit1 move1 add1 delete in trunk/LayoutTests
Update expectations for fast/forms/button-inner-block-reuse.html
Unreviewed gardening.
- fast/forms/button-inner-block-reuse-expected.txt: Renamed from LayoutTests/platform/chromium/fast/forms/button-inner-block-reuse-expected.txt.
- platform/chromium-win-xp/fast/forms/button-inner-block-reuse-expected.png: Added.
- platform/mac/fast/forms/button-inner-block-reuse-expected.txt: Removed.
- 10:28 PM Changeset in webkit [139283] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: [Network] Data grid header and content cells are misaligned.
https://bugs.webkit.org/show_bug.cgi?id=105795
Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-09
Reviewed by Pavel Feldman.
Header and content tables have different width -> same percent values
turn to different cell widths.
- inspector/front-end/DataGrid.js: Add "corner" cell to all rows.
- inspector/front-end/dataGrid.css: Apply "corner" rules to "td" nodes.
(.data-grid .data-container): Remove artificial padding.
- 10:23 PM Changeset in webkit [139282] by
-
- 8 edits1 add in trunk
Make caret repainting container-aware
https://bugs.webkit.org/show_bug.cgi?id=103955
Patch by Tien-Ren Chen <trchen@chromium.org> on 2013-01-09
Reviewed by Simon Fraser.
Source/WebCore:
Only invalidate local rects on the caret's repaint container,
instead of invalidating an absolute rect on the whole view.
Test: fast/repaint/caret-with-transformation.html
- editing/FrameSelection.cpp:
(WebCore::caretRendersInsideNode):
(WebCore::caretRenderer):
(WebCore::FrameSelection::caretRenderer):
(WebCore::DragCaretController::caretRenderer):
(WebCore::repaintCaretForLocalRect):
(WebCore::FrameSelection::recomputeCaretRect):
(WebCore::CaretBase::invalidateCaretRect):
(WebCore::FrameSelection::focusedOrActiveStateChanged):
- editing/FrameSelection.h:
- rendering/RenderView.cpp:
(WebCore::RenderView::repaintSelection):
- rendering/RenderView.h:
LayoutTests:
The caret repaint padding has been removed. Needs rebaseline.
Added test that carets should be repainted correctly on a transformed element.
- fast/repaint/caret-with-transformation.html: Added.
- platform/chromium/TestExpectations:
- platform/mac/TestExpectations:
- 9:57 PM Changeset in webkit [139281] by
-
- 1 edit2 adds in trunk/LayoutTests
[Chromium] Add win mac expectations for r139256
https://bugs.webkit.org/show_bug.cgi?id=106404
Unreviewed gardening.
- platform/chromium-mac/fast/borders/border-radius-with-box-shadow-expected.png: Added.
- platform/chromium-win/fast/borders/border-radius-with-box-shadow-expected.png: Added.
- 9:53 PM Changeset in webkit [139280] by
-
- 2 edits in trunk/Source/WebCore
Rebaseline the binding test after r139278.
- bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTarget::getOwnPropertySlot):
- 8:41 PM Changeset in webkit [139279] by
-
- 4 edits in trunk/Tools
Updated parameters in GCE build scripts so they now work.
https://bugs.webkit.org/show_bug.cgi?id=106523
Patch by Alan Cutter <alancutter@chromium.org> on 2013-01-09
Reviewed by Adam Barth.
- EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
- EWSTools/GoogleComputeEngine/build-commit-queue.sh:
- EWSTools/cold-boot.sh:
- 7:55 PM Changeset in webkit [139278] by
-
- 4 edits2 adds in trunk
[JSC] REGRESSION(r135093): A form control with name=length overrides length property on form.elements
https://bugs.webkit.org/show_bug.cgi?id=105775
Reviewed by Sam Weinig.
Source/WebCore:
Fixed the bug by respecting properties on ancestor classes.
Test: fast/dom/collection-length-should-not-be-overridden.html
- bindings/js/JSDOMBinding.h:
(WebCore::getStaticValueSlotEntryWithoutCaching): Added.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateGetOwnPropertySlotBody): Use getStaticValueSlotEntryWithoutCaching to climb up the class
hierarchy.
LayoutTests:
Added a regression tests for all known HTMLCollection sublcasses except HTMLNameCollection,
which is used only to implement named getters on window and document objects and HTMLPropertiesCollection
since it's not enabled on all ports yet.
- fast/dom/collection-length-should-not-be-overridden-expected.txt: Added.
- fast/dom/collection-length-should-not-be-overridden.html: Added.
- 7:44 PM Changeset in webkit [139277] by
-
- 3 edits in trunk/Tools
[Chromium] Remove some stray references to WebKitPlatformSupport.h in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=106520
Reviewed by James Robinson.
Part of a larger refactoring series. See tracking bug 82948.
- DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
- DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
- 7:42 PM Changeset in webkit [139276] by
-
- 3 edits in trunk/Source/WebCore
[EFL] [WebGL] Remove GLX dependencies from X11WindowResources..
https://bugs.webkit.org/show_bug.cgi?id=106319
Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-01-09
Reviewed by Kenneth Rohde Christiansen.
This patch removes GLX specific calls from X11WindowResources.
This class is shared by both GLX and EGL implementations.
- platform/graphics/surfaces/glx/GLXSurface.cpp:
(WebCore::GLXTransportSurface::setGeometry):
- platform/graphics/surfaces/glx/X11WindowResources.cpp:
(WebCore::X11OffScreenWindow::reSizeWindow):
- 7:33 PM Changeset in webkit [139275] by
-
- 5 edits in trunk/Source
Remove deviceScaleFactor argument in computeMinimumScaleFactorForContentContained().
https://bugs.webkit.org/show_bug.cgi?id=106500
Patch by Huang Dongsung <luxtella@company100.net> on 2013-01-09
Reviewed by Kenneth Rohde Christiansen.
deviceScaleFactor argument is not used after r139189.
Source/WebCore:
No new tests. Refactoring only.
- dom/ViewportArguments.cpp:
(WebCore::computeMinimumScaleFactorForContentContained):
- dom/ViewportArguments.h:
(WebCore):
Source/WebKit2:
- UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::updateMinimumScaleToFit):
- 7:11 PM Changeset in webkit [139274] by
-
- 5 edits in trunk/Source/WebKit2
[QT][EFL][WK2] Rename scale members in PageViewportController.
https://bugs.webkit.org/show_bug.cgi?id=106499
Patch by Huang Dongsung <luxtella@company100.net> on 2013-01-09
Reviewed by Kenneth Rohde Christiansen.
Rename from m_contentsScale to m_pageScaleFactor and from devicePixelRatio() to
deviceScaleFactor() to match terms of WebCore.
- UIProcess/API/qt/qwebkittest.cpp:
(QWebKitTest::devicePixelRatio):
- UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::PageViewportController):
(WebKit::PageViewportController::deviceScaleFactor):
(WebKit::PageViewportController::pixelAlignedFloatPoint):
(WebKit::PageViewportController::boundContentsPosition):
(WebKit::PageViewportController::didRenderFrame):
(WebKit::PageViewportController::didChangeContentsVisibility):
(WebKit::PageViewportController::syncVisibleContents):
(WebKit::PageViewportController::visibleContentsSize):
(WebKit::PageViewportController::applyScaleAfterRenderingContents):
(WebKit::PageViewportController::updateMinimumScaleToFit):
- UIProcess/PageViewportController.h:
(PageViewportController):
(WebKit::PageViewportController::currentContentsScale):
- UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::updateViewportSize):
- 6:51 PM Changeset in webkit [139273] by
-
- 2 edits in trunk/Source/WebCore
Node::containingShadowRoot should be constant time
https://bugs.webkit.org/show_bug.cgi?id=106494
Patch by Elliott Sprehn <Elliott Sprehn> on 2013-01-09
Reviewed by Dimitri Glazkov.
There's no reason to traverse up the tree to find the containing
ShadowRoot when we already know if we're in a ShadowRoot by looking at
the treeScope().
No new tests, just refactoring.
- dom/Node.cpp:
(WebCore::Node::containingShadowRoot):
- 6:50 PM Changeset in webkit [139272] by
-
- 2 edits in trunk/Tools
Dashboard cleanup: Remove code for currentState and window.location.hash getting out of state
https://bugs.webkit.org/show_bug.cgi?id=106514
This is old code, as these can no longer get out of sync.
permmaLinkURLHash is generated from currentState, which is set only
from the location. The commment about how these can get out of sync
refers to a function that no longer exists.
Reviewed by Dirk Pranke.
- TestResultServer/static-dashboards/dashboard_base.js:
(handleLocationChange):
- 6:41 PM Changeset in webkit [139271] by
-
- 4 edits in trunk/Source
Versioning.
- 6:35 PM Changeset in webkit [139270] by
-
- 2 edits in trunk/Tools
Dashboard Cleanup: Reload the page as soon as we know we need to.
https://bugs.webkit.org/show_bug.cgi?id=106515
No need to continue parsing all of the data once we know that
we need to do a reload.
Reviewed by Dirk Pranke.
- TestResultServer/static-dashboards/dashboard_base.js:
(parseParameters):
- 6:29 PM Changeset in webkit [139269] by
-
- 17 edits in trunk
[Shadow DOM] Distribution related code on ElementShadow should be minimized.
https://bugs.webkit.org/show_bug.cgi?id=106294
Reviewed by Dimitri Glazkov.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
This change moves ElementShadow::m_selectFeatures,
m_shouldCollectSelectFeatureSet and related methods to
ContentDistributor.
There are also some renaming and small refactorings for better fit
on new place:
- shouldCollectSelectFeatureSet is renamed needsSelectorRuleSet for conciseness.
- setShouldCollectSelectFeatureSet() which used recursion morphed into iterative willAffectSelector().
- ensureDistributionFromDocument() becomes a static method.
No new tests. Refactoring.
- WebCore.exp.in:
- dom/Element.cpp:
(WebCore::Element::shouldInvalidateDistributionWhenAttributeChanged):
- dom/ElementShadow.cpp:
(WebCore::ElementShadow::addShadowRoot):
(WebCore::ElementShadow::removeAllShadowRoots):
- dom/ElementShadow.h:
(ElementShadow):
(WebCore::ElementShadow::invalidateDistribution):
(WebCore::ElementShadow::ensureDistribution):
(WebCore::ElementShadow::didAffectSelector):
(WebCore::ElementShadow::willAffectSelector):
(WebCore::ElementShadow::containingShadow):
(WebCore):
- html/shadow/ContentDistributor.cpp:
(WebCore::ScopeContentDistribution::registerInsertionPoint):
(WebCore::ScopeContentDistribution::unregisterInsertionPoint):
(WebCore::ContentDistributor::ContentDistributor):
(WebCore::ContentDistributor::ensureDistribution):
(WebCore):
(WebCore::ContentDistributor::ensureDistributionFromDocument):
(WebCore::ContentDistributor::invalidateDistribution):
(WebCore::ContentDistributor::ensureSelectFeatureSet):
(WebCore::ContentDistributor::collectSelectFeatureSetFrom):
(WebCore::ContentDistributor::didAffectSelector):
(WebCore::ContentDistributor::willAffectSelector):
(WebCore::ContentDistributor::didShadowBoundaryChange):
- html/shadow/ContentDistributor.h:
(ScopeContentDistribution):
(WebCore::ContentDistributor::needsSelectFeatureSet):
(WebCore::ContentDistributor::setNeedsSelectFeatureSet):
(ContentDistributor):
(WebCore::ContentDistributor::setValidity):
(WebCore::ContentDistributor::needsInvalidation):
- html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::parseAttribute):
- html/shadow/HTMLContentElement.h:
- html/shadow/HTMLShadowElement.cpp:
(WebCore::HTMLShadowElement::olderShadowRoot):
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::getDistributedNodes):
(WebCore::InsertionPoint::insertedInto):
(WebCore::InsertionPoint::removedFrom):
- html/shadow/InsertionPoint.h:
(WebCore::InsertionPoint::canAffectSelector):
- testing/Internals.cpp:
(WebCore::Internals::hasSelectorForIdInShadow):
(WebCore::Internals::hasSelectorForClassInShadow):
(WebCore::Internals::hasSelectorForAttributeInShadow):
(WebCore::Internals::hasSelectorForPseudoClassInShadow):
Source/WebKit/win:
- WebKit.vcproj/WebKit.def.in:
- 6:26 PM Changeset in webkit [139268] by
-
- 1 copy in tags/Safari-537.25
New Tag.
- 6:24 PM Changeset in webkit [139267] by
-
- 3 edits2 adds in trunk
Assert triggered in SelectorChecker::checkOneSelector when scrollbar (e.g. :horizontal) selector is specified.
https://bugs.webkit.org/show_bug.cgi?id=106414
Reviewed by Dimitri Glazkov.
Source/WebCore:
In SelectorChecker::checkOneSelector, scrollbar related pseudoType (e.g. :horizontal) is not handled anywhere.
This caused ASSERT triggered. We have to check them.
Test: fast/css/scrollbar-crash.html
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOneSelector):
LayoutTests:
- fast/css/scrollbar-crash-expected.txt: Added.
- fast/css/scrollbar-crash.html: Added.
- 6:16 PM Changeset in webkit [139266] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, fix build after http://trac.webkit.org/changeset/139262
- Modules/webaudio/DefaultAudioDestinationNode.cpp:
- 6:07 PM Changeset in webkit [139265] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed. Just move the JavaScriptCore exports file around in the vcproj to make things clearer.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- 5:59 PM Changeset in webkit [139264] by
-
- 2 edits in trunk/Source/JavaScriptCore
Dont use a node reference after appending to the graph.
https://bugs.webkit.org/show_bug.cgi?id=103305
<rdar://problem/12753096>
Reviewed by Mark Hahnenberg.
- dfg/DFGArgumentsSimplificationPhase.cpp:
(JSC::DFG::ArgumentsSimplificationPhase::run):
- 5:56 PM Changeset in webkit [139263] by
-
- 3 edits in trunk/Tools
run-perf-tests --chromium-android --profile should show symbols for the kernel
https://bugs.webkit.org/show_bug.cgi?id=106498
Reviewed by Adam Barth.
Turns out this was easy, once I finally read the output from "perf report".
It appears there may be a bug in "perf record" on android, as it complains
about not being able to read from /proc/kallsyms even when
/proc/sys/kernel/kptr_restrict is 0. For now I've not bothered
to keep /proc/sys/kernel/kptr_restrict as 0 during the actual record
but rather just flip it to 0 long enough to grab the /proc/kallsyms
and then flip it back to whatever the device had.
/proc/sys/kernel/kptr_restrict controls what /proc/kallsyms returns
on Linux. /proc/kallsyms contains a mapping of kernel addresses
to symbol names. Its world-readable, but will return all 0s if you
don't have permission to see the kernel symbols. kptr_restrict
supports values 0, 1, 2. Where 0 means "everyone can see the real symbols"
1 is only a specific group, and 2 is "no one, not even root".
By default kptr_restrict is 2 on Android it seems.
More kptr_restrict docs: http://lwn.net/Articles/420403/
I also took this opportunity to clean up how the perf record command
was built for use/display in AndroidPerf.profile_after_exit and
change to always using long-form names for the arguments (to hopefully help readability).
- Scripts/webkitpy/layout_tests/port/chromium_android.py:
(AndroidPerf.init):
(profile_after_exit):
(ChromiumAndroidDriver.init):
(ChromiumAndroidDriver._update_kallsyms_cache):
- Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
- 5:40 PM Changeset in webkit [139262] by
-
- 14 edits in trunk/Source
Allow live/local audio input to be enabled only when needed
https://bugs.webkit.org/show_bug.cgi?id=106490
Source/Platform:
Reviewed by Kenneth Russell.
- chromium/public/Platform.h:
(Platform):
(WebKit::Platform::createAudioDevice):
Source/WebCore:
Reviewed by Kenneth Russell.
WebAudio can process live/local audio input using a MediaStreamAudioSourceNode.
But currently the audio back-end is not able to know when/if audio input will be
needed, so it needs to assume the worst and initialize the system to support potential
audio input in all cases. For some audio back-ends this can end up being less efficient
than initializing for audio output only. This patch adds the ability for the audio back-end
to be able to initialize itself for audio input later on, only when/if it's needed.
- Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::createMediaStreamSource):
- Modules/webaudio/AudioDestinationNode.h:
(AudioDestinationNode):
- Modules/webaudio/DefaultAudioDestinationNode.cpp:
(WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode):
(WebCore::DefaultAudioDestinationNode::initialize):
(WebCore::DefaultAudioDestinationNode::uninitialize):
(WebCore::DefaultAudioDestinationNode::createDestination):
(WebCore):
(WebCore::DefaultAudioDestinationNode::enableInput):
- Modules/webaudio/DefaultAudioDestinationNode.h:
(DefaultAudioDestinationNode):
- Modules/webaudio/OfflineAudioDestinationNode.h:
(OfflineAudioDestinationNode):
(WebCore::OfflineAudioDestinationNode::sampleRate):
- platform/audio/AudioDestination.h:
(AudioDestination):
- platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestination::create):
- platform/audio/mac/AudioDestinationMac.cpp:
(WebCore::AudioDestination::create):
Source/WebKit/chromium:
Reviewed by Kenneth Russell.
- src/AudioDestinationChromium.cpp:
(WebCore):
(WebCore::AudioDestination::create):
(WebCore::AudioDestinationChromium::AudioDestinationChromium):
(WebCore::AudioDestinationChromium::render):
- src/AudioDestinationChromium.h:
(AudioDestinationChromium):
- 5:33 PM Changeset in webkit [139261] by
-
- 2 edits in trunk/Source/WebKit2
[WK2][soup] Get rid of LocalTerminationDisabler
https://bugs.webkit.org/show_bug.cgi?id=106510
Unreviewed build fix.
With r139257(bug 106501), the LocalTerminationDisabler was removed from WebKit::ChildProcess.
So, it should be removed on setCookiePersistentStorage, too.
Patch by KyungTae Kim <ktf.kim@samsung.com> on 2013-01-09
- WebProcess/Cookies/soup/WebCookieManagerSoup.cpp:
(WebKit::WebCookieManager::setCookiePersistentStorage):
- 5:33 PM Changeset in webkit [139260] by
-
- 2 edits in trunk/Tools
Dashboard cleanup: remove dead code.
https://bugs.webkit.org/show_bug.cgi?id=106509
Reviewed by Dirk Pranke.
- TestResultServer/static-dashboards/dashboard_base.js:
(parseParameters):
- 5:00 PM Changeset in webkit [139259] by
-
- 10 edits2 moves in trunk/Source
Rename export files to make them more easily findable.
https://bugs.webkit.org/show_bug.cgi?id=98695.
Reviewed by Timothy Horton.
- WebKit.vcproj/WebKit.def.in: Removed.
- WebKit.vcproj/WebKit.vcproj:
- WebKit.vcproj/WebKitExportGenerator.vcproj:
- WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd:
- WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd:
- WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd:
- WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in.
- WebKit.vcproj/WebKitLibCommon.vsprops:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def.
- 4:50 PM Changeset in webkit [139258] by
-
- 2 edits in trunk/Source/WebCore
Don't drop to huge tile mode if we're only slow-scrolling because of a page overlay
https://bugs.webkit.org/show_bug.cgi?id=106502
<rdar://problem/12959143>
Reviewed by Simon Fraser.
We only use the MainThreadScrollingReason "ForcedOnMainThread" if WebKit2 installs
a page overlay (TiledCoreAnimationDrawingArea::didInstallPageOverlay), which clients
can cause arbitrarily.
We probably should still use default-sized tiles in this case (this will also
prevent us from falling into gigantic tiles for WebKit2 find-in-page, among other things).
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::adjustTileCacheCoverage):
- 4:46 PM Changeset in webkit [139257] by
-
- 9 edits in trunk/Source/WebKit2
[WK2] Get rid of LocalTerminationDisabler
https://bugs.webkit.org/show_bug.cgi?id=106501
Reviewed by Anders Carlsson.
LocalTerminationDisabler is no-op - termination timer can't fire inside its scope
even if not stopped.
- PluginProcess/PluginProcess.cpp: (WebKit::PluginProcess::getSitesWithData): (WebKit::PluginProcess::clearSiteData):
- Shared/ChildProcess.h:
- WebProcess/ApplicationCache/WebApplicationCacheManager.cpp: (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins): (WebKit::WebApplicationCacheManager::deleteEntriesForOrigin): (WebKit::WebApplicationCacheManager::deleteAllEntries): (WebKit::WebApplicationCacheManager::setAppCacheMaximumSize):
- WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp: (WebKit::WebKeyValueStorageManager::getKeyValueStorageOrigins): (WebKit::WebKeyValueStorageManager::deleteEntriesForOrigin): (WebKit::WebKeyValueStorageManager::deleteAllEntries):
- WebProcess/MediaCache/WebMediaCacheManager.cpp: (WebKit::WebMediaCacheManager::getHostnamesWithMediaCache): (WebKit::WebMediaCacheManager::clearCacheForHostname): (WebKit::WebMediaCacheManager::clearCacheForAllHostnames):
- WebProcess/ResourceCache/WebResourceCacheManager.cpp: (WebKit::WebResourceCacheManager::getCacheOrigins): (WebKit::WebResourceCacheManager::clearCacheForOrigin): (WebKit::WebResourceCacheManager::clearCacheForAllOrigins):
- WebProcess/WebCoreSupport/WebDatabaseManager.cpp: (WebKit::WebDatabaseManager::getDatabasesByOrigin): (WebKit::WebDatabaseManager::getDatabaseOrigins): (WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin): (WebKit::WebDatabaseManager::deleteDatabasesForOrigin): (WebKit::WebDatabaseManager::deleteAllDatabases): (WebKit::WebDatabaseManager::setQuotaForOrigin):
- WebProcess/WebProcess.cpp: (WebKit::WebProcess::getSitesWithPluginData): (WebKit::WebProcess::clearPluginSiteData):
- 4:44 PM Changeset in webkit [139256] by
-
- 3 edits3 adds in trunk
border-radius with box-shadow is not rendered correctly
https://bugs.webkit.org/show_bug.cgi?id=106404
Reviewed by Hajime Morita.
Source/WebCore:
RoundedRect::isRenderable is wrong. So RoundedRect::adjustRadii
is invoked for renderable RoundedRects.
Test: fast/borders/border-radius-with-box-shadow.html
- platform/graphics/RoundedRect.cpp:
(WebCore::RoundedRect::isRenderable):
Have to compare topLeft's height plus bottomLeft's height with
rect's height and to compare topRight's height plus bottomRight's
height with rect's height.
LayoutTests:
- fast/borders/border-radius-with-box-shadow-expected.txt: Added.
- fast/borders/border-radius-with-box-shadow.html: Added.
- platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added.
- 4:39 PM Changeset in webkit [139255] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Update a test result.
- platform/mac/fast/inline/continuation-outlines-with-layers-expected.txt:
- 4:32 PM Changeset in webkit [139254] by
-
- 2 edits in trunk/LayoutTests
Rebaseline fast/inline/continuation-outlines-with-layers.html
https://bugs.webkit.org/show_bug.cgi?id=106064.
Unreviewed.
Rebaseline after http://trac.webkit.org/changeset/139223.
- platform/mac/fast/inline/continuation-outlines-with-layers-expected.txt:
- 4:27 PM Changeset in webkit [139253] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Always enable autocomplete for password fields
https://bugs.webkit.org/show_bug.cgi?id=104600
Patch by Yue Zhang <zysxqn@google.com> on 2013-01-09
Reviewed by Darin Fisher.
Don't check autocomplete in webkit code. Rather, we check it in chrome code in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
- src/WebPasswordFormUtils.cpp:
(WebKit::findPasswordFormFields):
- src/WebPasswordFormUtils.h:
(WebKit):
(WebKit::findPasswordFormFields):
- 4:18 PM Changeset in webkit [139252] by
-
- 4 edits in trunk/Source/WebKit/chromium
[chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
https://bugs.webkit.org/show_bug.cgi?id=106495
Patch by James Robinson <jamesr@chromium.org> on 2013-01-09
Reviewed by Adrienne Walker.
The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
notification to the WebWidget that the WebLayerTreeView is going to go away.
This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
which will take a bit more refactoring.
- public/WebWidget.h:
(WebWidget):
(WebKit::WebWidget::willCloseLayerTreeView):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::willCloseLayerTreeView):
(WebKit):
- src/WebViewImpl.h:
(WebViewImpl):
- 4:17 PM Changeset in webkit [139251] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Ascribe a bug to a crash..
- platform/chromium/TestExpectations: Ascribed.
- 4:09 PM Changeset in webkit [139250] by
-
- 13 edits1 add1 delete in trunk
[GTK] accessibility/aria-labelledby-overrides-label.html requires a proper baseline
https://bugs.webkit.org/show_bug.cgi?id=105638
Patch by Joanmarie Diggs <jdiggs@igalia.com> on 2013-01-09
Reviewed by Martin Robinson.
The test was failing for two reasons:
- AccessibilityRenderObject::correspondingLabelForControlElement() was not ignoring the ARIA labelled-by property
- AccessibilityController::accessibleElementById() was not implemented
Because getting an element by ID cannot be done in the UIProcess, the
decision was made to expose the element's ID as an accessible attribute
of the object.
In addition, fixing the bug in AccessibilityRenderObject made it possible
to eliminate the Gtk platform-specific expectations for another test.
Source/WebCore:
No new tests; instead, the failing test was unskipped and a proper baseline
provided.
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::correspondingLabelForControlElement):
Return null for objects where hasTextAlternative() is true.
- accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(webkitAccessibleGetAttributes): Expose the element's ID as an accessible
attribute.
Tools:
- DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
(childElementById): Added. Walks the tree looking for the AtkObject
Attribute which exposes the HTML element's ID.
(AccessibilityController::accessibleElementById): Implemented.
- DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::title): Modified to print out "AXTitle: " even
when there is no title, as is done with the Mac port.
- WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
(WTR):
- WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
(WTR::childElementById): Added. Walks the tree looking for the AtkObject
Attribute which exposes the HTML element's ID.
(WTR):
(WTR::AccessibilityController::accessibleElementById): Implemented.
- WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::AccessibilityUIElement::title): Modified to print out "AXTitle: "
even when there is no title, as is done with the Mac port.
LayoutTests:
- accessibility/aria-labelledby-overrides-label-expected.txt: Added.
- accessibility/radio-button-title-label-expected.txt: Modified based on
null check which was added and which gets included in the test output.
- accessibility/radio-button-title-label.html: Check to see that we have
a titleUIElement before attempting to get its title.
- platform/gtk/TestExpectations: Unskipped the previously failing test.
- platform/gtk/accessibility/radio-button-title-label-expected.txt: Removed.
- 3:25 PM ExportingSymbols edited by
- (diff)
- 3:19 PM Changeset in webkit [139249] by
-
- 2 edits in trunk/Source/WebCore
Remove unused includes from HTMLTreeBuilder
https://bugs.webkit.org/show_bug.cgi?id=106496
Reviewed by Levi Weintraub.
Noticed these while searching HTMLTreeBuilder for non-thread friendly deps.
No new tests because no new functionality.
- html/parser/HTMLTreeBuilder.cpp:
- 3:13 PM Changeset in webkit [139248] by
-
- 6 edits3 adds in trunk
[CSS Shaders] Detached identifier after mesh box type is not applied
https://bugs.webkit.org/show_bug.cgi?id=105321
Reviewed by Dean Jackson.
Source/WebCore:
Before this patch, if a "detached" identifier followed a mesh box type identifier, the
detached identifier was not applied. In other words, the mesh would still be attached.
For example:
-webkit-filter: custom(url(...) mix(url(...) normal source-atop), 1 1 border-box detached);
Although the mesh box type is being removed from the Filter Effects spec, for now, we
continue to accept the mesh box type in parsing because of existing content. Eventually,
custom filters will transition to an at-rule syntax, once it is defined.
Test: css3/filters/custom/custom-filter-detached-mesh-with-mesh-box-type.html
- css/CSSParser.cpp:
(WebCore::CSSParser::parseCustomFilter):
In CSSParser, do not add the mesh box type identifier to the list that will be passed to
StyleResolver. StyleResolver is expecting a "detached" identifier in that position and
does not interpret mesh box types.
LayoutTests:
Add a test to verify that a "detached" identifier after a mesh box type identifier is
actually applied.
For example:
-webkit-filter: custom(url(...) mix(url(...) normal source-atop), 1 1 border-box detached);
Update parsing tests and expectations to expect that the mesh box type is not returned in
the cssText.
- css3/filters/custom/custom-filter-detached-mesh-with-mesh-box-type-expected.html: Added.
- css3/filters/custom/custom-filter-detached-mesh-with-mesh-box-type.html: Added.
- css3/filters/custom/custom-filter-property-parsing-expected.txt:
- css3/filters/script-tests/custom-filter-property-parsing.js:
- css3/filters/resources/a-triangle-coord-defined.vs: Added.
- platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt:
- 3:13 PM Changeset in webkit [139247] by
-
- 2 edits in trunk/Tools
Add Gregg Tavares as a committer
https://bugs.webkit.org/show_bug.cgi?id=106492
Unreviewed.
- Scripts/webkitpy/common/config/committers.py:
- 3:12 PM Changeset in webkit [139246] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Remove stray references to WebKitPlatformSupport.h
https://bugs.webkit.org/show_bug.cgi?id=106493
Reviewed by James Robinson.
Part of a refactoring series. See tracking bug 82948.
- src/SharedWorkerRepository.cpp:
- tests/RunAllTests.cpp:
- 3:00 PM Changeset in webkit [139245] by
-
- 3 edits in trunk/LayoutTests
Proper version of http://trac.webkit.org/changeset/139221.
The problem was that there was line-wrapping due to form controls
being different sizes on different platforms, not that form
controls dump innerText differently.
- fast/forms/min-content-form-controls-expected.txt:
- fast/forms/min-content-form-controls.html:
- 2:57 PM Changeset in webkit [139244] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Device Proximity is not enabled/implemented on Windows.
Skipping related tests:
proximity/add-listener-from-callback.html
proximity/basic-operation.html
proximity/create-event.html
proximity/event-after-navigation.html
proximity/multiple-frames.html
proximity/no-page-cache.html
proximity/optional-event-properties.html
proximity/updates.html
proximity/window-property.html
- platform/win/TestExpectations:
- 2:45 PM Changeset in webkit [139243] by
-
- 2 edits in trunk/Tools
Enable seamless iFrames for Windows DRT.
https://bugs.webkit.org/show_bug.cgi?id=106468.
Rubberstamped by Timothy Horton.
- DumpRenderTree/win/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
- 2:36 PM Changeset in webkit [139242] by
-
- 10 edits in trunk
[WK2] Implement eventSender.scheduleAsynchronousKeyDown
https://bugs.webkit.org/show_bug.cgi?id=93979
Reviewed by Benjamin Poulain.
Tools:
Implement eventSender.scheduleAsynchronousKeyDown() in
WebKitTestRunner.
- WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
- WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::createKeyDownMessageBody):
(WTR::EventSendingController::keyDown):
(WTR::EventSendingController::scheduleAsynchronousKeyDown):
- WebKitTestRunner/InjectedBundle/EventSendingController.h:
(EventSendingController):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::didReceiveKeyDownMessageFromInjectedBundle):
(WTR::TestController::didReceiveMessageFromInjectedBundle):
(WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
- WebKitTestRunner/TestController.h:
(TestController):
LayoutTests:
Update WK2 expectations for tests requiring
eventSender.scheduleAsynchronousKeyDown now that it is
implemented in WebKitTestRunner.
- platform/efl-wk2/TestExpectations:
- platform/gtk-wk2/TestExpectations:
- platform/wk2/TestExpectations:
- 2:30 PM Changeset in webkit [139241] by
-
- 5 edits in trunk/Source/WebKit2
Add user defaults to override system proxy settings for NetworkProcess on Mac
https://bugs.webkit.org/show_bug.cgi?id=104197
Patch by Kiran Muppala <cmuppala@apple.com> on 2013-01-09
Reviewed by Brady Eidson.
For internal testing and debugging, it is useful to have a defaults write to set the HTTP and HTTPS proxy specific to a
WebKit2 client application and not affect the system proxy settings on Mac.
- NetworkProcess/mac/NetworkProcessMac.mm:
(WebKit::overrideSystemProxies): Add helper method to parse proxy URLs and populate settings dictionary passed
to WKCFNetworkSetOverrideSystemProxySettings.
(WebKit::NetworkProcess::platformInitializeNetworkProcess): Call overrideSystemProxies if process creation parameters for
http proxy or https proxy is set.
- Shared/Network/NetworkProcessCreationParameters.cpp: Add httpProxy and httpsProxy process creation parameters on Mac.
(WebKit::NetworkProcessCreationParameters::encode):
(WebKit::NetworkProcessCreationParameters::decode):
- Shared/Network/NetworkProcessCreationParameters.h:
- UIProcess/mac/WebContextMac.mm:
(WebKit::WebContext::platformInitializeNetworkProcess): Initialize httpProxy and httpsProxy process creation parameters
based on the value of WebKit2HTTPProxyDefaultsKey and WebKit2HTTPSProxyDefaultsKey user default respectively.
- 2:22 PM WebKit Team edited by
- added gregg tavares as committer (diff)
- 2:12 PM Changeset in webkit [139240] by
-
- 4 edits1 move in trunk/Source/WebKit2
Local builds of NetworkProcess should have a process icon
https://bugs.webkit.org/show_bug.cgi?id=106489
Reviewed by Mark Rowe.
- Resources/WebKit.icns: Copied from Source/WebKit2/WebProcess/mac/WebKit.icns.
- WebProcess/mac/WebKit.icns: Removed. Copied to a shared location. We don't have different icons, so just using WebKit one.
- Configurations/NetworkProcess.xcconfig:
- NetworkProcess/Info.plist:
- WebKit2.xcodeproj/project.pbxproj: Same changes as for WebProcess.
- 2:03 PM Changeset in webkit [139239] by
-
- 8 edits in trunk
[Soup] Handle redirection inside WebKit
https://bugs.webkit.org/show_bug.cgi?id=61122
https://bugs.webkit.org/show_bug.cgi?id=88961
Reviewed by Martin Robinson.
Source/WebCore:
Rather than using libsoup's built-in redirection handling (which
doesn't do everything exactly the way WebKit wants, and can't
handle redirects to non-http URIs anyway), process redirections
ourselves.
No new tests; unskips a few existing tests.
- platform/network/ResourceHandleInternal.h:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(ResourceHandleInternal):
- platform/network/soup/ResourceError.h:
(ResourceError):
- platform/network/soup/ResourceErrorSoup.cpp:
(WebCore::ResourceError::transportError):
(WebCore):
(WebCore::ResourceError::httpError):
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore):
(WebCore::gotHeadersCallback):
(WebCore::restartedCallback):
(WebCore::shouldRedirect):
(WebCore::doRedirect):
(WebCore::redirectCloseCallback):
(WebCore::redirectSkipCallback):
(WebCore::cleanupSoupRequestOperation):
(WebCore::sendRequestCallback):
(WebCore::createSoupMessageForHandleAndRequest):
(WebCore::createSoupRequestAndMessageForHandle):
(WebCore::ResourceHandle::start):
LayoutTests:
Unskip some tests.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- 2:01 PM Changeset in webkit [139238] by
-
- 22 edits in trunk
[Skia] Implement GraphicsContext::addRoundedRectClip() using SkCanvas::clipRRect()
https://bugs.webkit.org/show_bug.cgi?id=106461
Reviewed by Stephen White.
Source/WebCore:
This patch adds a Skia-specific version of GraphicsContext::addRoundedRectClip() to take
advantage of the SkCanvas::clipRRect() primitive.
As a minor cleanup, the anonymous namespace in GraphicsContextSkia.cpp is extended to cover
all the local helper functions.
No new tests: coverage provided by existing tests.
- platform/graphics/GraphicsContext.cpp:
(WebCore):
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::addRoundedRectClip):
(WebCore):
(WebCore::GraphicsContext::fillRoundedRect):
- platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::clipRRect):
(WebCore):
LayoutTests:
- platform/chromium-linux/fast/backgrounds/border-radius-split-background-image-expected.png:
- platform/chromium-linux/fast/borders/border-radius-complex-inner-expected.png:
- platform/chromium-linux/fast/borders/border-radius-inset-outset-expected.png:
- platform/chromium-linux/fast/borders/border-radius-wide-border-05-expected.png:
- platform/chromium-linux/fast/borders/border-styles-split-expected.png:
- platform/chromium-linux/fast/borders/borderRadiusArcs01-expected.png:
- platform/chromium-linux/fast/borders/mixed-border-styles-radius-expected.png:
- platform/chromium-linux/fast/css/background-clip-radius-values-expected.png:
- platform/chromium-linux/fast/replaced/border-radius-clip-content-edge-expected.png:
- platform/chromium-linux/fast/writing-mode/border-styles-vertical-lr-expected.png:
- platform/chromium-linux/fast/writing-mode/border-styles-vertical-rl-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png:
- platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
- platform/chromium/TestExpectations:
- 1:55 PM Changeset in webkit [139237] by
-
- 6 edits in trunk/Source/WebKit/win
Add WebPreferences for Seamless IFrames on Windows port.
https://bugs.webkit.org/show_bug.cgi?id=106468.
Rubberstamped by Eric Seidel.
- Interfaces/IWebPreferences.idl:
- WebPreferenceKeysPrivate.h:
- WebPreferences.cpp:
(WebPreferences::areSeamlessIFramesEnabled):
(WebPreferences::setSeamlessIFramesEnabled):
- WebPreferences.h:
(WebPreferences):
- WebView.cpp:
(WebView::notifyPreferencesChanged):
- 1:51 PM Changeset in webkit [139236] by
-
- 3 edits in trunk/Source/WebCore
SVG-as-image: Throw out cached bitmap renderings after they sit unused for some time.
<http://webkit.org/b/106484>
<rdar://problem/12983216>
Reviewed by Antti Koivisto.
Add a one-shot timer to SVGImageCache to self-clear the bitmap cache 30 seconds after last access.
This prevents us from keeping huge ImageBuffers around in memory for the lifetime of the elements
referencing that particular SVG file. (The ownership model is actually a bit more complicated
but that's irrelevant to this issue.)
10234kB progression on Membuster3.
- svg/graphics/SVGImageCache.cpp:
(WebCore::SVGImageCache::SVGImageCache):
(WebCore::SVGImageCache::~SVGImageCache):
(WebCore::SVGImageCache::clearBitmapCache):
(WebCore::SVGImageCache::cacheClearTimerFired):
(WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
- svg/graphics/SVGImageCache.h:
(SVGImageCache):
- 1:48 PM Changeset in webkit [139235] by
-
- 2 edits4 adds in trunk/LayoutTests
[Chromium] Land expectations for r139197.
- platform/chromium-linux/fast/regions/selecting-text-through-different-region-flows-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/regions/selecting-text-through-different-region-flows-expected.png: Added.
- platform/chromium-mac/fast/regions/selecting-text-through-different-region-flows-expected.png:
- platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.png: Added.
- platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.txt: Added.
- 1:44 PM Changeset in webkit [139234] by
-
- 11 edits in trunk/Tools
[chromium] move resource load callback dumping to TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=106449
Reviewed by Adam Barth.
- DumpRenderTree/chromium/DRTTestRunner.cpp:
(DRTTestRunner::DRTTestRunner):
(DRTTestRunner::reset):
- DumpRenderTree/chromium/DRTTestRunner.h:
(DRTTestRunner):
- DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
(WebKit):
(WebTestRunner::WebTestDelegate::makeURLErrorDescription):
- DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
(WebKit):
(WebTestProxyBase):
(WebTestRunner::WebTestProxy::assignIdentifierToRequest):
(WebTestRunner::WebTestProxy::willRequestResource):
(WebTestRunner::WebTestProxy::willSendRequest):
(WebTestRunner::WebTestProxy::didReceiveResponse):
(WebTestRunner::WebTestProxy::didFinishResourceLoad):
(WebTestRunner::WebTestProxy::didFailResourceLoad):
- DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:
(WebTestRunner::WebTestRunner::shouldDumpResourceLoadCallbacks):
(WebTestRunner::WebTestRunner::shouldDumpResourceRequestCallbacks):
(WebTestRunner::WebTestRunner::shouldDumpResourceResponseMIMETypes):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::reset):
(WebTestRunner::TestRunner::shouldDumpResourceLoadCallbacks):
(WebTestRunner::TestRunner::shouldDumpResourceRequestCallbacks):
(WebTestRunner::TestRunner::shouldDumpResourceResponseMIMETypes):
(WebTestRunner):
(WebTestRunner::TestRunner::dumpResourceLoadCallbacks):
(WebTestRunner::TestRunner::dumpResourceRequestCallbacks):
(WebTestRunner::TestRunner::dumpResourceResponseMIMETypes):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
(TestRunner):
- DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::reset):
(WebTestRunner):
(WebTestRunner::WebTestProxyBase::assignIdentifierToRequest):
(WebTestRunner::WebTestProxyBase::willRequestResource):
(WebTestRunner::WebTestProxyBase::willSendRequest):
(WebTestRunner::WebTestProxyBase::didReceiveResponse):
(WebTestRunner::WebTestProxyBase::didFinishResourceLoad):
(WebTestRunner::WebTestProxyBase::didFailResourceLoad):
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::willSendRequest):
(WebViewHost::makeURLErrorDescription):
(WebViewHost::reset):
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- 1:44 PM Changeset in webkit [139233] by
-
- 2 edits in trunk/LayoutTests
[Chromium] inspector/geolocation-error.html is flaky in Win.
https://bugs.webkit.org/show_bug.cgi?id=106487
- platform/chromium/TestExpectations: Marked as flaky.
- 1:39 PM Changeset in webkit [139232] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tweak webaduio test expectations once more.
- platform/chromium/TestExpectations: Tweaked.
- 1:07 PM Changeset in webkit [139231] by
-
- 9 edits in trunk/Tools
[chromium] move dumpcreateview methods to testrunner library
https://bugs.webkit.org/show_bug.cgi?id=106434
Patch by Dan Carney <dcarney@google.com> on 2013-01-09
Reviewed by Adam Barth.
- DumpRenderTree/chromium/DRTTestRunner.cpp:
(DRTTestRunner::DRTTestRunner):
(DRTTestRunner::reset):
- DumpRenderTree/chromium/DRTTestRunner.h:
(DRTTestRunner):
- DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:
(WebTestRunner::WebTestRunner::shouldDumpCreateView):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::reset):
(WebTestRunner::TestRunner::shouldDumpCreateView):
(WebTestRunner):
(WebTestRunner::TestRunner::dumpCreateView):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
(TestRunner):
- 12:53 PM Changeset in webkit [139230] by
-
- 4 edits3 adds in trunk
Assertion failure in SubresourceLoader::didFail when reloading
https://bugs.webkit.org/show_bug.cgi?id=101416
Reviewed by Nate Chapin.
Test: http/tests/cache/network-error-during-revalidation.html
- loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didFail): Handle revalidation.
- 12:46 PM Changeset in webkit [139229] by
-
- 4 edits in trunk
Assertion Failure in WebCore::RenderLayerCompositor::updateCompositingLayers
https://bugs.webkit.org/show_bug.cgi?id=106419
Reviewed by Simon Fraser.
Source/WebCore:
No new tests added, just un-skipped 3 existing tests.
RenderLayerCompositor::updateCompositingLayers is being called with a pending layout, so computing the
layers at that point would be useless & error-prone as they will be using incorrect layout values. If a layout is pending it means that
RenderLayerCompositor::updateCompositingLayers would get called again after the pending layout ends, so any values calculated at that point would be
overwritten immediately. This patch removes the old ASSERT and makes it a return instead.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers):
LayoutTests:
Re-added skipped tests as this patch resolves the flakiness.
- platform/mac/TestExpectations:
- 12:45 PM Changeset in webkit [139228] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Unreviewed. Changelog fix.
- 12:44 PM Changeset in webkit [139227] by
-
- 149 edits in trunk/Source/WebKit/chromium
[Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
https://bugs.webkit.org/show_bug.cgi?id=106227
Reviewed by Darin Fisher.
Part of a larger refactoring series. See tracking bug 82948.
- public/WebAccessibilityObject.h:
- public/WebAccessibilityRole.h:
- public/WebActiveWheelFlingParameters.h:
- public/WebAnimationController.h:
- public/WebApplicationCacheHost.h:
- public/WebApplicationCacheHostClient.h:
- public/WebArrayBuffer.h:
- public/WebAudioSourceProvider.h:
- public/WebBatteryStatus.h:
- public/WebBindings.h:
- public/WebBlob.h:
- public/WebCache.h:
- public/WebCachedURLRequest.h:
- public/WebColorChooser.h:
- public/WebColorChooserClient.h:
- public/WebColorName.h:
- public/WebCommonWorkerClient.h:
- public/WebCompositionUnderline.h:
- public/WebCompositorInputHandler.h:
- public/WebConsoleMessage.h:
- public/WebContentDetectionResult.h:
- public/WebContextMenuData.h:
- public/WebCrossOriginPreflightResultCache.h:
- public/WebCursorInfo.h:
- public/WebDOMEvent.h:
- public/WebDOMEventListener.h:
- public/WebDOMStringList.h:
- public/WebDataSource.h:
- public/WebDatabase.h:
- public/WebDateTimeChooserCompletion.h:
- public/WebDateTimeChooserParams.h:
- public/WebDeliveredIntentClient.h:
- public/WebDevToolsAgent.h:
- public/WebDevToolsAgentClient.h:
- public/WebDevToolsFrontend.h:
- public/WebDeviceOrientationClient.h:
- public/WebDeviceOrientationClientMock.h:
- public/WebDeviceOrientationController.h:
- public/WebDocument.h:
- public/WebDraggableRegion.h:
- public/WebExternalPopupMenuClient.h:
- public/WebFileChooserCompletion.h:
- public/WebFileChooserParams.h:
- public/WebFileSystemCallbacks.h:
- public/WebFileSystemEntry.h:
- public/WebFileWriter.h:
- public/WebFileWriterClient.h:
- public/WebFindOptions.h:
- public/WebFont.h:
- public/WebFontCache.h:
- public/WebFontDescription.h:
- public/WebFormControlElement.h:
- public/WebFormElement.h:
- public/WebFrame.h:
- public/WebFrameClient.h:
- public/WebGeolocationClientMock.h:
- public/WebGeolocationController.h:
- public/WebGeolocationError.h:
- public/WebGeolocationPermissionRequest.h:
- public/WebGeolocationPermissionRequestManager.h:
- public/WebGeolocationPosition.h:
- public/WebGlyphCache.h:
- public/WebHelperPlugin.h:
- public/WebHistoryItem.h:
- public/WebHitTestResult.h:
- public/WebIDBCallbacks.h:
- public/WebIDBCursor.h:
- public/WebIDBDatabase.h:
- public/WebIDBDatabaseCallbacks.h:
- public/WebIDBDatabaseError.h:
- public/WebIDBFactory.h:
- public/WebIDBIndex.h:
- public/WebIDBKey.h:
- public/WebIDBKeyPath.h:
- public/WebIDBKeyRange.h:
- public/WebIDBMetadata.h:
- public/WebIDBObjectStore.h:
- public/WebIDBTransaction.h:
- public/WebIDBTransactionCallbacks.h:
- public/WebIconURL.h:
- public/WebImageDecoder.h:
- public/WebInputEvent.h:
- public/WebIntent.h:
- public/WebIntentRequest.h:
- public/WebIntentServiceInfo.h:
- public/WebMediaPlayer.h:
- public/WebMediaStreamRegistry.h:
- public/WebMenuItemInfo.h:
- public/WebNetworkStateNotifier.h:
- public/WebNode.h:
- public/WebNodeCollection.h:
- public/WebNodeList.h:
- public/WebNotification.h:
- public/WebNotificationPresenter.h:
- public/WebOptionElement.h:
- public/WebPageOverlay.h:
- public/WebPagePopup.h:
- public/WebPageSerializer.h:
- public/WebPasswordFormData.h:
- public/WebPerformance.h:
- public/WebPlugin.h:
- public/WebPluginContainer.h:
- public/WebPluginParams.h:
- public/WebPopupMenu.h:
- public/WebPopupMenuInfo.h:
- public/WebPrerendererClient.h:
- public/WebPrintParams.h:
- public/WebRange.h:
- public/WebRegularExpression.h:
- public/WebRuntimeFeatures.h:
- public/WebScopedMicrotaskSuppression.h:
- public/WebScopedUserGesture.h:
- public/WebScriptController.h:
- public/WebScriptSource.h:
- public/WebSearchableFormData.h:
- public/WebSecurityOrigin.h:
- public/WebSecurityPolicy.h:
- public/WebSelectElement.h:
- public/WebSettings.h:
- public/WebSharedWorker.h:
- public/WebSharedWorkerRepository.h:
- public/WebSpeechGrammar.h:
- public/WebSpeechInputController.h:
- public/WebSpeechInputResult.h:
- public/WebSpeechRecognitionHandle.h:
- public/WebSpeechRecognitionParams.h:
- public/WebSpeechRecognitionResult.h:
- public/WebSpeechRecognizer.h:
- public/WebSpeechRecognizerClient.h:
- public/WebSpellCheckClient.h:
- public/WebStorageEventDispatcher.h:
- public/WebSurroundingText.h:
- public/WebTestingSupport.h:
- public/WebTextCheckingCompletion.h:
- public/WebTextCheckingResult.h:
- public/WebTextFieldDecoratorClient.h:
- public/WebTextInputInfo.h:
- public/WebTextRun.h:
- public/WebTimeRange.h:
- public/WebTouchPoint.h:
- public/WebUserMediaRequest.h:
- public/WebView.h:
- public/WebViewBenchmarkSupport.h:
- public/WebViewClient.h:
- public/WebWidget.h:
- public/WebWidgetClient.h:
- public/WebWindowFeatures.h:
- public/WebWorkerInfo.h:
- 12:41 PM Changeset in webkit [139226] by
-
- 2 edits3 adds in trunk/LayoutTests
Unreviewed. Rebaseline some accessibility test results on Win7 port.
- platform/win/accessibility/canvas-fallback-content-2-expected.txt:
- platform/win/platform/win/accessibility: Added.
- platform/win/platform/win/accessibility/option-element-selection-and-focus-events-expected.txt: Added.
- platform/win/platform/win/accessibility/select-element-valuechange-event-expected.txt: Added.
- 12:41 PM Changeset in webkit [139225] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Useless if statement check
https://bugs.webkit.org/show_bug.cgi?id=106113
Patch by Genevieve Mak <gmak@rim.com> on 2013-01-09
Reviewed by Yong Li.
Remove stray ! in if statement which was mistakenly left in during
refactoring. Since Injected events are checked before they are sent to
webkit, it didn't have an effect on behaviour.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::touchEvent):
- 12:33 PM Changeset in webkit [139224] by
-
- 7 edits in trunk/Tools
webkitpy cleanup: Merge additional_comment_text into comment_text
https://bugs.webkit.org/show_bug.cgi?id=106421
Reviewed by Adam Barth.
- Scripts/webkitpy/common/config/committervalidator.py:
(CommitterValidator.reject_patch_from_commit_queue):
(CommitterValidator.reject_patch_from_review_queue):
- Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
(Bugzilla.set_flag_on_attachment):
- Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
(MockBugzilla.set_flag_on_attachment):
- Scripts/webkitpy/tool/bot/feeders_unittest.py:
- Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(AbstractEarlyWarningSystem._post_reject_message_on_bug):
- Scripts/webkitpy/tool/commands/queues_unittest.py:
- 12:30 PM Changeset in webkit [139223] by
-
- 5 edits in trunk
REGRESSION(r111439): Focus ring is rendered incorrectly in fast/inline/continuation-outlines-with-layers.html
https://bugs.webkit.org/show_bug.cgi?id=106064
Reviewed by David Hyatt.
Source/WebCore:
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintObject):
LayoutTests:
- platform/chromium-linux/fast/inline/continuation-outlines-with-layers-expected.png:
- 12:27 PM Changeset in webkit [139222] by
-
- 2 edits in trunk/Source/ThirdParty
Change ARCHS to generic setting to work with multiple platforms.
https://bugs.webkit.org/show_bug.cgi?id=106478
Patch by David Farler <dfarler@apple.com> on 2013-01-09
Reviewed by Anders Carlsson.
- gtest/xcode/Config/General.xcconfig: ARCHS = $(ARCHS_STANDARD_32_64_BIT);
- 12:24 PM Changeset in webkit [139221] by
-
- 4 edits in trunk/LayoutTests
fast/forms/min-content-form-controls.html fails on some platforms
https://bugs.webkit.org/show_bug.cgi?id=106482
Reviewed by Eric Seidel.
The text dump for some form controls (menulists?) has different whitespace
output on different platforms. Remove the form controls to avoid adding
platform-specific expectations for this test.
- fast/forms/min-content-form-controls-expected.txt:
- fast/forms/min-content-form-controls.html:
- platform/mac/TestExpectations:
- 12:19 PM Changeset in webkit [139220] by
-
- 20 edits3 adds in trunk
Add stub for CanvasProxy
https://bugs.webkit.org/show_bug.cgi?id=106275
Patch by Gregg Tavares <gman@google.com> on 2013-01-09
Reviewed by Dean Jackson.
No new tests as no new fuctionality exposed.
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- html/canvas/CanvasProxy.cpp: Added.
- html/canvas/CanvasProxy.h: Added.
- html/canvas/CanvasProxy.idl: Added.
- 12:12 PM Changeset in webkit [139219] by
-
- 3 edits in trunk/LayoutTests
IndexedDB: Remove unnecessary tests from storage/indexeddb/key-type-array.html
https://bugs.webkit.org/show_bug.cgi?id=106472
Patch by Michael Pruett <michael@68k.org> on 2013-01-09
Reviewed by Tony Chang.
The tests which verify that JSON.stringify() throws an exception
for cyclic objects produce different error messages on JSC and
V8 and do nothing to test IndexedDB functionality. These tests
should be removed.
- storage/indexeddb/key-type-array-expected.txt:
- storage/indexeddb/resources/key-type-array.js:
- 12:08 PM Changeset in webkit [139218] by
-
- 11 edits in trunk/Source
Source/WebCore: Release FastMalloc thread caches on memory warning
https://bugs.webkit.org/show_bug.cgi?id=106471
Reviewed by Geoff Garen.
FastMalloc keeps some memory in per-thread caches (currently 2MB each). We currently flush these caches on memory warning
for the main thread only. We should do it for other WebKit threads that use FastMalloc too.
Call WTF::releaseFastMallocFreeMemory in a bunch of WebCore support threads on memory warning. Unfortunately we don't have
an uniform way of doing threads so this requires bunch of thread type specific code.
Looks to be ~1% progression in membuster3 final and maximum numbers.
- platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::releaseMemory):
- storage/StorageTask.cpp:
(WebCore::StorageTask::performTask):
- storage/StorageTask.h:
(WebCore::StorageTask::createReleaseFastMallocFreeMemory):
- storage/StorageThread.cpp:
(WebCore::storageThreads):
(WebCore):
(WebCore::StorageThread::StorageThread):
(WebCore::StorageThread::~StorageThread):
(WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThread):
- storage/StorageThread.h:
(StorageThread):
- workers/WorkerThread.cpp:
(WebCore::threadSetMutex):
(WebCore::workerThreads):
(WebCore::WorkerThread::workerThreadCount):
(WebCore::WorkerThread::WorkerThread):
(WebCore::WorkerThread::~WorkerThread):
(WebCore::WorkerThread::releaseFastMallocFreeMemoryInAllThread):
(WebCore):
- workers/WorkerThread.h:
(WorkerThread):
Source/WTF: Release FastMalloc thread caches on memory warning
https://bugs.webkit.org/show_bug.cgi?id=106471
Reviewed by Geoff Garen.
Use TCMalloc_ThreadCache::Cleanup() instead of calling Scavenge() twice. This releases all the memory
and looks nicer too.
- wtf/FastMalloc.cpp:
(WTF::releaseFastMallocFreeMemory):
- 12:01 PM Changeset in webkit [139217] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r139141): Assertion failure in WebCore::HTMLConstructionSite::HTMLConstructionSite
https://bugs.webkit.org/show_bug.cgi?id=106412
Reviewed by Darin Adler.
This corrects the assertion added in r139141. The assertion was designed to make sure that we are using the
HTMLDocument class. XHTML documents also use HTMLDocument.
No new tests because no new functionality.
- html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::HTMLConstructionSite):
- 11:41 AM Changeset in webkit [139216] by
-
- 8 edits2 adds in trunk
min-content gets the wrong value if min-width is set on some form controls
https://bugs.webkit.org/show_bug.cgi?id=106389
Reviewed by Tony Chang.
Source/WebCore:
Simplify the logic. The only exposed change in behavior is that
m_minPreferredLogicalWidth gets set to m_maxPreferredLogicalWidth
instead of 0 when min-width is set.
Test: fast/forms/min-content-form-controls.html
- rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::computePreferredLogicalWidths):
- rendering/RenderListBox.cpp:
(WebCore::RenderListBox::computePreferredLogicalWidths):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::computePreferredLogicalWidths):
- rendering/RenderSlider.cpp:
(WebCore::RenderSlider::computePreferredLogicalWidths):
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::computePreferredLogicalWidths):
LayoutTests:
- fast/forms/min-content-form-controls-expected.txt: Added.
- fast/forms/min-content-form-controls.html: Added.
- 11:36 AM Changeset in webkit [139215] by
-
- 2 edits in trunk/Source/WebKit2
[Qt][WK2] Fix a typo in in the double-tap-to-zoom logic
Rubber-stamped by Csaba Osztrogonác.
The qMin for the upper boundary of the scale was accidentally
changed to qMax in r139189, change it back to fix the Qt API tests.
- UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
- 11:36 AM Changeset in webkit [139214] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Skipping 4 video controls tests on Windows.
https://bugs.webkit.org/show_bug.cgi?id=106477.
Skipped tests:
media/video-controls-captions-trackmenu-localized.html
media/video-controls-captions-trackmenu-sorted.html
media/video-controls-captions-trackmenu.html
media/video-controls-visible-exiting-fullscreen.html
- platform/win/TestExpectations:
- 11:08 AM Changeset in webkit [139213] by
-
- 2 edits in trunk/Source/WebCore
Mitigate out-of-bounds access in InlineIterator
https://bugs.webkit.org/show_bug.cgi?id=104812
Reviewed by Levi Weintraub.
Share code between InlineIterator::current and InlineIterator::previousInSameNode,
thereby checking for access outside text renderer's length.
- rendering/InlineIterator.h:
(InlineIterator):
(WebCore::InlineIterator::characterAt):
(WebCore):
(WebCore::InlineIterator::current):
(WebCore::InlineIterator::previousInSameNode):
- 11:06 AM Changeset in webkit [139212] by
-
- 6 edits8 adds in trunk/LayoutTests
[Chromium] Rebaseline a few tests after r139191.
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
- platform/chromium-mac/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
- platform/chromium-win/fast/borders/border-radius-huge-assert-expected.png:
- platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
- platform/chromium-win/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
- platform/chromium-win/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
- 10:58 AM Changeset in webkit [139211] by
-
- 11 edits in trunk/LayoutTests
[Chromium] Rebaseline a few tests after r139201.
- platform/chromium-mac-lion/fast/forms/menulist-clip-expected.png:
- platform/chromium-mac-lion/fast/forms/menulist-option-wrap-expected.png:
- platform/chromium-mac-lion/fast/repaint/control-clip-expected.png:
- platform/chromium-mac-snowleopard/fast/forms/menulist-clip-expected.png:
- platform/chromium-mac-snowleopard/fast/forms/menulist-option-wrap-expected.png:
- platform/chromium-mac-snowleopard/fast/repaint/control-clip-expected.png:
- platform/chromium-mac/fast/forms/menulist-clip-expected.png:
- platform/chromium-mac/fast/forms/menulist-option-wrap-expected.png:
- platform/chromium-mac/fast/forms/select-empty-option-height-expected.png:
- platform/chromium-mac/fast/repaint/control-clip-expected.png:
- 10:55 AM Changeset in webkit [139210] by
-
- 2 edits in trunk/LayoutTests
[Chromium] fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html is a flaky crash.
https://bugs.webkit.org/show_bug.cgi?id=106473
- platform/chromium/TestExpectations: Marked.
- 10:52 AM Changeset in webkit [139209] by
-
- 2 edits in trunk/Source/WebCore
If ImageLoader's loadEventSender or errorEventSender fires after document is detached, the document will be leaked.
https://bugs.webkit.org/show_bug.cgi?id=106394
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-01-09
Reviewed by Alexey Proskuryakov.
ImageLoader's loadEventSender and errorEventSender schedule event dispatching in separate timers and refs
the Element in updatedHasPendingEvent. If the Document is detached before either eventSender dispatches,
we would leak the Document since we bail out early in dispatchPendingLoadEvent or dispatchPendingErrorEvent,
without deref-ing the Element itself.
No new tests. Verified manually by using heap tool to count the living HTMLDocuments.
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::dispatchPendingLoadEvent): also call updatedHasPendingEvent to deref the Element if
the document is detached.
(WebCore::ImageLoader::dispatchPendingErrorEvent): ditto.
- 10:50 AM Changeset in webkit [139208] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r139143.
http://trac.webkit.org/changeset/139143
https://bugs.webkit.org/show_bug.cgi?id=106135
Broke Chromium content_browsertests.
- platform/leveldb/LevelDBDatabase.cpp:
(WebCore::LevelDBDatabase::open):
(WebCore::LevelDBDatabase::openInMemory):
- 10:50 AM Changeset in webkit [139207] by
-
- 2 edits in trunk/Tools
[GTK] Raise version of gdk-pixbuf in jhbuild up to 2.26.5
https://bugs.webkit.org/show_bug.cgi?id=106464
Reviewed by Martin Robinson.
Current version in jhbuild.modules (2.26.0) is giving trouble to
when trying to build WebKitGTK from scratch, due to a segmentation
fault error in gdk-pixbuf-query-loader during the 'make'
phase. Raising the version to 2.26.5 fixes this issue.
- gtk/jhbuild.modules: Version raised, checksums updated.
- 10:29 AM Changeset in webkit [139206] by
-
- 2 edits in trunk/Source/WebCore
Add Settings.in and make_settings.pl to the project.
Reviewed by Anders Carlsson.
- WebCore.xcodeproj/project.pbxproj:
- 10:22 AM Changeset in webkit [139205] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
Remove duplicate ChangeLog entry for https://bugs.webkit.org/show_bug.cgi?id=105035
that was inadvertently added in <http://trac.webkit.org/changeset/139203>.
- 10:17 AM Changeset in webkit [139204] by
-
- 1 edit1 add in trunk/LayoutTests
New chromium-win pixel baseline for gradient-background-leakage-hidpi.html
https://bugs.webkit.org/show_bug.cgi?id=106373
Unreviewed.
- platform/chromium-win/fast/backgrounds/gradient-background-leakage-hidpi-expected.png: Added.
- 10:10 AM Changeset in webkit [139203] by
-
- 3 edits in trunk
Source/WebCore: marquee special-case in RenderBlock is not needed
https://bugs.webkit.org/show_bug.cgi?id=106396
Reviewed by Simon Fraser.
This was added in http://trac.webkit.org/changeset/105772. The layout test
in that patch (which is disabled) works and the original site that was broken
also still works.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computePreferredLogicalWidths):
LayoutTests: Implement CSS computed style value for transition shorthand
https://bugs.webkit.org/show_bug.cgi?id=105035
Patch by Alexis Menard <alexis@webkit.org> on 2013-01-09
Reviewed by Dean Jackson.
Uncomment existing tests to cover the new feature.
- transitions/transitions-parsing-expected.txt:
- transitions/transitions-parsing.html:
- 10:07 AM Changeset in webkit [139202] by
-
- 15 edits in trunk
Automatically generate Settings::unifiedTextCheckerEnabled
https://bugs.webkit.org/show_bug.cgi?id=106382
Reviewed by Adam Barth.
Source/WebCore:
No new tests, no change in behavior. This is covered by existing editing/spelling tests.
- page/Settings.cpp:
(WebCore): Move default value into a global so we can generate the initializer.
(WebCore::Settings::Settings): Remove initializer code that is now generated.
- page/Settings.h:
(Settings): Remove getters and setters.
- page/Settings.in: Add entry to be generated.
- testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup): Remove backup since the generated code does this.
(WebCore::InternalSettings::Backup::restoreTo): Remove restore code since the generated code does this.
- testing/InternalSettings.h:
(InternalSettings): Remove member variable.
- testing/InternalSettings.idl: The getter was unused so it's being removed. The setter is now generated.
LayoutTests:
The InternalSettings.idl method didn't match the Settings' getter/setter. Now
that we're using the generated version, make the tests use the same name.
- editing/spelling/grammar-edit-word.html:
- editing/spelling/spellcheck-async-mutation.html:
- editing/spelling/spellcheck-async-remove-frame.html:
- editing/spelling/spellcheck-async.html:
- editing/spelling/spelling-marker-description.html:
- editing/spelling/spelling-unified-emulation.html:
- platform/chromium/editing/spelling/delete-misspelled-word.html:
- 10:04 AM Changeset in webkit [139201] by
-
- 2 edits in trunk/Source/WebKit/chromium
Adjust Skia build flags to WebKit skia gyp
Unreviewed change to enable easy layout test rebaselining.
- skia_webkit.gyp:
- 10:04 AM Changeset in webkit [139200] by
-
- 5 edits in trunk
Implement CSS computed style value for transition shorthand
https://bugs.webkit.org/show_bug.cgi?id=105035
Reviewed by Dean Jackson.
Source/WebCore:
Implement support for query the transition and webkit-transition
shorthand from the computed style.
Test: transitions/transitions-parsing.html
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::createTransitionPropertyValue): Factor the code to create the
correct value into a function to reuse it for the shorthand.
(WebCore::getTransitionPropertyValue):
(WebCore::createTimingFunctionValue): Little refactor, the intermediate
local variables are not needed.
(WebCore::getTimingFunctionValue):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
LayoutTests:
Uncomment existing tests to cover the new feature.
- transitions/transitions-parsing-expected.txt:
- transitions/transitions-parsing.html:
- 9:41 AM Changeset in webkit [139199] by
-
- 5 edits in trunk/Source/WebCore
Document::setActiveNode() should be Document::setActiveElement()
https://bugs.webkit.org/show_bug.cgi?id=106437
Reviewed by Ojan Vafai.
No new tests. No functoinal change.
- dom/Document.cpp:
(WebCore::Document::setActiveElement):
(WebCore::Document::updateHoverActiveState):
- dom/Document.h:
(Document):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::innerElement):
(WebCore):
- rendering/HitTestResult.h:
(HitTestResult):
- 9:34 AM Changeset in webkit [139198] by
-
- 361 edits in trunk
Source/WebCore: [Shadow DOM]: ShadowRoot has wrong nodeName attribute
https://bugs.webkit.org/show_bug.cgi?id=104995
Reviewed by Dimitri Glazkov.
According to the Shadow DOM spec, ShadowRoot.nodeName should return '#document-fragment' instead of '#shadow-root'.
We remove ShadowRoot::nodeName.
No new tests, covered by existing tests.
- dom/ShadowRoot.cpp:
- dom/ShadowRoot.h:
(ShadowRoot):
LayoutTests: [Shadow DOM]: ShadowRoot wrong nodeName attribute
https://bugs.webkit.org/show_bug.cgi?id=104995
Reviewed by Dimitri Glazkov.
Converted #shadow-root to #document-fragment in LayoutTests files using sed.
- editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
- editing/deleting/delete-ligature-001-expected.txt:
- editing/pasteboard/copy-in-password-field-expected.txt:
- editing/selection/select-all-textarea-expected.txt:
- fast/dom/shadow/layout-tests-can-access-shadow-expected.txt:
- fast/dom/shadow/layout-tests-can-access-shadow.html:
- fast/dom/shadow/shadow-and-list-elements.html:
- fast/events/5056619-expected.txt:
- fast/forms/focus-selection-input-expected.txt:
- fast/forms/focus-selection-textarea-expected.txt:
- fast/forms/textfield-outline-expected.txt:
- fast/html/details-add-summary-1-and-click-expected.txt:
- fast/html/details-add-summary-10-and-click-expected.txt:
- fast/html/details-add-summary-2-and-click-expected.txt:
- fast/html/details-add-summary-3-and-click-expected.txt:
- fast/html/details-add-summary-4-and-click-expected.txt:
- fast/html/details-add-summary-5-and-click-expected.txt:
- fast/html/details-add-summary-6-and-click-expected.txt:
- fast/html/details-add-summary-7-and-click-expected.txt:
- fast/html/details-add-summary-8-and-click-expected.txt:
- fast/html/details-add-summary-9-and-click-expected.txt:
- fast/html/details-remove-summary-1-and-click-expected.txt:
- fast/html/details-remove-summary-2-and-click-expected.txt:
- fast/html/details-remove-summary-3-and-click-expected.txt:
- fast/html/details-remove-summary-4-and-click-expected.txt:
- fast/html/details-remove-summary-5-and-click-expected.txt:
- fast/html/details-remove-summary-6-and-click-expected.txt:
- inspector/elements/shadow-dom-modify-chardata-expected.txt:
- inspector/elements/shadow-root-expected.txt:
- inspector/elements/shadow-root.html:
- inspector/elements/update-shadowdom-expected.txt:
- platform/chromium-android/fast/events/autoscroll-expected.txt:
- platform/chromium-android/fast/forms/input-appearance-selection-expected.txt:
- platform/chromium-android/fast/frames/take-focus-from-iframe-expected.txt:
- platform/chromium-linux-x86/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/chromium-linux/fast/forms/input-text-double-click-expected.txt:
- platform/chromium-linux/fast/forms/textfield-outline-expected.txt:
- platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-mac-lion/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/chromium-mac-lion/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/chromium-mac-snowleopard/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac/editing/selection/select-across-readonly-input-1-expected.txt:
- platform/chromium-mac/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/chromium-mac/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/chromium-mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
- platform/chromium-mac/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.txt:
- platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.txt:
- platform/chromium-win-xp/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
- platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/chromium-win/editing/inserting/4960120-1-expected.txt:
- platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt:
- platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt:
- platform/chromium-win/editing/selection/4895428-3-expected.txt:
- platform/chromium-win/editing/selection/4975120-expected.txt:
- platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt:
- platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/chromium-win/fast/events/autoscroll-expected.txt:
- platform/chromium-win/fast/events/context-no-deselect-expected.txt:
- platform/chromium-win/fast/forms/input-appearance-focus-expected.txt:
- platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt:
- platform/chromium-win/fast/forms/input-appearance-selection-expected.txt:
- platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/chromium-win/fast/forms/input-text-click-inside-expected.txt:
- platform/chromium-win/fast/forms/input-text-double-click-expected.txt:
- platform/chromium-win/fast/forms/input-text-drag-down-expected.txt:
- platform/chromium-win/fast/forms/input-text-option-delete-expected.txt:
- platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
- platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt:
- platform/chromium-win/fast/forms/search-rtl-expected.txt:
- platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt:
- platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt:
- platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt:
- platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt:
- platform/chromium-win/fast/forms/textfield-outline-expected.txt:
- platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
- platform/chromium-win/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
- platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
- platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
- platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/chromium-win/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
- platform/chromium/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/chromium/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/chromium/editing/inserting/4960120-1-expected.txt:
- platform/chromium/editing/pasteboard/drop-text-without-selection-expected.txt:
- platform/chromium/editing/pasteboard/pasting-tabs-expected.txt:
- platform/chromium/editing/selection/4895428-3-expected.txt:
- platform/chromium/editing/selection/4975120-expected.txt:
- platform/chromium/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/chromium/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt:
- platform/chromium/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt:
- platform/chromium/fast/events/autoscroll-expected.txt:
- platform/chromium/fast/events/context-no-deselect-expected.txt:
- platform/chromium/fast/forms/input-appearance-focus-expected.txt:
- platform/chromium/fast/forms/input-appearance-readonly-expected.txt:
- platform/chromium/fast/forms/input-appearance-selection-expected.txt:
- platform/chromium/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/chromium/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/chromium/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/chromium/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/chromium/fast/forms/input-text-click-inside-expected.txt:
- platform/chromium/fast/forms/input-text-double-click-expected.txt:
- platform/chromium/fast/forms/input-text-drag-down-expected.txt:
- platform/chromium/fast/forms/input-text-option-delete-expected.txt:
- platform/chromium/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/chromium/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/chromium/fast/forms/plaintext-mode-2-expected.txt:
- platform/chromium/fast/forms/search-rtl-expected.txt:
- platform/chromium/fast/forms/tabbing-input-iframe-expected.txt:
- platform/chromium/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/chromium/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/chromium/fast/forms/textarea-scrollbar-expected.txt:
- platform/chromium/fast/forms/textarea-scrolled-type-expected.txt:
- platform/chromium/fast/forms/textfield-focus-ring-expected.txt:
- platform/chromium/fast/forms/textfield-outline-expected.txt:
- platform/chromium/fast/forms/textfield-overflow-expected.txt:
- platform/chromium/fast/frames/take-focus-from-iframe-expected.txt:
- platform/chromium/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/chromium/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/chromium/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
- platform/efl/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/efl/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/efl/editing/inserting/4960120-1-expected.txt:
- platform/efl/fast/events/autoscroll-expected.txt:
- platform/efl/fast/events/context-no-deselect-expected.txt:
- platform/efl/fast/forms/input-appearance-focus-expected.txt:
- platform/efl/fast/forms/input-appearance-readonly-expected.txt:
- platform/efl/fast/forms/input-appearance-selection-expected.txt:
- platform/efl/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/efl/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/efl/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/efl/fast/forms/input-text-click-inside-expected.txt:
- platform/efl/fast/forms/input-text-double-click-expected.txt:
- platform/efl/fast/forms/input-text-option-delete-expected.txt:
- platform/efl/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/efl/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/efl/fast/forms/tabbing-input-iframe-expected.txt:
- platform/efl/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/efl/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/efl/fast/forms/textarea-scrollbar-expected.txt:
- platform/efl/fast/forms/textarea-scrolled-type-expected.txt:
- platform/efl/fast/forms/textfield-focus-ring-expected.txt:
- platform/efl/fast/forms/textfield-outline-expected.txt:
- platform/efl/fast/forms/validation-message-appearance-expected.txt:
- platform/efl/fast/frames/take-focus-from-iframe-expected.txt:
- platform/efl/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/efl/fast/text/textIteratorNilRenderer-expected.txt:
- platform/efl/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/gtk/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/gtk/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/gtk/editing/inserting/4960120-1-expected.txt:
- platform/gtk/editing/pasteboard/drop-text-without-selection-expected.txt:
- platform/gtk/editing/pasteboard/pasting-tabs-expected.txt:
- platform/gtk/editing/selection/4895428-3-expected.txt:
- platform/gtk/editing/selection/4975120-expected.txt:
- platform/gtk/editing/selection/select-across-readonly-input-1-expected.txt:
- platform/gtk/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/gtk/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/gtk/fast/events/autoscroll-expected.txt:
- platform/gtk/fast/events/context-no-deselect-expected.txt:
- platform/gtk/fast/forms/input-appearance-focus-expected.txt:
- platform/gtk/fast/forms/input-appearance-readonly-expected.txt:
- platform/gtk/fast/forms/input-appearance-selection-expected.txt:
- platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/gtk/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/gtk/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/gtk/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/gtk/fast/forms/input-text-click-inside-expected.txt:
- platform/gtk/fast/forms/input-text-click-outside-expected.txt:
- platform/gtk/fast/forms/input-text-double-click-expected.txt:
- platform/gtk/fast/forms/input-text-drag-down-expected.txt:
- platform/gtk/fast/forms/input-text-option-delete-expected.txt:
- platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
- platform/gtk/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/gtk/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
- platform/gtk/fast/forms/search-rtl-expected.txt:
- platform/gtk/fast/forms/tabbing-input-iframe-expected.txt:
- platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/gtk/fast/forms/textarea-scrollbar-expected.txt:
- platform/gtk/fast/forms/textarea-scrolled-type-expected.txt:
- platform/gtk/fast/forms/textfield-focus-ring-expected.txt:
- platform/gtk/fast/forms/textfield-outline-expected.txt:
- platform/gtk/fast/forms/textfield-overflow-expected.txt:
- platform/gtk/fast/forms/validation-message-appearance-expected.txt:
- platform/gtk/fast/frames/take-focus-from-iframe-expected.txt:
- platform/gtk/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/gtk/fast/text/textIteratorNilRenderer-expected.txt:
- platform/gtk/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/mac-wk2/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/mac-wk2/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/mac-wk2/fast/forms/plaintext-mode-2-expected.txt:
- platform/mac/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/mac/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/mac/editing/inserting/4960120-1-expected.txt:
- platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt:
- platform/mac/editing/pasteboard/pasting-tabs-expected.txt:
- platform/mac/editing/selection/4895428-3-expected.txt:
- platform/mac/editing/selection/4975120-expected.txt:
- platform/mac/editing/selection/select-across-readonly-input-1-expected.txt:
- platform/mac/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/mac/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/mac/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt:
- platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt:
- platform/mac/fast/events/autoscroll-expected.txt:
- platform/mac/fast/events/context-no-deselect-expected.txt:
- platform/mac/fast/forms/input-appearance-focus-expected.txt:
- platform/mac/fast/forms/input-appearance-readonly-expected.txt:
- platform/mac/fast/forms/input-appearance-selection-expected.txt:
- platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
- platform/mac/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/mac/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/mac/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/mac/fast/forms/input-text-click-inside-expected.txt:
- platform/mac/fast/forms/input-text-double-click-expected.txt:
- platform/mac/fast/forms/input-text-drag-down-expected.txt:
- platform/mac/fast/forms/input-text-option-delete-expected.txt:
- platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
- platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/mac/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/mac/fast/forms/plaintext-mode-2-expected.txt:
- platform/mac/fast/forms/search-rtl-expected.txt:
- platform/mac/fast/forms/tabbing-input-iframe-expected.txt:
- platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/mac/fast/forms/textarea-scrollbar-expected.txt:
- platform/mac/fast/forms/textarea-scrolled-type-expected.txt:
- platform/mac/fast/forms/textfield-focus-ring-expected.txt:
- platform/mac/fast/forms/textfield-outline-expected.txt:
- platform/mac/fast/forms/textfield-overflow-expected.txt:
- platform/mac/fast/forms/validation-message-appearance-expected.txt:
- platform/mac/fast/frames/take-focus-from-iframe-expected.txt:
- platform/mac/fast/html/details-add-summary-1-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-10-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-2-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-3-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-4-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-5-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-6-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-7-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-8-and-click-expected.txt:
- platform/mac/fast/html/details-add-summary-9-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-2-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-3-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-5-and-click-expected.txt:
- platform/mac/fast/html/details-remove-summary-6-and-click-expected.txt:
- platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/mac/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/mac/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
- platform/qt/editing/input/caret-at-the-edge-of-input-expected.txt:
- platform/qt/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/qt/editing/inserting/4960120-1-expected.txt:
- platform/qt/editing/pasteboard/pasting-tabs-expected.txt:
- platform/qt/editing/selection/4895428-3-expected.txt:
- platform/qt/editing/selection/4975120-expected.txt:
- platform/qt/editing/selection/select-across-readonly-input-1-expected.txt:
- platform/qt/editing/selection/select-across-readonly-input-4-expected.txt:
- platform/qt/editing/selection/select-across-readonly-input-5-expected.txt:
- platform/qt/fast/events/context-no-deselect-expected.txt:
- platform/qt/fast/forms/input-appearance-focus-expected.txt:
- platform/qt/fast/forms/input-appearance-readonly-expected.txt:
- platform/qt/fast/forms/input-appearance-selection-expected.txt:
- platform/qt/fast/forms/input-double-click-selection-gap-bug-expected.txt:
- platform/qt/fast/forms/input-placeholder-visibility-1-expected.txt:
- platform/qt/fast/forms/input-placeholder-visibility-3-expected.txt:
- platform/qt/fast/forms/input-text-click-inside-expected.txt:
- platform/qt/fast/forms/input-text-click-outside-expected.txt:
- platform/qt/fast/forms/input-text-double-click-expected.txt:
- platform/qt/fast/forms/input-text-option-delete-expected.txt:
- platform/qt/fast/forms/input-text-scroll-left-on-blur-expected.txt:
- platform/qt/fast/forms/input-text-self-emptying-click-expected.txt:
- platform/qt/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/qt/fast/forms/plaintext-mode-2-expected.txt:
- platform/qt/fast/forms/search-rtl-expected.txt:
- platform/qt/fast/forms/tabbing-input-iframe-expected.txt:
- platform/qt/fast/forms/textarea-placeholder-visibility-1-expected.txt:
- platform/qt/fast/forms/textarea-placeholder-visibility-2-expected.txt:
- platform/qt/fast/forms/textarea-scrollbar-expected.txt:
- platform/qt/fast/forms/textarea-scrolled-type-expected.txt:
- platform/qt/fast/forms/textfield-focus-ring-expected.txt:
- platform/qt/fast/forms/textfield-outline-expected.txt:
- platform/qt/fast/forms/textfield-overflow-expected.txt:
- platform/qt/fast/frames/take-focus-from-iframe-expected.txt:
- platform/qt/fast/html/details-add-summary-1-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-10-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-2-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-3-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-4-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-5-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-6-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-7-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-8-and-click-expected.txt:
- platform/qt/fast/html/details-add-summary-9-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-1-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-2-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-3-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-4-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-5-and-click-expected.txt:
- platform/qt/fast/html/details-remove-summary-6-and-click-expected.txt:
- platform/qt/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
- platform/qt/fast/transforms/transformed-focused-text-input-expected.txt:
- platform/win-wk2/fast/forms/textfield-overflow-expected.txt:
- platform/win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
- platform/win/editing/input/reveal-caret-of-multiline-input-expected.txt:
- platform/win/editing/selection/select-from-textfield-outwards-expected.txt:
- platform/win/fast/forms/input-text-drag-down-expected.txt:
- 9:29 AM Changeset in webkit [139197] by
-
- 3 edits3 adds in trunk
[CSS Regions] Selecting text through nested regions causes weird and unclearable selection
https://bugs.webkit.org/show_bug.cgi?id=105641
Reviewed by David Hyatt.
If you have a region with a nested region inside what is rendered below the base region and you are trying select text
starting from the base region and ending it in the nested region, firstly you got a weird selection, secondly you can't
clear the selection. We could prevent this strange behavior by preventing the selection through different region flows.
Source/WebCore:
Test: fast/regions/selecting-text-through-different-region-flows.html
- rendering/RenderView.cpp:
(WebCore::RenderView::setSelection): Don't allow selection when trying to select different region flows.
LayoutTests:
- fast/regions/selecting-text-through-different-region-flows-expected.txt: Added.
- fast/regions/selecting-text-through-different-region-flows.html: Added.
- platform/chromium-mac/fast/regions/selecting-text-through-different-region-flows-expected.png: Added.
- 9:00 AM Changeset in webkit [139196] by
-
- 5 edits in trunk/Source/WebCore
Regression(r138681) : Add HAVE(ACCESSIBILITY) guard to atk files, fix for a fix.
https://bugs.webkit.org/show_bug.cgi?id=106448
Reviewed by Gyuyoung Kim.
Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
the macro isn't enabled.
- accessibility/atk/WebKitAccessibleHyperlink.h:
- accessibility/atk/WebKitAccessibleInterfaceAction.h:
- accessibility/atk/WebKitAccessibleInterfaceComponent.h:
- accessibility/atk/WebKitAccessibleInterfaceHypertext.h:
- 7:55 AM Changeset in webkit [139195] by
-
- 2 edits in trunk/Source/WebCore
AX: native popup buttons should not use textUnderElement for their title
https://bugs.webkit.org/show_bug.cgi?id=106349
Reviewed by Ryosuke Niwa.
Chromium relies on the older title() method to return its title. As a result, we also
need to handle the case of <select> element pop up buttons returning the textUnderElement().
No new tests. Fix existing break.
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::title):
- 7:53 AM Changeset in webkit [139194] by
-
- 16 edits in trunk/Tools
[Qt][NRWT] Pass --timeout to DRT/WTR if a test is marked as SLOW.
https://bugs.webkit.org/show_bug.cgi?id=90968.
Reviewed by Csaba Osztrogonác.
Added functionality in DRT and WTR to use any timeout value while running
slow tests (eventually, any test). Now NRWT --time-out-ms determines the
timeout value for the test. Added a flag in NRWT (supports_per_test_timeout)
to indicate whether the current port supports setting timeout value
per test (it's False by default; I enabled it only on Qt).
Also corrected a typo in driver.py
- DumpRenderTree/DumpRenderTree.h:
(TestCommand::TestCommand):
(TestCommand):
- DumpRenderTree/DumpRenderTreeCommon.cpp:
(parseInputLine):
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::processLine):
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.supports_per_test_timeout):
- Scripts/webkitpy/layout_tests/port/driver.py:
(Driver.run_test):
(Driver._command_from_driver_input):
- Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort.supports_per_test_timeout):
- WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::InjectedBundle):
(WTR::InjectedBundle::didReceiveMessage):
(WTR::InjectedBundle::beginTesting):
- WebKitTestRunner/InjectedBundle/InjectedBundle.h:
- WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setCustomTimeout):
(WTR):
- WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):
- WebKitTestRunner/InjectedBundle/qt/TestRunnerQt.cpp:
(WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController):
(WTR::TestController::getCustomTimeout):
(WTR):
(WTR::TestCommand::TestCommand):
(TestCommand):
(WTR::parseInputLine):
(WTR::TestController::runTest):
(WTR::TestController::runUntil):
- WebKitTestRunner/TestController.h:
(TestController):
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::TestInvocation):
(WTR::TestInvocation::setCustomTimeout):
(WTR):
(WTR::TestInvocation::invoke):
- WebKitTestRunner/TestInvocation.h:
(TestInvocation):
- 7:38 AM Changeset in webkit [139193] by
-
- 2 edits in trunk/Source/WebCore
IndexedDB: Remove ASSERTs that can't assert but result in compiler warnings
https://bugs.webkit.org/show_bug.cgi?id=106442
Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2013-01-09
Reviewed by Kentaro Hara.
IDBLevelDBCoding::m_metaDataType has been changed to unsigned
so ASSERT(m_metaDataType >= 0) is no longer useful: the compiler
warnings however create build difficulties at least with EFL.
- Modules/indexeddb/IDBLevelDBCoding.cpp:
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::metaDataType):
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::compare):
- 7:02 AM Changeset in webkit [139192] by
-
- 14 edits in trunk/Source/WebCore
Web Inspector: Native Memory Instrumentation: fix instrumentation for already instrumented classes 1/N
https://bugs.webkit.org/show_bug.cgi?id=106445
Reviewed by Vsevolod Vlasov.
The patch has almost mechanical changes.
- bindings/v8/V8Binding.cpp:
- bindings/v8/V8ValueCache.cpp:
(WTF):
(WebCore::StringCache::reportMemoryUsage):
(WebCore):
- dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
- dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
- dom/ElementRareData.cpp:
(WebCore::ElementRareData::reportMemoryUsage):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::reportMemoryUsage):
- page/Frame.cpp:
(WebCore::Frame::reportMemoryUsage):
- page/Page.cpp:
(WebCore::Page::reportMemoryUsage):
- platform/graphics/skia/NativeImageSkia.cpp:
(WebCore::NativeImageSkia::reportMemoryUsage):
- platform/network/FormData.cpp:
(WebCore::FormData::reportMemoryUsage):
(WebCore):
(WebCore::FormDataElement::reportMemoryUsage):
- platform/network/FormData.h:
(FormDataElement):
- rendering/RenderView.cpp:
(WebCore::RenderView::reportMemoryUsage):
- rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::reportMemoryUsage):
- 6:53 AM BuildingGtk edited by
- (diff)
- 6:31 AM Changeset in webkit [139191] by
-
- 51 edits2 adds in trunk
[Skia] Implement GraphicsContext::fillRoundedRect() using SkCanvas::drawRRect()
https://bugs.webkit.org/show_bug.cgi?id=106366
Reviewed by Stephen White.
Source/WebCore:
Skia provides rounded-rect primitives, so we can avoid degrading fillRoundedRect() to
drawPath().
Due to subtle pixel differences (not visually noticeable), switching from drawPath() to
drawRRect() requires rebaselining some of the existing results.
No new tests: coverage provided by existing tests.
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::fillRoundedRect):
- platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::drawRRect):
(WebCore):
LayoutTests:
- platform/chromium-linux/compositing/video/video-controls-layer-creation-expected.png:
- platform/chromium-linux/fast/backgrounds/background-leakage-expected.png:
- platform/chromium-linux/fast/backgrounds/background-leakage-transforms-expected.png:
- platform/chromium-linux/fast/borders/border-radius-split-inline-expected.png:
- platform/chromium-linux/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
- platform/chromium-linux/fast/borders/borderRadiusDouble03-expected.png:
- platform/chromium-linux/fast/borders/borderRadiusGroove02-expected.png:
- platform/chromium-linux/fast/borders/borderRadiusInset01-expected.png:
- platform/chromium-linux/fast/box-shadow/basic-shadows-expected.png:
- platform/chromium-linux/fast/box-shadow/box-shadow-clipped-slices-expected.png:
- platform/chromium-linux/fast/box-shadow/spread-expected.png:
- platform/chromium-linux/fast/css/box-shadow-and-border-radius-expected.png:
- platform/chromium-linux/fast/css/shadow-multiple-expected.png:
- platform/chromium-linux/fast/css/text-input-with-webkit-border-radius-expected.png:
- platform/chromium-linux/fast/hidpi/video-controls-in-hidpi-expected.png:
- platform/chromium-linux/fast/layers/video-layer-expected.png:
- platform/chromium-linux/fast/regions/full-screen-video-from-region-expected.png:
- platform/chromium-linux/fast/repaint/shadow-multiple-horizontal-expected.png:
- platform/chromium-linux/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
- platform/chromium-linux/fast/repaint/shadow-multiple-strict-vertical-expected.png:
- platform/chromium-linux/fast/repaint/shadow-multiple-vertical-expected.png:
- platform/chromium-linux/fast/transforms/shadows-expected.png:
- platform/chromium-linux/fullscreen/full-screen-stacking-context-expected.png:
- platform/chromium-linux/http/tests/media/video-buffered-range-contains-currentTime-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png:
- platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png:
- platform/chromium-linux/media/audio-controls-rendering-expected.png:
- platform/chromium-linux/media/audio-repaint-expected.png:
- platform/chromium-linux/media/controls-after-reload-expected.png:
- platform/chromium-linux/media/controls-layout-direction-expected.png:
- platform/chromium-linux/media/controls-strict-expected.png:
- platform/chromium-linux/media/controls-styling-expected.png:
- platform/chromium-linux/media/controls-styling-strict-expected.png:
- platform/chromium-linux/media/controls-without-preload-expected.png:
- platform/chromium-linux/media/media-controls-clone-expected.png:
- platform/chromium-linux/media/media-document-audio-repaint-expected.png:
- platform/chromium-linux/media/video-controls-rendering-expected.png:
- platform/chromium-linux/media/video-display-toggle-expected.png:
- platform/chromium-linux/media/video-empty-source-expected.png:
- platform/chromium-linux/media/video-no-audio-expected.png:
- platform/chromium-linux/media/video-playing-and-pause-expected.png:
- platform/chromium-linux/media/video-zoom-controls-expected.png:
- platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
- platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
- platform/chromium-linux/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
- platform/chromium/TestExpectations:
- 6:13 AM Changeset in webkit [139190] by
-
- 2 edits in trunk/LayoutTests
Unreviewed EFL gardening.
Skipping failing tests after r139141, r139145.
- platform/efl/TestExpectations:
- 5:59 AM Changeset in webkit [139189] by
-
- 7 edits in trunk/Source/WebKit2
[Qt][EFL][WK2] Remove redundant device pixel ratio adjustment from PageViewportController
https://bugs.webkit.org/show_bug.cgi?id=106355
Reviewed by Kenneth Rohde Christiansen.
Since r137597 Qt uses the device pixel ratio of the underlying
platform window as the device pixel ratio in WebCore.
The tiles are rendered with the effective scale (scale adjusted with
the device scale factor) and the projection matrix is also adjusted
with the device pixel ratio when painting.
As a result we can follow the same approach as QtQuick and all the
coordinates in PageViewportController need to be in device independent
pixels (UI pixels) thus we do no longer need to adjust with the device
pixel ratio when calculating the viewport attributes.
This simplifies the logic significantly and increases robustness,
but does not allow to set a custom device pixel ratio different from
the factor of the underlying platform (eg. for testing purposes).
This patch is conceptually a follow-up of r137597 and fixes layout
and canvas size on retina display.
- UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::PageViewportController):
(WebKit::PageViewportController::innerBoundedViewportScale):
(WebKit::PageViewportController::outerBoundedViewportScale):
(WebKit::PageViewportController::pixelAlignedFloatPoint):
(WebKit::PageViewportController::boundContentsPosition):
(WebKit::PageViewportController::didRenderFrame):
(WebKit::PageViewportController::pageTransitionViewportReady):
(WebKit::PageViewportController::didChangeContentsVisibility):
(WebKit::PageViewportController::syncVisibleContents):
(WebKit::PageViewportController::visibleContentsSize):
(WebKit::PageViewportController::applyScaleAfterRenderingContents):
(WebKit::PageViewportController::updateMinimumScaleToFit):
- UIProcess/PageViewportController.h:
(WebKit::PageViewportController::currentContentsScale):
(PageViewportController):
- UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::updateViewportSize):
Adjust the viewport size with the device pixel ratio to keep previous
behaviour.
- UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::focusEditableArea):
(WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
- UIProcess/qt/QtWebPageSGNode.cpp:
(WebKit::ContentsSGNode::clipRect):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::sendViewportAttributesChanged):
- 5:33 AM Changeset in webkit [139188] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: cannot undock inspector when window size is too small
https://bugs.webkit.org/show_bug.cgi?id=106054
Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-01-09
Reviewed by Pavel Feldman.
Consider dockingUnavailable flag only when dockSide is in undocked
state.
- inspector/front-end/DockController.js:
(WebInspector.DockController.prototype._updateUI.get document):
- 5:32 AM Changeset in webkit [139187] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
- tests/WebFrameTest.cpp:
- 5:31 AM Changeset in webkit [139186] by
-
- 2 edits in trunk/Source/WebCore
[Qt] WebGL content is incomplete when using multiple canvas
https://bugs.webkit.org/show_bug.cgi?id=106313
While we are using double buffering for WebGL,
we do not use a drawable that implements a mechanism
for swapping buffers.
Therefore we have to make sure that all GL commands
have been executed properly before copying the texture
onto the GraphicsSurface.
Reviewed by Simon Hausmann.
- platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::blitMultisampleFramebufferAndRestoreContext):
- 4:07 AM Changeset in webkit [139185] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed EFL gardening.
Rebaselining of media/video-controls-captions.html.
- platform/efl/media/video-controls-captions-expected.txt: Added.
- 4:03 AM Changeset in webkit [139184] by
-
- 8 edits in trunk/Source
Unreviewed. Fix make distcheck.
Source/JavaScriptCore:
- GNUmakefile.list.am: Add mips.rb to offlineasm_nosources.
Source/WebCore:
- GNUmakefile.list.am: Add missing headers.
Source/WebKit2:
- GNUmakefile.list.am: Add missing headers.
Source/WTF:
- GNUmakefile.list.am: Add missing header.
- 3:53 AM Changeset in webkit [139183] by
-
- 2 edits in trunk/LayoutTests
Unreviewed EFL gardening.
Skipping failing tests after r139111, r139140.
- platform/efl/TestExpectations:
- 3:25 AM Changeset in webkit [139182] by
-
- 2 edits in trunk/Source/WebCore
[Qt][Mac] GraphicsSurface does not need glEnable/glDisable for texture targets.
https://bugs.webkit.org/show_bug.cgi?id=106310
glEnable/glDisable for texture targets is only necessary
when using the fixed function pipeline.
Enabling or disabling the target might cause unexpected
behavior to texture bindings and is therefore considered harmful.
Reviewed by Noam Rosenthal.
- platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::createTexture):
(WebCore::GraphicsSurfacePrivate::copyFromTexture):
(WebCore::GraphicsSurface::platformCopyToGLTexture):
- 3:23 AM Changeset in webkit [139181] by
-
- 2 edits in trunk/LayoutTests
EFL port gardening after r139145, r139002.
Unreviewed gardening.
- platform/efl/TestExpectations:
- 3:15 AM Keeping the Tree Green edited by
- Add link to EFL port gardening schedule (diff)
- 2:21 AM Changeset in webkit [139180] by
-
- 3 edits in trunk/Source/WebKit/win
[WinCairo] Link fix after r138759
https://bugs.webkit.org/show_bug.cgi?id=106323
Patch by peavo@outlook.com <peavo@outlook.com> on 2013-01-09
Reviewed by Kentaro Hara.
- WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
- WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
- 2:18 AM Changeset in webkit [139179] by
-
- 1 edit in branches/chromium/1364/Source/WebCore/inspector/front-end/SettingsScreen.js
Merge 138144
Web Inspector: [REGRESSION] The last remembered tab is not restored when the Settings dialog is opened
https://bugs.webkit.org/show_bug.cgi?id=105414
Reviewed by Vsevolod Vlasov.
Do not force the "General" tab when opening settings upon the Cog button click.
- inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsController.prototype._mouseUp):
TBR=apavlov@chromium.org
Review URL: https://codereview.chromium.org/11819026
- 2:14 AM Changeset in webkit [139178] by
-
- 1 edit in branches/chromium/1364/Source/WebCore/inspector/front-end/StylesSidebarPane.js
Merge 138022
Web Inspector: [Styles] Selector matches are not marked after property editing
https://bugs.webkit.org/show_bug.cgi?id=105284
Reviewed by Vsevolod Vlasov.
Once a property edit is committed, the selector markup is reset and needs to be re-applied.
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.update):
TBR=apavlov@chromium.org
Review URL: https://codereview.chromium.org/11819025
- 1:37 AM Changeset in webkit [139177] by
-
- 4 edits in trunk/Source/WebKit/chromium
[Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
https://bugs.webkit.org/show_bug.cgi?id=106021
This is to emulate 'UseWideViewport' setting of Android WebView properly.
'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
When the value is false, "meta viewport" tag is ignored, and when calculating
layout width, display width in DIP pixels is used.
Reviewed by Adam Barth.
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::resize):
(WebKit::WebViewImpl::dipSize):
(WebKit):
- src/WebViewImpl.h:
(WebCore):
(WebViewImpl):
- 1:36 AM Changeset in webkit [139176] by
-
- 3 edits in trunk/LayoutTests
Removed crash expectations from tests that have been passing per bugs 105566, 105567, and 105580.
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- 1:26 AM Changeset in webkit [139175] by
-
- 2 edits in trunk/LayoutTests
[chromium] fast/frames/frame-limit.html can be slow in release
https://bugs.webkit.org/show_bug.cgi?id=106126
Unreviewed gardening.
- platform/chromium/TestExpectations: Add Slow expectation for Win and Linux.
[ Win Linux Release ] fast/frames/frame-limit.html [ Pass Slow ]
- 1:22 AM Changeset in webkit [139174] by
-
- 7 edits in trunk
INPUT_MULTIPLE_FIELDS_UI: min/max attributes should not make all fields read-only
https://bugs.webkit.org/show_bug.cgi?id=106422
Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2013-01-09
Reviewed by Kent Tamura.
Source/WebCore:
Do not make day-field of date input and month-field of month input readonly
even if min and max are the same.
Tests: fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield.html
fast/forms/month-multiple-fields/month-multiple-fields-readonly-subfield.html
- html/shadow/DateTimeEditElement.cpp:
(WebCore::DateTimeEditBuilder::visitField): Added check for date type.
LayoutTests:
- fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield-expected.txt:
- fast/forms/date-multiple-fields/date-multiple-fields-readonly-subfield.html: Update expectations.
- fast/forms/month-multiple-fields/month-multiple-fields-readonly-subfield-expected.txt:
- fast/forms/month-multiple-fields/month-multiple-fields-readonly-subfield.html: Ditto.
- 1:20 AM Changeset in webkit [139173] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, rolling out r139134.
http://trac.webkit.org/changeset/139134
https://bugs.webkit.org/show_bug.cgi?id=106424
WebGL tests still crash on EFL (Requested by MPozdnyakov on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-09
- platform/efl/TestExpectations:
- 12:53 AM Changeset in webkit [139172] by
-
- 6 edits4 adds in trunk
INPUT_MULTIPLE_FIELDS_UI: Step-up/-down of week field should respect min/max attributes
https://bugs.webkit.org/show_bug.cgi?id=106416
Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2013-01-09
Reviewed by Kent Tamura.
Source/WebCore:
Make step-up/-down of the week field respect the min/max attributes of the element.
Note that it still accepts any keyboard inputs (the element
becomes 'invalid' state when out-of-range values entered).
Tests: fast/forms/week-multiple-fields/week-multiple-fields-readonly-subfield.html
fast/forms/week-multiple-fields/week-multiple-fields-stepup-stepdown-from-renderer.html
- css/html.css: Add a CSS rule for week field.
- html/shadow/DateTimeEditElement.cpp:
(WebCore::DateTimeEditBuilder::visitField):
Compute minimum/maximum values of week field from the min/max parameters of the element.
- html/shadow/DateTimeFieldElements.cpp:
(WebCore::DateTimeWeekFieldElement::DateTimeWeekFieldElement): Add mininum/maximum arguments.
(WebCore::DateTimeWeekFieldElement::create): Ditto.
(WebCore::DateTimeWeekFieldElement::clampValueForHardLimits): Added.
- html/shadow/DateTimeFieldElements.h:
(DateTimeWeekFieldElement): Add mininum/maximum arguments and declare clampValueForHardLimits.
LayoutTests:
- fast/forms/week-multiple-fields/week-multiple-fields-readonly-subfield-expected.txt: Added.
- fast/forms/week-multiple-fields/week-multiple-fields-readonly-subfield.html: Added.
- fast/forms/week-multiple-fields/week-multiple-fields-stepup-stepdown-from-renderer-expected.txt: Added.
- fast/forms/week-multiple-fields/week-multiple-fields-stepup-stepdown-from-renderer.html: Added.
- 12:32 AM Changeset in webkit [139171] by
-
- 2 edits in trunk/LayoutTests
[chromium] Tighten svg/custom/feComponentTransfer-Table.svg on windows
https://bugs.webkit.org/show_bug.cgi?id=106126
Unreviewed gardening. Bot reports:
Regressions: Unexpected image-only failures (1)
svg/custom/feComponentTransfer-Table.svg [ ImageOnlyFailure ]
- platform/chromium/TestExpectations: So change Failure -> ImageOnlyFailure
to silence the bot.
- 12:22 AM Changeset in webkit [139170] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Adding a flaky timeout expectation for fast/workers/worker-close-more.html
that regressed with r139145.
- platform/gtk/TestExpectations:
Jan 8, 2013:
- 11:41 PM Changeset in webkit [139169] by
-
- 3 edits in trunk/LayoutTests
Use window.WebKitShadowRoot for checking whether a node is shadow root or not.
https://bugs.webkit.org/show_bug.cgi?id=88748
Reviewed by Hajime Morita.
- fast/dom/shadow/resources/shadow-dom.js:
(isShadowRoot):
Modified to use window.WebKitShadowRoot instead of node name.
- resources/dump-as-markup.js:
(Markup.get var):
Added shadowRootList which has information about whether the given node
is a shadow root or not.
(Markup):
(Markup._get):
If the given element is a document fragment and its address is in
shadowRootList, use "<shadow:root>".
(Markup._getShadowHostIfPossible):
Only this method uses internals.shadowRoot and obtains the youngest
shadow root from the given node. So update shadowRootList in this
method.
- 11:12 PM Changeset in webkit [139168] by
-
- 2 edits in trunk/LayoutTests
Assertion Failure in WebCore::RenderLayerCompositor::updateCompositingLayers.
https://bugs.webkit.org/show_bug.cgi?id=106419.
Unreviewed.
Updated Expectations.
- platform/mac/TestExpectations:
- 11:09 PM Changeset in webkit [139167] by
-
- 1 edit2 adds in trunk/LayoutTests
[chromium] Unreviewed gardening. Update fast/events/touch/compositor-touch-hit-rects on linux
- platform/chromium-linux/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt: Added.
- 10:55 PM Changeset in webkit [139166] by
-
- 5 edits2 adds in trunk
Caret is incorrectly painted for a contenteditable <div> containing a <br> in vertical writing mode
https://bugs.webkit.org/show_bug.cgi?id=103621
Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2013-01-08
Reviewed by Ryosuke Niwa.
Source/WebCore:
While computing the caret rect for the given specific scenario, we
canonicalize our position. For the upstream (or downstream) block flow
candidates a check to ignore the nodes having renderers with zero height
is carried out. This is where we fail our check in the vertical writing mode.
In the vertical writing mode, instead of verifying the height of the descendants
of the candidate nodes, a check for their width should be carried out.
For our case, i.e. the <br> element contained inside the div, the bounding box
in the vertical writing mode would have a width greater than zero and height
equal to zero (as is to be expected in the vertical mode).
Thus, we need to make a check against the logical height. For the vertical
writing mode, the logical height should return the width of the computed
bounding box.
Test: editing/selection/caret-in-div-containing-br-in-vertical-mode.html
- dom/Position.cpp:
(WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight):
Have modified the code to verify against the logical height, instead
of simply the height, both in case of RenderText and RenderBox.
The logical height of the computed rects returns a value according
to the writing mode.
For the RenderText a new function, linesLogicalBoundingBox() is called
which returns the values depending on the writing mode.
Similarly, on the RenderBox, pixelSnappedLogicalHeight() is called which
too takes care of the writing mode internally. (borderBoundingBox()
internally calls on the pixelSnappedRect).
- rendering/RenderText.cpp:
(WebCore::RenderText::linesLogicalBoundingBox):
(WebCore):
- rendering/RenderText.h:
(RenderText):
New function is added to return the logical linesBoundingBox, i.e.,
the width and height of the linesBoundingBox are set according to
the writing mode.
LayoutTests:
- editing/selection/caret-in-div-containing-br-in-vertical-mode-expected.txt: Added.
- editing/selection/caret-in-div-containing-br-in-vertical-mode.html: Added.
Testcase added for verifying the caret display at the start of an editable
div containing only a <br> element in vertical writing mode.
- 10:42 PM Changeset in webkit [139165] by
-
- 5 edits in trunk/Source
Remove unused/deprecated render() method in chromium WebKit API
https://bugs.webkit.org/show_bug.cgi?id=106399
Reviewed by Kent Tamura.
Source/Platform:
- chromium/public/WebAudioDevice.h:
Source/WebKit/chromium:
- src/AudioDestinationChromium.cpp:
- src/AudioDestinationChromium.h:
(AudioDestinationChromium):
- 10:39 PM Changeset in webkit [139164] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip new failing tests.
- platform/qt/TestExpectations:
- 10:33 PM Changeset in webkit [139163] by
-
- 1 edit1 move in trunk/LayoutTests
[chromium] Rebaseline and optimise fast/regions/full-screen-video-from-region on Win7 and Win XP
Unreviewed gardening.
- platform/chromium-win/fast/regions/full-screen-video-from-region-expected.png: Renamed from LayoutTests/platform/chromium-win-xp/fast/regions/full-screen-video-from-region-expected.png.
- 10:26 PM Changeset in webkit [139162] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip new failing tests.
- platform/qt/TestExpectations:
- 9:32 PM Changeset in webkit [139161] by
-
- 2 edits in trunk/Source/WebCore
Remove a few unused includes from HTMLTreeBuilder
https://bugs.webkit.org/show_bug.cgi?id=106401
Reviewed by Adam Barth.
I happened to notice these while attempting to remove non-thread friendly deps from HTMLTreeBuilder.
No new tests because no new functionality.
- html/parser/HTMLTreeBuilder.cpp:
- 9:30 PM Changeset in webkit [139160] by
-
- 2 edits in trunk/LayoutTests
A couple of fast/workers tests fail after http://trac.webkit.org/projects/webkit/changeset/139145.
https://bugs.webkit.org/show_bug.cgi?id=106415.
Unreviewed.
Updated Expectations.
- platform/mac/TestExpectations:
- 9:26 PM Changeset in webkit [139159] by
-
- 28 edits in trunk
Regression(r138681): Add HAVE(ACCESSIBILITY) guard to atk files
https://bugs.webkit.org/show_bug.cgi?id=106290
Reviewed by Martin Robinson.
Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
the macro isn't enabled.
Source/WebCore:
- accessibility/atk/AXObjectCacheAtk.cpp:
- accessibility/atk/WebKitAccessibleHyperlink.h:
- accessibility/atk/WebKitAccessibleInterfaceAction.cpp:
- accessibility/atk/WebKitAccessibleInterfaceAction.h:
- accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
- accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
- accessibility/atk/WebKitAccessibleInterfaceDocument.h:
- accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp:
- accessibility/atk/WebKitAccessibleInterfaceEditableText.h:
- accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp:
- accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h:
- accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
- accessibility/atk/WebKitAccessibleInterfaceImage.cpp:
- accessibility/atk/WebKitAccessibleInterfaceImage.h:
- accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
- accessibility/atk/WebKitAccessibleInterfaceSelection.h:
- accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
- accessibility/atk/WebKitAccessibleInterfaceTable.h:
- accessibility/atk/WebKitAccessibleInterfaceText.cpp:
- accessibility/atk/WebKitAccessibleInterfaceText.h:
- accessibility/atk/WebKitAccessibleInterfaceValue.cpp:
- accessibility/atk/WebKitAccessibleInterfaceValue.h:
- accessibility/atk/WebKitAccessibleUtil.cpp:
- accessibility/atk/WebKitAccessibleUtil.h:
- accessibility/atk/WebKitAccessibleWrapperAtk.h:
Tools:
- WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
- 9:21 PM Changeset in webkit [139158] by
-
- 4 edits in trunk/WebKitLibraries
Add WebKitSystemInterface needed for overriding system proxies on Mac
https://bugs.webkit.org/show_bug.cgi?id=106410
Patch by Kiran Muppala <cmuppala@apple.com> on 2013-01-08
Reviewed by Stephanie Lewis.
This patch is in anticipation of the fix for https://bugs.webkit.org/show_bug.cgi?id=104197,
Add user defaults to override system proxy settings for NetworkProcess on Mac, which
is awaiting the approval of a WebKit2 committer. Commiting the WKSI portion separately,
so that the internal repository commit for generating the WKSI libraries does not have to
be rolled back every time the rest of the patch changes.
Add WKCFNetworkSetOverrideSystemProxySettings(), needed by NetworkProcess to set
custom proxies during initialization.
- WebKitSystemInterface.h:
- libWebKitSystemInterfaceLion.a:
- libWebKitSystemInterfaceMountainLion.a:
- 9:21 PM Changeset in webkit [139157] by
-
- 2 edits2 deletes in trunk/Source/WebKit/chromium
Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
https://bugs.webkit.org/show_bug.cgi?id=106403
This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
r139044.
Reviewed by Hajime Morita.
- WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
- src/DragScrollTimer.cpp: Removed.
- src/DragScrollTimer.h: Removed.
- 9:11 PM Changeset in webkit [139156] by
-
- 1 edit1 add in trunk/Source/WebKit2
Add Owners file.
- Owners: Added.
- 9:01 PM Changeset in webkit [139155] by
-
- 2 edits in trunk/LayoutTests
Assertion failure in WebCore::HTMLConstructionSite::HTMLConstructionSite.
https://bugs.webkit.org/show_bug.cgi?id=106412.
Unreviewed.
Updating Expectations.
- platform/mac/TestExpectations:
- 8:46 PM Changeset in webkit [139154] by
-
- 3 edits6 adds in trunk
Make NodeRenderingContext::parentRenderer and nextRenderer top layer aware
https://bugs.webkit.org/show_bug.cgi?id=103477
Reviewed by Hajime Morita.
Source/WebCore:
Original patch by Elliott Sprehn (minor code and layout tests added).
Instead of using adjustInsertionPointForTopLayerElement and reassigning
pointers passed by reference we should just make nextRenderer and parentRenderer
handle the top layer properly. Right now they would return the wrong values
since we only correctly handle the top layer during renderer creation.
This makes handling of top layer elements consistent with handling of
other special renderering systems like flow threads.
Tests: fast/dom/HTMLDialogElement/modal-dialog-in-replaced-renderer.html
fast/dom/HTMLDialogElement/modal-dialog-in-table-column.html
fast/dom/HTMLDialogElement/modal-dialog-sibling.html
- dom/NodeRenderingContext.cpp:
(WebCore::isRendererReparented): Added this helper function. We must skip
renderers that are reparented in nextRenderer and previousRenderer.
(WebCore):
(WebCore::adjustInsertionPointForTopLayerElement): Removed this method.
(WebCore::NodeRenderingContext::nextRenderer):
(WebCore::NodeRenderingContext::previousRenderer):
(WebCore::NodeRenderingContext::parentRenderer):
(WebCore::NodeRenderingContext::createRendererForElementIfNeeded):
LayoutTests:
- fast/dom/HTMLDialogElement/modal-dialog-in-replaced-renderer-expected.html: Added.
- fast/dom/HTMLDialogElement/modal-dialog-in-replaced-renderer.html: Added.
- fast/dom/HTMLDialogElement/modal-dialog-in-table-column-expected.html: Added.
- fast/dom/HTMLDialogElement/modal-dialog-in-table-column.html: Added.
- fast/dom/HTMLDialogElement/modal-dialog-sibling-expected.html: Added.
- fast/dom/HTMLDialogElement/modal-dialog-sibling.html: Added.
- 8:41 PM Changeset in webkit [139153] by
-
- 1 edit2 adds in trunk/LayoutTests
[Shadow DOM] The MouseEvent offsetX and offsetY attributes must return the coordinates relative to the origin of the padding edge of the relative target after retargeting.
https://bugs.webkit.org/show_bug.cgi?id=104509
Reviewed by Dimitri Glazkov.
Adding a test for making sure that MouseEvent offsetX and offsetY arrributes are adjusted in retargeting.
- fast/dom/shadow/shadow-dom-mouse-event-adjust-offset-expected.txt: Added.
- fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html: Added.
- 8:35 PM Changeset in webkit [139152] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening. jquery/event.html timeouts in release and debug.
- platform/chromium/TestExpectations:
- 8:17 PM Changeset in webkit [139151] by
-
- 6 edits in trunk
REGRESSION(r135836): Invalid user input for input[type=number] should be cleared by input.value=""
https://bugs.webkit.org/show_bug.cgi?id=106284
Reviewed by Hajime Morita.
Source/WebCore:
No new tests. Updates fast/forms/number/number/validity-badinput.html.
- html/NumberInputType.cpp:
(WebCore::NumberInputType::setValue):
If the new sanitized value is empty and innerTextValue is a bad input
(it means !valueChanged && !innerTextValue().isEmpty() because the new
sanitized value is empty), we need to update innerTextValue with the
empty string.
- html/NumberInputType.h:
(NumberInputType): Declare setValue.
LayoutTests:
- fast/forms/number/number-validity-badinput.html:
Add a test case.
- fast/forms/number/number-validity-badinput-expected.txt:
- 7:30 PM Changeset in webkit [139150] by
-
- 6 edits in trunk
REGRESSION(r138222?): [Mac WK1] http/tests/appcache/main-resource-redirect.html asserts in WebFrameLoaderClient::dispatchDidFinishLoading
https://bugs.webkit.org/show_bug.cgi?id=106123
Reviewed by Alexey Proskuryakov.
Source/WebCore:
No new tests, fixing an existing test.
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::continueAfterNavigationPolicy): Before calling m_resource->removeClient(this)
and potentially canceling the ResourceLoader, ensure it won't send resource load callbacks.
- loader/ResourceLoader.h:
(WebCore::ResourceLoader::setSendCallbackPolicy):
LayoutTests:
- platform/mac-wk2/TestExpectations:
- platform/mac/TestExpectations: main-resource-redirect.html is no longer crashing.
- 7:28 PM Changeset in webkit [139149] by
-
- 2 edits in trunk/LayoutTests
[EFL] [WK2] Some authentication tests fail in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=106407
- platform/efl-wk2/TestExpectations: Skip some tests failing for EFL
on WebKit2.
- 7:22 PM Changeset in webkit [139148] by
-
- 2 edits in trunk/LayoutTests
[Mac] Authentication tests fail even after r139140
https://bugs.webkit.org/show_bug.cgi?id=106405
- platform/mac-wk2/TestExpectations: Skip authentication tests that are still
failing in WebKit2 on Mac.
- 7:21 PM Changeset in webkit [139147] by
-
- 2 edits in trunk/LayoutTests
Layout Test fast/css-grid-layout/grid-columns-rows-get-set-multiple.html, grid-columns-rows-get-set.html is failing
https://bugs.webkit.org/show_bug.cgi?id=104090
Unreviewed gardening.
- platform/chromium/TestExpectations:
In r139025, the not-totally-OK call to GridTrackSize::length() was removed and thus the
tests don't trigger an ASSERT anymore. This change merrily re-enable them.
- 6:57 PM Changeset in webkit [139146] by
-
- 5 edits4 adds in trunk
Assert in RenderGeometryMap::mapToContainer
https://bugs.webkit.org/show_bug.cgi?id=106068
Reviewed by Simon Fraser.
Source/WebCore:
The assert was due to a pending layout, so the values used to compute the layer bounding boxes were incorrect.
That was because of the Document::setVisualUpdatesAllowed mechanism, which triggers a compositor update
and a repaint, but before this patch didn't check whether a layout was pending or not.
Added a check in Document::setVisualUpdatesAllowed for pending layouts and bailed when such case happened.
A layout will come anyway and trigger the correct updates. Couldn't not force an inline layout at that time
as this function is sometimes called really soon, when the WebKit parts are not fully created yet and updates were
calling back into some client callbacks that were not ready.
Also added an assert in RenderLayerCompositor::updateCompositingLayers to check for other cases that might
try to update the layers with a layout pending. That one led to finding an issue in the RenderMarquee, which
was updating on a timer callback. It might happen that a layout is pending while this timer fires and it
tries to update the scroll position of the layers while a layout is still due.
There was already a protection to bail if a layout is pending in RenderMarquee::timerFired, so I've just broadened the scope
to the whole RenderView to catch all the layout requests.
Tests: compositing/geometry/assert-layout-not-done.html
compositing/geometry/assert-marquee-timer.html
- dom/Document.cpp:
(WebCore::Document::setVisualUpdatesAllowed):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers):
- rendering/RenderMarquee.cpp:
(WebCore::RenderMarquee::timerFired):
LayoutTests:
- compositing/geometry/assert-layout-not-done-expected.txt: Added.
- compositing/geometry/assert-layout-not-done.html: Added. Testing for the case when compositor is triggered before the first layout.
- compositing/geometry/assert-marquee-timer-expected.txt: Added.
- compositing/geometry/assert-marquee-timer.html: Added. Tested for the case when the marquee might trigger compositor updates, while a layout is still pending.
- 6:37 PM Changeset in webkit [139145] by
-
- 20 edits in trunk/Source/JavaScriptCore
Support op_typeof in the DFG
https://bugs.webkit.org/show_bug.cgi?id=98898
Reviewed by Filip Pizlo.
Adds a TypeOf node to the DFG to support op_typeof.
To avoid adding too much GC horror, this also makes the
common strings portion of the SmallString cache strongly
referenced.
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
We try to determine the result early here, and substitute in a constant.
Otherwise we leave the node intact, and set the result type to SpecString.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
Parse op_typeof
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::performNodeCSE):
TypeOf nodes can be subjected to pure CSE
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
We can handle typeof.
- dfg/DFGNodeType.h:
(DFG):
Define the node.
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h: Add operationTypeOf to support the non-trivial cases.
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
Actual codegen
- runtime/Operations.cpp:
(JSC::jsTypeStringForValue):
(JSC):
- runtime/Operations.h:
(JSC):
Some refactoring to allow us to get the type string for an
object without needing a callframe.
- 6:30 PM Changeset in webkit [139144] by
-
- 2 edits in trunk/Source/WebCore
CanvasRenderingContext2D::setFont argument may reference destroyed object
https://bugs.webkit.org/show_bug.cgi?id=106385
Reviewed by Abhishek Arya.
No new tests: covered by fast/canvas/canvas-measureText.html
This is a re-write of r138994. Fixing bug in setFont instead of
workaround at call site.
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::setFont):
(WebCore::CanvasRenderingContext2D::accessFont):
- 6:28 PM Changeset in webkit [139143] by
-
- 2 edits in trunk/Source/WebCore
IndexedDB: Provide LevelDB with IDBEnv instead of Env::Default
https://bugs.webkit.org/show_bug.cgi?id=106135
Reviewed by Tony Chang.
IDBEnv only changes the name of the histogram where errors are logged.
- platform/leveldb/LevelDBDatabase.cpp:
(WebCore::LevelDBDatabase::open):
(WebCore::LevelDBDatabase::openInMemory):
- 6:21 PM Changeset in webkit [139142] by
-
- 13 edits3 adds in trunk
Make WebGLRenderingContext inherit from ActiveDOMObject
https://bugs.webkit.org/show_bug.cgi?id=104733
Patch by Brandon Jones <bajones@chromium.org> on 2013-01-08
Reviewed by Adam Barth.
Source/WebCore:
When ActiveDOMObject::stop is called on the WebGLRenderingContext the
DrawingBuffer and GraphicsContext3D instances are forcibly released in
order to keep GPU memory utilization to a minimum.
Incorporated new layout test based on one just added to the WebGL
conformance suite. Also tested manually by reloading and
navigating between many WebGL apps.
Test: fast/canvas/webgl/context-release-upon-reload.html
- bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallback):
Removed garbage collection hack added in Bug 76255.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::create):
Call suspendIfNeeded per ActiveDOMObject contract.
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
Call ActiveDOMObject constructor.
(WebCore::WebGLRenderingContext::~WebGLRenderingContext):
Call destroyGraphicsContext3D.
(WebCore::WebGLRenderingContext::destroyGraphicsContext3D):
Drop DrawingBuffer backing store and delete GraphicsContext3D.
(WebCore::WebGLRenderingContext::hasPendingActivity):
Always return false.
(WebCore::WebGLRenderingContext::stop):
Force lost context upon page reload or navigation.
- html/canvas/WebGLRenderingContext.h:
(WebGLRenderingContext):
Inherit from ActiveDOMObject and override notifications.
- platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
(WebCore):
(WebCore::DrawingBuffer::clearPlatformLayer):
Add currently no-op implementation.
- platform/graphics/cairo/DrawingBufferCairo.cpp:
(WebCore):
(WebCore::DrawingBuffer::clearPlatformLayer):
Add currently no-op implementation.
- platform/graphics/chromium/DrawingBufferChromium.cpp:
(WebCore::DrawingBufferPrivate::clearTextureId):
Clear texture ID from compositor's layer.
(DrawingBufferPrivate):
(WebCore::DrawingBuffer::framebuffer):
Moved around to reduce number of #ifdefs.
(WebCore):
(WebCore::DrawingBuffer::platformLayer):
(WebCore::DrawingBuffer::clearPlatformLayer):
Tell compositor to stop referencing DrawingBuffer's texture.
- platform/graphics/clutter/DrawingBufferClutter.cpp:
(WebCore):
(WebCore::DrawingBuffer::clearPlatformLayer):
Add currently no-op implementation.
- platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::clear):
Call clearPlatformLayer before deleting OpenGL resources.
- platform/graphics/gpu/DrawingBuffer.h:
(DrawingBuffer):
Add clearPlatformLayer.
- platform/graphics/gpu/mac/DrawingBufferMac.mm:
(WebCore):
(WebCore::DrawingBuffer::clearPlatformLayer):
Add currently no-op implementation.
- platform/graphics/gpu/qt/DrawingBufferQt.cpp:
(WebCore):
(WebCore::DrawingBuffer::clearPlatformLayer):
Add currently no-op implementation.
LayoutTests:
- fast/canvas/webgl/context-release-upon-reload-expected.txt: Added.
- fast/canvas/webgl/context-release-upon-reload.html: Added.
- fast/canvas/webgl/resources/context-release-upon-reload-child.html: Added.
- 5:43 PM Changeset in webkit [139141] by
-
- 6 edits in trunk/Source/WebCore
Remove dependency on Document from HTMLConstructionSite::inQuirksMode()
https://bugs.webkit.org/show_bug.cgi?id=106375
Reviewed by Adam Barth.
This is another step towards removing main thread object dependencies
from the parser.
No new tests because no new functionality.
- dom/Document.h:
- html/HTMLDocument.cpp:
- html/HTMLDocument.h:
(HTMLDocument):
- html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::HTMLConstructionSite):
(WebCore::HTMLConstructionSite::setDefaultCompatibilityMode):
(WebCore):
(WebCore::HTMLConstructionSite::setCompatibilityMode):
(WebCore::HTMLConstructionSite::setCompatibilityModeFromDoctype):
(WebCore::HTMLConstructionSite::insertDoctype):
(WebCore::HTMLConstructionSite::inQuirksMode):
- html/parser/HTMLConstructionSite.h:
(HTMLConstructionSite):
- 5:41 PM Changeset in webkit [139140] by
-
- 10 edits in trunk
WebKitTestRunner needs support for setHandlesAuthenticationChallenges
https://bugs.webkit.org/show_bug.cgi?id=103653
Reviewed by Anders Carlsson.
Tools:
Implement setHandlesAuthenticationChallenges in the UIProcess by sending credentials
and the enabled boolean to the UIProcess and then implementing the didReceiveAuthenticationChallengeInFrame
client callback.
- WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Exposed the new TestRunner
methods to the JavaScript API.
- WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setHandlesAuthenticationChallenges): Added this callback for the JavaScript API.
(WTR::TestRunner::setAuthenticationUsername): Ditto.
(WTR::TestRunner::setAuthenticationPassword): Ditto.
- WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner): Added new declarations for the above.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::createWebViewWithOptions): Hook up the new didReceiveSynchronousMessageFromInjectedBundle
callback.
(WTR::TestController::resetStateToConsistentValues): Reset the credentials and enabled boolean between tests.
(WTR::TestController::didReceiveAuthenticationChallengeInFrame): Handle the callback by using
the authentication information passed from the InjectedBundle.
- WebKitTestRunner/TestController.h:
(WTR::TestController::setHandlesAuthenticationChallenges): Added setter to allow TestInvocation
to communicate with the TestController.
(WTR::TestController::setAuthenticationUsername): Ditto.
(WTR::TestController::setAuthenticationPassword): Ditto.
(TestController):
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Handle the messages sending authentication
information from the InjectedBundle.
(WTR::TestInvocation::outputText): Added this method so that the TestController can output
text to the TestInvocation text output.
- WebKitTestRunner/TestInvocation.h:
(TestInvocation): Added declaration for new method.
LayoutTests:
Unskip authentication tests which are now passing.
- platform/wk2/TestExpectations:
- 5:41 PM Changeset in webkit [139139] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
https://bugs.webkit.org/show_bug.cgi?id=106312
Reviewed by Kent Tamura.
We had to removed the code that closed popups on mouse wheel events from
content::RenderWidgetHostViewMac because it no longer had access to
child popups. WebViewImpl will hide the popups on mouse wheel events so
we can maintain the same behavior.
https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
(WebKit):
- src/WebViewImpl.h:
- 5:36 PM Changeset in webkit [139138] by
-
- 9 edits in trunk/Source/WebCore
Remove unused GraphicsContext::addInnerRoundedRectClip()
https://bugs.webkit.org/show_bug.cgi?id=106376
Reviewed by Andreas Kling.
Since there don't seem to be any users left for it, remove addInnerRoundedRectClip().
No new tests: no functional changes.
- platform/graphics/GraphicsContext.h:
(GraphicsContext):
- platform/graphics/cairo/GraphicsContextCairo.cpp:
- platform/graphics/cg/GraphicsContextCG.cpp:
- platform/graphics/openvg/GraphicsContextOpenVG.cpp:
- platform/graphics/qt/GraphicsContextQt.cpp:
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore):
- platform/graphics/wince/GraphicsContextWinCE.cpp:
- platform/graphics/wx/GraphicsContextWx.cpp:
- 5:17 PM Changeset in webkit [139137] by
-
- 4 edits3 adds in trunk
Color bleeding with rounded rectangles on high dpi displays
https://bugs.webkit.org/show_bug.cgi?id=106373
Reviewed by Simon Fraser.
Source/WebCore:
Test: fast/backgrounds/gradient-background-leakage-hidpi.html
Avoid using the BackgroundBleedShrinkBackground draw strategy for
RenderBox when border width is less than two layout units. This
is because rounded rectangles are always snapped to integer layout
coordinates, even with subpixel layout enabled.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::determineBackgroundBleedAvoidance):
LayoutTests:
New layout test to verify that rounded rectangle corners do not
produce color bleeding on high dpi devices.
- fast/backgrounds/gradient-background-leakage-hidpi-expected.txt: Added.
- fast/backgrounds/gradient-background-leakage-hidpi.html: Added.
- platform/chromium-linux/fast/backgrounds/gradient-background-leakage-hidpi-expected.png: Added.
- 5:11 PM Changeset in webkit [139136] by
-
- 5 edits3 adds in trunk
DFG shouldn't treat the 'this' argument as being captured if a code block uses arguments
https://bugs.webkit.org/show_bug.cgi?id=106398
<rdar://problem/12439776>
Source/JavaScriptCore:
Reviewed by Mark Hahnenberg.
This is a possible optimization for inlined calls, and fixes crashes for inlined constructors, in the case
that the inlined code used arguments. The problem was that assuming that 'this' was captured implies the
assumption that it was initialized by the caller, which is wrong for constructors and this.
Also added a pretty essential DFG IR validation rule: we shouldn't have any live locals at the top of the
root block. This helps to catch this bug: our assumption that 'this' was captured in an inlined constructor
that used arguments led to liveness for the temporary that would have held 'this' in the caller being
propagated all the way up to the entrypoint of the function.
- bytecode/CodeBlock.h:
(JSC::CodeBlock::isCaptured):
- dfg/DFGValidate.cpp:
(JSC::DFG::Validate::validate):
(JSC::DFG::Validate::reportValidationContext):
(Validate):
(JSC::DFG::Validate::dumpGraphIfAppropriate):
LayoutTests:
Reviewed by Mark Hahnenberg.
- fast/js/dfg-inline-constructor-that-uses-arguments-expected.txt: Added.
- fast/js/dfg-inline-constructor-that-uses-arguments.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-inline-constructor-that-uses-arguments.js: Added.
(Foo):
(bar):
- 4:59 PM Changeset in webkit [139135] by
-
- 3 edits in trunk/Source/WebCore
Merge getLineAtIndex into RenderBlock::lineAtIndex
https://bugs.webkit.org/show_bug.cgi?id=106379
Reviewed by Eric Seidel.
getLineAtIndex can be merged into lineAtIndex, which was it's only caller.
No new tests, just refactoring.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::lineAtIndex):
(WebCore::RenderBlock::lineCount):
- rendering/RenderBlock.h:
(RenderBlock):
- 4:47 PM Changeset in webkit [139134] by
-
- 2 edits in trunk/LayoutTests
[EFL][WK2] WebGL test cases are sometimes crashing
https://bugs.webkit.org/show_bug.cgi?id=104506
Unreviewed gardening.
Enable webgl tests that are passing after recent changes.
Patch by Viatcheslav Ostapenko <sl.ostapenko@samsung.com> on 2013-01-08
- platform/efl/TestExpectations:
- 4:44 PM Changeset in webkit [139133] by
-
- 2 edits in trunk/Source/WebKit2
Unbreak the world.
- WebProcess/com.apple.WebProcess.sb.in:
- 4:42 PM Changeset in webkit [139132] by
-
- 10 edits in trunk/Source/WebCore
[HTMLTemplateElement] Allow <template> content to be inspected
https://bugs.webkit.org/show_bug.cgi?id=105839
Reviewed by Pavel Feldman.
In addition to the plumbing which allows template contents to be
displayed within the inspector, this patch adds a manually-managed
weakref from the template document back to its host document (typically
the creator). This is required so that the inspector agent can be found
for template elements.
- dom/Document.cpp:
(WebCore::Document::~Document):
(WebCore::Document::templateDocument):
- dom/Document.h:
(Document):
(WebCore::Document::setTemplateDocumentHost):
(WebCore::Document::templateDocumentHost):
- editing/markup.cpp:
(WebCore::createFragmentForInnerOuterHTML):
- html/HTMLTemplateElement.cpp:
(WebCore::HTMLTemplateElement::content):
- inspector/Inspector.json:
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForNode):
- inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::instrumentingAgentsForDocument):
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode):
(WebInspector.DOMNode.prototype.hasChildNodes):
(WebInspector.DOMNode.prototype._insertChild):
(WebInspector.DOMNode.prototype._setChildrenPayload):
- 4:32 PM Changeset in webkit [139131] by
-
- 4 edits in trunk/LayoutTests
Unreviewed, marking drag-and-drop-autoscroll.html
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- 4:30 PM Changeset in webkit [139130] by
-
- 1 edit1 add in trunk
Add an Autoconf macro that checks whether a given feature is enabled
https://bugs.webkit.org/show_bug.cgi?id=106380
Reviewed by Martin Robinson.
Add the AC_CHECK_WEBKIT_FEATURE_ENABLED macro. It checks the generated
Source/WebCore/GNUmakefile.features.am file to determine whether the
given feature is enabled or disabled in the build that's being configured.
- Source/autotools/webkitfeature.m4: Added.
- 4:29 PM Changeset in webkit [139129] by
-
- 2 edits in trunk/Tools
Add myself as a watcher for Web Geolocation
Unreviewed.
- Scripts/webkitpy/common/config/watchlist:
- 4:16 PM Changeset in webkit [139128] by
-
- 17 edits in trunk
[Shadow DOM] Distribution related code on ShadowRoot should be minimized.
https://bugs.webkit.org/show_bug.cgi?id=106282
Reviewed by Dimitri Glazkov.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
ShadowRoot had a certain amount of logic which is dedicated for
node distribution computation. These code is going to be compiled
out (Bug 103339) and better be part of the node distribution
algorithm, which is ScopeContentDistribution class.
This change
- Renames ShadowRootContentDistributionData to ScopeContentDistribution. New name is concise and a bit more meaningful: It owns per TreeScope distribution state.
- Moves distribution related code from ShadowRoot to ScopeContentDistribution
No new tests. Refactoring.
- WebCore.exp.in:
- css/StyleScopeResolver.cpp:
(WebCore::StyleScopeResolver::styleSharingCandidateMatchesHostRules):
(WebCore::StyleScopeResolver::matchHostRules):
- dom/ComposedShadowTreeWalker.cpp:
(WebCore::nodeCanBeDistributed):
(WebCore::ComposedShadowTreeWalker::traverseBackToYoungerShadowRoot):
(WebCore::ComposedShadowTreeWalker::traverseParentBackToYoungerShadowRootOrHost):
(WebCore::AncestorChainWalker::parent):
- dom/ElementShadow.cpp:
(WebCore::ElementShadow::collectSelectFeatureSetFrom):
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::insertedInto):
(WebCore::ShadowRoot::removedFrom):
(WebCore::ShadowRoot::ensureScopeDistribution):
(WebCore::ShadowRoot::reportMemoryUsage):
- dom/ShadowRoot.h:
(WebCore):
(ShadowRoot):
(WebCore::ShadowRoot::scopeDistribution):
- html/shadow/ContentDistributor.cpp:
(WebCore::ScopeContentDistribution::ScopeContentDistribution):
(WebCore::ScopeContentDistribution::invalidateInsertionPointList):
(WebCore::ScopeContentDistribution::ensureInsertionPointList):
(WebCore::ScopeContentDistribution::registerInsertionPoint):
(WebCore::ScopeContentDistribution::unregisterInsertionPoint):
(WebCore::ScopeContentDistribution::hasShadowElement):
(WebCore):
(WebCore::ScopeContentDistribution::hasContentElement):
(WebCore::ScopeContentDistribution::countElementShadow):
(WebCore::ScopeContentDistribution::hasInsertionPoint):
(WebCore::ScopeContentDistribution::assignedTo):
(WebCore::ContentDistributor::distribute):
(WebCore::ContentDistributor::invalidate):
- html/shadow/ContentDistributor.h:
(ScopeContentDistribution):
(WebCore::ScopeContentDistribution::registerElementShadow):
(WebCore::ScopeContentDistribution::unregisterElementShadow):
(WebCore::ScopeContentDistribution::hasElementShadow):
- html/shadow/HTMLShadowElement.cpp:
(WebCore::HTMLShadowElement::olderShadowRoot):
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::insertedInto):
(WebCore::InsertionPoint::removedFrom):
(WebCore::InsertionPoint::contains):
(WebCore):
(WebCore::resolveReprojection):
- html/shadow/InsertionPoint.h:
(InsertionPoint):
(WebCore):
- testing/Internals.cpp:
(WebCore::Internals::hasShadowInsertionPoint):
(WebCore::Internals::hasContentElement):
(WebCore::Internals::countElementShadow):
Source/WebKit/win:
- WebKit.vcproj/WebKit.def.in:
- 4:09 PM Changeset in webkit [139127] by
-
- 4 edits in trunk/Source
[chromium] Remove transitional #defines from WebKit API headers
https://bugs.webkit.org/show_bug.cgi?id=106381
Patch by James Robinson <jamesr@chromium.org> on 2013-01-08
Reviewed by Adam Barth.
Source/Platform:
- chromium/public/WebGraphicsContext3D.h:
Source/WebKit/chromium:
- public/WebWidget.h:
- 3:53 PM Changeset in webkit [139126] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Removing the totalusage variable in ChromeClientBB::exceededDatabaseQuota
https://bugs.webkit.org/show_bug.cgi?id=106370
Patch by Otto Derek Cheung <otcheung@rim.com> on 2013-01-08
Reviewed by Yong Li.
Removing totalUsage in ChromeClientBlackBerry as we no longer use that variable.
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::exceededDatabaseQuota):
- 3:50 PM Changeset in webkit [139125] by
-
- 1 edit2 deletes in trunk/LayoutTests
Organize some svg/gynamic-updates expectations.
- platform/chromium-win-xp/svg/dynamic-updates/SVGFEComponentTransferElement-dom-tableValues-attr-expected.png: Removed.
- platform/chromium-win-xp/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-tableValues-prop-expected.png: Removed.
- 3:42 PM Changeset in webkit [139124] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-08
- DEPS:
- 3:28 PM Changeset in webkit [139123] by
-
- 4 edits in tags/Safari-537.24.3/Source
Versioning.
- 3:26 PM Changeset in webkit [139122] by
-
- 1 copy in tags/Safari-537.24.3
New Tag.
- 3:11 PM Changeset in webkit [139121] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Layout Tests svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-tableValues* are flaky.
https://bugs.webkit.org/show_bug.cgi?id=106390
- platform/chromium/TestExpectations: Adjusted expectations.
- 2:59 PM Changeset in webkit [139120] by
-
- 2 edits in trunk/Source/WebKit2
Silence a sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=106386
<rdar://problem/12976435>
Reviewed by Andreas Kling.
- WebProcess/com.apple.WebProcess.sb.in:
- 2:57 PM Changeset in webkit [139119] by
-
- 2 edits in trunk/LayoutTests
Layout Tests svg/W3C-SVG-1.1/filters-comptran-01-b.svg and svg/W3C-SVG-1.1/animate-elem-80-t.svg are flaky.
https://bugs.webkit.org/show_bug.cgi?id=106387
- platform/chromium/TestExpectations: Marked new flakes.
- 2:54 PM Changeset in webkit [139118] by
-
- 2 edits in trunk/LayoutTests
Skip the test added by r139062 on WebKit2 bots since it uses a testRunner method
that hasn't been implemented yet.
- platform/wk2/TestExpectations:
- 2:50 PM Changeset in webkit [139117] by
-
- 1 edit3 copies in branches/chromium/1364
Merge 139022
Divide gesture scroll delta by scale factor
https://bugs.webkit.org/show_bug.cgi?id=106263
Reviewed by Adam Barth.
Gesture scroll deltas were not being adjusted by the frame's scale
factors, resulting in overly fast main-thread scrolling when zoomed
in.
New test: fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
- page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureScrollCore):
BUG=166628
Review URL: https://codereview.chromium.org/11826009
- 2:50 PM Changeset in webkit [139116] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tighten up some test expectations.
- platform/chromium/TestExpectations: Tightened.
- 2:49 PM Changeset in webkit [139115] by
-
- 1 edit in branches/chromium/1364/Source/WebKit/chromium/src/WebViewImpl.cpp
Merge 139017. Requested by yusufo@google.com
Don't use double tap zoom if minimum and maximum page scale is the same
https://bugs.webkit.org/show_bug.cgi?id=106272
Patch by Yusuf Ozuysal <yusufo@google.com> on 2013-01-07
Reviewed by James Robinson.
We should only try to computed relevant scale and scrollOffset and start the animation
if the page is zoomable. This now creates an undesired animation for mobile pages which
are not zoomable.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent):
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11821007
- 2:19 PM Changeset in webkit [139114] by
-
- 2 edits in branches/safari-536.28-branch/LayoutTests
Update test result. <rdar://problem/12968772>
- 2:16 PM Changeset in webkit [139113] by
-
- 1 edit1 delete in trunk/Source/WebKit2
This should be camel case. Must remove to fix.
- OWNERS: Removed.
- 2:16 PM Changeset in webkit [139112] by
-
- 2 edits in trunk/LayoutTests
[Chromium] A bunch of fast/css-grid-layout tests started timing out after r139025.
https://bugs.webkit.org/show_bug.cgi?id=106378
- platform/chromium/TestExpectations: Marked expectations.
- 2:11 PM Changeset in webkit [139111] by
-
- 23 edits2 adds in trunk
Copy-paste preserves <embed> tags containing active content.
https://bugs.webkit.org/show_bug.cgi?id=77625
Reviewed by Ryosuke Niwa.
Source/WebCore:
Test: editing/pasteboard/paste-noplugin.html
- dom/FragmentScriptingPermission.h:
(WebCore::scriptingContentIsAllowed):
(WebCore::pluginContentIsAllowed):
Add new permission to restrict plugin pasting. Add inline functions to check
the implications of each permission rather than having a list of raw comparisions
sprinkled throughout the code.
- editing/markup.cpp:
(WebCore::createFragmentFromMarkup):
Revert back to unsafe plugin pasting regardless of caller's intentions when
the settings allow it.
- dom/Element.cpp:
(WebCore::Element::parserSetAttributes):
- html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::insertScriptElement):
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::endElementNs):
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseEndElement):
Use new inline functions to check implications of permissions rather than raw
comparisions.
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::processEndTag):
Check if plugin pasting is allowed before inserting applet/embed/oject elements.
- page/Settings.in:
Declaration of new unsafePluginPastingEnabled setting.
- platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::documentFragment):
- platform/blackberry/PasteboardBlackBerry.cpp:
(WebCore::Pasteboard::documentFragment):
- platform/chromium/DragDataChromium.cpp:
(WebCore::DragData::asFragment):
- platform/chromium/PasteboardChromium.cpp:
(WebCore::Pasteboard::documentFragment):
- platform/gtk/PasteboardGtk.cpp:
(WebCore::Pasteboard::documentFragment):
- platform/qt/DragDataQt.cpp:
(WebCore::DragData::asFragment):
- platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::documentFragment):
- platform/win/ClipboardUtilitiesWin.cpp:
(WebCore::fragmentFromCFHTML):
(WebCore::fragmentFromHTML):
- platform/wx/PasteboardWx.cpp:
(WebCore::Pasteboard::documentFragment):
Pass DisallowScriptingAndPluginContent enum value.
Source/WebKit/chromium:
Adds chromium API to new unsafePluginPastingEnabled setting.
- public/WebSettings.h:
- src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
(WebKit):
- src/WebSettingsImpl.h:
(WebSettingsImpl):
LayoutTests:
- editing/pasteboard/paste-noplugin-expected.txt: Added.
- editing/pasteboard/paste-noplugin.html: Added.
- 2:03 PM Changeset in webkit [139110] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[Blackberry][FullScreen] Create a helper method to adjust the fullscreen renderer dimensions
https://bugs.webkit.org/show_bug.cgi?id=91748
Patch by Jacky Jiang <zhajiang@rim.com>.
Reviewed by Antonio Gomes.
PR: 195524
The was originally from Antonio Gomes on PR195524. Bug 105488 has
partially upstreamed that patch. This patch upstreams the rest of it.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::updateViewportSize):
(BlackBerry::WebKit::WebPagePrivate::notifyTransformedScrollChanged):
- Api/WebPage_p.h:
(WebPagePrivate):
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::fullScreenRendererChanged):
- 2:02 PM Changeset in webkit [139109] by
-
- 6 edits3 adds in trunk
REGRESSION (r138921): Crash in JSC::Arguments::create
https://bugs.webkit.org/show_bug.cgi?id=106329
<rdar://problem/12974196>
Source/JavaScriptCore:
Reviewed by Mark Hahnenberg.
Arguments::finishCreation() that takes an InlineCallFrame* needs to understand that the callee can
be unset, indicating that the callee needs to be loaded from the true call frame. This adds a
method to InlineCallFrame to do just that.
- bytecode/CodeOrigin.cpp:
(JSC::InlineCallFrame::calleeForCallFrame):
- bytecode/CodeOrigin.h:
(InlineCallFrame):
- runtime/Arguments.h:
(JSC::Arguments::finishCreation):
LayoutTests:
Reviewed by Mark Hahnenberg.
- fast/js/dfg-create-inlined-arguments-in-closure-inline-expected.txt: Added.
- fast/js/dfg-create-inlined-arguments-in-closure-inline.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-create-inlined-arguments-in-closure-inline.js: Added.
(foo):
- 1:54 PM Changeset in webkit [139108] by
-
- 2 edits in trunk/LayoutTests
Layout Test http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=106332
Patch by Martin Robinson <mrobinson@igalia.com> on 2013-01-08
Reviewed by Ryosuke Niwa.
Fix this flaky test by adjusting the authentication realm
used in the HTTP headers.
- http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: The authentication realm used
in the HTTP headers is shared with several other HTTP tests, so cached credentials can "leak" from one
test to another. Make the authentication realm unique for this test.
- 1:50 PM Changeset in webkit [139107] by
-
- 2 edits in trunk/Source/WebKit2
<rdar://problem/12944813> Network process temporary and cache directories are not set correctly
Reviewed by Sam Weinig.
Set DIRHELPER_USER_DIR_SUFFIX, like we do for WebProcess. Also while in this function,
enabled sandbox-style file quarantine.
- NetworkProcess/mac/NetworkProcessMac.mm: (WebKit::NetworkProcess::initializeSandbox):
- 1:44 PM Changeset in webkit [139106] by
-
- 7 edits in trunk
WebKit does not reject some cubic-bezier form values for transition-timing-function.
https://bugs.webkit.org/show_bug.cgi?id=106369
Reviewed by Dean Jackson.
Source/WebCore:
http://www.w3.org/TR/css3-transitions/#transition-timing-function-property
describes restricitions on cubic-bezier values where the x values of
the curve should be between [0, 1] and y values can exceed this range.
WebKit was not following the specification by allowing x values
exceeding the range.
The spec also says that we should reject the defintion if the condition
is not respected which is what the new code does.
Test: transitions/transitions-parsing.html
- css/CSSParser.cpp:
(WebCore::CSSParser::parseAnimationTimingFunction):
LayoutTests:
Extended existing tests to cover the bug. Updated an existing test
which was checking wrong values.
- fast/css/transition-timing-function.html: Change the tested values as
they are considered wrong by the spec.
- fast/css/transition-timing-function-expected.txt:
- 1:37 PM Changeset in webkit [139105] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tighten up the actual expectations around webaudio fails..
https://bugs.webkit.org/show_bug.cgi?id=106232
- platform/chromium/TestExpectations: Tightened.
- 1:33 PM Changeset in webkit [139104] by
-
- 2 edits1 delete in trunk/LayoutTests
[Chromium] Update expectations for platform/chromium/fast/events/touch/compositor-touch-hit-rects.html.
- platform/chromium-win-xp/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt: Removed.
- platform/chromium-win/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt:
- 1:25 PM Changeset in webkit [139103] by
-
- 4 edits2 deletes in trunk/LayoutTests
Update expectations for various tests.
- platform/chromium-win-xp/fast/table/038-vertical-expected.png: Removed.
- platform/chromium-win-xp/fast/table/border-collapsing/004-vertical-expected.png: Removed.
- platform/chromium-win/fast/ruby/base-shorter-than-text-expected.txt:
- platform/chromium-win/fast/table/038-vertical-expected.png:
- platform/chromium-win/fast/table/border-collapsing/004-vertical-expected.png:
- 1:25 PM Changeset in webkit [139102] by
-
- 4 edits in trunk/Tools
[webkitpy] Call setup_test_run method of the parent Port interface when method is called on subclasses
https://bugs.webkit.org/show_bug.cgi?id=106364
Reviewed by Eric Seidel.
When the setup_test_run method is called on the subclasses of the base Port
interface, the parent method should also be called via super(), despite the
parent method not doing anything at the moment.
The according calls to super() are required in the ChromiumPort, EflPort
and GtkPort implementations.
- Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort.setup_test_run):
- Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.setup_test_run):
- Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort.setup_test_run):
- 1:11 PM Changeset in webkit [139101] by
-
- 2 edits in trunk/Source/WebKit2
Use correct capitalization in service name
https://bugs.webkit.org/show_bug.cgi?id=106368
Reviewed by Andreas Kling.
- WebProcess/com.apple.WebProcess.sb.in:
- 1:08 PM Changeset in webkit [139100] by
-
- 4 edits2 adds in trunk
Heap-use-after-free in bool WebCore::SelectorChecker::checkOneSelector.
<http://webkit.org/b/105834>
Reviewed by Antti Koivisto.
Source/WebCore:
Suppress the DOMSubtreeModified event when synchronizing the "style" attribute and we've
instantiated an Attr node wrapper for the said attribute.
Also added an assertion that Document's StyleResolver isn't cleared during style recalc,
which will help us catch this kind of bug in the future.
Test: fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html
- dom/Document.cpp:
(WebCore::Document::styleResolverThrowawayTimerFired):
- dom/Element.cpp:
(WebCore::Element::setAttributeInternal):
LayoutTests:
- fast/dom/mutation-event-listener-with-dirty-inline-style-crash-expected.txt: Added.
- fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html: Added.
- 1:04 PM Changeset in webkit [139099] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r139096.
http://trac.webkit.org/changeset/139096
https://bugs.webkit.org/show_bug.cgi?id=106367
not a complete fix (Requested by bweinstein on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-08
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot):
- 12:54 PM Changeset in webkit [139098] by
-
- 4 edits15 adds in trunk
DFG initrinsic handling should ensure that we backwards propagate the fact that all operands may escape
https://bugs.webkit.org/show_bug.cgi?id=106365
Source/JavaScriptCore:
Reviewed by Mark Hahnenberg.
Use the fact that Phantom means that things escaped, and just insert Phantoms for all
of the operands.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleCall):
LayoutTests:
Reviewed by Mark Hahnenberg.
Add tests that cover the possible badness that could occur for all of those
intrinsics that don't intrinsically (pun sort of intended) cause escapeage
to happen. As in, if we did happen to know for sure that what we want is
ArithSqrt, then we would have a guarantee that ArithSqrt does not by itself
use its operands in a way that involves NodeUsedAsOther. But when ArithSqrt
is inserted because of intrinsic optimization (i.e. something like
Math.sqrt(blah)) then the intrinsic machinery needs to indicate that blah
could escape in the case that we didn't end up doing ArithSqrt because we
exited prior to it and called some other function.
- fast/js/dfg-abs-backwards-propagation-expected.txt: Added.
- fast/js/dfg-abs-backwards-propagation.html: Added.
- fast/js/dfg-max-backwards-propagation-expected.txt: Added.
- fast/js/dfg-max-backwards-propagation.html: Added.
- fast/js/dfg-min-backwards-propagation-expected.txt: Added.
- fast/js/dfg-min-backwards-propagation.html: Added.
- fast/js/dfg-proven-sqrt-backwards-propagation-expected.txt: Added.
- fast/js/dfg-proven-sqrt-backwards-propagation.html: Added.
- fast/js/dfg-sqrt-backwards-propagation-expected.txt: Added.
- fast/js/dfg-sqrt-backwards-propagation.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-abs-backwards-propagation.js: Added.
(foo):
(bar):
- fast/js/script-tests/dfg-max-backwards-propagation.js: Added.
(foo):
(bar):
- fast/js/script-tests/dfg-min-backwards-propagation.js: Added.
(foo):
(bar):
- fast/js/script-tests/dfg-proven-sqrt-backwards-propagation.js: Added.
(foo):
(bar):
- fast/js/script-tests/dfg-sqrt-backwards-propagation.js: Added.
(foo):
(bar):
- 12:33 PM Changeset in webkit [139097] by
-
- 5 edits in trunk/Tools
Dashboard cleanup: Remove globals g_buildersThatFailedToLoad and g_staleBuilders
https://bugs.webkit.org/show_bug.cgi?id=106356
g_buildersThatFailedToLoad and g_staleBuilders were globals defined in
dashboard_base, assigned by Loader, and used only by dashboard_base to
create error messages. Moved the variables to be privates on the Loader
object, moved error message creation to _getLoadingErrorMessages on the
Loader object, and now pass the errors back to dashboard base via the
resourceLoadingComplete callback.
Also removed the now unused clearError function, it was only being used
by unit tests to clean up global state.
Reviewed by Dirk Pranke.
- TestResultServer/static-dashboards/dashboard_base.js:
(resourceLoadingComplete):
- TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
- TestResultServer/static-dashboards/loader.js:
(.):
- TestResultServer/static-dashboards/loader_unittests.js:
- 12:31 PM Changeset in webkit [139096] by
-
- 2 edits in trunk/Source/WebCore
Plug-ins shouldn’t be added to list to autostart if you start a plugin in private browsing.
https://bugs.webkit.org/show_bug.cgi?id=106348
<rdar://problem/12968442>
Reviewed by Anders Carlsson.
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Don't call addAutoStartOrigin if we are
in private browsing mode.
- 12:23 PM Changeset in webkit [139095] by
-
- 6 edits1 add in trunk/Tools
[EFL][GTK] Make the PulseAudioSanitizer an object on the EflPort, GtkPort
https://bugs.webkit.org/show_bug.cgi?id=106354
Reviewed by Eric Seidel.
Put the PulseAudioSanitizer object on the EflPort and GtkPort interfaces
instead of those two inheriting from it. Also add a mock object of the
sanitizer that's used in unit tests.
- Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort):
(EflPort.init):
(EflPort.setup_test_run):
(EflPort.clean_up_test_run):
- Scripts/webkitpy/layout_tests/port/efl_unittest.py: Also correct the
importing order.
(EflPortTest.make_port): Put a mock PulseAudioSanitizer on the instance.
- Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort):
(GtkPort.init):
(GtkPort.setup_test_run):
(GtkPort.clean_up_test_run):
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py: Also correct the
importing order.
(GtkPortTest.make_port): Put a mock PulseAudioSanitizer on the instance.
- Scripts/webkitpy/layout_tests/port/pulseaudio_sanitizer.py:
(PulseAudioSanitizer.unload_pulseaudio_module): Stylize the method as public.
(PulseAudioSanitizer.restore_pulseaudio_module): Ditto.
- Scripts/webkitpy/layout_tests/port/pulseaudio_sanitizer_mock.py: Added.
(PulseAudioSanitizerMock): A simple mock interface for PulseAudioSanitizer.
(PulseAudioSanitizerMock.unload_pulseaudio_module):
(PulseAudioSanitizerMock.restore_pulseaudio_module):
- 12:21 PM Changeset in webkit [139094] by
-
- 4 edits3 adds in trunk
If array allocation profiling causes a new_array to allocate double arrays, then the holes should end up being correctly initialized
https://bugs.webkit.org/show_bug.cgi?id=106363
Reviewed by Mark Hahnenberg.
Source/JavaScriptCore:
- runtime/JSArray.h:
(JSC::JSArray::tryCreateUninitialized):
LayoutTests:
- fast/js/jsc-test-list:
- fast/js/new-array-double-with-holes-expected.txt: Added.
- fast/js/new-array-double-with-holes.html: Added.
- fast/js/script-tests/new-array-double-with-holes.js: Added.
(foo):
- 12:12 PM Changeset in webkit [139093] by
-
- 2 edits in trunk/Source/WebKit2
Tweak sandbox profile
https://bugs.webkit.org/show_bug.cgi?id=106362
<rdar://problem/12884745>
Reviewed by Sam Weinig.
- WebProcess/com.apple.WebProcess.sb.in:
Allow access to com.apple.CoreServices.launchservicesd.
- 12:05 PM Changeset in webkit [139092] by
-
- 2 edits in trunk/LayoutTests
Add a crashing test expectation to a test added in r139029.
The failure is tracked by the bug 106361.
- platform/mac/TestExpectations:
- 11:52 AM Changeset in webkit [139091] by
-
- 2 edits in trunk/Source/WebCore
AX: native popup buttons should not use textUnderElement for their title
https://bugs.webkit.org/show_bug.cgi?id=106349
Reviewed by Ryosuke Niwa.
Native popup buttons (<select> elements) were calculating its title based on the text
under the element. When Bug 103794 introduced a more complete way of getting render text,
it causes popup buttons to start returning a title.
The fix is that we should not be calculating a title for a native popup button from its children.
Existing tests cover this functionality. This will fix a failing test.
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::visibleText):
- 11:49 AM Changeset in webkit [139090] by
-
- 14 edits in trunk/Tools
[chromium] move dumpFrameLoadCallbacks and friends to the TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=106324
Reviewed by Adam Barth.
Since the frame load callbacks are part of the WebFrameClient, the
WebTestProxy is now intercepting both WebViewClient and WebFrameClient
methods.
- DumpRenderTree/chromium/DRTTestRunner.cpp:
(DRTTestRunner::DRTTestRunner):
(DRTTestRunner::reset):
- DumpRenderTree/chromium/DRTTestRunner.h:
(DRTTestRunner):
- DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h:
(WebTestInterfaces):
- DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
(WebKit):
(WebTestProxyBase):
(WebTestRunner):
(WebTestRunner::WebTestProxy::WebTestProxy):
(WebTestProxy):
(WebTestRunner::WebTestProxy::didInvalidateRect):
(WebTestRunner::WebTestProxy::didScrollRect):
(WebTestRunner::WebTestProxy::scheduleComposite):
(WebTestRunner::WebTestProxy::scheduleAnimation):
(WebTestRunner::WebTestProxy::setWindowRect):
(WebTestRunner::WebTestProxy::show):
(WebTestRunner::WebTestProxy::didAutoResize):
(WebTestRunner::WebTestProxy::postAccessibilityNotification):
(WebTestRunner::WebTestProxy::startDragging):
(WebTestRunner::WebTestProxy::shouldBeginEditing):
(WebTestRunner::WebTestProxy::shouldEndEditing):
(WebTestRunner::WebTestProxy::shouldInsertNode):
(WebTestRunner::WebTestProxy::shouldInsertText):
(WebTestRunner::WebTestProxy::shouldChangeSelectedRange):
(WebTestRunner::WebTestProxy::shouldDeleteRange):
(WebTestRunner::WebTestProxy::shouldApplyStyle):
(WebTestRunner::WebTestProxy::didBeginEditing):
(WebTestRunner::WebTestProxy::didChangeSelection):
(WebTestRunner::WebTestProxy::didChangeContents):
(WebTestRunner::WebTestProxy::didEndEditing):
(WebTestRunner::WebTestProxy::registerIntentService):
(WebTestRunner::WebTestProxy::dispatchIntent):
(WebTestRunner::WebTestProxy::willPerformClientRedirect):
(WebTestRunner::WebTestProxy::didCancelClientRedirect):
(WebTestRunner::WebTestProxy::didStartProvisionalLoad):
(WebTestRunner::WebTestProxy::didReceiveServerRedirectForProvisionalLoad):
(WebTestRunner::WebTestProxy::didFailProvisionalLoad):
(WebTestRunner::WebTestProxy::didCommitProvisionalLoad):
(WebTestRunner::WebTestProxy::didReceiveTitle):
(WebTestRunner::WebTestProxy::didFinishDocumentLoad):
(WebTestRunner::WebTestProxy::didHandleOnloadEvents):
(WebTestRunner::WebTestProxy::didFailLoad):
(WebTestRunner::WebTestProxy::didFinishLoad):
(WebTestRunner::WebTestProxy::didChangeLocationWithinPage):
(WebTestRunner::WebTestProxy::didDisplayInsecureContent):
(WebTestRunner::WebTestProxy::didRunInsecureContent):
(WebTestRunner::WebTestProxy::didDetectXSS):
- DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:
(WebTestRunner::WebTestRunner::setTestIsRunning):
(WebTestRunner::WebTestRunner::shouldDumpFrameLoadCallbacks):
(WebTestRunner::WebTestRunner::setShouldDumpFrameLoadCallbacks):
(WebTestRunner::WebTestRunner::shouldDumpUserGestureInFrameLoadCallbacks):
(WebTestRunner::WebTestRunner::stopProvisionalFrameLoads):
(WebTestRunner::WebTestRunner::shouldDumpTitleChanges):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::reset):
(WebTestRunner::TestRunner::setTestIsRunning):
(WebTestRunner):
(WebTestRunner::TestRunner::shouldDumpFrameLoadCallbacks):
(WebTestRunner::TestRunner::setShouldDumpFrameLoadCallbacks):
(WebTestRunner::TestRunner::shouldDumpUserGestureInFrameLoadCallbacks):
(WebTestRunner::TestRunner::stopProvisionalFrameLoads):
(WebTestRunner::TestRunner::shouldDumpTitleChanges):
(WebTestRunner::TestRunner::dumpFrameLoadCallbacks):
(WebTestRunner::TestRunner::dumpUserGestureInFrameLoadCallbacks):
(WebTestRunner::TestRunner::setStopProvisionalFrameLoads):
(WebTestRunner::TestRunner::dumpTitleChanges):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
(TestRunner):
- DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp:
(WebTestInterfaces::Internal):
(WebTestRunner::WebTestInterfaces::Internal::webView):
(WebTestRunner::WebTestInterfaces::Internal::Internal):
(WebTestRunner::WebTestInterfaces::Internal::setWebView):
(WebTestRunner):
(WebTestRunner::WebTestInterfaces::Internal::setTestIsRunning):
(WebTestRunner::WebTestInterfaces::setWebView):
(WebTestRunner::WebTestInterfaces::setTestIsRunning):
(WebTestRunner::WebTestInterfaces::webView):
- DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::willPerformClientRedirect):
(WebTestRunner):
(WebTestRunner::WebTestProxyBase::didCancelClientRedirect):
(WebTestRunner::WebTestProxyBase::didStartProvisionalLoad):
(WebTestRunner::WebTestProxyBase::didReceiveServerRedirectForProvisionalLoad):
(WebTestRunner::WebTestProxyBase::didFailProvisionalLoad):
(WebTestRunner::WebTestProxyBase::didCommitProvisionalLoad):
(WebTestRunner::WebTestProxyBase::didReceiveTitle):
(WebTestRunner::WebTestProxyBase::didFinishDocumentLoad):
(WebTestRunner::WebTestProxyBase::didHandleOnloadEvents):
(WebTestRunner::WebTestProxyBase::didFailLoad):
(WebTestRunner::WebTestProxyBase::didFinishLoad):
(WebTestRunner::WebTestProxyBase::didChangeLocationWithinPage):
(WebTestRunner::WebTestProxyBase::didDisplayInsecureContent):
(WebTestRunner::WebTestProxyBase::didRunInsecureContent):
(WebTestRunner::WebTestProxyBase::didDetectXSS):
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::runFileTest):
(TestShell::testFinished):
- DumpRenderTree/chromium/TestShell.h:
(TestShell):
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::didStartProvisionalLoad):
(WebViewHost::didReceiveServerRedirectForProvisionalLoad):
(WebViewHost::didFailProvisionalLoad):
(WebViewHost::didCommitProvisionalLoad):
(WebViewHost::didReceiveTitle):
(WebViewHost::didFailLoad):
(WebViewHost::didFinishLoad):
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- 11:40 AM Changeset in webkit [139089] by
-
- 7 edits2 adds in trunk
text controls are sized too small when a percentage height is set
https://bugs.webkit.org/show_bug.cgi?id=106277
Reviewed by Tony Chang.
Source/WebCore:
This makes our behavior match Firefox 17, IE 9 and Opera 12.
The current logic came from http://trac.webkit.org/changeset/13723,
which itself was copy-pasted from RenderReplaced and no longer has this clause..
Test: fast/forms/percent-height-auto-width-form-controls.html
- rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::computePreferredLogicalWidths):
- rendering/RenderListBox.cpp:
(WebCore::RenderListBox::computePreferredLogicalWidths):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::computePreferredLogicalWidths):
- rendering/RenderSlider.cpp:
(WebCore::RenderSlider::computePreferredLogicalWidths):
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::computePreferredLogicalWidths):
LayoutTests:
- fast/forms/percent-height-auto-width-form-controls-expected.txt: Added.
- fast/forms/percent-height-auto-width-form-controls.html: Added.
- 11:35 AM Changeset in webkit [139088] by
-
- 3 edits in trunk/Tools
[GTK] Lower the default timeout value for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=106353
Reviewed by Dirk Pranke.
The default timeout value for WebKitTestRunner should be lowered.
The current value (80 seconds) is irrational and just leads to producing
text failures for layout tests that genuinely time out. This just leads
to more deviation from the GTK WK1 port in terms of test expectations.
The value used is the same as when running the DumpRenderTree, that's
6 seconds in release builds and 12 seconds in debug builds.
- Scripts/webkitpy/layout_tests/port/gtk.py:
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest.test_default_timeout_ms):
- 11:28 AM Changeset in webkit [139087] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Modify Android's user agent CSS to not set a border-radius on select elements
https://bugs.webkit.org/show_bug.cgi?id=106327
Reviewed by Adam Barth.
Android's user agent CSS overrides the style applied to <select>
elements with a @size or @multiple attribute, and then applies
(among other things) a border-radius of 5 pixels. While select
elements with a larger size or multiple selection should appear
as drop-down boxes for now, setting the border radius causes
Chromium to skip rendering the background and border, making
them hard to read when the page relies on the default styling.
This is covered by existing pixel tests.
- css/themeChromiumAndroid.css:
(select[size][multiple]):
- 11:27 AM Changeset in webkit [139086] by
-
- 1 edit1 add in trunk/Source/WebKit2
Add OWNERS file.
- OWNERS: Added.
- 11:22 AM Changeset in webkit [139085] by
-
- 3 edits2 adds in trunk
CSP: 'none' should take effect only if no other source expression is present.
https://bugs.webkit.org/show_bug.cgi?id=106314
Reviewed by Adam Barth.
Source/WebCore:
WebKit's handling of 'none' in Content Security Policy source lists
doesn't quite match the spec. Currently, we're treating any source list
that contains 'none' as its first token as an empty list. That is:
"script-src 'none'" is handled in the same way as
"script-src 'none' example.com". Based on a bit of public-webappsec@
discussion[1], the behavior we actually want should treat the first as
an empty list, while treating the second as "script-src example.com". In
other words, 'none' in a source list is a no-op, unless it is the _only_
item in the source list.
This patch adjusts our parsing behavior accordingly, and tweaks the
console log we emit for invalid source expressions to warn specifically
about this case.
[1]: http://lists.w3.org/Archives/Public/public-webappsec/2013Jan/0006.html
Test: http/tests/security/contentSecurityPolicy/source-list-parsing-none.html
- page/ContentSecurityPolicy.cpp:
(WebCore::isSourceListNone):
A new static method that returns true when given a string that
contains only 'none' (potentially surrounded by whitespace), and
false otherwise.
(WebCore):
(WebCore::CSPSourceList::parse):
Move the 'none' check into the initial layer of parsing, which means
that we can drop the 'isFirstSourceInList' check entirely.
(WebCore::CSPSourceList::parseSource):
Since we've already checked for 'none' in ::parse, we can at this
point safely treat any occurance of 'none' in the source list as an
invalid expression.
(WebCore::ContentSecurityPolicy::reportInvalidSourceExpression):
If the invalid expression is 'none', add a clarification to the
console message, noting that 'none' only has effect when it's all
alone.
LayoutTests:
- http/tests/security/contentSecurityPolicy/source-list-parsing-none-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/source-list-parsing-none.html: Added.
- 11:19 AM Changeset in webkit [139084] by
-
- 3 edits in trunk/Tools
test-webkitpy shows failure output on my linux box
https://bugs.webkit.org/show_bug.cgi?id=101261
Reviewed by Eric Seidel.
Mock out the PulseAudioSanitizer methods when creating testing instances
of EflPort and GtkPort interfaces in unit tests. This stops throwing up
PulseAudio output when the sanitizer was trying to unload modules which
were already unloaded by another unit test that was being run in parallel.
- Scripts/webkitpy/layout_tests/port/efl_unittest.py:
(EflPortTest):
(EflPortTest.make_port):
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest):
(GtkPortTest.make_port):
- 11:15 AM Changeset in webkit [139083] by
-
- 3 edits in trunk/Source/WebCore
Added OpaqueRegionSkia::currentTrackingOpaqueRect
[chromium] Add OpaqueRegionSkia::currentTrackingOpaqueRect
https://bugs.webkit.org/show_bug.cgi?id=106267
Reviewed by Stephen White.
No new tests needed. No change in functionality.
- platform/graphics/skia/OpaqueRegionSkia.cpp:
(WebCore::OpaqueRegionSkia::applyOpaqueRegionFromLayer):
(WebCore::OpaqueRegionSkia::markRectAsOpaque):
(WebCore::OpaqueRegionSkia::markRectAsNonOpaque):
(WebCore::OpaqueRegionSkia::markAllAsNonOpaque):
(WebCore::OpaqueRegionSkia::currentTrackingOpaqueRect):
(WebCore):
- platform/graphics/skia/OpaqueRegionSkia.h:
(OpaqueRegionSkia):
- 11:00 AM Changeset in webkit [139082] by
-
- 3 edits in trunk/Tools
Dashboard Cleanup: Remove g_hasDoneInitialPageGeneration
https://bugs.webkit.org/show_bug.cgi?id=106254
Remove the global variable g_hasDoneInitialPageGeneration. It was used
only to figure out if we should call addBuilderLoadErrors during
handleLocationChange, which was called when the loader completed and on
any hash change, but we only ever wanted to call addBuilderLoadErrors
on the initial loader load. Moved the call of addBuilderLoadErrors to
resourceLoadingComplete rather than handleLocationChange, so now we
only call it when we want to, and the check can go away completely.
Reviewed by Dirk Pranke.
- TestResultServer/static-dashboards/dashboard_base.js:
(addBuilderLoadErrors):
(resourceLoadingComplete):
(handleLocationChange):
- TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
- 10:54 AM Changeset in webkit [139081] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Build failures when building with python 3.3
https://bugs.webkit.org/show_bug.cgi?id=106194
Reviewed by Dirk Pranke.
Python 3.3 introduced changes to dictionaries which can result in changed
iteration order. More about these changes:
http://docs.python.org/3.3/whatsnew/3.3.html#pep-412-key-sharing-dictionary
http://www.python.org/dev/peps/pep-0412/#cons
This causes the Source/WebCore/inspector/generate-inspector-protocol-version
script to fail the self-testing when using Python 3.3. These changes work
around this problem by not checking for expected errors in order but rather
for their presence in the error output sequence. The number of actual errors
is also checked to be equal to the number of expected errors.
No new tests - no new functionality.
- inspector/generate-inspector-protocol-version:
(self_test):
- 10:49 AM Changeset in webkit [139080] by
-
- 14 edits5 adds in trunk
<track> element's mode set to "disabled" after load although it was explicitly set to "hidden"
https://bugs.webkit.org/show_bug.cgi?id=105536
Source/WebCore:
Remove all concept of "showing by default". This means removing the showingByDefault()
and setShowingByDefault() methods on TextTrack. As I was going through this code,
I also noticed that in HTMLMediaElement::configureTextTrackGroup(), we would set
defaultTrack to textTrack.get() even though defaultTrack was created to be a RefPtr<TextTrack>.
As a result, we can now pass an additional 8 tests from the Opera-submitted test suite:
LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html
LayoutTests/media/track/opera/interfaces/TextTrack/removeCue.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/endTime.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/startTime.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/align.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/id.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/pauseOnExit.html
LayoutTests/media/track/opera/interfaces/TextTrackCue/track.html
Patch by Antoine Quint <Antoine Quint> on 2013-01-08
Reviewed by Eric Carlson.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::configureTextTrackGroup):
(WebCore::HTMLMediaElement::toggleTrackAtIndex):
- html/track/TextTrack.cpp:
(WebCore::TextTrack::TextTrack):
(WebCore::TextTrack::setMode):
(WebCore::TextTrack::isRendered):
- html/track/TextTrack.h:
(WebCore::TextTrack::mode):
(TextTrack):
LayoutTests:
Patch by Antoine Quint <Antoine Quint> on 2013-01-08
Reviewed by Eric Carlson.
- media/track/opera/interfaces/TextTrack/addCue-expected.txt:
- media/track/opera/interfaces/TextTrack/removeCue-expected.txt: Added.
- media/track/opera/interfaces/TextTrackCue/align-expected.txt: Added.
- media/track/opera/interfaces/TextTrackCue/endTime-expected.txt:
- media/track/opera/interfaces/TextTrackCue/id-expected.txt: Added.
- media/track/opera/interfaces/TextTrackCue/pauseOnExit-expected.txt: Added.
- media/track/opera/interfaces/TextTrackCue/startTime-expected.txt:
- media/track/opera/interfaces/TextTrackCue/track-expected.txt: Added.
- platform/chromium/TestExpectations: Skipping newly failing test on Chrome.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
- platform/win/TestExpectations:
- 10:47 AM Changeset in webkit [139079] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Unifying accessibility layout test failure expectations in the WK2
TestExpectations file, with each expectation given an appropriate bug modifier.
Removing three failure expectations for transitions tests that are now passing
on WK2.
- platform/gtk-wk2/TestExpectations:
- 10:47 AM Changeset in webkit [139078] by
-
- 40 edits in trunk/Source
Removed the need for the ProposedDatabase mechanism.
https://bugs.webkit.org/show_bug.cgi?id=106292.
Reviewed by Sam Weinig.
Source/WebCore:
No new tests.
- Modules/webdatabase/AbstractDatabase.cpp:
(WebCore::AbstractDatabase::details):
(WebCore):
- Modules/webdatabase/AbstractDatabase.h:
(AbstractDatabase):
- Modules/webdatabase/DatabaseContext.cpp:
(WebCore::DatabaseContext::databaseExceededQuota):
- Modules/webdatabase/DatabaseContext.h:
(DatabaseContext):
- Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::canEstablishDatabase):
(WebCore::DatabaseTracker::fullPathForDatabaseNoLock):
(WebCore::DatabaseTracker::detailsForNameAndOrigin):
- Modules/webdatabase/DatabaseTracker.h:
(DatabaseTracker):
- Modules/webdatabase/SQLTransactionClient.cpp:
(WebCore::SQLTransactionClient::didExceedQuota):
- loader/EmptyClients.h:
(WebCore::EmptyChromeClient::exceededDatabaseQuota):
- page/ChromeClient.h:
(ChromeClient):
Source/WebKit/blackberry:
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::exceededDatabaseQuota):
- WebCoreSupport/ChromeClientBlackBerry.h:
(ChromeClientBlackBerry):
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::exceededDatabaseQuota):
- src/ChromeClientImpl.h:
(ChromeClientImpl):
Source/WebKit/efl:
- WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::exceededDatabaseQuota):
- WebCoreSupport/ChromeClientEfl.h:
(ChromeClientEfl):
Source/WebKit/gtk:
- WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::exceededDatabaseQuota):
- WebCoreSupport/ChromeClientGtk.h:
(ChromeClient):
Source/WebKit/mac:
- WebCoreSupport/WebChromeClient.h:
- WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::exceededDatabaseQuota):
Source/WebKit/qt:
- WebCoreSupport/ChromeClientQt.cpp:
- WebCoreSupport/ChromeClientQt.h:
(ChromeClientQt):
Source/WebKit/win:
- WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::exceededDatabaseQuota):
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
Source/WebKit/wince:
- WebCoreSupport/ChromeClientWinCE.cpp:
(WebKit::ChromeClientWinCE::exceededDatabaseQuota):
- WebCoreSupport/ChromeClientWinCE.h:
(ChromeClientWinCE):
Source/WebKit/wx:
- WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::exceededDatabaseQuota):
- WebKitSupport/ChromeClientWx.h:
(ChromeClientWx):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::exceededDatabaseQuota):
- WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
- 10:40 AM Changeset in webkit [139077] by
-
- 4 edits2 adds in trunk
AX: PopUpButtons do not report that AXValueAttribute is supported
https://bugs.webkit.org/show_bug.cgi?id=106333
Reviewed by Ryosuke Niwa.
Source/WebCore:
The Mac platform expects that AXPopUpButton's expose the AXValue attribute.
Test: platform/mac/accessibility/popup-button-exposes-axvalue.html
- accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isPopUpButton):
- accessibility/mac/WebAccessibilityObjectWrapper.mm:
(-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
LayoutTests:
- platform/mac/accessibility/popup-button-exposes-axvalue-expected.txt: Added.
- platform/mac/accessibility/popup-button-exposes-axvalue.html: Added.
- 10:34 AM Changeset in webkit [139076] by
-
- 5 edits in trunk/Source/WebKit2
Remove dead Connection members in ChildProcess subclasses (and their users)
https://bugs.webkit.org/show_bug.cgi?id=106347
<rdar://problem/12973955>
Reviewed by Alexey Proskuryakov.
This also fixes a crash when entering fullscreen with a plug-in.
- PluginProcess/PluginProcess.h:
Remove dead m_connection member.
- PluginProcess/mac/PluginProcessMac.mm:
(WebKit::PluginProcess::setModalWindowIsShowing):
(WebKit::PluginProcess::setFullscreenWindowIsShowing):
Replace use of m_connection, which is dead, with parentProcessConnection().
- SharedWorkerProcess/SharedWorkerProcess.h:
(SharedWorkerProcess):
Remove dead m_connection member.
- SharedWorkerProcess/SharedWorkerProcess.cpp:
(WebKit::SharedWorkerProcess::createWebProcessConnection):
Replace use of m_connection, which is dead, with parentProcessConnection().
- 10:17 AM Changeset in webkit [139075] by
-
- 2 edits in trunk/Tools
Add aboxhall@chromium.org to accessibility watchlist.
Unreviewed.
- Scripts/webkitpy/common/config/watchlist:
- 10:15 AM Changeset in webkit [139074] by
-
- 7 edits3 adds in trunk/LayoutTests
Update expectations for fast/text/justify-ideograph*.
- platform/chromium-linux-x86/fast/text/justify-ideograph-vertical-expected.txt: Added.
- platform/chromium-linux/fast/text/justify-ideograph-vertical-expected.png: Added.
- platform/chromium-linux/fast/text/justify-ideograph-vertical-expected.txt: Added.
- platform/chromium-mac-lion/fast/text/justify-ideograph-simple-expected.png:
- platform/chromium-mac-lion/fast/text/justify-ideograph-vertical-expected.png:
- platform/chromium-mac-snowleopard/fast/text/justify-ideograph-simple-expected.png:
- platform/chromium-mac-snowleopard/fast/text/justify-ideograph-vertical-expected.png:
- platform/chromium-mac/fast/text/justify-ideograph-simple-expected.png:
- platform/chromium-mac/fast/text/justify-ideograph-vertical-expected.png:
- 10:14 AM Changeset in webkit [139073] by
-
- 1 edit1 add in trunk/LayoutTests
Update expectations for webaudio/realtimeanalyser-fft-sizing.html.
- platform/chromium-linux/webaudio/realtimeanalyser-fft-sizing-expected.txt: Added.
- 10:13 AM Changeset in webkit [139072] by
-
- 2 edits in trunk/LayoutTests
[Chromium] context-creation-and-destruction.html is slow and flaky.
https://bugs.webkit.org/show_bug.cgi?id=92287
- platform/chromium/TestExpectations: Adjusted expectations.
- 10:10 AM Changeset in webkit [139071] by
-
- 9 edits1 copy1 move in trunk
Tools: Add Apache 2.4 support for Fedora 18
https://bugs.webkit.org/show_bug.cgi?id=104478
Reviewed by Martin Robinson.
Apache 2.4's httpd.conf is slightly incompatible with 2.2's, so we
need a separate config.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port._apache_version):
(Port._apache_config_file_name_for_platform):
- Scripts/webkitpy/layout_tests/port/port_testcase.py:
- Scripts/run-webkit-httpd:
- Scripts/webkitperl/httpd.pm:
(getApacheVersion):
(getDefaultConfigForTestDirectory):
(getHTTPDConfigPathForTestDirectory):
LayoutTests: Updates for Apache 2.4
https://bugs.webkit.org/show_bug.cgi?id=104478
Reviewed by Martin Robinson.
Apache 2.4 requires a slightly different config from 2.2, so split
fedora-httpd.conf into separate 2.2 and 2.4 versions.
2.4 is also more picky about passing request headers to CGI
scripts, and will ignore headers that aren't valid according to
the HTTP grammar, so change underscores to hyphens to fix them.
- http/conf/fedora-httpd-2.2.conf: Renamed from
LayoutTests/http/conf/fedora-httpd.conf.
- http/conf/fedora-httpd-2.4.conf: Based on
LayoutTests/http/conf/fedora-httpd.conf and updated for 2.4.
- http/tests/cookies/resources/cookies-test-pre.js:
(setCookies):
(clearCookies):
- http/tests/navigation/ping-cookie.html:
- http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-value.html:
- 10:08 AM Changeset in webkit [139070] by
-
- 5 edits in trunk
transition-delay and transition-duration return incorrect values when querying using the computed style.
https://bugs.webkit.org/show_bug.cgi?id=105432
Reviewed by Dean Jackson.
Source/WebCore:
When setting the transition-delay to 10ms for example the value of transition-delay
on the computed style was incorrect, it should return 0.01s but it was
returning something like 0.0099999999...s. In fact the bug was after
the parsing step when creating the Animation object where a conversion
from a double to float was done. This conversion is not needed as the
animation class expects double for delay and transition times.
Test: transitions/transitions-parsing.html
- css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapAnimationDelay):
(WebCore::CSSToStyleMap::mapAnimationDuration):
LayoutTests:
Uncomment existing tests to cover the bug.
- transitions/transitions-parsing-expected.txt:
- transitions/transitions-parsing.html:
- 10:06 AM Changeset in webkit [139069] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tweak expectations for random-array-gc-stress.html to reflect reality.
https://bugs.webkit.org/show_bug.cgi?id=84802
- platform/chromium/TestExpectations: Tweaked expectations.
- 9:56 AM Changeset in webkit [139068] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG should backwards-propagate NodeUsedAsValue for Phantom
https://bugs.webkit.org/show_bug.cgi?id=106299
Reviewed by Mark Hahnenberg.
This is currently benign because Phantom is only inserted by the bytecode parser for
things that already happen to be used in contexts that backwards propagate
NodeUsedAsValue. But that doesn't change the fact that the semantics of Phantom are
that the value can be arbitrarily used by the baseline JIT.
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- 9:51 AM Changeset in webkit [139067] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Skip http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html, because
it's been timing out since it was added.
https://bugs.webkit.org/show_bug.cgi?id=106332
- platform/chromium/TestExpectations: Adjusted expectations.
- 9:50 AM Changeset in webkit [139066] by
-
- 14 edits2 moves in trunk/Source/WebKit2
[WK2] NetworkProcess should have a Keychain shim
https://bugs.webkit.org/show_bug.cgi?id=106286
Reviewed by Sam Weinig.
Renamed WebProcessShim to SecItemShim. Use it with NetworkProcess, too.
- WebProcess/mac/SecItemShimLibrary.h: Copied from Source/WebKit2/WebProcess/mac/WebProcessShim.h.
- WebProcess/mac/SecItemShimLibrary.mm: Copied from Source/WebKit2/WebProcess/mac/WebProcessShim.mm. This code lives in SecItemShim.dylib. "Library" in the name is to avoid conflicting with SecItemShim class in WebKit2.
- Shared/mac/SecItemShim.cpp: (WebKit::sendSecItemRequest): (WebKit::SecItemShim::initialize):
- Shared/mac/SecItemShim.h: Take a ChildProcess pointer at initialization instead of using using WebProcess::shared().
- UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::addDYLDEnvironmentAdditions): Use SecItemShim with NetworkProcess too.
- NetworkProcess/NetworkProcess.cpp: (WebKit::NetworkProcess::initializeConnection):
- NetworkProcess/NetworkProcess.h:
- NetworkProcess/mac/NetworkProcessMac.mm: (WebKit::NetworkProcess::platformInitializeNetworkProcess):
- UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::didFinishLaunching):
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeConnection):
- WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformInitializeProcess):
- WebProcess/mac/WebProcessMainMac.mm: (WebKit::WebProcessMainDelegate::doPreInitializationWork):
- WebProcess/mac/WebProcessServiceEntryPoints.mm: (webProcessServiceMain): (initializeWebProcessForWebProcessServiceForWebKitDevelopment):
- WebProcess/mac/WebProcessShim.h: Removed.
- WebProcess/mac/WebProcessShim.mm: Removed.
- WebProcessService/Info.plist:
- 9:33 AM Changeset in webkit [139065] by
-
- 2 edits in trunk/Tools
Make the override-feature-defines script compatible with Python v3
https://bugs.webkit.org/show_bug.cgi?id=105742
Reviewed by Martin Robinson.
Instead of printing output through a statement, use the print function and format
the output using the str.format method. This makes the script runnable with Python v3.
- gtk/override-feature-defines:
(adjust_feature_defines_makefile):
- 9:29 AM Changeset in webkit [139064] by
-
- 17 edits in trunk/Source/WebCore
[Shadow DOM] Refactoring: invalidateParentDistributionIfNecessary() calls are too intrusive
https://bugs.webkit.org/show_bug.cgi?id=106305
Reviewed by Dimitri Glazkov.
Scattering invalidateParentDistributionIfNecessary() looks bad because
- it has long name whose terminology is cryptic for people who don't know much about Shadow DOM standard.
- its calls are always paired with setNeedsStyleRecalc() and people do setNeedsStyleRecalc() need to be aware about distribution feature bit tracking. Separate invalidateParentDistributionIfNecessary() call doesn't help that recognition.
This change introduces Element::didAffectSelector() to replace a setNeedsStyleRecalc()-i37y() call sequence.
SelectRuleFeatureSet::FeatureRule is renamed AffectedSelectorType so that it explains its purpose
in a bit more plain WebKit term.
No new tests. Refactoring.
- dom/Document.cpp:
(WebCore::Document::setCSSTarget): Adopted didAffectSelector.
- dom/Element.cpp:
(WebCore::Element::didAffectSelector): Added.
(WebCore):
- dom/Element.h:
(Element):
- dom/ElementShadow.cpp:
(WebCore::ElementShadow::didAffectSelector): Morphed from invalidateParentDistributionIfNecessary().
- dom/ElementShadow.h:
(ElementShadow):
- html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::parseAttribute): Adopted didAffectSelector
- html/HTMLDetailsElement.cpp:
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::disabledAttributeChanged): Adopted didAffectSelector
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setChecked): Adopted didAffectSelector
(WebCore::HTMLInputElement::setIndeterminate): Adopted didAffectSelector
- html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::parseAttribute): Adopted didAffectSelector
- html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::parseAttribute): Adopted didAffectSelector
(WebCore::HTMLOptionElement::setSelectedState): Adopted didAffectSelector
- html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::didElementStateChange): Adopted didAffectSelector
- html/HTMLSummaryElement.cpp:
- html/shadow/HTMLContentElement.cpp:
- html/shadow/SelectRuleFeatureSet.cpp:
(WebCore::SelectRuleFeatureSet::collectFeaturesFromSelector): Followed renaming.
- html/shadow/SelectRuleFeatureSet.h: Followed renaming.
(WebCore::SelectRuleFeatureSet::hasSelectorForChecked):
(WebCore::SelectRuleFeatureSet::hasSelectorForEnabled):
(WebCore::SelectRuleFeatureSet::hasSelectorForDisabled):
(WebCore::SelectRuleFeatureSet::hasSelectorForIndeterminate):
(WebCore::SelectRuleFeatureSet::hasSelectorForLink):
(WebCore::SelectRuleFeatureSet::hasSelectorForTarget):
(WebCore::SelectRuleFeatureSet::hasSelectorForVisited):
(WebCore::SelectRuleFeatureSet::hasSelectorFor):
(WebCore::SelectRuleFeatureSet::setSelectRuleFeature):
- 8:47 AM Changeset in webkit [139063] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Fix build with --web-audio
https://bugs.webkit.org/show_bug.cgi?id=106328
Reviewed by Philippe Normand.
Build fix, no new tests required.
- Target.pri: addded missing OfflineAudioContext.[cpp|h].
- 8:45 AM Changeset in webkit [139062] by
-
- 3 edits6 adds in trunk
[GTK] Login & password shown in browsers' URL entry after successful HTTP authentication
https://bugs.webkit.org/show_bug.cgi?id=105190
Reviewed by Carlos Garcia Campos.
Source/WebCore:
Test: http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::restartedCallback): After sending a redirect with credentials to libsoup, strip
the credentials from the request. This ensures that the credentials do not show up in
the user agent or in document.location.
LayoutTests:
Add a new test that checks that the URL of a page that redirects and uses
authentication. This verifies correct behavior for ports that communicates
a request's credentials to the platform networking layer by setting them in the URL.
The credentials should not remain in the URL string itself.
- http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt: Added.
- http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html: Added.
- http/tests/misc/authentication-redirect-4/resources/auth-echo.php: Added.
- http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: Added.
- 8:36 AM Changeset in webkit [139061] by
-
- 5 edits in trunk/LayoutTests
Unreviwed gardening.
Removing failure expectations/skip entries for fast/dom/Window/window-postmessage-arrays.html.
The test was fixed by r138964.
Also further remove failure expectations for now-passing tests on the GTK builders.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
- 8:28 AM Changeset in webkit [139060] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Can't select text out of current focused input
https://bugs.webkit.org/show_bug.cgi?id=106322
Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2013-01-08
Reviewed by Rob Buis.
PR270755
Internally reviewed by Mike Fenton
When selection changed, the selection handler clips new selection with
current focused node's boundary. So we clear focus before selectObject.
This patch clear focus when selectObject is at a point but not at a node.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::selectObject):
- 8:08 AM Changeset in webkit [139059] by
-
- 1 edit2 copies in branches/chromium/1364
Merge 138994
Fixing memory read after free in CanvasRenderingContext2D::accessFont
https://bugs.webkit.org/show_bug.cgi?id=106244
Reviewed by Abhishek Arya.
Source/WebCore:
Using a temporary String object to hold ref count on string that is
passed by reference in CanvasRenderingContext2D::accessFont.
Test: fast/canvas/canvas-measureText.html
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::accessFont):
LayoutTests:
New test case to verify stability of 2D canvas method measureText.
Test case was causing a DumpRenderTree crash on builds with
AddressSantitizer instrumentation.
- fast/canvas/canvas-measureText-expected.txt: Added.
- fast/canvas/canvas-measureText.html: Added.
TBR=junov@google.com
Review URL: https://codereview.chromium.org/11808004
- 8:04 AM Changeset in webkit [139058] by
-
- 1 edit2 copies in branches/chromium/1312
Merge 138994
Fixing memory read after free in CanvasRenderingContext2D::accessFont
https://bugs.webkit.org/show_bug.cgi?id=106244
Reviewed by Abhishek Arya.
Source/WebCore:
Using a temporary String object to hold ref count on string that is
passed by reference in CanvasRenderingContext2D::accessFont.
Test: fast/canvas/canvas-measureText.html
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::accessFont):
LayoutTests:
New test case to verify stability of 2D canvas method measureText.
Test case was causing a DumpRenderTree crash on builds with
AddressSantitizer instrumentation.
- fast/canvas/canvas-measureText-expected.txt: Added.
- fast/canvas/canvas-measureText.html: Added.
TBR=junov@google.com
Review URL: https://codereview.chromium.org/11783030
- 7:58 AM Changeset in webkit [139057] by
-
- 3 edits2 copies in branches/chromium/1271
Merge 138994
Fixing memory read after free in CanvasRenderingContext2D::accessFont
https://bugs.webkit.org/show_bug.cgi?id=106244
Reviewed by Abhishek Arya.
Source/WebCore:
Using a temporary String object to hold ref count on string that is
passed by reference in CanvasRenderingContext2D::accessFont.
Test: fast/canvas/canvas-measureText.html
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::accessFont):
LayoutTests:
New test case to verify stability of 2D canvas method measureText.
Test case was causing a DumpRenderTree crash on builds with
AddressSantitizer instrumentation.
- fast/canvas/canvas-measureText-expected.txt: Added.
- fast/canvas/canvas-measureText.html: Added.
- 7:26 AM Changeset in webkit [139056] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Changing a timeout expectation for inspector/timeline/timeline-decode-resize.html
to a failure expectation. The test doesn't time out anymore due to added WebP support.
Adding a timeout expectation for two proximity layout tests added in r139050.
- platform/gtk/TestExpectations:
- 6:12 AM Changeset in webkit [139055] by
-
- 7 edits in trunk
[Chromium] Don't confine page popups to root view on Mac
https://bugs.webkit.org/show_bug.cgi?id=106315
Reviewed by Kent Tamura.
Source/WebCore:
No new tests.
- Resources/pagepopups/pickerCommon.js:
(adjustWindowRect): Remove code to confine to root view.
Source/WebKit/chromium:
Page popups on Mac no longer get clipped to the web view so we can
remove the code to confine to root view.
- src/ColorChooserPopupUIController.cpp:
(WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
- src/DateTimeChooserImpl.cpp:
(WebKit::DateTimeChooserImpl::writeDocument): Ditto.
LayoutTests:
- platform/chromium/fast/forms/page-popup/page-popup-adjust-rect.html: Remove setting parameters confineToRootView and rootViewRectInScreen.
- 6:06 AM Changeset in webkit [139054] by
-
- 3 edits in trunk/Source/WebCore
Make RenderLayer::updateNeedsCompositedScrolling scrollbars agnostic
https://bugs.webkit.org/show_bug.cgi?id=95494
Reviewed by James Robinson.
Patch by Antonio Gomes <a1.gomes@sisa.samsung.com>
Some ports (including Qt-wk1 and BlackBerry) allow disabling
scrollbars at FrameView creation level. That said, cheking for the
scrollbars presence in order to determine if we should promote a
RenderLayer to use composited scrolling is not ideal, as done in
RenderLayerCompositor::updateNeedsCompositedScrolling()
Instead, this patch makes the RenderLayer class to query its FrameView
if it has been cached as scrollable by the later.
Least, patch also takes this opportunity to remove RenderLayer::allowsScrolling,
which became unused.
No new tests added, since there is no *practical* behavior change: ports
like Chromium and others who currently check for the scrollbars presence
in order to determine either to promote or not layers to benefit of composited
scrolling should not be affected.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateNeedsCompositedScrolling):
- rendering/RenderLayer.h:
(RenderLayer):
- 6:05 AM Changeset in webkit [139053] by
-
- 5 edits in trunk/Source
Introduce a compositing trigger for scrollable frames
https://bugs.webkit.org/show_bug.cgi?id=105573
Reviewed by James Robinson.
Patch by Antonio Gomes <a1.gomes@sisa.samsung.com>
Source/WebCore:
Make requiresCompositingForScrollableFrame to check the
newly added compositing trigger instead of the associated setting.
It introduces no have behavior change, so no new tests. Patch basically
does some preparation work for adding support to composite scrollable inner
frames independently from "force compositing mode" bit.
- page/ChromeClient.h:
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
(WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame):
Source/WebKit/chromium:
Set the newly added scrollable-inner-frames bit to compositing-trigger
bitset in accordance to the respective setting value.
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::allowedCompositingTriggers):
- 5:28 AM Changeset in webkit [139052] by
-
- 2 edits in trunk/Tools
[Qt] Fix libxml2 config test
https://bugs.webkit.org/show_bug.cgi?id=106317
Patch by Heikki Paajanen <heikki.paajanen@palm.com> on 2013-01-08
Reviewed by Simon Hausmann.
Don't assume standard include/libxml2, libxml-2.0.pc should know
where it's headers are.
- qmake/config.tests/libxml2/libxml2.cpp: Fix include
- 3:54 AM Changeset in webkit [139051] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip a new failing test.
- platform/qt/TestExpectations:
- 3:34 AM Changeset in webkit [139050] by
-
- 20 edits27 adds in trunk
Add DeviceProximityController to support Device Proximity Events.
https://bugs.webkit.org/show_bug.cgi?id=97630
Reviewed by Hajime Morita.
Source/WebCore:
Implement DeviceProximityController which is inherited from DeviceController to support Device Proximity Events.
DeviceProximityController has two major functionalities.
- When listener is added, DeviceProximityController stores DOMWindow pointer to m_listeners and start gathering proximity event.
- When DeviceProximityController receives a proximity event from client, fire an event using m_listeners.
In addition, setDeviceProximity function is added to Internals for layout test.
Tests: proximity/add-listener-from-callback.html
proximity/basic-operation.html
proximity/create-event.html
proximity/event-after-navigation.html
proximity/multiple-frames.html
proximity/no-page-cache.html
proximity/optional-event-properties.html
proximity/updates.html
proximity/window-property.html
- CMakeLists.txt:
- GNUmakefile.am:
- GNUmakefile.list.am:
- Modules/proximity/DeviceProximityClient.h: Added.
(WebCore):
(DeviceProximityClient):
(WebCore::DeviceProximityClient::~DeviceProximityClient):
- Modules/proximity/DeviceProximityController.cpp: Added.
(WebCore):
(WebCore::DeviceProximityController::DeviceProximityController):
(WebCore::DeviceProximityController::create):
(WebCore::DeviceProximityController::didChangeDeviceProximity):
(WebCore::DeviceProximityController::deviceProximityClient):
(WebCore::DeviceProximityController::hasLastData):
(WebCore::DeviceProximityController::getLastEvent):
(WebCore::DeviceProximityController::supplementName):
(WebCore::DeviceProximityController::from):
(WebCore::DeviceProximityController::isActiveAt):
(WebCore::provideDeviceProximityTo):
- Modules/proximity/DeviceProximityController.h: Added.
(WebCore):
(DeviceProximityController):
(WebCore::DeviceProximityController::~DeviceProximityController):
- Target.pri:
- WebCore.gyp/WebCore.gyp:
- WebCore.gypi:
- WebCore.pri:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcproj/WebCoreCommon.vsprops:
- WebCore.xcodeproj/project.pbxproj:
- history/PageCache.cpp:
When a page has Device Proximity Event Listener, it has not to be cached like Device Orientation.
(WebCore::logCanCachePageDecision):
(WebCore::PageCache::canCache):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::addEventListener):
(WebCore::DOMWindow::removeEventListener):
(WebCore::DOMWindow::removeAllEventListeners):
- testing/Internals.cpp:
(WebCore::Internals::setDeviceProximity):
(WebCore):
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
Source/WebKit2:
Add initial WebDeviceProximityClient class which is inherited DeviceProximityClient.
But startUpdating and stopUpdating need to be implemented.
- CMakeLists.txt:
- WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp: Added.
(WebKit):
(WebKit::WebDeviceProximityClient::WebDeviceProximityClient):
(WebKit::WebDeviceProximityClient::startUpdating):
(WebKit::WebDeviceProximityClient::stopUpdating):
(WebKit::WebDeviceProximityClient::hasLastData):
- WebProcess/WebCoreSupport/WebDeviceProximityClient.h: Added.
(WebKit):
(WebDeviceProximityClient):
(WebKit::WebDeviceProximityClient::~WebDeviceProximityClient):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
LayoutTests:
Add layout test cases for the DeviceProximityController.
- proximity/add-listener-from-callback-expected.txt: Added.
- proximity/add-listener-from-callback.html: Added.
- proximity/basic-operation-expected.txt: Added.
- proximity/basic-operation.html: Added.
- proximity/create-event-expected.txt: Added.
- proximity/create-event.html: Added.
- proximity/event-after-navigation-expected.txt: Added.
- proximity/event-after-navigation.html: Added.
- proximity/multiple-frames-expected.txt: Added.
- proximity/multiple-frames.html: Added.
- proximity/no-page-cache-expected.txt: Added.
- proximity/no-page-cache.html: Added.
- proximity/optional-event-properties-expected.txt: Added.
- proximity/optional-event-properties.html: Added.
- proximity/resources/cached-page-1.html: Added.
- proximity/resources/cached-page-2.html: Added.
- proximity/resources/event-after-navigation-new.html: Added.
- proximity/updates-expected.txt: Added.
- proximity/updates.html: Added.
- proximity/window-property-expected.txt: Added.
- proximity/window-property.html: Added.
- 2:36 AM AddingFeatures edited by
- Adding instructions about adding new features for the Autotools build … (diff)
- 2:29 AM ScalesAndZooms edited by
- Logical pixels -> DIP pixels, see … (diff)
- 2:17 AM Changeset in webkit [139049] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Adding failure expectation for an a11y test added in r139002.
- platform/gtk/TestExpectations:
- 2:10 AM Changeset in webkit [139048] by
-
- 4 edits in trunk/Tools
[GTK] Make Tools/gtk/generate-gtkdoc compatible with Python 3
https://bugs.webkit.org/show_bug.cgi?id=106195
Reviewed by Philippe Normand.
Perform changes in the generate-gtkdoc script and common and gtkdoc modules
to make the Python code compatible with Python 3. This includes modifying
print statements, exception handling, dictionary iteration and
byte-sequence-to-string conversion.
- gtk/common.py:
(get_build_path):
(pkg_config_file_variable):
(gtk_version_of_pkg_config_file):
- gtk/generate-gtkdoc:
(print_missing_api):
- gtk/gtkdoc.py:
(GTKDoc.init):
(GTKDoc._run_command):
- 1:37 AM Changeset in webkit [139047] by
-
- 1 edit19 adds in trunk/LayoutTests
[Qt][WK2] Unreviewed gardening after r138932.
- platform/qt-5.0-wk2/fast/ruby/ruby-beforeafter-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-beforeafter-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-empty-rt-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-empty-rt-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-length-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-length-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-run-break-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-run-break-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-runs-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-runs-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-runs-spans-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-runs-spans-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-simple-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-simple-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-simple-rp-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-simple-rp-expected.txt: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-trailing-expected.png: Added.
- platform/qt-5.0-wk2/fast/ruby/ruby-trailing-expected.txt: Added.
- 1:31 AM Changeset in webkit [139046] by
-
- 11 edits in trunk
[GTK] Add WebP image support
https://bugs.webkit.org/show_bug.cgi?id=105915
Reviewed by Martin Robinson.
.:
WebP is from now on a dependency for WebKitGtk+.
- configure.ac: added WebP library detection.
Source/WebCore:
- GNUmakefile.am: add WTF_USE_WEBP definition.
- GNUmakefile.list.am: properly sort image decoders in the sources list.
Source/WebKit/gtk:
- GNUmakefile.am: link against WebP library.
Source/WebKit2:
- GNUmakefile.am: link against WebP library.
LayoutTests:
- platform/gtk/TestExpectations: unskipped two tests passing now
that we have WebP support.
- 1:27 AM Changeset in webkit [139045] by
-
- 12 edits in trunk/Source
Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
https://bugs.webkit.org/show_bug.cgi?id=106307
This matches other method names which distinguish between sizes and
points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
Patch by Steve Block <steveblock@chromium.org> on 2013-01-08
Reviewed by Kentaro Hara.
Source/WebCore:
Refactoring only, no functional change.
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::scrollTo):
- html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
- platform/ScrollView.h:
(WebCore::ScrollView::scrollOffset):
- platform/graphics/IntPoint.h:
(WebCore::toIntSize):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateLayerPositions):
(WebCore::RenderLayer::positionNewlyCreatedOverflowControls):
(WebCore::RenderLayer::paintOverflowControls):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
Source/WebKit/blackberry:
- Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::setLayerScrollPosition):
Source/WebKit/chromium:
- src/NonCompositedContentHost.cpp:
(WebKit::NonCompositedContentHost::setViewport):
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::minimumScrollOffset):
(WebKit::WebFrameImpl::maximumScrollOffset):
- 12:57 AM Changeset in webkit [139044] by
-
- 16 edits2 adds in trunk
Dragging over an element with scrollbars should scroll the element when dragging near edges
https://bugs.webkit.org/show_bug.cgi?id=39725
Reviewed by Hajime Morita.
Source/WebCore:
This patch introduces auto scrolling functionality during drag-and-drop
when drop source is near edge of scrollable element.
When drop source is inside 20px of scrollable element more than 200ms,
scrollable element is automatically scrolled every 50ms toward drop
source position, e.g. vertically scroll up when drop source is in top
edge.
Test: fast/events/drag-and-drop-autoscroll.html
- page/AutoscrollController.cpp:
(WebCore::AutoscrollController::AutoscrollController): Changed to initialize m_dragAndDropAutoscrollStartTime.
(WebCore::AutoscrollController::updateDragAndDrop): Added for start/stop autoscroll during drag-and-drop.
(WebCore::AutoscrollController::autoscrollTimerFired): Changed to add autoscroll for drag-and-drop, and to pass last know position to RenderBox::autoscroll().
- page/AutoscrollController.h:
(AutoscrollController): Changed to add updateDragAndDrop() and m_dragAndDropAutoscrollReferencePosition and m_dragAndDropAutoscrollStartTime.
- page/EventHandler.cpp:
(WebCore::EventHandler::updateDragAndDrop): Changed to call AutoscrollController::updateDragAndDrop().
- rendering/RenderBox.cpp:
(WebCore::RenderBox::autoscroll): Changed for new parameter position.
(WebCore::RenderBox::calculateAutoscrollDirection): Added for autoscroll.
- rendering/RenderBox.h:
(RenderBox):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::autoscroll): Changed for new parameter position and move updateSelectionForMouseDrag() to AutoscrollController.
- rendering/RenderLayer.h:
(RenderLayer):
- rendering/RenderListBox.cpp:
(WebCore::RenderListBox::autoscroll): Changed for new parameter position.
- rendering/RenderListBox.h:
(RenderListBox):
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::autoscroll): Changed for new parameter position.
- rendering/RenderTextControlSingleLine.h:
(RenderTextControlSingleLine):
Source/WebKit/chromium:
This patch removes DragScrollTimer used for automatic scrolling of main
frame drag-and-drop which is now implemented in EventHandler.
Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
make patch size small.
No tests. Existing test covers this change.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
(WebKit::WebViewImpl::dragSourceEndedAt): ditto
(WebKit::WebViewImpl::dragSourceMovedTo): ditto
(WebKit::WebViewImpl::dragTargetDrop): ditto
(WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
- src/WebViewImpl.h:
(WebKit): Chagned to remove DragScrollTimer.
LayoutTests:
This patch adds new test for autoscroll during drag-and-drop.
- fast/events/drag-and-drop-autoscroll-expected.txt: Added.
- fast/events/drag-and-drop-autoscroll.html: Added.
- 12:40 AM Changeset in webkit [139043] by
-
- 3 edits in trunk/Source/WebCore
REGRESSION(r139036): 'WebCore::DateTimeSymbolicFieldElement::isInRange' hides overloaded virtual function
https://bugs.webkit.org/show_bug.cgi?id=106311
Unreviewed build fix.
- html/shadow/DateTimeSymbolicFieldElement.cpp:
(WebCore::DateTimeSymbolicFieldElement::stepDown):
(WebCore::DateTimeSymbolicFieldElement::stepUp):
- html/shadow/DateTimeSymbolicFieldElement.h:
(WebCore::DateTimeSymbolicFieldElement::indexIsInRange): renamed method to avoid hiding Element::isInRange
- 12:23 AM Changeset in webkit [139042] by
-
- 5 edits in trunk/Source/WebCore
HTMLTreeBuilder shouldn't keep a Document pointer
https://bugs.webkit.org/show_bug.cgi?id=106268
Reviewed by Eric Seidel.
The tree builder shouldn't interact with the Document directly.
Instead, the tree builder should use the HTMLConstructionSite to
interact with the document.
Unfortunately, the HTMLTreeBuilder does need to read back one bit of
information (the quirks mode) from the Document. Currently the
HTMLConstructionSite reads the information directly from the Document.
If/when we move the parser onto its own thread, we'll need to keep
track of this bit on the parser thread. (We should be able to
encapsulate all that logic in the HTMLConstructionSite.)
- html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::setDefaultCompatibilityMode):
(WebCore):
(WebCore::HTMLConstructionSite::finishedParsing):
(WebCore::HTMLConstructionSite::inQuirksMode):
- html/parser/HTMLConstructionSite.h:
(HTMLConstructionSite):
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
(WebCore::HTMLTreeBuilder::detach):
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::defaultForInitial):
(WebCore::HTMLTreeBuilder::finished):
- html/parser/HTMLTreeBuilder.h:
(HTMLTreeBuilder):
- 12:15 AM Changeset in webkit [139041] by
-
- 1 edit4 adds in trunk/Source/WebKit2
[Qt][Win] Unreviewed buildfix, partially revert
r139003, because Qt port still uses these files.
- Platform/CoreIPC/win/BinarySemaphoreWin.cpp: Added.
- Platform/CoreIPC/win/ConnectionWin.cpp: Added.
- Platform/win/SharedMemoryWin.cpp: Added.
- Platform/win/WorkQueueWin.cpp: Added.
- 12:12 AM Changeset in webkit [139040] by
-
- 4 edits2 adds in trunk
Float block's logical top margin is illegal in vertical writing mode.
https://bugs.webkit.org/show_bug.cgi?id=96597
Patch by Yuki Sekiguchi <yuki.sekiguchi@access-company.com> on 2013-01-08
Reviewed by Hajime Morita.
Source/WebCore:
flipFloatForWritingModeForChild() should use child->renderer()->width() not child->width() like horizontal writing mode.
Test: fast/writing-mode/vertical-float-margin.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::flipFloatForWritingModeForChild):
LayoutTests:
Specify margin to float block in vertical writing mode.
- fast/writing-mode/vertical-float-margin-expected.html: Added.
- fast/writing-mode/vertical-float-margin.html: Added.
- platform/chromium/TestExpectations: Add need rebaseline.